style.css 10 KB

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