style.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  1. /* ------------------------------------------------------------------------------------------
  2. * Content
  3. * ------------------------------------------------------------------------------------------ */
  4. body {
  5. max-width: 1280px;
  6. }
  7. body, p, a, div, th, td {
  8. font-family: "Source Sans Pro", sans-serif;
  9. font-weight: 400;
  10. font-size: 16px;
  11. }
  12. @media (min-width: 1200px) {
  13. body.container-fluid {
  14. padding-right: 0px;
  15. padding-left: 0px;
  16. margin-right: 0px;
  17. margin-left: 0px;
  18. }
  19. }
  20. td.code {
  21. font-size: 14px;
  22. font-family: "Source Code Pro", monospace;
  23. font-style: normal;
  24. font-weight: 400;
  25. }
  26. #content {
  27. padding-top: 16px;
  28. z-Index: -1;
  29. margin-left: 270px;
  30. }
  31. p {
  32. color: #808080;
  33. }
  34. h1 {
  35. font-family: "Source Sans Pro Semibold", sans-serif;
  36. font-weight: normal;
  37. font-size: 44px;
  38. line-height: 50px;
  39. margin: 0 0 10px 0;
  40. padding: 0;
  41. }
  42. h2 {
  43. font-family: "Source Sans Pro", sans-serif;
  44. font-weight: normal;
  45. font-size: 24px;
  46. line-height: 40px;
  47. margin: 0 0 20px 0;
  48. padding: 0;
  49. }
  50. section {
  51. border-top: 1px solid #ebebeb;
  52. padding: 30px 0;
  53. }
  54. section h1 {
  55. font-family: "Source Sans Pro", sans-serif;
  56. font-weight: 700;
  57. font-size: 32px;
  58. line-height: 40px;
  59. margin: 0 0 20px 0;
  60. padding: 0;
  61. }
  62. article {
  63. padding: 14px 0 30px 0;
  64. }
  65. article h1 {
  66. font-family: "Source Sans Pro Bold", sans-serif;
  67. font-weight: 600;
  68. font-size: 24px;
  69. line-height: 26px;
  70. }
  71. article h2 {
  72. font-family: "Source Sans Pro", sans-serif;
  73. font-weight: 600;
  74. font-size: 18px;
  75. line-height: 24px;
  76. margin: 0 0 10px 0;
  77. }
  78. article h3 {
  79. font-family: "Source Sans Pro", sans-serif;
  80. font-weight: 600;
  81. font-size: 16px;
  82. line-height: 18px;
  83. margin: 0 0 10px 0;
  84. }
  85. article h4 {
  86. font-family: "Source Sans Pro", sans-serif;
  87. font-weight: 600;
  88. font-size: 14px;
  89. line-height: 16px;
  90. margin: 0 0 8px 0;
  91. }
  92. table {
  93. border-collapse: collapse;
  94. width: 100%;
  95. margin: 0 0 20px 0;
  96. }
  97. th {
  98. background-color: #f5f5f5;
  99. text-align: left;
  100. font-family: "Source Sans Pro", sans-serif;
  101. font-weight: 700;
  102. padding: 4px 8px;
  103. border: #e0e0e0 1px solid;
  104. }
  105. td {
  106. vertical-align: top;
  107. padding: 10px 8px 0 8px;
  108. border: #e0e0e0 1px solid;
  109. }
  110. #generator .content {
  111. color: #b0b0b0;
  112. border-top: 1px solid #ebebeb;
  113. padding: 10px 0;
  114. }
  115. .label-optional {
  116. float: right;
  117. background-color: grey;
  118. margin-top: 4px;
  119. user-select: none;
  120. }
  121. .open-left {
  122. right: 0;
  123. left: auto;
  124. }
  125. /* ------------------------------------------------------------------------------------------
  126. * apidoc - intro
  127. * ------------------------------------------------------------------------------------------ */
  128. #apidoc .apidoc {
  129. border-top: 1px solid #ebebeb;
  130. padding: 30px 0;
  131. }
  132. #apidoc h1 {
  133. font-family: "Source Sans Pro", sans-serif;
  134. font-weight: 700;
  135. font-size: 32px;
  136. line-height: 40px;
  137. margin: 0 0 20px 0;
  138. padding: 0;
  139. }
  140. #apidoc h2 {
  141. font-family: "Source Sans Pro Bold", sans-serif;
  142. font-weight: 600;
  143. font-size: 22px;
  144. line-height: 26px;
  145. padding-top: 14px;
  146. }
  147. /* ------------------------------------------------------------------------------------------
  148. * Request type
  149. * ------------------------------------------------------------------------------------------ */
  150. .type {
  151. font-family: "Source Sans Pro", sans-serif;
  152. font-weight: 600;
  153. font-size: 15px;
  154. display: inline-block;
  155. margin: 0 0 5px 0;
  156. padding: 4px 5px;
  157. border-radius: 6px;
  158. text-transform: uppercase;
  159. background-color: #3387CC;
  160. color: #ffffff;
  161. }
  162. .type__get {
  163. background-color: green;
  164. }
  165. .type__put {
  166. background-color: #e5c500;
  167. }
  168. .type__post {
  169. background-color: #4070ec;
  170. }
  171. .type__delete {
  172. background-color: #ed0039;
  173. }
  174. /* ------------------------------------------------------------------------------------------
  175. * Sidenav
  176. * ------------------------------------------------------------------------------------------ */
  177. .sidenav {
  178. width: 228px;
  179. margin: 0;
  180. padding: 0 20px 20px 20px;
  181. position: fixed;
  182. top: 50px;
  183. left: 0;
  184. bottom: 0;
  185. overflow-x: hidden;
  186. overflow-y: auto;
  187. background-color: #f5f5f5;
  188. z-index: 10;
  189. }
  190. .sidenav > li > a {
  191. display: block;
  192. width: 192px;
  193. margin: 0;
  194. padding: 2px 11px;
  195. border: 0;
  196. border-left: transparent 4px solid;
  197. border-right: transparent 4px solid;
  198. font-family: "Source Sans Pro", sans-serif;
  199. font-weight: 400;
  200. font-size: 14px;
  201. }
  202. .sidenav > li.nav-header {
  203. margin-top: 8px;
  204. margin-bottom: 8px;
  205. }
  206. .sidenav > li.nav-header > a {
  207. padding: 5px 15px;
  208. border: 1px solid #e5e5e5;
  209. width: 190px;
  210. font-family: "Source Sans Pro", sans-serif;
  211. font-weight: 700;
  212. font-size: 16px;
  213. background-color: #ffffff;
  214. }
  215. .sidenav > li.active > a {
  216. position: relative;
  217. z-index: 2;
  218. background-color: #0088cc;
  219. color: #ffffff;
  220. }
  221. .sidenav > li.has-modifications a {
  222. border-right: #60d060 4px solid;
  223. }
  224. .sidenav > li.is-new a {
  225. border-left: #e5e5e5 4px solid;
  226. }
  227. /* ------------------------------------------------------------------------------------------
  228. * Side nav search
  229. * ------------------------------------------------------------------------------------------ */
  230. .sidenav-search {
  231. width: 228px;
  232. left: 0px;
  233. position: fixed;
  234. padding: 16px 20px 10px 20px;
  235. background-color: #F5F5F5;
  236. z-index: 11;
  237. }
  238. .sidenav-search .search {
  239. height: 26px;
  240. }
  241. .search-reset {
  242. position: absolute;
  243. display: block;
  244. cursor: pointer;
  245. width: 20px;
  246. height: 20px;
  247. text-align: center;
  248. right: 28px;
  249. top: 17px;
  250. background-color: #fff;
  251. }
  252. /* ------------------------------------------------------------------------------------------
  253. * Compare
  254. * ------------------------------------------------------------------------------------------ */
  255. ins {
  256. background: #60d060;
  257. text-decoration: none;
  258. color: #000000;
  259. }
  260. del {
  261. background: #f05050;
  262. color: #000000;
  263. }
  264. .label-ins {
  265. background-color: #60d060;
  266. }
  267. .label-del {
  268. background-color: #f05050;
  269. text-decoration: line-through;
  270. }
  271. pre.ins {
  272. background-color: #60d060;
  273. }
  274. pre.del {
  275. background-color: #f05050;
  276. text-decoration: line-through;
  277. }
  278. table.ins th,
  279. table.ins td {
  280. background-color: #60d060;
  281. }
  282. table.del th,
  283. table.del td {
  284. background-color: #f05050;
  285. text-decoration: line-through;
  286. }
  287. tr.ins td {
  288. background-color: #60d060;
  289. }
  290. tr.del td {
  291. background-color: #f05050;
  292. text-decoration: line-through;
  293. }
  294. /* ------------------------------------------------------------------------------------------
  295. * Spinner
  296. * ------------------------------------------------------------------------------------------ */
  297. #loader {
  298. position: absolute;
  299. width: 100%;
  300. }
  301. #loader p {
  302. padding-top: 80px;
  303. margin-left: -4px;
  304. }
  305. .spinner {
  306. margin: 200px auto;
  307. width: 60px;
  308. height: 60px;
  309. position: relative;
  310. }
  311. .container1 > div, .container2 > div, .container3 > div {
  312. width: 14px;
  313. height: 14px;
  314. background-color: #0088cc;
  315. border-radius: 100%;
  316. position: absolute;
  317. -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
  318. animation: bouncedelay 1.2s infinite ease-in-out;
  319. /* Prevent first frame from flickering when animation starts */
  320. -webkit-animation-fill-mode: both;
  321. animation-fill-mode: both;
  322. }
  323. .spinner .spinner-container {
  324. position: absolute;
  325. width: 100%;
  326. height: 100%;
  327. }
  328. .container2 {
  329. -webkit-transform: rotateZ(45deg);
  330. transform: rotateZ(45deg);
  331. }
  332. .container3 {
  333. -webkit-transform: rotateZ(90deg);
  334. transform: rotateZ(90deg);
  335. }
  336. .circle1 { top: 0; left: 0; }
  337. .circle2 { top: 0; right: 0; }
  338. .circle3 { right: 0; bottom: 0; }
  339. .circle4 { left: 0; bottom: 0; }
  340. .container2 .circle1 {
  341. -webkit-animation-delay: -1.1s;
  342. animation-delay: -1.1s;
  343. }
  344. .container3 .circle1 {
  345. -webkit-animation-delay: -1.0s;
  346. animation-delay: -1.0s;
  347. }
  348. .container1 .circle2 {
  349. -webkit-animation-delay: -0.9s;
  350. animation-delay: -0.9s;
  351. }
  352. .container2 .circle2 {
  353. -webkit-animation-delay: -0.8s;
  354. animation-delay: -0.8s;
  355. }
  356. .container3 .circle2 {
  357. -webkit-animation-delay: -0.7s;
  358. animation-delay: -0.7s;
  359. }
  360. .container1 .circle3 {
  361. -webkit-animation-delay: -0.6s;
  362. animation-delay: -0.6s;
  363. }
  364. .container2 .circle3 {
  365. -webkit-animation-delay: -0.5s;
  366. animation-delay: -0.5s;
  367. }
  368. .container3 .circle3 {
  369. -webkit-animation-delay: -0.4s;
  370. animation-delay: -0.4s;
  371. }
  372. .container1 .circle4 {
  373. -webkit-animation-delay: -0.3s;
  374. animation-delay: -0.3s;
  375. }
  376. .container2 .circle4 {
  377. -webkit-animation-delay: -0.2s;
  378. animation-delay: -0.2s;
  379. }
  380. .container3 .circle4 {
  381. -webkit-animation-delay: -0.1s;
  382. animation-delay: -0.1s;
  383. }
  384. @-webkit-keyframes bouncedelay {
  385. 0%, 80%, 100% { -webkit-transform: scale(0.0) }
  386. 40% { -webkit-transform: scale(1.0) }
  387. }
  388. @keyframes bouncedelay {
  389. 0%, 80%, 100% {
  390. transform: scale(0.0);
  391. -webkit-transform: scale(0.0);
  392. } 40% {
  393. transform: scale(1.0);
  394. -webkit-transform: scale(1.0);
  395. }
  396. }
  397. /* ------------------------------------------------------------------------------------------
  398. * Tabs
  399. * ------------------------------------------------------------------------------------------ */
  400. ul.nav-tabs {
  401. margin: 0;
  402. }
  403. p.deprecated span{
  404. color: #ff0000;
  405. font-weight: bold;
  406. text-decoration: underline;
  407. }
  408. /* ------------------------------------------------------------------------------------------
  409. * Print
  410. * ------------------------------------------------------------------------------------------ */
  411. @media print {
  412. #sidenav,
  413. #version,
  414. #versions,
  415. section .version,
  416. section .versions {
  417. display: none;
  418. }
  419. #content {
  420. margin-left: 0;
  421. }
  422. a {
  423. text-decoration: none;
  424. color: inherit;
  425. }
  426. a:after {
  427. content: " [" attr(href) "] ";
  428. }
  429. p {
  430. color: #000000
  431. }
  432. pre {
  433. background-color: #ffffff;
  434. color: #000000;
  435. padding: 10px;
  436. border: #808080 1px solid;
  437. border-radius: 6px;
  438. position: relative;
  439. margin: 10px 0 20px 0;
  440. }
  441. } /* /@media print */