style.css 9.6 KB

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