style.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  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";
  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";
  197. font-style: normal;
  198. font-weight: 400;
  199. word-wrap: normal;
  200. white-space: pre;
  201. }
  202. /*
  203. pre.language-json {
  204. background: #f5f5f5;
  205. border: #e0e0e0 1px solid;
  206. }
  207. pre.language-json .pln,
  208. pre.language-json .pun {
  209. color: #3a3a3a;
  210. }
  211. */
  212. /* ------------------------------------------------------------------------------------------
  213. * Sidenav
  214. * ------------------------------------------------------------------------------------------ */
  215. .sidenav {
  216. width: 228px;
  217. margin: 0;
  218. padding: 20px;
  219. position: fixed;
  220. top: 0;
  221. left: 0;
  222. bottom: 0;
  223. overflow-x: hidden;
  224. overflow-y: auto;
  225. background-color: #f5f5f5;
  226. z-index: 10;
  227. }
  228. .sidenav > li > a {
  229. display: block;
  230. width: 192px;
  231. margin: 0;
  232. padding: 2px 11px;
  233. border: 0;
  234. border-left: transparent 4px solid;
  235. border-right: transparent 4px solid;
  236. font-family: "Source Sans Pro", sans-serif;
  237. font-weight: 400;
  238. font-size: 14px;
  239. }
  240. .sidenav > li.nav-header > a {
  241. padding: 5px 15px;
  242. border: 1px solid #e5e5e5;
  243. width: 190px;
  244. font-family: "Source Sans Pro", sans-serif;
  245. font-weight: 700;
  246. font-size: 16px;
  247. background-color: #ffffff;
  248. }
  249. .sidenav > li.nav-header.active > a {
  250. background-color: #0088cc;
  251. }
  252. .sidenav > .active > a {
  253. position: relative;
  254. z-index: 2;
  255. }
  256. .sidenav > li > a:hover {
  257. background-color: #ffffff;
  258. }
  259. .sidenav > li.has-modifications a {
  260. border-right: #60d060 4px solid;
  261. }
  262. .sidenav > li.is-new a {
  263. border-left: #e5e5e5 4px solid;
  264. }
  265. /* ------------------------------------------------------------------------------------------
  266. * Compare
  267. * ------------------------------------------------------------------------------------------ */
  268. ins {
  269. background: #60d060;
  270. text-decoration: none;
  271. color: #000000;
  272. }
  273. del {
  274. background: #f05050;
  275. color: #000000;
  276. }
  277. .label-ins {
  278. background-color: #60d060;
  279. }
  280. .label-del {
  281. background-color: #f05050;
  282. text-decoration: line-through;
  283. }
  284. pre.ins {
  285. background-color: #60d060;
  286. }
  287. pre.del {
  288. background-color: #f05050;
  289. text-decoration: line-through;
  290. }
  291. table.ins th,
  292. table.ins td {
  293. background-color: #60d060;
  294. }
  295. table.del th,
  296. table.del td {
  297. background-color: #f05050;
  298. text-decoration: line-through;
  299. }
  300. tr.ins td {
  301. background-color: #60d060;
  302. }
  303. tr.del td {
  304. background-color: #f05050;
  305. text-decoration: line-through;
  306. }
  307. /* ------------------------------------------------------------------------------------------
  308. * Spinner
  309. * ------------------------------------------------------------------------------------------ */
  310. #loader {
  311. position: absolute;
  312. width: 100%;
  313. }
  314. #loader p {
  315. padding-top: 80px;
  316. margin-left: -4px;
  317. }
  318. .spinner {
  319. margin: 200px auto;
  320. width: 60px;
  321. height: 60px;
  322. position: relative;
  323. }
  324. .container1 > div, .container2 > div, .container3 > div {
  325. width: 14px;
  326. height: 14px;
  327. background-color: #0088cc;
  328. border-radius: 100%;
  329. position: absolute;
  330. -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
  331. animation: bouncedelay 1.2s infinite ease-in-out;
  332. /* Prevent first frame from flickering when animation starts */
  333. -webkit-animation-fill-mode: both;
  334. animation-fill-mode: both;
  335. }
  336. .spinner .spinner-container {
  337. position: absolute;
  338. width: 100%;
  339. height: 100%;
  340. }
  341. .container2 {
  342. -webkit-transform: rotateZ(45deg);
  343. transform: rotateZ(45deg);
  344. }
  345. .container3 {
  346. -webkit-transform: rotateZ(90deg);
  347. transform: rotateZ(90deg);
  348. }
  349. .circle1 { top: 0; left: 0; }
  350. .circle2 { top: 0; right: 0; }
  351. .circle3 { right: 0; bottom: 0; }
  352. .circle4 { left: 0; bottom: 0; }
  353. .container2 .circle1 {
  354. -webkit-animation-delay: -1.1s;
  355. animation-delay: -1.1s;
  356. }
  357. .container3 .circle1 {
  358. -webkit-animation-delay: -1.0s;
  359. animation-delay: -1.0s;
  360. }
  361. .container1 .circle2 {
  362. -webkit-animation-delay: -0.9s;
  363. animation-delay: -0.9s;
  364. }
  365. .container2 .circle2 {
  366. -webkit-animation-delay: -0.8s;
  367. animation-delay: -0.8s;
  368. }
  369. .container3 .circle2 {
  370. -webkit-animation-delay: -0.7s;
  371. animation-delay: -0.7s;
  372. }
  373. .container1 .circle3 {
  374. -webkit-animation-delay: -0.6s;
  375. animation-delay: -0.6s;
  376. }
  377. .container2 .circle3 {
  378. -webkit-animation-delay: -0.5s;
  379. animation-delay: -0.5s;
  380. }
  381. .container3 .circle3 {
  382. -webkit-animation-delay: -0.4s;
  383. animation-delay: -0.4s;
  384. }
  385. .container1 .circle4 {
  386. -webkit-animation-delay: -0.3s;
  387. animation-delay: -0.3s;
  388. }
  389. .container2 .circle4 {
  390. -webkit-animation-delay: -0.2s;
  391. animation-delay: -0.2s;
  392. }
  393. .container3 .circle4 {
  394. -webkit-animation-delay: -0.1s;
  395. animation-delay: -0.1s;
  396. }
  397. @-webkit-keyframes bouncedelay {
  398. 0%, 80%, 100% { -webkit-transform: scale(0.0) }
  399. 40% { -webkit-transform: scale(1.0) }
  400. }
  401. @keyframes bouncedelay {
  402. 0%, 80%, 100% {
  403. transform: scale(0.0);
  404. -webkit-transform: scale(0.0);
  405. } 40% {
  406. transform: scale(1.0);
  407. -webkit-transform: scale(1.0);
  408. }
  409. }
  410. /* ------------------------------------------------------------------------------------------
  411. * Tabs
  412. * ------------------------------------------------------------------------------------------ */
  413. ul.nav-tabs {
  414. margin: 0;
  415. }
  416. /* ------------------------------------------------------------------------------------------
  417. * Print
  418. * ------------------------------------------------------------------------------------------ */
  419. @media print {
  420. #sidenav,
  421. #version,
  422. #versions,
  423. section .version,
  424. section .versions {
  425. display: none;
  426. }
  427. #content {
  428. margin-left: 0;
  429. }
  430. a {
  431. text-decoration: none;
  432. color: inherit;
  433. }
  434. a:after {
  435. content: " [" attr(href) "] ";
  436. }
  437. p {
  438. color: #000000
  439. }
  440. pre {
  441. background-color: #ffffff;
  442. color: #000000;
  443. padding: 10px;
  444. border: #808080 1px solid;
  445. border-radius: 6px;
  446. position: relative;
  447. margin: 10px 0 20px 0;
  448. }
  449. } /* /@media print */