samples.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. /*This file is only needed for demo purposes in demo/ subdirectory */
  2. html {
  3. height: 100%;
  4. }
  5. body {
  6. margin: 0;
  7. background-color: #FFF;
  8. font-family: Verdana, Helvetica, Arial, FreeSans, sans-serif;
  9. color: #454545;
  10. font-size: 14px;
  11. min-width: 700px;
  12. height: 100%;
  13. }
  14. sup {
  15. font-size: 80%;
  16. background: lightgoldenrodyellow;
  17. }
  18. .clear {
  19. clear: left;
  20. }
  21. .wrapper {
  22. display: table;
  23. width: 100%;
  24. height: 100%;
  25. }
  26. .wrapper-row {
  27. display: table-row;
  28. height: 100%;
  29. }
  30. #container {
  31. display: table-cell;
  32. height: 100%;
  33. padding-top: 70px;
  34. padding-left: 40px;
  35. padding-bottom: 60px;
  36. position: relative;
  37. }
  38. .rowLayout {
  39. clear: left;
  40. }
  41. .columnLayout {
  42. float: left;
  43. background-color: #FFF;
  44. min-height: 100%;
  45. position: relative;
  46. }
  47. .descLayout {
  48. width: 600px;
  49. margin-bottom: 60px;
  50. }
  51. .descLayout.noMargin {
  52. margin-bottom: 0;
  53. }
  54. .codeLayout {
  55. float: left;
  56. background-color: #F5F5FF;
  57. margin-bottom: 60px;
  58. border: 2px solid #4285c8;
  59. }
  60. .codeLayout pre {
  61. padding: 0 10px 0 10px;
  62. }
  63. body.home .descLayout {
  64. margin-bottom: 30px;
  65. }
  66. body.home .codeLayout {
  67. border: 2px solid #F5F5FF;
  68. }
  69. body.home .codeLayoutExpanded {
  70. border: 2px solid #4285c8;
  71. }
  72. body.home .codeLayout .jsFiddle {
  73. margin-bottom: 0;
  74. }
  75. body.home .codeLayoutExpanded .jsFiddle {
  76. margin-bottom: 18px;
  77. }
  78. /*
  79. global menu
  80. */
  81. #global-menu-clone {
  82. background: #efefef;
  83. box-shadow: inset -4px 0px 4px -4px rgba(0, 0, 0, 0.20);
  84. width: 250px;
  85. min-width: 250px;
  86. display: table-cell;
  87. vertical-align: top;
  88. padding: 20px 10px 20px 20px;
  89. z-index: 12;
  90. position: relative;
  91. }
  92. #global-menu-clone ul {
  93. list-style: none;
  94. margin: 20px 0 0 0;
  95. padding-left: 10px;
  96. }
  97. #global-menu-clone h3 {
  98. margin: 0;
  99. font-size: 14px;
  100. font-weight: normal;
  101. font-style: normal;
  102. line-height: normal; /*reset Twitter Bootstrap rule*/
  103. }
  104. #global-menu-clone li h3 {
  105. color: #999;
  106. cursor: pointer;
  107. }
  108. #global-menu-clone li h3::after {
  109. content: "\25be";
  110. margin: 0 0 0 6px;
  111. }
  112. #global-menu-clone li.current h3 {
  113. color: #454545;
  114. }
  115. #global-menu-clone li {
  116. padding: 0 0 10px 0;
  117. margin: 0;
  118. }
  119. #global-menu > ul > li {
  120. padding: 0 0 20px 0;
  121. }
  122. #global-menu-clone li a {
  123. color: #999;
  124. text-decoration: none;
  125. }
  126. #global-menu-clone li.current h3,
  127. #global-menu-clone li h3:hover,
  128. #global-menu-clone li a:hover,
  129. #global-menu-clone li a.current {
  130. color: #454545;
  131. }
  132. #global-menu-clone li a.current {
  133. font-weight: bold;
  134. }
  135. /**
  136. * headers
  137. */
  138. h1, h2, .tagline {
  139. font-family: Verdana, Helvetica, Arial, FreeSans, sans-serif;
  140. }
  141. h1 {
  142. margin: 0 0 40px 0;
  143. font-size: 24px;
  144. font-weight: 700;
  145. font-style: normal;
  146. padding-left: 10px;
  147. }
  148. h1 .ver {
  149. font-size: 10px;
  150. }
  151. h2 {
  152. margin-top: 12px;
  153. font-size: 26px;
  154. font-weight: 700;
  155. font-style: normal;
  156. }
  157. h3 {
  158. margin-top: 15px;
  159. font-size: 14px;
  160. font-weight: 400;
  161. font-style: normal;
  162. }
  163. /**
  164. * text
  165. */
  166. a {
  167. text-decoration: none;
  168. color: #4267B6;
  169. cursor: pointer;
  170. }
  171. a:hover {
  172. text-decoration: underline;
  173. }
  174. .tagline {
  175. font-size: 15px;
  176. width: 300px;
  177. color: #646464;
  178. margin-top: -40px;
  179. }
  180. h1 .small {
  181. font-size: 16px;
  182. font-weight: normal;
  183. }
  184. .footer-text {
  185. font-size: 13px;
  186. position: absolute;
  187. bottom: -25px;
  188. left: 0;
  189. }
  190. .nobreak {
  191. white-space: nowrap;
  192. }
  193. pre {
  194. clear: left;
  195. }
  196. ul,
  197. ol,
  198. p,
  199. .descLayout pre {
  200. margin-bottom: 1.5em;
  201. clear: left;
  202. }
  203. li {
  204. margin-bottom: 1.3em;
  205. }
  206. ul.tight li {
  207. margin-bottom: 0.3em;
  208. }
  209. ul {
  210. padding-left: 30px;
  211. }
  212. ul ul {
  213. margin-top: 1.5em;
  214. }
  215. .descLayout code {
  216. white-space: nowrap;
  217. margin: 0 2px;
  218. padding: 0 5px;
  219. border: 1px solid #ECECEC;
  220. background-color: #FAFAFA;
  221. border-radius: 3px;
  222. font-size: 12px;
  223. font-family: Consolas, Courier, monospace;
  224. }
  225. .descLayout pre code {
  226. white-space: pre-wrap;
  227. padding: 3px 5px;
  228. }
  229. kbd {
  230. background-color: #e7e7e7;
  231. background-image: -moz-linear-gradient(#fefefe, #e7e7e7);
  232. background-image: -webkit-linear-gradient(#fefefe, #e7e7e7);
  233. background-image: linear-gradient(#fefefe, #e7e7e7);
  234. background-repeat: repeat-x;
  235. border-radius: 2px;
  236. border: 1px solid #cfcfcf;
  237. color: #000;
  238. padding: 3px 5px 0 5px;
  239. font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  240. display: inline-block;
  241. }
  242. /**
  243. * jsFiddle
  244. */
  245. .jsFiddle {
  246. margin-bottom: 18px;
  247. /*margin-top: -2px;*/
  248. /*margin-left: -2px;*/
  249. clear: both;
  250. float: left;
  251. }
  252. .jsFiddleLink {
  253. background-color: #4285c8;
  254. color: white;
  255. }
  256. .jsFiddleLink:hover {
  257. background-color: #3D63AA;
  258. }
  259. /**
  260. * warning
  261. */
  262. .warning {
  263. border: 1px solid #D4D8EB;
  264. padding: 10px;
  265. background: #F0F1F8;
  266. box-shadow: 2px 2px 7px #777;
  267. margin-bottom: 40px;
  268. }
  269. .warning strong {
  270. background: #747477;
  271. color: #FFF;
  272. border-radius: 4px;
  273. padding: 2px 4px;
  274. }
  275. /**
  276. * Handsontable
  277. */
  278. .handsontable {
  279. margin-bottom: 10px;
  280. color: #000;
  281. font-size: 12px;
  282. }
  283. .handsontable li {
  284. margin-bottom: 0; /* will be not needed after Handsontable 0.8.16 */
  285. }
  286. /**
  287. * Highlight.js
  288. */
  289. .codeLayout {
  290. font-size: 14px;
  291. }
  292. .codeLayout pre code {
  293. padding: 0;
  294. background: none;
  295. }
  296. /**
  297. * documentation excerpts
  298. */
  299. dl {
  300. background: #FDFFFF;
  301. border-left: 4px solid #F5F5FF;
  302. padding: 1px 10px 1px 10px;
  303. margin: 30px 0;
  304. }
  305. dl dt {
  306. font-size: 14px;
  307. font-weight: bold;
  308. font-style: italic;
  309. padding: 0;
  310. margin: 15px 0 5px;
  311. }
  312. dl dd {
  313. margin: 10px 0 0 0;
  314. padding: 0;
  315. }
  316. /**
  317. * home page
  318. */
  319. #githubWatch {
  320. position: absolute;
  321. top: 31px;
  322. left: 322px;
  323. z-index: 10;
  324. }
  325. #githubFork {
  326. position: absolute;
  327. top: 31px;
  328. left: 432px;
  329. z-index: 10;
  330. }
  331. #domainNotice {
  332. display: none;
  333. }
  334. body.home pre {
  335. display: none;
  336. }
  337. .state-loaded {
  338. display: none;
  339. }
  340. .alert {
  341. color: #c09853;
  342. padding: 8px 35px 8px 14px;
  343. margin-bottom: 20px;
  344. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  345. background-color: #fcf8e3;
  346. border: 1px solid #fbeed5;
  347. -webkit-border-radius: 4px;
  348. -moz-border-radius: 4px;
  349. border-radius: 4px;
  350. }
  351. /**
  352. * buttons
  353. **/
  354. #outside-links-wrapper {
  355. position: absolute;
  356. top: 20px;
  357. right: 20px;
  358. z-index: 11;
  359. }
  360. button,
  361. .button {
  362. font-family: Helvetica, Arial, FreeSans, sans-serif; /*Firefox tries to use system font on button*/
  363. display: inline-block;
  364. padding: 6px 9px;
  365. margin: 0 2px 0 0;
  366. font-size: 13px;
  367. line-height: 24px;
  368. text-align: center;
  369. white-space: nowrap;
  370. vertical-align: middle;
  371. cursor: pointer;
  372. border: none;
  373. -moz-user-select: none;
  374. background-color: #9a9a9a;
  375. color: white;
  376. }
  377. button:last-child,
  378. .button:last-child {
  379. margin-right: 0;
  380. }
  381. .button.button-light {
  382. margin-right: 0;
  383. }
  384. button:hover,
  385. .button:hover {
  386. background-color: #7a7a7a;
  387. text-decoration: none;
  388. }
  389. .button.button-secondary {
  390. background-color: #bbb;
  391. }
  392. .button.button-secondary:hover {
  393. background-color: #aaa;
  394. }
  395. button.mini {
  396. padding: 3px 5px;
  397. font-size: 11px;
  398. line-height: 16px;
  399. margin-top: -3px;
  400. }
  401. .show-source {
  402. background-color: #8fbb6d;
  403. }
  404. .show-source:hover {
  405. background-color: #76bb4c;
  406. }
  407. .show-source:before {
  408. content: 'Show source code';
  409. }
  410. .show-source.shown:before {
  411. content: 'Hide source code';
  412. }
  413. .inline-buttons button,
  414. .inline-buttons .button {
  415. float: left;
  416. }
  417. .button-github {
  418. background-color: #4285c8;
  419. }
  420. .button-github:hover {
  421. background-color: #3D63AA;
  422. }
  423. .button-twitter {
  424. background-color: #00ACED;
  425. }
  426. .button-twitter:hover {
  427. background-color: #0095CC;
  428. }
  429. .button-google-groups {
  430. background-color: #D44332;
  431. }
  432. .button-google-groups:hover {
  433. background-color: #BC2520;
  434. }