style.css 9.6 KB

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