main.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. body {
  2. margin:0;
  3. font: 14px "Helvetica Neue", Helvetica-Neue, HelveticaNeue, Helvetica, arial, sans-serif;
  4. font-weight: 200;
  5. background: #FFF;
  6. }
  7. #auth {
  8. position: fixed;
  9. bottom: 0;
  10. right: 0px;
  11. width: 200px;
  12. padding-top: 30px;
  13. padding-bottom: 20px;
  14. color: #fff;
  15. background: #000;
  16. z-index: 50;
  17. }
  18. #auth a {
  19. color: #fff;
  20. margin-left: 70px;
  21. text-decoration: none;
  22. font-weight: bold;
  23. }
  24. #auth a:hover {
  25. text-decoration: underline;
  26. }
  27. #panel {
  28. position: fixed;
  29. top:0;
  30. left:0;
  31. bottom:-1px;
  32. width: 350px;
  33. border-bottom: 1px solid #EEE;
  34. overflow: hidden;
  35. background: hsl(214, 20%, 18%);
  36. z-index: 1;
  37. border-right: 1px solid hsl(214, 20%, 46%);
  38. }
  39. .inputs {
  40. background: #005684;
  41. box-shadow: 0 0 5px #000;
  42. position: absolute;
  43. top:0;
  44. right:0;
  45. left: 0;
  46. bottom: 60px;
  47. overflow: auto;
  48. }
  49. form {
  50. margin:0;
  51. padding:0;
  52. }
  53. input[type=text], textarea {
  54. display: block;
  55. font-size: 16px;
  56. width:100%;
  57. padding:10px;
  58. margin: 5px 0 0;
  59. border: none;
  60. box-sizing: border-box;
  61. background: hsl(199, 0%, 90%);
  62. color: hsla(0,100%,0%,0.4);
  63. }
  64. input[type=text]:focus, textarea:focus {
  65. color: #333;
  66. background: #FFF;
  67. outline: none;
  68. box-shadow: inset 0 0 5px #666;
  69. }
  70. .controls {
  71. position: absolute;
  72. padding: 10px;
  73. height: 40px;
  74. right: 0;
  75. left: 0;
  76. bottom: 0;
  77. }
  78. button {
  79. cursor: pointer;
  80. color: hsl(215, 20%, 50%);
  81. text-shadow: 0 -1px 0 hsl(215,21%,9%);
  82. font-weight: 200;
  83. display:inline-block;
  84. width: 48%;
  85. margin-right: 4%;
  86. font-size: 16px;
  87. border: 1px solid hsl(215,21%,9%);
  88. padding: 8px;
  89. border-radius: 2px;
  90. box-shadow:0 1px 0 hsla(0,0%,100%,0.1);
  91. background-color: #2c3644;
  92. background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(44, 54, 68)), to(rgb(36, 44, 56)));
  93. background-image: -webkit-linear-gradient(top, rgb(44, 54, 68), rgb(36, 44, 56));
  94. background-image: -moz-linear-gradient(top, rgb(44, 54, 68), rgb(36, 44, 56));
  95. background-image: -o-linear-gradient(top, rgb(44, 54, 68), rgb(36, 44, 56));
  96. background-image: -ms-linear-gradient(top, rgb(44, 54, 68), rgb(36, 44, 56));
  97. background-image: linear-gradient(top, rgb(44, 54, 68), rgb(36, 44, 56));
  98. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#2c3644', EndColorStr='#242c38');
  99. }
  100. button:hover, button:focus {
  101. box-shadow: inset 0 0 3px hsl(215,30%,40%), 0 1px 0 hsla(0,0%,100%,0.1);
  102. color: hsl(215, 20%, 75%);
  103. }
  104. button:active {
  105. background-color: #242c37;
  106. background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(36, 44, 55)), to(rgb(43, 53, 67)));
  107. background-image: -webkit-linear-gradient(top, rgb(36, 44, 55), rgb(43, 53, 67));
  108. background-image: -moz-linear-gradient(top, rgb(36, 44, 55), rgb(43, 53, 67));
  109. background-image: -o-linear-gradient(top, rgb(36, 44, 55), rgb(43, 53, 67));
  110. background-image: -ms-linear-gradient(top, rgb(36, 44, 55), rgb(43, 53, 67));
  111. background-image: linear-gradient(top, rgb(36, 44, 55), rgb(43, 53, 67));
  112. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#242c37', EndColorStr='#2b3543');
  113. }
  114. button:last-child {
  115. margin-right: 0;
  116. }
  117. button[type=submit]{
  118. box-shadow: 0 1px 0 hsla(0,0%,100%,0.1);
  119. color: #FFF;
  120. background-color: #c36a18;
  121. background-image: -webkit-gradient(linear, left top, left bottom, from(hsl(29, 88%, 53%)), to(hsl(29, 78%, 33%)));
  122. background-image: -webkit-linear-gradient(top, hsl(29, 88%, 53%), hsl(29, 78%, 33%));
  123. background-image: -moz-linear-gradient(top, hsl(29, 88%, 53%), hsl(29, 78%, 33%));
  124. background-image: -o-linear-gradient(top, hsl(29, 88%, 53%), hsl(29, 78%, 33%));
  125. background-image: -ms-linear-gradient(top, hsl(29, 88%, 53%), hsl(29, 78%, 33%));
  126. background-image: linear-gradient(top, hsl(29, 88%, 53%), hsl(29, 78%, 33%));
  127. }
  128. button[type=submit]:hover, button[type=submit]:focus {
  129. box-shadow: inset 0 0 4px hsl(29,100%,80%) , 0 1px 0 hsla(0,0%,100%,0.1);
  130. }
  131. button[type=submit]:active {
  132. box-shadow: inset 0 0 2px hsl(29,100%,80%) , 0 1px 0 hsla(0,0%,100%,0.1);
  133. background-color: #b76416;
  134. background-image: -webkit-gradient(linear, left top, left bottom, from(hsl(29, 78%, 36%)), to(hsl(29, 79%, 44%)));
  135. background-image: -webkit-linear-gradient(top, hsl(29, 78%, 36%), hsl(29, 79%, 44%));
  136. background-image: -moz-linear-gradient(top, hsl(29, 78%, 36%), hsl(29, 79%, 44%));
  137. background-image: -o-linear-gradient(top, hsl(29, 78%, 36%), hsl(29, 79%, 44%));
  138. background-image: -ms-linear-gradient(top, hsl(29, 78%, 36%), hsl(29, 79%, 44%));
  139. background-image: linear-gradient(top, hsl(29, 78%, 36%), hsl(29, 79%, 44%));
  140. }
  141. select {
  142. display: inline-block;
  143. text-align:right;
  144. }
  145. textarea {
  146. resize: vertical;
  147. height: 100px;
  148. }
  149. .inputs > div {
  150. border-top: 1px solid #0074A2;
  151. border-bottom: 1px solid rgb(0, 64, 99);
  152. position: relative;
  153. }
  154. label {
  155. display: block;
  156. font-weight: 500;
  157. font-size: 12px;
  158. color: hsl(214, 20%, 9%);
  159. text-transform: uppercase;
  160. text-shadow: 0 1px 0 hsl(201,40%,45%);
  161. padding-top: 5px;
  162. text-indent: 10px;
  163. }
  164. .inputs > div:first-child {
  165. border-top:none;
  166. padding: 0;
  167. }
  168. .inputs > div:last-child {
  169. border-bottom: none;
  170. }
  171. ul#requests {
  172. box-shadow: 0 0 4px #000;
  173. margin:0;
  174. padding:0;
  175. list-style:none;
  176. z-index:2;
  177. position: absolute;
  178. overflow: auto;
  179. top:0;
  180. left: 350px;
  181. right:0;
  182. bottom:0;
  183. background: url("../img/wp.png") no-repeat center center hsl(0,0%,97%);
  184. }
  185. ul#requests > li {
  186. border-bottom: 1px solid #DDD;
  187. position: relative;
  188. overflow: hidden;
  189. background: #FFF;
  190. }
  191. ul#requests > li .response {
  192. display:none;
  193. }
  194. ul#requests > li.expanded .response {
  195. display:block;;
  196. }
  197. li:last-child {
  198. }
  199. h2 {
  200. margin:0;
  201. padding: 4px 10px;
  202. font-weight: 200;
  203. white-space: nowrap;
  204. overflow:hidden;
  205. text-overflow: ellipsis;
  206. margin-right: 100px;
  207. }
  208. h2 small {
  209. color: #999;
  210. }
  211. h2 em {
  212. font-style: normal;
  213. color: #CCC;
  214. }
  215. .throbber {
  216. position: absolute;
  217. right:20px;
  218. top:16px;
  219. }
  220. @-webkit-keyframes throb {
  221. 0% { -webkit-transform:scale(0,0); opacity:1;}
  222. 75% { opacity:0.9 }
  223. 100% { -webkit-transform:scale(1,1); opacity:0;}
  224. }
  225. @-moz-keyframes throb {
  226. 0% { -moz-transform:scale(0,0); opacity:1;}
  227. 75% { opacity:0.9 }
  228. 100% { -moz-transform:scale(1,1); opacity:0;}
  229. }
  230. .throbber > div {
  231. border: 5px solid #999;
  232. width: 9px;
  233. height: 9px;
  234. position: absolute;
  235. border-radius: 20px;
  236. top: -8px;
  237. left: -8px;
  238. -webkit-transition: 300ms;
  239. -moz-transition: 300ms;
  240. }
  241. .loading > .throbber > div {
  242. -webkit-animation: throb 0.4s linear infinite;
  243. -moz-animation: throb 0.4s linear infinite;
  244. -webkit-animation-fill-mode: both;
  245. -moz-animation-fill-mode: both;
  246. }
  247. .done > .throbber > div {
  248. -webkit-animation: none;
  249. -moz-animation: none;
  250. -webkit-transform: scale(2,2);
  251. -moz-transform: scale(2,2);
  252. opacity: 0;
  253. }
  254. .status-code {
  255. display: inline-block;
  256. vertical-align: middle;
  257. padding: 2px 4px;
  258. margin: -4px 0 0 5px;
  259. font-size: 11px;
  260. line-height: 12px;
  261. font-family: Consolas, Monaco, monospace;
  262. background: #FFF;
  263. border: 1px solid #999;
  264. border-radius: 2px;
  265. text-shadow: 0 1px 0 #FFF;
  266. box-shadow: 0 1px 0 #FFF;
  267. color: #666;
  268. -webkit-transition: 400ms;
  269. -moz-transition: 400ms;
  270. box-shadow: inset 0 0 3px #666, 0 1px 0 #FFF;
  271. }
  272. [data-status-code^="2"]{
  273. background: hsl(100,100%,70%);
  274. }
  275. [data-status-code^="4"], [data-status-code^="5"]{
  276. background: hsl(0,100%,80%);
  277. }
  278. .response-meta {
  279. position: absolute;
  280. top: 8px;
  281. right: 7px;
  282. color: #999;
  283. text-align:right;
  284. -webkit-transition: right 400ms;
  285. -moz-transition: right 400ms;
  286. }
  287. .loading .response-meta {
  288. right: -100px;
  289. }
  290. .response {
  291. box-shadow: inset 0 0 20px #CCC;
  292. background: #F2F2F2;
  293. overflow:auto;
  294. text-shadow: 0 1px 0 #FFF;
  295. position:relative;
  296. }
  297. .structured {
  298. border-top: 1px solid #E0E0E0;
  299. padding: 10px;
  300. }
  301. .response > span {
  302. text-align: center;
  303. display:block;
  304. padding: 20px;
  305. font-style: italic;
  306. font-weight: 500;
  307. border-top: 1px solid #EEE;
  308. color: #CCC;
  309. background: #F2F2F2;
  310. text-shadow: 0 1px 0 #FFF;
  311. }
  312. .response ul {
  313. list-style:none;
  314. margin:0;
  315. padding-left: 20px;
  316. }
  317. .response li {
  318. white-space: nowrap;
  319. position:relative;
  320. }
  321. .key {
  322. display:inline-block;
  323. color: purple;
  324. overflow:hidden;
  325. text-overflow: ellipsis;
  326. vertical-align:middle;
  327. }
  328. .key::after {
  329. content: ' :';
  330. color: #999;
  331. }
  332. .value {
  333. vertical-align:middle;
  334. display: inline-block;
  335. }
  336. .number {
  337. color: blue;
  338. }
  339. .boolean {
  340. color: teal;
  341. }
  342. .string {
  343. display:inline-block;
  344. color: green;
  345. }
  346. .string::before, .string::after {
  347. content: '"';
  348. text-decoration:none;
  349. }
  350. .hint {
  351. color: #999;
  352. display: inline-block;
  353. vertical-align:middle;
  354. }
  355. img.avatar {
  356. position:relative;
  357. vertical-align:middle;
  358. margin-right: 5px;
  359. z-index: 2;
  360. -webkit-transform: scale(0.25,0.25);
  361. -moz-transform: scale(0.25,0.25);
  362. -webkit-transition: 200ms;
  363. -moz-transition: 200ms;
  364. margin:-36px;
  365. border-radius: 4px;
  366. border:2px solid #FFF;
  367. }
  368. img.avatar:hover {
  369. -webkit-transform: scale(1,1);
  370. -moz-transform: scale(1,1);
  371. box-shadow: 0 0 5px #000;
  372. }
  373. .response .closed > ul {
  374. display:none;
  375. }
  376. a.disclosure {
  377. position: absolute;
  378. left: -18px;
  379. top: -2px;
  380. width: 20px;
  381. height: 20px;
  382. text-align:center;
  383. line-height: 24px;
  384. -webkit-transform: rotate(90deg);
  385. -moz-transform: rotate(90deg);
  386. -webkit-transition: -webkit-transform 200ms;
  387. -moz-transition: -moz-transform 200ms;
  388. cursor: pointer;
  389. }
  390. .closed > a.disclosure {
  391. -webkit-transform: none;
  392. -moz-transform: none;
  393. }
  394. .api-url {
  395. cursor:pointer;
  396. }
  397. .api-url:hover {
  398. text-decoration: underline;
  399. }
  400. .api-url::before {
  401. content:"";
  402. }
  403. .api-url::after {
  404. font-family: Consolas, Monaco, monospace;
  405. margin-left: 5px;
  406. text-align:center;
  407. display: inline-block;
  408. content: "›";
  409. color: #999;
  410. font-size: 16px;
  411. line-height: 14px;
  412. text-shadow:none;
  413. font-weight: 900;
  414. }
  415. .api-url:hover::after {
  416. color:#222;
  417. }
  418. ul.tabs {
  419. padding:0;
  420. margin:0;
  421. position: absolute;
  422. top: 38px;
  423. right: 5px;
  424. box-shadow: 0 1px 0 hsl(0,0%,100%);
  425. display:none;
  426. }
  427. .expanded > ul.tabs {
  428. display: block;
  429. }
  430. #panel ul.tabs {
  431. position: absolute;
  432. text-align: center;
  433. display:block;
  434. box-shadow: 0 1px 0 hsl(201, 200%, 30%);
  435. top: 5px;
  436. right: 5px;
  437. }
  438. ul.tabs > li {
  439. color: #999;
  440. border: 1px solid #CCC;
  441. border-width: 1px 1px 1px 0;
  442. font-size: 12px;
  443. padding: 2px 4px;
  444. display:inline-block;
  445. text-shadow: 0 1px 0 #FFF;
  446. background-color: #e9e9e9;
  447. background-image: -webkit-gradient(linear, left top, left bottom, from(hsl(0, 0%, 95%)), to(hsl(0, 0%, 88%)));
  448. background-image: -webkit-linear-gradient(top, hsl(0, 0%, 95%), hsl(0, 0%, 88%));
  449. background-image: -moz-linear-gradient(top, hsl(0, 0%, 95%), hsl(0, 0%, 88%));
  450. background-image: -o-linear-gradient(top, hsl(0, 0%, 95%), hsl(0, 0%, 88%));
  451. background-image: -ms-linear-gradient(top, hsl(0, 0%, 95%), hsl(0, 0%, 88%));
  452. background-image: linear-gradient(top, hsl(0, 0%, 95%), hsl(0, 0%, 88%));
  453. cursor:pointer;
  454. font-weight: 500;
  455. }
  456. #panel ul.tabs > li {
  457. font-size: 11px;
  458. color: hsl(201,100%,8%);
  459. text-shadow: 0 1px 0 hsl(201, 100%, 35%);
  460. border-color: hsl(201, 100%, 20%);
  461. background-color: #005786;
  462. background-image: -webkit-gradient(linear, left top, left bottom, from(hsl(201, 100%, 30%)), to(hsl(201, 100%, 23%)));
  463. background-image: -webkit-linear-gradient(top, hsl(201, 100%, 30%), hsl(201, 100%, 23%));
  464. background-image: -moz-linear-gradient(top, hsl(201, 100%, 30%), hsl(201, 100%, 23%));
  465. background-image: -o-linear-gradient(top, hsl(201, 100%, 30%), hsl(201, 100%, 23%));
  466. background-image: -ms-linear-gradient(top, hsl(201, 100%, 30%), hsl(201, 100%, 23%));
  467. background-image: linear-gradient(top, hsl(201, 100%, 30%), hsl(201, 100%, 23%));
  468. }
  469. ul.tabs > li:hover {
  470. color: #777;
  471. }
  472. ul.tabs > li:first-child {
  473. border-left-width:1px;
  474. border-radius: 2px 0 0 2px;
  475. }
  476. ul.tabs > li:last-child {
  477. border-right-width:1px;
  478. border-radius: 0 2px 2px 0;
  479. }
  480. ul.tabs > li.selected {
  481. color: #666;
  482. box-shadow: inset 0 0 2px #CCC;
  483. background-color: #e5e5e5;
  484. background-image: -webkit-gradient(linear, left top, left bottom, from(hsl(0, 0%, 88%)), to(hsl(0, 0%, 92%)));
  485. background-image: -webkit-linear-gradient(top, hsl(0, 0%, 88%), hsl(0, 0%, 92%));
  486. background-image: -moz-linear-gradient(top, hsl(0, 0%, 88%), hsl(0, 0%, 92%));
  487. background-image: -o-linear-gradient(top, hsl(0, 0%, 88%), hsl(0, 0%, 92%));
  488. background-image: -ms-linear-gradient(top, hsl(0, 0%, 88%), hsl(0, 0%, 92%));
  489. background-image: linear-gradient(top, hsl(0, 0%, 88%), hsl(0, 0%, 92%));
  490. }
  491. #panel ul.tabs > li.selected {
  492. color: hsl(201, 60%, 50%);
  493. box-shadow: inset 0 0 2px hsl(202,100%, 9%);
  494. text-shadow: 0 -1px 0 hsl(202,100%,9%);
  495. background-color: #003b5d;
  496. background-image: -webkit-gradient(linear, left top, left bottom, from(hsl(202, 100%, 18%)), to(hsl(202, 100%, 18%)));
  497. background-image: -webkit-linear-gradient(top, hsl(202, 100%, 18%), hsl(202, 100%, 18%));
  498. background-image: -moz-linear-gradient(top, hsl(202, 100%, 18%), hsl(202, 100%, 18%));
  499. background-image: -o-linear-gradient(top, hsl(202, 100%, 18%), hsl(202, 100%, 18%));
  500. background-image: -ms-linear-gradient(top, hsl(202, 100%, 18%), hsl(202, 100%, 18%));
  501. background-image: linear-gradient(top, hsl(202, 100%, 18%), hsl(202, 100%, 18%));
  502. }
  503. .response > pre {
  504. padding: 20px;
  505. }
  506. #reference input {
  507. display:block;
  508. width: 100%;
  509. }
  510. #reference {
  511. position: relative;
  512. }
  513. #reference > label {
  514. padding: 2px;
  515. display: block;
  516. box-shadow: 0 0 4px #000;
  517. position: relative;
  518. z-index: 2;
  519. }
  520. #reference > ul {
  521. background: #EEE;
  522. position: relative;
  523. z-index: 1;
  524. list-style:none;
  525. max-height: 200px;
  526. min-height: 200px;
  527. overflow: auto;
  528. }
  529. #reference .throbber {
  530. left: 50%;
  531. top: 50%;
  532. right: auto;
  533. bottom: auto;
  534. z-index: 2;
  535. -webkit-animation: throb 0.4s linear infinite;
  536. -moz-animation: throb 0.4s linear infinite;
  537. -webkit-animation-fill-mode: both;
  538. -moz-animation-fill-mode: both;
  539. }
  540. #reference ul {
  541. padding:0;
  542. margin:0;
  543. }
  544. #reference .description {
  545. display:block;
  546. font-size: 12px;
  547. font-weight: 500;
  548. }
  549. #reference > ul > li {
  550. }
  551. #reference strong {
  552. text-transform: uppercase;
  553. font-size: 11px;
  554. border-top: 1px solid #DDD;
  555. display:block;
  556. padding: 4px;
  557. font-weight: 500;
  558. background: #E0E0E0;
  559. cursor: default;
  560. }
  561. #reference li li {
  562. border: 1px solid #DDD;
  563. border-width: 1px 0 0;
  564. padding: 4px;
  565. cursor:pointer;
  566. background: #F2F2F2;
  567. }
  568. #reference li li.selected {
  569. background: hsl(200,100%,46%);
  570. color: #FFF;
  571. }
  572. .path-details {
  573. display: block;
  574. max-width: 100%;
  575. overflow:hidden;
  576. white-space: nowrap;
  577. text-overflow: ellipsis;
  578. }
  579. .object-builder {
  580. border: 1px solid hsl(201,100%,18%);
  581. border-width: 1px 0 0;
  582. display:table;
  583. width: 100%;
  584. margin-top: 5px;
  585. }
  586. .object-property {
  587. display: table-row;
  588. width: 100%;
  589. }
  590. .object-property-key, .object-property-value {
  591. border-bottom: 1px solid hsl(201,100%,24%);
  592. vertical-align: top;
  593. width: 50%;
  594. text-transform: none;
  595. padding: 8px;
  596. box-sizing: border-box;
  597. -webkit-box-sizing: border-box;
  598. -moz-box-sizing: border-box;
  599. display: table-cell;
  600. }
  601. .object-property:last-child .object-property-key, .object-property:last-child .object-property-value {
  602. border-bottom: none;
  603. }
  604. .object-property-key {
  605. color: #FFF;
  606. }
  607. .object-property-value {
  608. color: #FFF;
  609. font-weight:300;
  610. background: hsla(0,0%,100%,0.1);
  611. }
  612. .object-property-value:active, .object-property-value:focus {
  613. outline: none;
  614. background: hsla(0,0%,100%,0.2);
  615. box-shadow: inset 0 0 4px hsla(0,0%,0%,0.4);
  616. }
  617. .raw-toggle {
  618. position: absolute;
  619. top: 4px;
  620. right: 4px;
  621. font-size: 11px;
  622. font-weight: 500;
  623. color: hsl(201, 100%, 5%);
  624. text-shadow: 0 1px 0 hsl(201, 100%, 40%);
  625. padding-right: 30px;
  626. cursor: pointer;
  627. }
  628. .raw-toggle.on {
  629. color: hsl(29, 88%, 53%);
  630. text-shadow: 0 -1px 0 hsl(201, 100%, 0%);
  631. }
  632. .raw-toggle::before {
  633. content: " ";
  634. position: absolute;
  635. right: 0;
  636. top: 0;
  637. height: 14px;
  638. width: 24px;
  639. background: hsl(201, 100%, 20%);
  640. border-radius: 28px;
  641. box-shadow: inset 0 0 3px hsl(201, 100%, 10%), 0 1px 0 hsl(201, 100%, 30%);
  642. z-index: 1;
  643. -webkit-transition: 500ms;
  644. -moz-transition: 100ms;
  645. }
  646. .raw-toggle::after {
  647. content: " ";
  648. z-index: 2;
  649. position: absolute;
  650. right: 11px;
  651. top: 1px;
  652. width: 12px;
  653. height: 12px;
  654. border-radius: 12px;
  655. -webkit-transition: 100ms;
  656. -moz-transition: right 100ms;
  657. background-color: #007cbf;
  658. background-image: -webkit-gradient(linear, left top, left bottom, from(hsl(201, 100%, 49%)), to(hsl(201, 100%, 26%)));
  659. background-image: -webkit-linear-gradient(top, hsl(201, 100%, 49%), hsl(201, 100%, 26%));
  660. background-image: -moz-linear-gradient(top, hsl(201, 100%, 49%), hsl(201, 100%, 26%));
  661. background-image: -o-linear-gradient(top, hsl(201, 100%, 49%), hsl(201, 100%, 26%));
  662. background-image: -ms-linear-gradient(top, hsl(201, 100%, 49%), hsl(201, 100%, 26%));
  663. background-image: linear-gradient(top, hsl(201, 100%, 49%), hsl(201, 100%, 26%));
  664. }
  665. .raw-toggle.on::after {
  666. right: 1px;
  667. }
  668. .group-__do_not_document {
  669. display: none;
  670. }
  671. #help-bubble {
  672. position: fixed;
  673. top: 20px;
  674. left: 20px;
  675. z-index: 200;
  676. border-radius: 2px;
  677. }
  678. #help-bubble > div {
  679. text-shadow: 0 -1px 0 hsl(29, 88%, 40%);
  680. position: relative;
  681. padding: 8px;
  682. border-radius: 2px;
  683. font-size: 12px;
  684. font-weight: 300;
  685. color: #FFF;
  686. max-width: 250px;
  687. }
  688. #help-bubble:before {
  689. content:" ";
  690. position: absolute;
  691. left: 0;
  692. top: 50%;
  693. width: 6px;
  694. height: 6px;
  695. -webkit-transform: scaleX(1.4) translate(-2px,-3px) rotate(45deg);
  696. }
  697. #help-bubble > div, #help-bubble:before {
  698. background: hsl(29, 88%, 48%);
  699. }
  700. #help-bubble, #help-bubble:before {
  701. box-shadow: 0 0 5px hsla(0,0%,0%,1.0);
  702. }
  703. #help-bubble h1 {
  704. font-size: 12px;
  705. font-weight: 500;
  706. margin: 0 0 5px;
  707. padding:0 0 5px;
  708. border-bottom: 1px solid hsla(0,0%,100%,0.4);
  709. }
  710. #help-bubble h1 em {
  711. font-style: normal;
  712. font-weight: 400;
  713. padding-left: 10px;
  714. opacity: 0.95;
  715. }
  716. #help-bubble p {
  717. margin:0;
  718. padding: 0;
  719. }
  720. #help-bubble dt, #help-bubble code {
  721. font: 11px Consolas, Monaco, monospace;
  722. padding: 0;
  723. margin:0;
  724. }
  725. #help-bubble dt:after {
  726. content: ":";
  727. }
  728. #help-bubble dd {
  729. border-bottom: 1px solid hsla(0,0%,100%,0.4);
  730. margin: 0;
  731. padding: 5px 5px 10px 10px;
  732. margin-bottom: 10px;
  733. }
  734. #help-bubble dd:last-child {
  735. border-bottom: none;
  736. padding-bottom: 0;
  737. margin-bottom: 0;
  738. }