You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1410 lines
29 KiB

9 years ago
  1. /*!
  2. Pure v0.6.0
  3. Copyright 2014 Yahoo! Inc. All rights reserved.
  4. Licensed under the BSD License.
  5. https://github.com/yahoo/pure/blob/master/LICENSE.md
  6. */
  7. /*!
  8. normalize.css v^3.0 | MIT License | git.io/normalize
  9. Copyright (c) Nicolas Gallagher and Jonathan Neal
  10. */
  11. /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
  12. /**
  13. * 1. Set default font family to sans-serif.
  14. * 2. Prevent iOS text size adjust after orientation change, without disabling
  15. * user zoom.
  16. */
  17. html {
  18. font-family: sans-serif; /* 1 */
  19. -ms-text-size-adjust: 100%; /* 2 */
  20. -webkit-text-size-adjust: 100%; /* 2 */
  21. }
  22. /**
  23. * Remove default margin.
  24. */
  25. body {
  26. margin: 0;
  27. }
  28. /* HTML5 display definitions
  29. ========================================================================== */
  30. /**
  31. * Correct `block` display not defined for any HTML5 element in IE 8/9.
  32. * Correct `block` display not defined for `details` or `summary` in IE 10/11
  33. * and Firefox.
  34. * Correct `block` display not defined for `main` in IE 11.
  35. */
  36. article,
  37. aside,
  38. details,
  39. figcaption,
  40. figure,
  41. footer,
  42. header,
  43. hgroup,
  44. main,
  45. menu,
  46. nav,
  47. section,
  48. summary {
  49. display: block;
  50. }
  51. /**
  52. * 1. Correct `inline-block` display not defined in IE 8/9.
  53. * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
  54. */
  55. audio,
  56. canvas,
  57. progress,
  58. video {
  59. display: inline-block; /* 1 */
  60. vertical-align: baseline; /* 2 */
  61. }
  62. /**
  63. * Prevent modern browsers from displaying `audio` without controls.
  64. * Remove excess height in iOS 5 devices.
  65. */
  66. audio:not([controls]) {
  67. display: none;
  68. height: 0;
  69. }
  70. /**
  71. * Address `[hidden]` styling not present in IE 8/9/10.
  72. * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
  73. */
  74. [hidden],
  75. template {
  76. display: none;
  77. }
  78. /* Links
  79. ========================================================================== */
  80. /**
  81. * Remove the gray background color from active links in IE 10.
  82. */
  83. a {
  84. background-color: transparent;
  85. }
  86. /**
  87. * Improve readability when focused and also mouse hovered in all browsers.
  88. */
  89. a:active,
  90. a:hover {
  91. outline: 0;
  92. }
  93. /* Text-level semantics
  94. ========================================================================== */
  95. /**
  96. * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
  97. */
  98. abbr[title] {
  99. border-bottom: 1px dotted;
  100. }
  101. /**
  102. * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
  103. */
  104. b,
  105. strong {
  106. font-weight: bold;
  107. }
  108. /**
  109. * Address styling not present in Safari and Chrome.
  110. */
  111. dfn {
  112. font-style: italic;
  113. }
  114. /**
  115. * Address variable `h1` font-size and margin within `section` and `article`
  116. * contexts in Firefox 4+, Safari, and Chrome.
  117. */
  118. h1 {
  119. font-size: 2em;
  120. margin: 0.67em 0;
  121. }
  122. /**
  123. * Address styling not present in IE 8/9.
  124. */
  125. mark {
  126. background: #ff0;
  127. color: #000;
  128. }
  129. /**
  130. * Address inconsistent and variable font size in all browsers.
  131. */
  132. small {
  133. font-size: 80%;
  134. }
  135. /**
  136. * Prevent `sub` and `sup` affecting `line-height` in all browsers.
  137. */
  138. sub,
  139. sup {
  140. font-size: 75%;
  141. line-height: 0;
  142. position: relative;
  143. vertical-align: baseline;
  144. }
  145. sup {
  146. top: -0.5em;
  147. }
  148. sub {
  149. bottom: -0.25em;
  150. }
  151. /* Embedded content
  152. ========================================================================== */
  153. /**
  154. * Remove border when inside `a` element in IE 8/9/10.
  155. */
  156. img {
  157. border: 0;
  158. }
  159. /**
  160. * Correct overflow not hidden in IE 9/10/11.
  161. */
  162. svg:not(:root) {
  163. overflow: hidden;
  164. }
  165. /* Grouping content
  166. ========================================================================== */
  167. /**
  168. * Address margin not present in IE 8/9 and Safari.
  169. */
  170. figure {
  171. margin: 1em 40px;
  172. }
  173. /**
  174. * Address differences between Firefox and other browsers.
  175. */
  176. hr {
  177. -moz-box-sizing: content-box;
  178. box-sizing: content-box;
  179. height: 0;
  180. }
  181. /**
  182. * Contain overflow in all browsers.
  183. */
  184. pre {
  185. overflow: auto;
  186. }
  187. /**
  188. * Address odd `em`-unit font size rendering in all browsers.
  189. */
  190. code,
  191. kbd,
  192. pre,
  193. samp {
  194. font-family: monospace, monospace;
  195. font-size: 1em;
  196. }
  197. /* Forms
  198. ========================================================================== */
  199. /**
  200. * Known limitation: by default, Chrome and Safari on OS X allow very limited
  201. * styling of `select`, unless a `border` property is set.
  202. */
  203. /**
  204. * 1. Correct color not being inherited.
  205. * Known issue: affects color of disabled elements.
  206. * 2. Correct font properties not being inherited.
  207. * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
  208. */
  209. button,
  210. input,
  211. optgroup,
  212. select,
  213. textarea {
  214. color: inherit; /* 1 */
  215. font: inherit; /* 2 */
  216. margin: 0; /* 3 */
  217. }
  218. /**
  219. * Address `overflow` set to `hidden` in IE 8/9/10/11.
  220. */
  221. button {
  222. overflow: visible;
  223. }
  224. /**
  225. * Address inconsistent `text-transform` inheritance for `button` and `select`.
  226. * All other form control elements do not inherit `text-transform` values.
  227. * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
  228. * Correct `select` style inheritance in Firefox.
  229. */
  230. button,
  231. select {
  232. text-transform: none;
  233. }
  234. /**
  235. * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
  236. * and `video` controls.
  237. * 2. Correct inability to style clickable `input` types in iOS.
  238. * 3. Improve usability and consistency of cursor style between image-type
  239. * `input` and others.
  240. */
  241. button,
  242. html input[type="button"], /* 1 */
  243. input[type="reset"],
  244. input[type="submit"] {
  245. -webkit-appearance: button; /* 2 */
  246. cursor: pointer; /* 3 */
  247. }
  248. /**
  249. * Re-set default cursor for disabled elements.
  250. */
  251. button[disabled],
  252. html input[disabled] {
  253. cursor: default;
  254. }
  255. /**
  256. * Remove inner padding and border in Firefox 4+.
  257. */
  258. button::-moz-focus-inner,
  259. input::-moz-focus-inner {
  260. border: 0;
  261. padding: 0;
  262. }
  263. /**
  264. * Address Firefox 4+ setting `line-height` on `input` using `!important` in
  265. * the UA stylesheet.
  266. */
  267. input {
  268. line-height: normal;
  269. }
  270. /**
  271. * It's recommended that you don't attempt to style these elements.
  272. * Firefox's implementation doesn't respect box-sizing, padding, or width.
  273. *
  274. * 1. Address box sizing set to `content-box` in IE 8/9/10.
  275. * 2. Remove excess padding in IE 8/9/10.
  276. */
  277. input[type="checkbox"],
  278. input[type="radio"] {
  279. box-sizing: border-box; /* 1 */
  280. padding: 0; /* 2 */
  281. }
  282. /**
  283. * Fix the cursor style for Chrome's increment/decrement buttons. For certain
  284. * `font-size` values of the `input`, it causes the cursor style of the
  285. * decrement button to change from `default` to `text`.
  286. */
  287. input[type="number"]::-webkit-inner-spin-button,
  288. input[type="number"]::-webkit-outer-spin-button {
  289. height: auto;
  290. }
  291. /**
  292. * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
  293. * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
  294. * (include `-moz` to future-proof).
  295. */
  296. input[type="search"] {
  297. -webkit-appearance: textfield; /* 1 */
  298. -moz-box-sizing: content-box;
  299. -webkit-box-sizing: content-box; /* 2 */
  300. box-sizing: content-box;
  301. }
  302. /**
  303. * Remove inner padding and search cancel button in Safari and Chrome on OS X.
  304. * Safari (but not Chrome) clips the cancel button when the search input has
  305. * padding (and `textfield` appearance).
  306. */
  307. input[type="search"]::-webkit-search-cancel-button,
  308. input[type="search"]::-webkit-search-decoration {
  309. -webkit-appearance: none;
  310. }
  311. /**
  312. * Define consistent border, margin, and padding.
  313. */
  314. fieldset {
  315. border: 1px solid #c0c0c0;
  316. margin: 0 2px;
  317. padding: 0.35em 0.625em 0.75em;
  318. }
  319. /**
  320. * 1. Correct `color` not being inherited in IE 8/9/10/11.
  321. * 2. Remove padding so people aren't caught out if they zero out fieldsets.
  322. */
  323. legend {
  324. border: 0; /* 1 */
  325. padding: 0; /* 2 */
  326. }
  327. /**
  328. * Remove default vertical scrollbar in IE 8/9/10/11.
  329. */
  330. textarea {
  331. overflow: auto;
  332. }
  333. /**
  334. * Don't inherit the `font-weight` (applied by a rule above).
  335. * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
  336. */
  337. optgroup {
  338. font-weight: bold;
  339. }
  340. /* Tables
  341. ========================================================================== */
  342. /**
  343. * Remove most spacing between table cells.
  344. */
  345. table {
  346. border-collapse: collapse;
  347. border-spacing: 0;
  348. }
  349. td,
  350. th {
  351. padding: 0;
  352. }
  353. /*csslint important:false*/
  354. /* ==========================================================================
  355. Pure Base Extras
  356. ========================================================================== */
  357. /**
  358. * Extra rules that Pure adds on top of Normalize.css
  359. */
  360. /**
  361. * Always hide an element when it has the `hidden` HTML attribute.
  362. */
  363. .hidden,
  364. [hidden] {
  365. display: none !important;
  366. }
  367. /**
  368. * Add this class to an image to make it fit within it's fluid parent wrapper while maintaining
  369. * aspect ratio.
  370. */
  371. .pure-img {
  372. max-width: 100%;
  373. height: auto;
  374. display: block;
  375. }
  376. /*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/
  377. .pure-g {
  378. letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
  379. *letter-spacing: normal; /* reset IE < 8 */
  380. *word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
  381. text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
  382. /*
  383. Sets the font stack to fonts known to work properly with the above letter
  384. and word spacings. See: https://github.com/yahoo/pure/issues/41/
  385. The following font stack makes Pure Grids work on all known environments.
  386. * FreeSans: Ships with many Linux distros, including Ubuntu
  387. * Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
  388. Arial to get picked up by the browser, even though neither is available
  389. in Chrome OS.
  390. * Droid Sans: Ships with all versions of Android.
  391. * Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
  392. */
  393. font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
  394. /*
  395. Use flexbox when possible to avoid `letter-spacing` side-effects.
  396. NOTE: Firefox (as of 25) does not currently support flex-wrap, so the
  397. `-moz-` prefix version is omitted.
  398. */
  399. display: -webkit-flex;
  400. -webkit-flex-flow: row wrap;
  401. /* IE10 uses display: flexbox */
  402. display: -ms-flexbox;
  403. -ms-flex-flow: row wrap;
  404. /* Prevents distributing space between rows */
  405. -ms-align-content: flex-start;
  406. -webkit-align-content: flex-start;
  407. align-content: flex-start;
  408. }
  409. /* Opera as of 12 on Windows needs word-spacing.
  410. The ".opera-only" selector is used to prevent actual prefocus styling
  411. and is not required in markup.
  412. */
  413. .opera-only :-o-prefocus,
  414. .pure-g {
  415. word-spacing: -0.43em;
  416. }
  417. .pure-u {
  418. display: inline-block;
  419. *display: inline; /* IE < 8: fake inline-block */
  420. zoom: 1;
  421. letter-spacing: normal;
  422. word-spacing: normal;
  423. vertical-align: top;
  424. text-rendering: auto;
  425. }
  426. /*
  427. Resets the font family back to the OS/browser's default sans-serif font,
  428. this the same font stack that Normalize.css sets for the `body`.
  429. */
  430. .pure-g [class *= "pure-u"] {
  431. font-family: sans-serif;
  432. }
  433. .pure-u-1,
  434. .pure-u-1-1,
  435. .pure-u-1-2,
  436. .pure-u-1-3,
  437. .pure-u-2-3,
  438. .pure-u-1-4,
  439. .pure-u-3-4,
  440. .pure-u-1-5,
  441. .pure-u-2-5,
  442. .pure-u-3-5,
  443. .pure-u-4-5,
  444. .pure-u-5-5,
  445. .pure-u-1-6,
  446. .pure-u-5-6,
  447. .pure-u-1-8,
  448. .pure-u-3-8,
  449. .pure-u-5-8,
  450. .pure-u-7-8,
  451. .pure-u-1-12,
  452. .pure-u-5-12,
  453. .pure-u-7-12,
  454. .pure-u-11-12,
  455. .pure-u-1-24,
  456. .pure-u-2-24,
  457. .pure-u-3-24,
  458. .pure-u-4-24,
  459. .pure-u-5-24,
  460. .pure-u-6-24,
  461. .pure-u-7-24,
  462. .pure-u-8-24,
  463. .pure-u-9-24,
  464. .pure-u-10-24,
  465. .pure-u-11-24,
  466. .pure-u-12-24,
  467. .pure-u-13-24,
  468. .pure-u-14-24,
  469. .pure-u-15-24,
  470. .pure-u-16-24,
  471. .pure-u-17-24,
  472. .pure-u-18-24,
  473. .pure-u-19-24,
  474. .pure-u-20-24,
  475. .pure-u-21-24,
  476. .pure-u-22-24,
  477. .pure-u-23-24,
  478. .pure-u-24-24 {
  479. display: inline-block;
  480. *display: inline;
  481. zoom: 1;
  482. letter-spacing: normal;
  483. word-spacing: normal;
  484. vertical-align: top;
  485. text-rendering: auto;
  486. }
  487. .pure-u-1-24 {
  488. width: 4.1667%;
  489. *width: 4.1357%;
  490. }
  491. .pure-u-1-12,
  492. .pure-u-2-24 {
  493. width: 8.3333%;
  494. *width: 8.3023%;
  495. }
  496. .pure-u-1-8,
  497. .pure-u-3-24 {
  498. width: 12.5000%;
  499. *width: 12.4690%;
  500. }
  501. .pure-u-1-6,
  502. .pure-u-4-24 {
  503. width: 16.6667%;
  504. *width: 16.6357%;
  505. }
  506. .pure-u-1-5 {
  507. width: 20%;
  508. *width: 19.9690%;
  509. }
  510. .pure-u-5-24 {
  511. width: 20.8333%;
  512. *width: 20.8023%;
  513. }
  514. .pure-u-1-4,
  515. .pure-u-6-24 {
  516. width: 25%;
  517. *width: 24.9690%;
  518. }
  519. .pure-u-7-24 {
  520. width: 29.1667%;
  521. *width: 29.1357%;
  522. }
  523. .pure-u-1-3,
  524. .pure-u-8-24 {
  525. width: 33.3333%;
  526. *width: 33.3023%;
  527. }
  528. .pure-u-3-8,
  529. .pure-u-9-24 {
  530. width: 37.5000%;
  531. *width: 37.4690%;
  532. }
  533. .pure-u-2-5 {
  534. width: 40%;
  535. *width: 39.9690%;
  536. }
  537. .pure-u-5-12,
  538. .pure-u-10-24 {
  539. width: 41.6667%;
  540. *width: 41.6357%;
  541. }
  542. .pure-u-11-24 {
  543. width: 45.8333%;
  544. *width: 45.8023%;
  545. }
  546. .pure-u-1-2,
  547. .pure-u-12-24 {
  548. width: 50%;
  549. *width: 49.9690%;
  550. }
  551. .pure-u-13-24 {
  552. width: 54.1667%;
  553. *width: 54.1357%;
  554. }
  555. .pure-u-7-12,
  556. .pure-u-14-24 {
  557. width: 58.3333%;
  558. *width: 58.3023%;
  559. }
  560. .pure-u-3-5 {
  561. width: 60%;
  562. *width: 59.9690%;
  563. }
  564. .pure-u-5-8,
  565. .pure-u-15-24 {
  566. width: 62.5000%;
  567. *width: 62.4690%;
  568. }
  569. .pure-u-2-3,
  570. .pure-u-16-24 {
  571. width: 66.6667%;
  572. *width: 66.6357%;
  573. }
  574. .pure-u-17-24 {
  575. width: 70.8333%;
  576. *width: 70.8023%;
  577. }
  578. .pure-u-3-4,
  579. .pure-u-18-24 {
  580. width: 75%;
  581. *width: 74.9690%;
  582. }
  583. .pure-u-19-24 {
  584. width: 79.1667%;
  585. *width: 79.1357%;
  586. }
  587. .pure-u-4-5 {
  588. width: 80%;
  589. *width: 79.9690%;
  590. }
  591. .pure-u-5-6,
  592. .pure-u-20-24 {
  593. width: 83.3333%;
  594. *width: 83.3023%;
  595. }
  596. .pure-u-7-8,
  597. .pure-u-21-24 {
  598. width: 87.5000%;
  599. *width: 87.4690%;
  600. }
  601. .pure-u-11-12,
  602. .pure-u-22-24 {
  603. width: 91.6667%;
  604. *width: 91.6357%;
  605. }
  606. .pure-u-23-24 {
  607. width: 95.8333%;
  608. *width: 95.8023%;
  609. }
  610. .pure-u-1,
  611. .pure-u-1-1,
  612. .pure-u-5-5,
  613. .pure-u-24-24 {
  614. width: 100%;
  615. }
  616. .pure-button {
  617. /* Structure */
  618. display: inline-block;
  619. zoom: 1;
  620. line-height: normal;
  621. white-space: nowrap;
  622. vertical-align: middle;
  623. text-align: center;
  624. cursor: pointer;
  625. -webkit-user-drag: none;
  626. -webkit-user-select: none;
  627. -moz-user-select: none;
  628. -ms-user-select: none;
  629. user-select: none;
  630. -webkit-box-sizing: border-box;
  631. -moz-box-sizing: border-box;
  632. box-sizing: border-box;
  633. }
  634. /* Firefox: Get rid of the inner focus border */
  635. .pure-button::-moz-focus-inner {
  636. padding: 0;
  637. border: 0;
  638. }
  639. /*csslint outline-none:false*/
  640. .pure-button {
  641. font-family: inherit;
  642. font-size: 100%;
  643. padding: 0.5em 1em;
  644. color: #444; /* rgba not supported (IE 8) */
  645. color: rgba(0, 0, 0, 0.80); /* rgba supported */
  646. border: 1px solid #999; /*IE 6/7/8*/
  647. border: none rgba(0, 0, 0, 0); /*IE9 + everything else*/
  648. background-color: #E6E6E6;
  649. text-decoration: none;
  650. border-radius: 2px;
  651. }
  652. .pure-button-hover,
  653. .pure-button:hover,
  654. .pure-button:focus {
  655. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0);
  656. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10)));
  657. background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
  658. background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10));
  659. background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
  660. background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
  661. }
  662. .pure-button:focus {
  663. outline: 0;
  664. }
  665. .pure-button-active,
  666. .pure-button:active {
  667. box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
  668. border-color: #000\9;
  669. }
  670. .pure-button[disabled],
  671. .pure-button-disabled,
  672. .pure-button-disabled:hover,
  673. .pure-button-disabled:focus,
  674. .pure-button-disabled:active {
  675. border: none;
  676. background-image: none;
  677. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  678. filter: alpha(opacity=40);
  679. -khtml-opacity: 0.40;
  680. -moz-opacity: 0.40;
  681. opacity: 0.40;
  682. cursor: not-allowed;
  683. box-shadow: none;
  684. }
  685. .pure-button-hidden {
  686. display: none;
  687. }
  688. /* Firefox: Get rid of the inner focus border */
  689. .pure-button::-moz-focus-inner{
  690. padding: 0;
  691. border: 0;
  692. }
  693. .pure-button-primary,
  694. .pure-button-selected,
  695. a.pure-button-primary,
  696. a.pure-button-selected {
  697. background-color: rgb(0, 120, 231);
  698. color: #fff;
  699. }
  700. /*csslint box-model:false*/
  701. /*
  702. Box-model set to false because we're setting a height on select elements, which
  703. also have border and padding. This is done because some browsers don't render
  704. the padding. We explicitly set the box-model for select elements to border-box,
  705. so we can ignore the csslint warning.
  706. */
  707. .pure-form input[type="text"],
  708. .pure-form input[type="password"],
  709. .pure-form input[type="email"],
  710. .pure-form input[type="url"],
  711. .pure-form input[type="date"],
  712. .pure-form input[type="month"],
  713. .pure-form input[type="time"],
  714. .pure-form input[type="datetime"],
  715. .pure-form input[type="datetime-local"],
  716. .pure-form input[type="week"],
  717. .pure-form input[type="number"],
  718. .pure-form input[type="search"],
  719. .pure-form input[type="tel"],
  720. .pure-form input[type="color"],
  721. .pure-form select,
  722. .pure-form textarea {
  723. padding: 0.5em 0.6em;
  724. display: inline-block;
  725. border: 1px solid #ccc;
  726. box-shadow: inset 0 1px 3px #ddd;
  727. border-radius: 4px;
  728. vertical-align: middle;
  729. -webkit-box-sizing: border-box;
  730. -moz-box-sizing: border-box;
  731. box-sizing: border-box;
  732. }
  733. /*
  734. Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
  735. since IE8 won't execute CSS that contains a CSS3 selector.
  736. */
  737. .pure-form input:not([type]) {
  738. padding: 0.5em 0.6em;
  739. display: inline-block;
  740. border: 1px solid #ccc;
  741. box-shadow: inset 0 1px 3px #ddd;
  742. border-radius: 4px;
  743. -webkit-box-sizing: border-box;
  744. -moz-box-sizing: border-box;
  745. box-sizing: border-box;
  746. }
  747. /* Chrome (as of v.32/34 on OS X) needs additional room for color to display. */
  748. /* May be able to remove this tweak as color inputs become more standardized across browsers. */
  749. .pure-form input[type="color"] {
  750. padding: 0.2em 0.5em;
  751. }
  752. .pure-form input[type="text"]:focus,
  753. .pure-form input[type="password"]:focus,
  754. .pure-form input[type="email"]:focus,
  755. .pure-form input[type="url"]:focus,
  756. .pure-form input[type="date"]:focus,
  757. .pure-form input[type="month"]:focus,
  758. .pure-form input[type="time"]:focus,
  759. .pure-form input[type="datetime"]:focus,
  760. .pure-form input[type="datetime-local"]:focus,
  761. .pure-form input[type="week"]:focus,
  762. .pure-form input[type="number"]:focus,
  763. .pure-form input[type="search"]:focus,
  764. .pure-form input[type="tel"]:focus,
  765. .pure-form input[type="color"]:focus,
  766. .pure-form select:focus,
  767. .pure-form textarea:focus {
  768. outline: 0;
  769. border-color: #129FEA;
  770. }
  771. /*
  772. Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
  773. since IE8 won't execute CSS that contains a CSS3 selector.
  774. */
  775. .pure-form input:not([type]):focus {
  776. outline: 0;
  777. border-color: #129FEA;
  778. }
  779. .pure-form input[type="file"]:focus,
  780. .pure-form input[type="radio"]:focus,
  781. .pure-form input[type="checkbox"]:focus {
  782. outline: thin solid #129FEA;
  783. outline: 1px auto #129FEA;
  784. }
  785. .pure-form .pure-checkbox,
  786. .pure-form .pure-radio {
  787. margin: 0.5em 0;
  788. display: block;
  789. }
  790. .pure-form input[type="text"][disabled],
  791. .pure-form input[type="password"][disabled],
  792. .pure-form input[type="email"][disabled],
  793. .pure-form input[type="url"][disabled],
  794. .pure-form input[type="date"][disabled],
  795. .pure-form input[type="month"][disabled],
  796. .pure-form input[type="time"][disabled],
  797. .pure-form input[type="datetime"][disabled],
  798. .pure-form input[type="datetime-local"][disabled],
  799. .pure-form input[type="week"][disabled],
  800. .pure-form input[type="number"][disabled],
  801. .pure-form input[type="search"][disabled],
  802. .pure-form input[type="tel"][disabled],
  803. .pure-form input[type="color"][disabled],
  804. .pure-form select[disabled],
  805. .pure-form textarea[disabled] {
  806. cursor: not-allowed;
  807. background-color: #eaeded;
  808. color: #cad2d3;
  809. }
  810. /*
  811. Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
  812. since IE8 won't execute CSS that contains a CSS3 selector.
  813. */
  814. .pure-form input:not([type])[disabled] {
  815. cursor: not-allowed;
  816. background-color: #eaeded;
  817. color: #cad2d3;
  818. }
  819. .pure-form input[readonly],
  820. .pure-form select[readonly],
  821. .pure-form textarea[readonly] {
  822. background-color: #eee; /* menu hover bg color */
  823. color: #777; /* menu text color */
  824. border-color: #ccc;
  825. }
  826. .pure-form input:focus:invalid,
  827. .pure-form textarea:focus:invalid,
  828. .pure-form select:focus:invalid {
  829. color: #b94a48;
  830. border-color: #e9322d;
  831. }
  832. .pure-form input[type="file"]:focus:invalid:focus,
  833. .pure-form input[type="radio"]:focus:invalid:focus,
  834. .pure-form input[type="checkbox"]:focus:invalid:focus {
  835. outline-color: #e9322d;
  836. }
  837. .pure-form select {
  838. /* Normalizes the height; padding is not sufficient. */
  839. height: 2.25em;
  840. border: 1px solid #ccc;
  841. background-color: white;
  842. }
  843. .pure-form select[multiple] {
  844. height: auto;
  845. }
  846. .pure-form label {
  847. margin: 0.5em 0 0.2em;
  848. }
  849. .pure-form fieldset {
  850. margin: 0;
  851. padding: 0.35em 0 0.75em;
  852. border: 0;
  853. }
  854. .pure-form legend {
  855. display: block;
  856. width: 100%;
  857. padding: 0.3em 0;
  858. margin-bottom: 0.3em;
  859. color: #333;
  860. border-bottom: 1px solid #e5e5e5;
  861. }
  862. .pure-form-stacked input[type="text"],
  863. .pure-form-stacked input[type="password"],
  864. .pure-form-stacked input[type="email"],
  865. .pure-form-stacked input[type="url"],
  866. .pure-form-stacked input[type="date"],
  867. .pure-form-stacked input[type="month"],
  868. .pure-form-stacked input[type="time"],
  869. .pure-form-stacked input[type="datetime"],
  870. .pure-form-stacked input[type="datetime-local"],
  871. .pure-form-stacked input[type="week"],
  872. .pure-form-stacked input[type="number"],
  873. .pure-form-stacked input[type="search"],
  874. .pure-form-stacked input[type="tel"],
  875. .pure-form-stacked input[type="color"],
  876. .pure-form-stacked input[type="file"],
  877. .pure-form-stacked select,
  878. .pure-form-stacked label,
  879. .pure-form-stacked textarea {
  880. display: block;
  881. margin: 0.25em 0;
  882. }
  883. /*
  884. Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
  885. since IE8 won't execute CSS that contains a CSS3 selector.
  886. */
  887. .pure-form-stacked input:not([type]) {
  888. display: block;
  889. margin: 0.25em 0;
  890. }
  891. .pure-form-aligned input,
  892. .pure-form-aligned textarea,
  893. .pure-form-aligned select,
  894. /* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
  895. .pure-form-aligned .pure-help-inline,
  896. .pure-form-message-inline {
  897. display: inline-block;
  898. *display: inline;
  899. *zoom: 1;
  900. vertical-align: middle;
  901. }
  902. .pure-form-aligned textarea {
  903. vertical-align: top;
  904. }
  905. /* Aligned Forms */
  906. .pure-form-aligned .pure-control-group {
  907. margin-bottom: 0.5em;
  908. }
  909. .pure-form-aligned .pure-control-group label {
  910. text-align: right;
  911. display: inline-block;
  912. vertical-align: middle;
  913. width: 10em;
  914. margin: 0 1em 0 0;
  915. }
  916. .pure-form-aligned .pure-controls {
  917. margin: 1.5em 0 0 11em;
  918. }
  919. /* Rounded Inputs */
  920. .pure-form input.pure-input-rounded,
  921. .pure-form .pure-input-rounded {
  922. border-radius: 2em;
  923. padding: 0.5em 1em;
  924. }
  925. /* Grouped Inputs */
  926. .pure-form .pure-group fieldset {
  927. margin-bottom: 10px;
  928. }
  929. .pure-form .pure-group input,
  930. .pure-form .pure-group textarea {
  931. display: block;
  932. padding: 10px;
  933. margin: 0 0 -1px;
  934. border-radius: 0;
  935. position: relative;
  936. top: -1px;
  937. }
  938. .pure-form .pure-group input:focus,
  939. .pure-form .pure-group textarea:focus {
  940. z-index: 3;
  941. }
  942. .pure-form .pure-group input:first-child,
  943. .pure-form .pure-group textarea:first-child {
  944. top: 1px;
  945. border-radius: 4px 4px 0 0;
  946. margin: 0;
  947. }
  948. .pure-form .pure-group input:first-child:last-child,
  949. .pure-form .pure-group textarea:first-child:last-child {
  950. top: 1px;
  951. border-radius: 4px;
  952. margin: 0;
  953. }
  954. .pure-form .pure-group input:last-child,
  955. .pure-form .pure-group textarea:last-child {
  956. top: -2px;
  957. border-radius: 0 0 4px 4px;
  958. margin: 0;
  959. }
  960. .pure-form .pure-group button {
  961. margin: 0.35em 0;
  962. }
  963. .pure-form .pure-input-1 {
  964. width: 100%;
  965. }
  966. .pure-form .pure-input-2-3 {
  967. width: 66%;
  968. }
  969. .pure-form .pure-input-1-2 {
  970. width: 50%;
  971. }
  972. .pure-form .pure-input-1-3 {
  973. width: 33%;
  974. }
  975. .pure-form .pure-input-1-4 {
  976. width: 25%;
  977. }
  978. /* Inline help for forms */
  979. /* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
  980. .pure-form .pure-help-inline,
  981. .pure-form-message-inline {
  982. display: inline-block;
  983. padding-left: 0.3em;
  984. color: #666;
  985. vertical-align: middle;
  986. font-size: 0.875em;
  987. }
  988. /* Block help for forms */
  989. .pure-form-message {
  990. display: block;
  991. color: #666;
  992. font-size: 0.875em;
  993. }
  994. /*csslint adjoining-classes: false, box-model:false*/
  995. .pure-menu {
  996. -webkit-box-sizing: border-box;
  997. -moz-box-sizing: border-box;
  998. box-sizing: border-box;
  999. }
  1000. .pure-menu-fixed {
  1001. position: fixed;
  1002. left: 0;
  1003. top: 0;
  1004. z-index: 3;
  1005. }
  1006. .pure-menu-list,
  1007. .pure-menu-item {
  1008. position: relative;
  1009. }
  1010. .pure-menu-list {
  1011. list-style: none;
  1012. margin: 0;
  1013. padding: 0;
  1014. }
  1015. .pure-menu-item {
  1016. padding: 0;
  1017. margin: 0;
  1018. height: 100%;
  1019. }
  1020. .pure-menu-link,
  1021. .pure-menu-heading {
  1022. display: block;
  1023. text-decoration: none;
  1024. white-space: nowrap;
  1025. }
  1026. /* HORIZONTAL MENU */
  1027. .pure-menu-horizontal {
  1028. width: 100%;
  1029. white-space: nowrap;
  1030. }
  1031. .pure-menu-horizontal .pure-menu-list {
  1032. display: inline-block;
  1033. }
  1034. /* Initial menus should be inline-block so that they are horizontal */
  1035. .pure-menu-horizontal .pure-menu-item,
  1036. .pure-menu-horizontal .pure-menu-heading,
  1037. .pure-menu-horizontal .pure-menu-separator {
  1038. display: inline-block;
  1039. *display: inline;
  1040. zoom: 1;
  1041. vertical-align: middle;
  1042. }
  1043. /* Submenus should still be display: block; */
  1044. .pure-menu-item .pure-menu-item {
  1045. display: block;
  1046. }
  1047. .pure-menu-children {
  1048. display: none;
  1049. position: absolute;
  1050. left: 100%;
  1051. top: 0;
  1052. margin: 0;
  1053. padding: 0;
  1054. z-index: 3;
  1055. }
  1056. .pure-menu-horizontal .pure-menu-children {
  1057. left: 0;
  1058. top: auto;
  1059. width: inherit;
  1060. }
  1061. .pure-menu-allow-hover:hover > .pure-menu-children,
  1062. .pure-menu-active > .pure-menu-children {
  1063. display: block;
  1064. position: absolute;
  1065. }
  1066. /* Vertical Menus - show the dropdown arrow */
  1067. .pure-menu-has-children > .pure-menu-link:after {
  1068. padding-left: 0.5em;
  1069. content: "\25B8";
  1070. font-size: small;
  1071. }
  1072. /* Horizontal Menus - show the dropdown arrow */
  1073. .pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after {
  1074. content: "\25BE";
  1075. }
  1076. /* scrollable menus */
  1077. .pure-menu-scrollable {
  1078. overflow-y: scroll;
  1079. overflow-x: hidden;
  1080. }
  1081. .pure-menu-scrollable .pure-menu-list {
  1082. display: block;
  1083. }
  1084. .pure-menu-horizontal.pure-menu-scrollable .pure-menu-list {
  1085. display: inline-block;
  1086. }
  1087. .pure-menu-horizontal.pure-menu-scrollable {
  1088. white-space: nowrap;
  1089. overflow-y: hidden;
  1090. overflow-x: auto;
  1091. -ms-overflow-style: none;
  1092. -webkit-overflow-scrolling: touch;
  1093. /* a little extra padding for this style to allow for scrollbars */
  1094. padding: .5em 0;
  1095. }
  1096. .pure-menu-horizontal.pure-menu-scrollable::-webkit-scrollbar {
  1097. display: none;
  1098. }
  1099. /* misc default styling */
  1100. .pure-menu-separator {
  1101. background-color: #ccc;
  1102. height: 1px;
  1103. margin: .3em 0;
  1104. }
  1105. .pure-menu-horizontal .pure-menu-separator {
  1106. width: 1px;
  1107. height: 1.3em;
  1108. margin: 0 .3em ;
  1109. }
  1110. .pure-menu-heading {
  1111. text-transform: uppercase;
  1112. color: #565d64;
  1113. }
  1114. .pure-menu-link {
  1115. color: #777;
  1116. }
  1117. .pure-menu-children {
  1118. background-color: #fff;
  1119. }
  1120. .pure-menu-link,
  1121. .pure-menu-disabled,
  1122. .pure-menu-heading {
  1123. padding: .5em 1em;
  1124. }
  1125. .pure-menu-disabled {
  1126. opacity: .5;
  1127. }
  1128. .pure-menu-disabled .pure-menu-link:hover {
  1129. background-color: transparent;
  1130. }
  1131. .pure-menu-active > .pure-menu-link,
  1132. .pure-menu-link:hover,
  1133. .pure-menu-link:focus {
  1134. background-color: #eee;
  1135. }
  1136. .pure-menu-selected .pure-menu-link,
  1137. .pure-menu-selected .pure-menu-link:visited {
  1138. color: #000;
  1139. }
  1140. .pure-table {
  1141. /* Remove spacing between table cells (from Normalize.css) */
  1142. border-collapse: collapse;
  1143. border-spacing: 0;
  1144. empty-cells: show;
  1145. border: 1px solid #cbcbcb;
  1146. }
  1147. .pure-table caption {
  1148. color: #000;
  1149. font: italic 85%/1 arial, sans-serif;
  1150. padding: 1em 0;
  1151. text-align: center;
  1152. }
  1153. .pure-table td,
  1154. .pure-table th {
  1155. border-left: 1px solid #cbcbcb;/* inner column border */
  1156. border-width: 0 0 0 1px;
  1157. font-size: inherit;
  1158. margin: 0;
  1159. overflow: visible; /*to make ths where the title is really long work*/
  1160. padding: 0.5em 1em; /* cell padding */
  1161. }
  1162. /* Consider removing this next declaration block, as it causes problems when
  1163. there's a rowspan on the first cell. Case added to the tests. issue#432 */
  1164. .pure-table td:first-child,
  1165. .pure-table th:first-child {
  1166. border-left-width: 0;
  1167. }
  1168. .pure-table thead {
  1169. background-color: #e0e0e0;
  1170. color: #000;
  1171. text-align: left;
  1172. vertical-align: bottom;
  1173. }
  1174. /*
  1175. striping:
  1176. even - #fff (white)
  1177. odd - #f2f2f2 (light gray)
  1178. */
  1179. .pure-table td {
  1180. background-color: transparent;
  1181. }
  1182. .pure-table-odd td {
  1183. background-color: #f2f2f2;
  1184. }
  1185. /* nth-child selector for modern browsers */
  1186. .pure-table-striped tr:nth-child(2n-1) td {
  1187. background-color: #f2f2f2;
  1188. }
  1189. /* BORDERED TABLES */
  1190. .pure-table-bordered td {
  1191. border-bottom: 1px solid #cbcbcb;
  1192. }
  1193. .pure-table-bordered tbody > tr:last-child > td {
  1194. border-bottom-width: 0;
  1195. }
  1196. /* HORIZONTAL BORDERED TABLES */
  1197. .pure-table-horizontal td,
  1198. .pure-table-horizontal th {
  1199. border-width: 0 0 1px 0;
  1200. border-bottom: 1px solid #cbcbcb;
  1201. }
  1202. .pure-table-horizontal tbody > tr:last-child > td {
  1203. border-bottom-width: 0;
  1204. }