pure.css 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475
  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. @media only screen and (max-width : 480px) {
  995. .pure-form button[type="submit"] {
  996. margin: 0.7em 0 0;
  997. }
  998. .pure-form input:not([type]),
  999. .pure-form input[type="text"],
  1000. .pure-form input[type="password"],
  1001. .pure-form input[type="email"],
  1002. .pure-form input[type="url"],
  1003. .pure-form input[type="date"],
  1004. .pure-form input[type="month"],
  1005. .pure-form input[type="time"],
  1006. .pure-form input[type="datetime"],
  1007. .pure-form input[type="datetime-local"],
  1008. .pure-form input[type="week"],
  1009. .pure-form input[type="number"],
  1010. .pure-form input[type="search"],
  1011. .pure-form input[type="tel"],
  1012. .pure-form input[type="color"],
  1013. .pure-form label {
  1014. margin-bottom: 0.3em;
  1015. display: block;
  1016. }
  1017. .pure-group input:not([type]),
  1018. .pure-group input[type="text"],
  1019. .pure-group input[type="password"],
  1020. .pure-group input[type="email"],
  1021. .pure-group input[type="url"],
  1022. .pure-group input[type="date"],
  1023. .pure-group input[type="month"],
  1024. .pure-group input[type="time"],
  1025. .pure-group input[type="datetime"],
  1026. .pure-group input[type="datetime-local"],
  1027. .pure-group input[type="week"],
  1028. .pure-group input[type="number"],
  1029. .pure-group input[type="search"],
  1030. .pure-group input[type="tel"],
  1031. .pure-group input[type="color"] {
  1032. margin-bottom: 0;
  1033. }
  1034. .pure-form-aligned .pure-control-group label {
  1035. margin-bottom: 0.3em;
  1036. text-align: left;
  1037. display: block;
  1038. width: 100%;
  1039. }
  1040. .pure-form-aligned .pure-controls {
  1041. margin: 1.5em 0 0 0;
  1042. }
  1043. /* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
  1044. .pure-form .pure-help-inline,
  1045. .pure-form-message-inline,
  1046. .pure-form-message {
  1047. display: block;
  1048. font-size: 0.75em;
  1049. /* Increased bottom padding to make it group with its related input element. */
  1050. padding: 0.2em 0 0.8em;
  1051. }
  1052. }
  1053. /*csslint adjoining-classes: false, box-model:false*/
  1054. .pure-menu {
  1055. -webkit-box-sizing: border-box;
  1056. -moz-box-sizing: border-box;
  1057. box-sizing: border-box;
  1058. }
  1059. .pure-menu-fixed {
  1060. position: fixed;
  1061. left: 0;
  1062. top: 0;
  1063. z-index: 3;
  1064. }
  1065. .pure-menu-list,
  1066. .pure-menu-item {
  1067. position: relative;
  1068. }
  1069. .pure-menu-list {
  1070. list-style: none;
  1071. margin: 0;
  1072. padding: 0;
  1073. }
  1074. .pure-menu-item {
  1075. padding: 0;
  1076. margin: 0;
  1077. height: 100%;
  1078. }
  1079. .pure-menu-link,
  1080. .pure-menu-heading {
  1081. display: block;
  1082. text-decoration: none;
  1083. white-space: nowrap;
  1084. }
  1085. /* HORIZONTAL MENU */
  1086. .pure-menu-horizontal {
  1087. width: 100%;
  1088. white-space: nowrap;
  1089. }
  1090. .pure-menu-horizontal .pure-menu-list {
  1091. display: inline-block;
  1092. }
  1093. /* Initial menus should be inline-block so that they are horizontal */
  1094. .pure-menu-horizontal .pure-menu-item,
  1095. .pure-menu-horizontal .pure-menu-heading,
  1096. .pure-menu-horizontal .pure-menu-separator {
  1097. display: inline-block;
  1098. *display: inline;
  1099. zoom: 1;
  1100. vertical-align: middle;
  1101. }
  1102. /* Submenus should still be display: block; */
  1103. .pure-menu-item .pure-menu-item {
  1104. display: block;
  1105. }
  1106. .pure-menu-children {
  1107. display: none;
  1108. position: absolute;
  1109. left: 100%;
  1110. top: 0;
  1111. margin: 0;
  1112. padding: 0;
  1113. z-index: 3;
  1114. }
  1115. .pure-menu-horizontal .pure-menu-children {
  1116. left: 0;
  1117. top: auto;
  1118. width: inherit;
  1119. }
  1120. .pure-menu-allow-hover:hover > .pure-menu-children,
  1121. .pure-menu-active > .pure-menu-children {
  1122. display: block;
  1123. position: absolute;
  1124. }
  1125. /* Vertical Menus - show the dropdown arrow */
  1126. .pure-menu-has-children > .pure-menu-link:after {
  1127. padding-left: 0.5em;
  1128. content: "\25B8";
  1129. font-size: small;
  1130. }
  1131. /* Horizontal Menus - show the dropdown arrow */
  1132. .pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after {
  1133. content: "\25BE";
  1134. }
  1135. /* scrollable menus */
  1136. .pure-menu-scrollable {
  1137. overflow-y: scroll;
  1138. overflow-x: hidden;
  1139. }
  1140. .pure-menu-scrollable .pure-menu-list {
  1141. display: block;
  1142. }
  1143. .pure-menu-horizontal.pure-menu-scrollable .pure-menu-list {
  1144. display: inline-block;
  1145. }
  1146. .pure-menu-horizontal.pure-menu-scrollable {
  1147. white-space: nowrap;
  1148. overflow-y: hidden;
  1149. overflow-x: auto;
  1150. -ms-overflow-style: none;
  1151. -webkit-overflow-scrolling: touch;
  1152. /* a little extra padding for this style to allow for scrollbars */
  1153. padding: .5em 0;
  1154. }
  1155. .pure-menu-horizontal.pure-menu-scrollable::-webkit-scrollbar {
  1156. display: none;
  1157. }
  1158. /* misc default styling */
  1159. .pure-menu-separator {
  1160. background-color: #ccc;
  1161. height: 1px;
  1162. margin: .3em 0;
  1163. }
  1164. .pure-menu-horizontal .pure-menu-separator {
  1165. width: 1px;
  1166. height: 1.3em;
  1167. margin: 0 .3em ;
  1168. }
  1169. .pure-menu-heading {
  1170. text-transform: uppercase;
  1171. color: #565d64;
  1172. }
  1173. .pure-menu-link {
  1174. color: #777;
  1175. }
  1176. .pure-menu-children {
  1177. background-color: #fff;
  1178. }
  1179. .pure-menu-link,
  1180. .pure-menu-disabled,
  1181. .pure-menu-heading {
  1182. padding: .5em 1em;
  1183. }
  1184. .pure-menu-disabled {
  1185. opacity: .5;
  1186. }
  1187. .pure-menu-disabled .pure-menu-link:hover {
  1188. background-color: transparent;
  1189. }
  1190. .pure-menu-active > .pure-menu-link,
  1191. .pure-menu-link:hover,
  1192. .pure-menu-link:focus {
  1193. background-color: #eee;
  1194. }
  1195. .pure-menu-selected .pure-menu-link,
  1196. .pure-menu-selected .pure-menu-link:visited {
  1197. color: #000;
  1198. }
  1199. .pure-table {
  1200. /* Remove spacing between table cells (from Normalize.css) */
  1201. border-collapse: collapse;
  1202. border-spacing: 0;
  1203. empty-cells: show;
  1204. border: 1px solid #cbcbcb;
  1205. }
  1206. .pure-table caption {
  1207. color: #000;
  1208. font: italic 85%/1 arial, sans-serif;
  1209. padding: 1em 0;
  1210. text-align: center;
  1211. }
  1212. .pure-table td,
  1213. .pure-table th {
  1214. border-left: 1px solid #cbcbcb;/* inner column border */
  1215. border-width: 0 0 0 1px;
  1216. font-size: inherit;
  1217. margin: 0;
  1218. overflow: visible; /*to make ths where the title is really long work*/
  1219. padding: 0.5em 1em; /* cell padding */
  1220. }
  1221. /* Consider removing this next declaration block, as it causes problems when
  1222. there's a rowspan on the first cell. Case added to the tests. issue#432 */
  1223. .pure-table td:first-child,
  1224. .pure-table th:first-child {
  1225. border-left-width: 0;
  1226. }
  1227. .pure-table thead {
  1228. background-color: #e0e0e0;
  1229. color: #000;
  1230. text-align: left;
  1231. vertical-align: bottom;
  1232. }
  1233. /*
  1234. striping:
  1235. even - #fff (white)
  1236. odd - #f2f2f2 (light gray)
  1237. */
  1238. .pure-table td {
  1239. background-color: transparent;
  1240. }
  1241. .pure-table-odd td {
  1242. background-color: #f2f2f2;
  1243. }
  1244. /* nth-child selector for modern browsers */
  1245. .pure-table-striped tr:nth-child(2n-1) td {
  1246. background-color: #f2f2f2;
  1247. }
  1248. /* BORDERED TABLES */
  1249. .pure-table-bordered td {
  1250. border-bottom: 1px solid #cbcbcb;
  1251. }
  1252. .pure-table-bordered tbody > tr:last-child > td {
  1253. border-bottom-width: 0;
  1254. }
  1255. /* HORIZONTAL BORDERED TABLES */
  1256. .pure-table-horizontal td,
  1257. .pure-table-horizontal th {
  1258. border-width: 0 0 1px 0;
  1259. border-bottom: 1px solid #cbcbcb;
  1260. }
  1261. .pure-table-horizontal tbody > tr:last-child > td {
  1262. border-bottom-width: 0;
  1263. }