style.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568
  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: 10px 8px 0 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. background-color: grey;
  112. margin-top: 4px;
  113. }
  114. .open-left {
  115. right: 0;
  116. left: auto;
  117. }
  118. /* ------------------------------------------------------------------------------------------
  119. * apidoc - intro
  120. * ------------------------------------------------------------------------------------------ */
  121. #apidoc .apidoc {
  122. border-top: 1px solid #ebebeb;
  123. padding: 30px 0;
  124. }
  125. #apidoc h1 {
  126. font-family: "Source Sans Pro", sans-serif;
  127. font-weight: 700;
  128. font-size: 32px;
  129. line-height: 40px;
  130. padding-bottom: 14px;
  131. margin: 0 0 20px 0;
  132. padding: 0;
  133. }
  134. #apidoc h2 {
  135. font-family: "Source Sans Pro Bold", sans-serif;
  136. font-weight: 600;
  137. font-size: 22px;
  138. line-height: 26px;
  139. padding-top: 14px;
  140. }
  141. /* ------------------------------------------------------------------------------------------
  142. * pre / code
  143. * ------------------------------------------------------------------------------------------ */
  144. pre {
  145. background-color: #292b36;
  146. color: #ffffff;
  147. padding: 10px;
  148. border-radius: 6px;
  149. position: relative;
  150. margin: 10px 0 20px 0;
  151. }
  152. pre.prettyprint {
  153. width: 100%;
  154. }
  155. code.language-text {
  156. word-wrap: break-word;
  157. }
  158. pre.language-json {
  159. overflow: auto;
  160. }
  161. pre.language-html {
  162. margin: 0 0 20px 0;
  163. }
  164. .type {
  165. font-family: "Source Sans Pro", sans-serif;
  166. font-weight: 600;
  167. font-size: 15px;
  168. display: inline-block;
  169. margin: 0 0 5px 0;
  170. padding: 4px 5px;
  171. border-radius: 6px;
  172. text-transform: uppercase;
  173. background-color: #3387CC;
  174. color: #ffffff;
  175. }
  176. .type__get {
  177. background-color: green;
  178. }
  179. .type__put {
  180. background-color: #e5c500;
  181. }
  182. .type__post {
  183. background-color: #4070ec;
  184. }
  185. .type__delete {
  186. background-color: #ed0039;
  187. }
  188. pre.language-api .str {
  189. color: #ffffff;
  190. }
  191. pre.language-api .pln,
  192. pre.language-api .pun {
  193. color: #65B042;
  194. }
  195. pre code {
  196. display: block;
  197. font-size: 14px;
  198. font-family: "Source Code Pro", monospace;
  199. font-style: normal;
  200. font-weight: 400;
  201. word-wrap: normal;
  202. white-space: pre;
  203. }
  204. pre code.sample-request-response-json {
  205. white-space: pre-wrap;
  206. max-height: 500px;
  207. overflow: auto;
  208. }
  209. /* ------------------------------------------------------------------------------------------
  210. * Sidenav
  211. * ------------------------------------------------------------------------------------------ */
  212. .sidenav {
  213. width: 228px;
  214. margin: 0;
  215. padding: 0 20px 20px 20px;
  216. position: fixed;
  217. top: 50px;
  218. left: 0;
  219. bottom: 0;
  220. overflow-x: hidden;
  221. overflow-y: auto;
  222. background-color: #f5f5f5;
  223. z-index: 10;
  224. }
  225. .sidenav > li > a {
  226. display: block;
  227. width: 192px;
  228. margin: 0;
  229. padding: 2px 11px;
  230. border: 0;
  231. border-left: transparent 4px solid;
  232. border-right: transparent 4px solid;
  233. font-family: "Source Sans Pro", sans-serif;
  234. font-weight: 400;
  235. font-size: 14px;
  236. }
  237. .sidenav > li.nav-header {
  238. margin-top: 8px;
  239. margin-bottom: 8px;
  240. }
  241. .sidenav > li.nav-header > a {
  242. padding: 5px 15px;
  243. border: 1px solid #e5e5e5;
  244. width: 190px;
  245. font-family: "Source Sans Pro", sans-serif;
  246. font-weight: 700;
  247. font-size: 16px;
  248. background-color: #ffffff;
  249. }
  250. .sidenav > li.active > a {
  251. position: relative;
  252. z-index: 2;
  253. background-color: #0088cc;
  254. color: #ffffff;
  255. }
  256. .sidenav > li.has-modifications a {
  257. border-right: #60d060 4px solid;
  258. }
  259. .sidenav > li.is-new a {
  260. border-left: #e5e5e5 4px solid;
  261. }
  262. /* ------------------------------------------------------------------------------------------
  263. * Side nav search
  264. * ------------------------------------------------------------------------------------------ */
  265. .sidenav-search {
  266. width: 228px;
  267. left: 0px;
  268. position: fixed;
  269. padding: 16px 20px 10px 20px;
  270. background-color: #F5F5F5;
  271. z-index: 11;
  272. }
  273. .sidenav-search .search {
  274. height: 26px;
  275. }
  276. .search-reset {
  277. position: absolute;
  278. display: block;
  279. cursor: pointer;
  280. width: 20px;
  281. height: 20px;
  282. text-align: center;
  283. right: 28px;
  284. top: 17px;
  285. background-color: #fff;
  286. }
  287. /* ------------------------------------------------------------------------------------------
  288. * Compare
  289. * ------------------------------------------------------------------------------------------ */
  290. ins {
  291. background: #60d060;
  292. text-decoration: none;
  293. color: #000000;
  294. }
  295. del {
  296. background: #f05050;
  297. color: #000000;
  298. }
  299. .label-ins {
  300. background-color: #60d060;
  301. }
  302. .label-del {
  303. background-color: #f05050;
  304. text-decoration: line-through;
  305. }
  306. pre.ins {
  307. background-color: #60d060;
  308. }
  309. pre.del {
  310. background-color: #f05050;
  311. text-decoration: line-through;
  312. }
  313. table.ins th,
  314. table.ins td {
  315. background-color: #60d060;
  316. }
  317. table.del th,
  318. table.del td {
  319. background-color: #f05050;
  320. text-decoration: line-through;
  321. }
  322. tr.ins td {
  323. background-color: #60d060;
  324. }
  325. tr.del td {
  326. background-color: #f05050;
  327. text-decoration: line-through;
  328. }
  329. /* ------------------------------------------------------------------------------------------
  330. * Spinner
  331. * ------------------------------------------------------------------------------------------ */
  332. #loader {
  333. position: absolute;
  334. width: 100%;
  335. }
  336. #loader p {
  337. padding-top: 80px;
  338. margin-left: -4px;
  339. }
  340. .spinner {
  341. margin: 200px auto;
  342. width: 60px;
  343. height: 60px;
  344. position: relative;
  345. }
  346. .container1 > div, .container2 > div, .container3 > div {
  347. width: 14px;
  348. height: 14px;
  349. background-color: #0088cc;
  350. border-radius: 100%;
  351. position: absolute;
  352. -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
  353. animation: bouncedelay 1.2s infinite ease-in-out;
  354. /* Prevent first frame from flickering when animation starts */
  355. -webkit-animation-fill-mode: both;
  356. animation-fill-mode: both;
  357. }
  358. .spinner .spinner-container {
  359. position: absolute;
  360. width: 100%;
  361. height: 100%;
  362. }
  363. .container2 {
  364. -webkit-transform: rotateZ(45deg);
  365. transform: rotateZ(45deg);
  366. }
  367. .container3 {
  368. -webkit-transform: rotateZ(90deg);
  369. transform: rotateZ(90deg);
  370. }
  371. .circle1 { top: 0; left: 0; }
  372. .circle2 { top: 0; right: 0; }
  373. .circle3 { right: 0; bottom: 0; }
  374. .circle4 { left: 0; bottom: 0; }
  375. .container2 .circle1 {
  376. -webkit-animation-delay: -1.1s;
  377. animation-delay: -1.1s;
  378. }
  379. .container3 .circle1 {
  380. -webkit-animation-delay: -1.0s;
  381. animation-delay: -1.0s;
  382. }
  383. .container1 .circle2 {
  384. -webkit-animation-delay: -0.9s;
  385. animation-delay: -0.9s;
  386. }
  387. .container2 .circle2 {
  388. -webkit-animation-delay: -0.8s;
  389. animation-delay: -0.8s;
  390. }
  391. .container3 .circle2 {
  392. -webkit-animation-delay: -0.7s;
  393. animation-delay: -0.7s;
  394. }
  395. .container1 .circle3 {
  396. -webkit-animation-delay: -0.6s;
  397. animation-delay: -0.6s;
  398. }
  399. .container2 .circle3 {
  400. -webkit-animation-delay: -0.5s;
  401. animation-delay: -0.5s;
  402. }
  403. .container3 .circle3 {
  404. -webkit-animation-delay: -0.4s;
  405. animation-delay: -0.4s;
  406. }
  407. .container1 .circle4 {
  408. -webkit-animation-delay: -0.3s;
  409. animation-delay: -0.3s;
  410. }
  411. .container2 .circle4 {
  412. -webkit-animation-delay: -0.2s;
  413. animation-delay: -0.2s;
  414. }
  415. .container3 .circle4 {
  416. -webkit-animation-delay: -0.1s;
  417. animation-delay: -0.1s;
  418. }
  419. @-webkit-keyframes bouncedelay {
  420. 0%, 80%, 100% { -webkit-transform: scale(0.0) }
  421. 40% { -webkit-transform: scale(1.0) }
  422. }
  423. @keyframes bouncedelay {
  424. 0%, 80%, 100% {
  425. transform: scale(0.0);
  426. -webkit-transform: scale(0.0);
  427. } 40% {
  428. transform: scale(1.0);
  429. -webkit-transform: scale(1.0);
  430. }
  431. }
  432. /* ------------------------------------------------------------------------------------------
  433. * Tabs
  434. * ------------------------------------------------------------------------------------------ */
  435. ul.nav-tabs {
  436. margin: 0;
  437. }
  438. p.deprecated span{
  439. color: #ff0000;
  440. font-weight: bold;
  441. text-decoration: underline;
  442. }
  443. /* ------------------------------------------------------------------------------------------
  444. * Print
  445. * ------------------------------------------------------------------------------------------ */
  446. @media print {
  447. #sidenav,
  448. #version,
  449. #versions,
  450. section .version,
  451. section .versions {
  452. display: none;
  453. }
  454. #content {
  455. margin-left: 0;
  456. }
  457. a {
  458. text-decoration: none;
  459. color: inherit;
  460. }
  461. a:after {
  462. content: " [" attr(href) "] ";
  463. }
  464. p {
  465. color: #000000
  466. }
  467. pre {
  468. background-color: #ffffff;
  469. color: #000000;
  470. padding: 10px;
  471. border: #808080 1px solid;
  472. border-radius: 6px;
  473. position: relative;
  474. margin: 10px 0 20px 0;
  475. }
  476. } /* /@media print */