style.css 10 KB

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