pure-css-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1551 @@
1
+ /*!
2
+ Pure v0.1.1-pre
3
+ Copyright 2013 Yahoo! Inc. All rights reserved.
4
+ Licensed under the BSD License.
5
+ https://github.com/yui/pure/blob/master/LICENSE.md
6
+ */
7
+ /*!
8
+ normalize.css v1.1.2 | MIT License | git.io/normalize
9
+ Copyright (c) Nicolas Gallagher and Jonathan Neal
10
+ */
11
+ /* THIS FILE IS GENERATED BY A BUILD SCRIPT - DO NOT EDIT! */
12
+ /*! normalize.css v1.1.2 | MIT License | git.io/normalize */
13
+
14
+ /* ==========================================================================
15
+ HTML5 display definitions
16
+ ========================================================================== */
17
+
18
+ /**
19
+ * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
20
+ */
21
+
22
+ article,
23
+ aside,
24
+ details,
25
+ figcaption,
26
+ figure,
27
+ footer,
28
+ header,
29
+ hgroup,
30
+ main,
31
+ nav,
32
+ section,
33
+ summary {
34
+ display: block;
35
+ }
36
+
37
+ /**
38
+ * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
39
+ */
40
+
41
+ audio,
42
+ canvas,
43
+ video {
44
+ display: inline-block;
45
+ *display: inline;
46
+ *zoom: 1;
47
+ }
48
+
49
+ /**
50
+ * Prevent modern browsers from displaying `audio` without controls.
51
+ * Remove excess height in iOS 5 devices.
52
+ */
53
+
54
+ audio:not([controls]) {
55
+ display: none;
56
+ height: 0;
57
+ }
58
+
59
+ /**
60
+ * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
61
+ * Known issue: no IE 6 support.
62
+ */
63
+
64
+ [hidden] {
65
+ display: none;
66
+ }
67
+
68
+ /* ==========================================================================
69
+ Base
70
+ ========================================================================== */
71
+
72
+ /**
73
+ * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
74
+ * `em` units.
75
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
76
+ * user zoom.
77
+ */
78
+
79
+ html {
80
+ font-size: 100%; /* 1 */
81
+ -ms-text-size-adjust: 100%; /* 2 */
82
+ -webkit-text-size-adjust: 100%; /* 2 */
83
+ }
84
+
85
+ /**
86
+ * Address `font-family` inconsistency between `textarea` and other form
87
+ * elements.
88
+ */
89
+
90
+ html,
91
+ button,
92
+ input,
93
+ select,
94
+ textarea {
95
+ font-family: sans-serif;
96
+ }
97
+
98
+ /**
99
+ * Address margins handled incorrectly in IE 6/7.
100
+ */
101
+
102
+ body {
103
+ margin: 0;
104
+ }
105
+
106
+ /* ==========================================================================
107
+ Links
108
+ ========================================================================== */
109
+
110
+ /**
111
+ * Address `outline` inconsistency between Chrome and other browsers.
112
+ */
113
+
114
+ a:focus {
115
+ outline: thin dotted;
116
+ }
117
+
118
+ /**
119
+ * Improve readability when focused and also mouse hovered in all browsers.
120
+ */
121
+
122
+ a:active,
123
+ a:hover {
124
+ outline: 0;
125
+ }
126
+
127
+ /* ==========================================================================
128
+ Typography
129
+ ========================================================================== */
130
+
131
+ /**
132
+ * Address font sizes and margins set differently in IE 6/7.
133
+ * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
134
+ * and Chrome.
135
+ */
136
+
137
+ h1 {
138
+ font-size: 2em;
139
+ margin: 0.67em 0;
140
+ }
141
+
142
+ h2 {
143
+ font-size: 1.5em;
144
+ margin: 0.83em 0;
145
+ }
146
+
147
+ h3 {
148
+ font-size: 1.17em;
149
+ margin: 1em 0;
150
+ }
151
+
152
+ h4 {
153
+ font-size: 1em;
154
+ margin: 1.33em 0;
155
+ }
156
+
157
+ h5 {
158
+ font-size: 0.83em;
159
+ margin: 1.67em 0;
160
+ }
161
+
162
+ h6 {
163
+ font-size: 0.67em;
164
+ margin: 2.33em 0;
165
+ }
166
+
167
+ /**
168
+ * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
169
+ */
170
+
171
+ abbr[title] {
172
+ border-bottom: 1px dotted;
173
+ }
174
+
175
+ /**
176
+ * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
177
+ */
178
+
179
+ b,
180
+ strong {
181
+ font-weight: bold;
182
+ }
183
+
184
+ blockquote {
185
+ margin: 1em 40px;
186
+ }
187
+
188
+ /**
189
+ * Address styling not present in Safari 5 and Chrome.
190
+ */
191
+
192
+ dfn {
193
+ font-style: italic;
194
+ }
195
+
196
+ /**
197
+ * Address differences between Firefox and other browsers.
198
+ * Known issue: no IE 6/7 normalization.
199
+ */
200
+
201
+ hr {
202
+ -moz-box-sizing: content-box;
203
+ box-sizing: content-box;
204
+ height: 0;
205
+ }
206
+
207
+ /**
208
+ * Address styling not present in IE 6/7/8/9.
209
+ */
210
+
211
+ mark {
212
+ background: #ff0;
213
+ color: #000;
214
+ }
215
+
216
+ /**
217
+ * Address margins set differently in IE 6/7.
218
+ */
219
+
220
+ p,
221
+ pre {
222
+ margin: 1em 0;
223
+ }
224
+
225
+ /**
226
+ * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
227
+ */
228
+
229
+ code,
230
+ kbd,
231
+ pre,
232
+ samp {
233
+ font-family: monospace, serif;
234
+ _font-family: 'courier new', monospace;
235
+ font-size: 1em;
236
+ }
237
+
238
+ /**
239
+ * Improve readability of pre-formatted text in all browsers.
240
+ */
241
+
242
+ pre {
243
+ white-space: pre;
244
+ white-space: pre-wrap;
245
+ word-wrap: break-word;
246
+ }
247
+
248
+ /**
249
+ * Address CSS quotes not supported in IE 6/7.
250
+ */
251
+
252
+ q {
253
+ quotes: none;
254
+ }
255
+
256
+ /**
257
+ * Address `quotes` property not supported in Safari 4.
258
+ */
259
+
260
+ q:before,
261
+ q:after {
262
+ content: '';
263
+ content: none;
264
+ }
265
+
266
+ /**
267
+ * Address inconsistent and variable font size in all browsers.
268
+ */
269
+
270
+ small {
271
+ font-size: 80%;
272
+ }
273
+
274
+ /**
275
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
276
+ */
277
+
278
+ sub,
279
+ sup {
280
+ font-size: 75%;
281
+ line-height: 0;
282
+ position: relative;
283
+ vertical-align: baseline;
284
+ }
285
+
286
+ sup {
287
+ top: -0.5em;
288
+ }
289
+
290
+ sub {
291
+ bottom: -0.25em;
292
+ }
293
+
294
+ /* ==========================================================================
295
+ Lists
296
+ ========================================================================== */
297
+
298
+ /**
299
+ * Address margins set differently in IE 6/7.
300
+ */
301
+
302
+ dl,
303
+ menu,
304
+ ol,
305
+ ul {
306
+ margin: 1em 0;
307
+ }
308
+
309
+ dd {
310
+ margin: 0 0 0 40px;
311
+ }
312
+
313
+ /**
314
+ * Address paddings set differently in IE 6/7.
315
+ */
316
+
317
+ menu,
318
+ ol,
319
+ ul {
320
+ padding: 0 0 0 40px;
321
+ }
322
+
323
+ /**
324
+ * Correct list images handled incorrectly in IE 7.
325
+ */
326
+
327
+ nav ul,
328
+ nav ol {
329
+ list-style: none;
330
+ list-style-image: none;
331
+ }
332
+
333
+ /* ==========================================================================
334
+ Embedded content
335
+ ========================================================================== */
336
+
337
+ /**
338
+ * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
339
+ * 2. Improve image quality when scaled in IE 7.
340
+ */
341
+
342
+ img {
343
+ border: 0; /* 1 */
344
+ -ms-interpolation-mode: bicubic; /* 2 */
345
+ }
346
+
347
+ /**
348
+ * Correct overflow displayed oddly in IE 9.
349
+ */
350
+
351
+ svg:not(:root) {
352
+ overflow: hidden;
353
+ }
354
+
355
+ /* ==========================================================================
356
+ Figures
357
+ ========================================================================== */
358
+
359
+ /**
360
+ * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
361
+ */
362
+
363
+ figure {
364
+ margin: 0;
365
+ }
366
+
367
+ /* ==========================================================================
368
+ Forms
369
+ ========================================================================== */
370
+
371
+ /**
372
+ * Correct margin displayed oddly in IE 6/7.
373
+ */
374
+
375
+ form {
376
+ margin: 0;
377
+ }
378
+
379
+ /**
380
+ * Define consistent border, margin, and padding.
381
+ */
382
+
383
+ fieldset {
384
+ border: 1px solid #c0c0c0;
385
+ margin: 0 2px;
386
+ padding: 0.35em 0.625em 0.75em;
387
+ }
388
+
389
+ /**
390
+ * 1. Correct color not being inherited in IE 6/7/8/9.
391
+ * 2. Correct text not wrapping in Firefox 3.
392
+ * 3. Correct alignment displayed oddly in IE 6/7.
393
+ */
394
+
395
+ legend {
396
+ border: 0; /* 1 */
397
+ padding: 0;
398
+ white-space: normal; /* 2 */
399
+ *margin-left: -7px; /* 3 */
400
+ }
401
+
402
+ /**
403
+ * 1. Correct font size not being inherited in all browsers.
404
+ * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
405
+ * and Chrome.
406
+ * 3. Improve appearance and consistency in all browsers.
407
+ */
408
+
409
+ button,
410
+ input,
411
+ select,
412
+ textarea {
413
+ font-size: 100%; /* 1 */
414
+ margin: 0; /* 2 */
415
+ vertical-align: baseline; /* 3 */
416
+ *vertical-align: middle; /* 3 */
417
+ }
418
+
419
+ /**
420
+ * Address Firefox 3+ setting `line-height` on `input` using `!important` in
421
+ * the UA stylesheet.
422
+ */
423
+
424
+ button,
425
+ input {
426
+ line-height: normal;
427
+ }
428
+
429
+ /**
430
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
431
+ * All other form control elements do not inherit `text-transform` values.
432
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
433
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
434
+ */
435
+
436
+ button,
437
+ select {
438
+ text-transform: none;
439
+ }
440
+
441
+ /**
442
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
443
+ * and `video` controls.
444
+ * 2. Correct inability to style clickable `input` types in iOS.
445
+ * 3. Improve usability and consistency of cursor style between image-type
446
+ * `input` and others.
447
+ * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
448
+ * Known issue: inner spacing remains in IE 6.
449
+ */
450
+
451
+ button,
452
+ html input[type="button"], /* 1 */
453
+ input[type="reset"],
454
+ input[type="submit"] {
455
+ -webkit-appearance: button; /* 2 */
456
+ cursor: pointer; /* 3 */
457
+ *overflow: visible; /* 4 */
458
+ }
459
+
460
+ /**
461
+ * Re-set default cursor for disabled elements.
462
+ */
463
+
464
+ button[disabled],
465
+ html input[disabled] {
466
+ cursor: default;
467
+ }
468
+
469
+ /**
470
+ * 1. Address box sizing set to content-box in IE 8/9.
471
+ * 2. Remove excess padding in IE 8/9.
472
+ * 3. Remove excess padding in IE 7.
473
+ * Known issue: excess padding remains in IE 6.
474
+ */
475
+
476
+ input[type="checkbox"],
477
+ input[type="radio"] {
478
+ box-sizing: border-box; /* 1 */
479
+ padding: 0; /* 2 */
480
+ *height: 13px; /* 3 */
481
+ *width: 13px; /* 3 */
482
+ }
483
+
484
+ /**
485
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
486
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
487
+ * (include `-moz` to future-proof).
488
+ */
489
+
490
+ input[type="search"] {
491
+ -webkit-appearance: textfield; /* 1 */
492
+ -moz-box-sizing: content-box;
493
+ -webkit-box-sizing: content-box; /* 2 */
494
+ box-sizing: content-box;
495
+ }
496
+
497
+ /**
498
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
499
+ * on OS X.
500
+ */
501
+
502
+ input[type="search"]::-webkit-search-cancel-button,
503
+ input[type="search"]::-webkit-search-decoration {
504
+ -webkit-appearance: none;
505
+ }
506
+
507
+ /**
508
+ * Remove inner padding and border in Firefox 3+.
509
+ */
510
+
511
+ button::-moz-focus-inner,
512
+ input::-moz-focus-inner {
513
+ border: 0;
514
+ padding: 0;
515
+ }
516
+
517
+ /**
518
+ * 1. Remove default vertical scrollbar in IE 6/7/8/9.
519
+ * 2. Improve readability and alignment in all browsers.
520
+ */
521
+
522
+ textarea {
523
+ overflow: auto; /* 1 */
524
+ vertical-align: top; /* 2 */
525
+ }
526
+
527
+ /* ==========================================================================
528
+ Tables
529
+ ========================================================================== */
530
+
531
+ /**
532
+ * Remove most spacing between table cells.
533
+ */
534
+
535
+ table {
536
+ border-collapse: collapse;
537
+ border-spacing: 0;
538
+ }
539
+
540
+ .pure-button {
541
+ /* Structure */
542
+ display: inline-block;
543
+ *display: inline; /*IE 6/7*/
544
+ zoom: 1;
545
+ line-height: normal;
546
+ white-space: nowrap;
547
+ vertical-align: baseline;
548
+ text-align: center;
549
+ cursor: pointer;
550
+ -webkit-user-drag: none;
551
+ -webkit-user-select: none;
552
+ -moz-user-select: none;
553
+ user-select: none;
554
+ }
555
+
556
+
557
+ /* Firefox: Get rid of the inner focus border */
558
+ .pure-button::-moz-focus-inner{
559
+ padding: 0;
560
+ border: 0;
561
+ }
562
+
563
+ a:focus {
564
+ outline: none;
565
+ }
566
+
567
+
568
+ .pure-button {
569
+ font-size: 100%;
570
+ *font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
571
+ *overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
572
+ padding: 0.5em 1.5em 0.5em;
573
+ color: #444; /* rgba not supported (IE 8) */
574
+ color: rgba(0, 0, 0, 0.80); /* rgba supported */
575
+ *color: #444; /* IE 6 & 7 */
576
+ border: 1px solid #999; /*IE 6/7/8*/
577
+ border: none rgba(0, 0, 0, 0); /*IE9 + everything else*/
578
+ background-color: #E6E6E6;
579
+ text-decoration: none;
580
+ -webkit-border-radius: 2px;
581
+ -moz-border-radius: 2px;
582
+ border-radius: 2px;
583
+ -webkit-font-smoothing: antialiased;
584
+ /* Transitions */
585
+ -webkit-transition: 0.1s linear -webkit-box-shadow;
586
+ -moz-transition: 0.1s linear -moz-box-shadow;
587
+ -ms-transition: 0.1s linear box-shadow;
588
+ -o-transition: 0.1s linear box-shadow;
589
+ transition: 0.1s linear box-shadow;
590
+ }
591
+
592
+
593
+ .pure-button-hover,
594
+ .pure-button:hover {
595
+
596
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#00000000', GradientType=0);
597
+
598
+ 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.05)));
599
+ background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
600
+ background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.05));
601
+ background-image: -ms-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
602
+ background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.05));
603
+ background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.05));
604
+ }
605
+
606
+ .pure-button-active,
607
+ .pure-button:active {
608
+ -webkit-box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
609
+ -moz-box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
610
+ box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
611
+ }
612
+
613
+ .pure-button[disabled],
614
+ .pure-button-disabled,
615
+ .pure-button-disabled:hover,
616
+ .pure-button-disabled:active {
617
+ border: none;
618
+ background-image: none;
619
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
620
+ filter: alpha(opacity=40);
621
+ -khtml-opacity: 0.40;
622
+ -moz-opacity: 0.40;
623
+ opacity: 0.40;
624
+ cursor: not-allowed;
625
+ box-shadow: none;
626
+ }
627
+
628
+ .pure-button-hidden {
629
+ display:none;
630
+ }
631
+
632
+ /* Firefox: Get rid of the inner focus border */
633
+ .pure-button::-moz-focus-inner{
634
+ padding: 0;
635
+ border: 0;
636
+ }
637
+
638
+
639
+ /* Sam */
640
+ .pure-button-primary,
641
+ .pure-button-selected,
642
+ a.pure-button-primary,
643
+ a.pure-button-selected {
644
+ background-color: rgb(0, 120, 231);
645
+ color: #fff;
646
+ }
647
+
648
+ .pure-button:-moz-focusring {
649
+ outline-color: rgba(0, 0, 0, 0.85);
650
+ }
651
+
652
+ /* This page has Normalize.css form-specific style rules applied to a .pure-form context */
653
+
654
+ /* ==========
655
+ Forms Core
656
+ =========*/
657
+
658
+ /*
659
+ * Corrects margin displayed oddly in IE 6/7.
660
+ */
661
+
662
+ .pure-form {
663
+ margin: 0;
664
+ }
665
+
666
+ /*
667
+ * Define consistent border, margin, and padding.
668
+ */
669
+
670
+ .pure-form fieldset {
671
+ border: 1px solid #c0c0c0;
672
+ margin: 0 2px;
673
+ padding: 0.35em 0.625em 0.75em;
674
+ }
675
+
676
+ /*
677
+ * 1. Corrects color not being inherited in IE 6/7/8/9.
678
+ * 2. Corrects text not wrapping in Firefox 3.
679
+ * 3. Corrects alignment displayed oddly in IE 6/7.
680
+ */
681
+
682
+ .pure-form legend {
683
+ border: 0; /* 1 */
684
+ padding: 0;
685
+ white-space: normal; /* 2 */
686
+ *margin-left: -7px; /* 3 */
687
+ }
688
+
689
+ /*
690
+ * 1. Corrects font size not being inherited in all browsers.
691
+ * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5,
692
+ * and Chrome.
693
+ * 3. Improves appearance and consistency in all browsers.
694
+ */
695
+
696
+ .pure-form button,
697
+ .pure-form input,
698
+ .pure-form select,
699
+ .pure-form textarea {
700
+ font-size: 100%; /* 1 */
701
+ margin: 0; /* 2 */
702
+ vertical-align: baseline; /* 3 */
703
+ *vertical-align: middle; /* 3 */
704
+ }
705
+
706
+ /*
707
+ * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in
708
+ * the UA stylesheet.
709
+ */
710
+
711
+ .pure-form button,
712
+ .pure-form input {
713
+ line-height: normal;
714
+ }
715
+
716
+ /*
717
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
718
+ * and `video` controls.
719
+ * 2. Corrects inability to style clickable `input` types in iOS.
720
+ * 3. Improves usability and consistency of cursor style between image-type
721
+ * `input` and others.
722
+ * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
723
+ * Known issue: inner spacing remains in IE 6.
724
+ */
725
+
726
+ .pure-form button,
727
+ .pure-form input[type="button"], /* 1 */
728
+ .pure-form input[type="reset"],
729
+ .pure-form input[type="submit"] {
730
+ -webkit-appearance: button; /* 2 */
731
+ cursor: pointer; /* 3 */
732
+ *overflow: visible; /* 4 */
733
+ }
734
+
735
+ /*
736
+ * Re-set default cursor for disabled elements.
737
+ */
738
+
739
+ .pure-form button[disabled],
740
+ .pure-form input[disabled] {
741
+ cursor: default;
742
+ }
743
+
744
+ /*
745
+ * 1. Addresses box sizing set to content-box in IE 8/9.
746
+ * 2. Removes excess padding in IE 8/9.
747
+ * 3. Removes excess padding in IE 7.
748
+ * Known issue: excess padding remains in IE 6.
749
+ */
750
+
751
+ .pure-form input[type="checkbox"],
752
+ .pure-form input[type="radio"] {
753
+ box-sizing: border-box; /* 1 */
754
+ padding: 0; /* 2 */
755
+ *height: 13px; /* 3 */
756
+ *width: 13px; /* 3 */
757
+ }
758
+
759
+ /*
760
+ * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
761
+ * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
762
+ * (include `-moz` to future-proof).
763
+ */
764
+
765
+ .pure-form input[type="search"] {
766
+ -webkit-appearance: textfield; /* 1 */
767
+ -moz-box-sizing: content-box;
768
+ -webkit-box-sizing: content-box; /* 2 */
769
+ box-sizing: content-box;
770
+ }
771
+
772
+ /*
773
+ * Removes inner padding and search cancel button in Safari 5 and Chrome
774
+ * on OS X.
775
+ */
776
+
777
+ .pure-form input[type="search"]::-webkit-search-cancel-button,
778
+ .pure-form input[type="search"]::-webkit-search-decoration {
779
+ -webkit-appearance: none;
780
+ }
781
+
782
+ /*
783
+ * Removes inner padding and border in Firefox 3+.
784
+ */
785
+
786
+ .pure-form button::-moz-focus-inner,
787
+ .pure-form input::-moz-focus-inner {
788
+ border: 0;
789
+ padding: 0;
790
+ }
791
+
792
+ /*
793
+ * 1. Removes default vertical scrollbar in IE 6/7/8/9.
794
+ * 2. Improves readability and alignment in all browsers.
795
+ */
796
+
797
+ .pure-form textarea {
798
+ overflow: auto; /* 1 */
799
+ vertical-align: top; /* 2 */
800
+ }
801
+
802
+ .pure-form input,
803
+ .pure-form select {
804
+ padding: 0.5em 0.6em;
805
+ display: inline-block;
806
+ border: 1px solid #ccc;
807
+ font-size: 0.8em;
808
+ box-shadow: inset 0 1px 3px #ddd;
809
+ border-radius: 4px;
810
+ -webkit-transition: 0.3s linear border;
811
+ -moz-transition: 0.3s linear border;
812
+ -ms-transition: 0.3s linear border;
813
+ -o-transition: 0.3s linear border;
814
+ transition: 0.3s linear border;
815
+ -moz-box-sizing: border-box;
816
+ -webkit-box-sizing: border-box;
817
+ box-sizing: border-box;
818
+ -webkit-font-smoothing: antialiased;
819
+ }
820
+
821
+ .pure-form input:focus,
822
+ .pure-form select:focus {
823
+ outline: 0;
824
+ outline: thin dotted \9; /* IE6-9 */
825
+ border-color: #129FEA;
826
+ }
827
+ .pure-form .pure-checkbox,
828
+ .pure-form .pure-radio {
829
+ margin: 0.5em 0;
830
+ display: block;
831
+ }
832
+ .pure-form input[disabled],
833
+ .pure-form select[disabled],
834
+ .pure-form textarea[disabled],
835
+ .pure-form input[readonly],
836
+ .pure-form select[readonly],
837
+ .pure-form textarea[readonly] {
838
+ cursor: not-allowed;
839
+ background-color: #eaeded;
840
+ color: #cad2d3;
841
+ border-color: transparent;
842
+ }
843
+ .pure-form input:focus:invalid,
844
+ .pure-form textarea:focus:invalid,
845
+ .pure-form select:focus:invalid {
846
+ color: #b94a48;
847
+ border: 1px solid #ee5f5b;
848
+ }
849
+ .pure-form input:focus:invalid:focus,
850
+ .pure-form textarea:focus:invalid:focus,
851
+ .pure-form select:focus:invalid:focus {
852
+ border-color: #e9322d;
853
+ }
854
+ .pure-form select {
855
+ border: 1px solid #ccc;
856
+ background-color: white;
857
+ }
858
+ .pure-form select[multiple] {
859
+ height: auto;
860
+ }
861
+ .pure-form label {
862
+ margin: 0.5em 0 0.2em;
863
+ color: #999;
864
+ font-size:90%;
865
+ }
866
+ .pure-form fieldset {
867
+ margin: 0;
868
+ padding: 0.35em 0 0.75em;
869
+ border: 0;
870
+ }
871
+ .pure-form legend {
872
+ display: block;
873
+ width: 100%;
874
+ padding: 0.3em 0;
875
+ margin-bottom: 0.3em;
876
+ font-size: 125%;
877
+ color: #333;
878
+ border-bottom: 1px solid #e5e5e5;
879
+ }
880
+
881
+ .pure-form.pure-form-stacked input[type='text'],
882
+ .pure-form.pure-form-stacked select,
883
+ .pure-form.pure-form-stacked label {
884
+ display: block;
885
+ }
886
+
887
+ .pure-form-aligned input,
888
+ .pure-form-aligned textarea,
889
+ .pure-form-aligned select,
890
+ .pure-form-aligned .pure-help-inline {
891
+ display: inline-block;
892
+ *display: inline; /* IE7 inline-block hack */
893
+ *zoom: 1;
894
+ vertical-align: middle;
895
+ }
896
+
897
+ /* aligned Forms */
898
+ .pure-form-aligned .pure-control-group {
899
+ margin-bottom: 0.5em;
900
+ }
901
+ .pure-form-aligned .pure-control-group label {
902
+ text-align: right;
903
+ display: inline-block;
904
+ vertical-align: middle;
905
+ width: 10em;
906
+ margin: 0 1em 0 0;
907
+ }
908
+ .pure-form-aligned .pure-controls {
909
+ margin: 1.5em 0 0 10em;
910
+ }
911
+
912
+ /* Rounded Inputs */
913
+ .pure-form .pure-input-rounded {
914
+ border-radius: 20px;
915
+ padding-left:1em;
916
+ }
917
+
918
+ /* Grouped Inputs */
919
+ .pure-form .pure-group fieldset {
920
+ margin-bottom: 10px;
921
+ }
922
+ .pure-form .pure-group input {
923
+ display: block;
924
+ padding: 10px;
925
+ margin: 0;
926
+ border-radius: 0;
927
+ position: relative;
928
+ top: -1px;
929
+ }
930
+ .pure-form .pure-group input:focus {
931
+ z-index: 2;
932
+ }
933
+ .pure-form .pure-group input:first-child {
934
+ top: 1px;
935
+ border-radius: 4px 4px 0 0;
936
+ }
937
+ .pure-form .pure-group input:last-child {
938
+ top: -2px;
939
+ border-radius: 0 0 4px 4px;
940
+ }
941
+ .pure-form .pure-group button {
942
+ margin: 0.35em 0;
943
+ }
944
+
945
+ .pure-form .pure-input-1 {
946
+ width: 100%;
947
+ }
948
+ .pure-form .pure-input-2-3 {
949
+ width: 66%;
950
+ }
951
+ .pure-form .pure-input-1-2 {
952
+ width: 50%;
953
+ }
954
+ .pure-form .pure-input-1-3 {
955
+ width: 33%;
956
+ }
957
+ .pure-form .pure-input-1-4 {
958
+ width: 25%;
959
+ }
960
+
961
+ /* Inline help for forms */
962
+ .pure-form .pure-help-inline {
963
+ display: inline-block;
964
+ padding-left: 0.3em;
965
+ color: #666;
966
+ vertical-align: middle;
967
+ font-size: 90%;
968
+ }
969
+
970
+ @media only screen and (max-width : 480px) {
971
+ .pure-form button[type='submit'] {
972
+ margin: 0.7em 0 0;
973
+ }
974
+
975
+ .pure-form input[type='text'], .pure-form button, .pure-form label {
976
+ margin-bottom: 0.3em;
977
+ display: block;
978
+ }
979
+
980
+ .pure-group input[type='text'] {
981
+ margin-bottom: 0;
982
+ }
983
+
984
+ .pure-form-aligned .pure-control-group label {
985
+ margin-bottom: 0.3em;
986
+ text-align: left;
987
+ display: block;
988
+ width: 100%;
989
+ }
990
+
991
+ .pure-form-aligned .pure-controls {
992
+ margin: 1.5em 0 0 0;
993
+ }
994
+
995
+ .pure-form .pure-help-inline {
996
+ display: block;
997
+ font-size: 80%;
998
+ padding: 0.2em 0 0.8em; /* increased bottom padding to make it group with its related input element */
999
+ }
1000
+ }
1001
+
1002
+ .pure-g {
1003
+ letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
1004
+ *letter-spacing: normal; /* reset IE < 8 */
1005
+ *word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
1006
+ text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
1007
+ }
1008
+
1009
+ /* Opera as of 12 on Windows needs word-spacing.
1010
+ The ".opera-only" selector is used to prevent actual prefocus styling
1011
+ and is not required in markup.
1012
+ */
1013
+ .opera-only :-o-prefocus,
1014
+ .pure-g {
1015
+ word-spacing: -0.43em;
1016
+ }
1017
+
1018
+ .pure-u {
1019
+ display: inline-block;
1020
+ zoom: 1; *display: inline; /* IE < 8: fake inline-block */
1021
+ letter-spacing: normal;
1022
+ word-spacing: normal;
1023
+ vertical-align: top;
1024
+ text-rendering: auto;
1025
+ }
1026
+
1027
+ .pure-u-1,
1028
+ .pure-u-1-2,
1029
+ .pure-u-1-3,
1030
+ .pure-u-2-3,
1031
+ .pure-u-1-4,
1032
+ .pure-u-3-4,
1033
+ .pure-u-1-5,
1034
+ .pure-u-2-5,
1035
+ .pure-u-3-5,
1036
+ .pure-u-4-5,
1037
+ .pure-u-1-6,
1038
+ .pure-u-5-6,
1039
+ .pure-u-1-8,
1040
+ .pure-u-3-8,
1041
+ .pure-u-5-8,
1042
+ .pure-u-7-8,
1043
+ .pure-u-1-12,
1044
+ .pure-u-5-12,
1045
+ .pure-u-7-12,
1046
+ .pure-u-11-12,
1047
+ .pure-u-1-24,
1048
+ .pure-u-5-24,
1049
+ .pure-u-7-24,
1050
+ .pure-u-11-24,
1051
+ .pure-u-13-24,
1052
+ .pure-u-17-24,
1053
+ .pure-u-19-24,
1054
+ .pure-u-23-24 {
1055
+ display: inline-block;
1056
+ zoom: 1; *display: inline; /* IE < 8: fake inline-block */
1057
+ letter-spacing: normal;
1058
+ word-spacing: normal;
1059
+ vertical-align: top;
1060
+ text-rendering: auto;
1061
+ }
1062
+
1063
+ .pure-u-1 {
1064
+ display: block;
1065
+ }
1066
+
1067
+ .pure-u-1-2 {
1068
+ width: 50%;
1069
+ }
1070
+
1071
+ .pure-u-1-3 {
1072
+ width: 33.33333%;
1073
+ }
1074
+
1075
+ .pure-u-2-3 {
1076
+ width: 66.66666%;
1077
+ }
1078
+
1079
+ .pure-u-1-4 {
1080
+ width: 25%;
1081
+ }
1082
+
1083
+ .pure-u-3-4 {
1084
+ width: 75%;
1085
+ }
1086
+
1087
+ .pure-u-1-5 {
1088
+ width: 20%;
1089
+ }
1090
+
1091
+ .pure-u-2-5 {
1092
+ width: 40%;
1093
+ }
1094
+
1095
+ .pure-u-3-5 {
1096
+ width: 60%;
1097
+ }
1098
+
1099
+ .pure-u-4-5 {
1100
+ width: 80%;
1101
+ }
1102
+
1103
+ .pure-u-1-6 {
1104
+ width: 16.656%;
1105
+ }
1106
+
1107
+ .pure-u-5-6 {
1108
+ width: 83.33%;
1109
+ }
1110
+
1111
+ .pure-u-1-8 {
1112
+ width: 12.5%;
1113
+ }
1114
+
1115
+ .pure-u-3-8 {
1116
+ width: 37.5%;
1117
+ }
1118
+
1119
+ .pure-u-5-8 {
1120
+ width: 62.5%;
1121
+ }
1122
+
1123
+ .pure-u-7-8 {
1124
+ width: 87.5%;
1125
+ }
1126
+
1127
+ .pure-u-1-12 {
1128
+ width: 8.3333%;
1129
+ }
1130
+
1131
+ .pure-u-5-12 {
1132
+ width: 41.6666%;
1133
+ }
1134
+
1135
+ .pure-u-7-12 {
1136
+ width: 58.3333%;
1137
+ }
1138
+
1139
+ .pure-u-11-12 {
1140
+ width: 91.6666%;
1141
+ }
1142
+
1143
+ .pure-u-1-24 {
1144
+ width: 4.1666%;
1145
+ }
1146
+
1147
+ .pure-u-5-24 {
1148
+ width: 20.8333%;
1149
+ }
1150
+
1151
+ .pure-u-7-24 {
1152
+ width: 29.1666%;
1153
+ }
1154
+
1155
+ .pure-u-11-24 {
1156
+ width: 45.8333%;
1157
+ }
1158
+
1159
+ .pure-u-13-24 {
1160
+ width: 54.1666%;
1161
+ }
1162
+
1163
+ .pure-u-17-24 {
1164
+ width: 70.8333%;
1165
+ }
1166
+
1167
+ .pure-u-19-24 {
1168
+ width: 79.1666%;
1169
+ }
1170
+
1171
+ .pure-u-23-24 {
1172
+ width: 95.8333%;
1173
+ }
1174
+
1175
+ .pure-g-r {
1176
+ letter-spacing: -0.31em;
1177
+ *letter-spacing: normal;
1178
+ *word-spacing: -0.43em;
1179
+ }
1180
+
1181
+ /* Opera as of 12 on Windows needs word-spacing.
1182
+ The ".opera-only" selector is used to prevent actual prefocus styling
1183
+ and is not required in markup.
1184
+ */
1185
+ .opera-only :-o-prefocus,
1186
+ .pure-g-r {
1187
+ word-spacing: -0.43em;
1188
+ }
1189
+
1190
+ .pure-g-r img {
1191
+ max-width: 100%;
1192
+ }
1193
+
1194
+ @media (min-width:980px) {
1195
+ .pure-visible-phone {
1196
+ display: none;
1197
+ }
1198
+ .pure-visible-tablet {
1199
+ display: none;
1200
+ }
1201
+ .pure-hidden-desktop {
1202
+ display: none;
1203
+ }
1204
+ }
1205
+ @media (max-width:480px) {
1206
+ .pure-g-r > .pure-u,
1207
+ .pure-g-r > [class *= "pure-u-"] {
1208
+ width: 100%;
1209
+ }
1210
+ }
1211
+ @media (max-width:767px) {
1212
+ .pure-g-r > .pure-u,
1213
+ .pure-g-r > [class *= "pure-u-"] {
1214
+ width: 100%;
1215
+ }
1216
+ .pure-hidden-phone {
1217
+ display: none;
1218
+ }
1219
+ .pure-visible-desktop {
1220
+ display: none;
1221
+ }
1222
+ }
1223
+ @media (min-width:768px) and (max-width:979px) {
1224
+ .pure-hidden-tablet {
1225
+ display: none;
1226
+ }
1227
+ .pure-visible-desktop {
1228
+ display: none;
1229
+ }
1230
+ }
1231
+
1232
+ .pure-menu ul {
1233
+ position: absolute;
1234
+ visibility: hidden;
1235
+ }
1236
+
1237
+ .pure-menu.pure-menu-open {
1238
+ visibility: visible;
1239
+ z-index: 2;
1240
+ width: 100%;
1241
+ }
1242
+
1243
+ .pure-menu ul {
1244
+ left: -10000px;
1245
+ list-style: none;
1246
+ margin: 0;
1247
+ padding: 0;
1248
+ top: -10000px;
1249
+ z-index: 1;
1250
+ }
1251
+
1252
+ .pure-menu > ul { position: relative; }
1253
+
1254
+ .pure-menu-open > ul {
1255
+ left: 0;
1256
+ top: 0;
1257
+ visibility: visible;
1258
+ }
1259
+
1260
+ .pure-menu li { position: relative; }
1261
+
1262
+ .pure-menu a, .pure-menu .pure-menu-heading {
1263
+ display: block;
1264
+ color: inherit;
1265
+ line-height: 1.5em;
1266
+ padding: 5px 20px;
1267
+ text-decoration: none;
1268
+ white-space: nowrap;
1269
+ }
1270
+
1271
+ .pure-menu.pure-menu-horizontal > .pure-menu-heading {
1272
+ display: inline-block;
1273
+ margin: 0;
1274
+ zoom: 1;
1275
+ *display: inline;
1276
+ vertical-align: middle;
1277
+ }
1278
+ .pure-menu.pure-menu-horizontal > ul {
1279
+ display: inline-block;
1280
+ zoom: 1;
1281
+ *display: inline;
1282
+ vertical-align: middle;
1283
+ }
1284
+
1285
+ .pure-menu li a { padding: 5px 20px; }
1286
+
1287
+ .pure-menu-can-have-children > .pure-menu-label:after {
1288
+ content: '\25B8';
1289
+ float: right;
1290
+ font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif; /* These specific fonts have the Unicode char we need. */
1291
+ margin-right: -20px;
1292
+ margin-top: -1px;
1293
+ }
1294
+
1295
+ .pure-menu-can-have-children > .pure-menu-label {
1296
+ padding-right:30px;
1297
+ }
1298
+
1299
+ .pure-menu-separator {
1300
+ background-color: #dfdfdf;
1301
+ display: block;
1302
+ height: 1px;
1303
+ font-size: 0;
1304
+ margin: 7px 2px;
1305
+ overflow: hidden;
1306
+ }
1307
+
1308
+ .pure-menu-hidden { display: none; }
1309
+
1310
+ /* FIXED MENU */
1311
+ .pure-menu-fixed {
1312
+ position: fixed;
1313
+ top:0;
1314
+ left:0;
1315
+ width: 100%;
1316
+ }
1317
+
1318
+
1319
+ /* HORIZONTAL MENU CODE */
1320
+
1321
+ /* Initial menus should be inline-block so that they are horizontal */
1322
+ .pure-menu-horizontal li {
1323
+ display: inline-block;
1324
+ zoom: 1;
1325
+ *display: inline;
1326
+ vertical-align: middle;
1327
+ }
1328
+
1329
+ /* Submenus should still be display:block; */
1330
+ .pure-menu-horizontal li li {
1331
+ display: block;
1332
+ }
1333
+
1334
+ /* Content after should be down arrow */
1335
+ .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label:after {
1336
+ content: "\25BE";
1337
+ }
1338
+ /*Add extra padding to elements that have the arrow so that the hover looks nice */
1339
+ .pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
1340
+ padding-right:30px;
1341
+ }
1342
+
1343
+
1344
+ /* MAIN MENU STYLING */
1345
+
1346
+ .pure-menu.pure-menu-open,
1347
+ .pure-menu.pure-menu-horizontal li .pure-menu-children {
1348
+ background: #ffffff; /* Old browsers */
1349
+ border: 1px solid #b7b7b7;
1350
+ }
1351
+
1352
+ /* remove borders for horizontal menus */
1353
+ .pure-menu.pure-menu-horizontal, .pure-menu.pure-menu-horizontal .pure-menu-heading {
1354
+ border: none;
1355
+ }
1356
+
1357
+
1358
+
1359
+ /* LINK STYLES */
1360
+
1361
+ .pure-menu a {
1362
+ border: 1px solid transparent;
1363
+ border-left: none;
1364
+ border-right: none;
1365
+
1366
+ }
1367
+
1368
+ .pure-menu a,
1369
+ .pure-menu .pure-menu-can-have-children > li:after {
1370
+ color: #777;
1371
+ }
1372
+
1373
+ .pure-menu .pure-menu-can-have-children > li:hover:after {
1374
+ color: #fff;
1375
+ }
1376
+
1377
+
1378
+
1379
+ /* HOVER STATES */
1380
+ .pure-menu li a:hover {
1381
+ background: #eee;
1382
+ }
1383
+
1384
+ /* DISABLED STATES */
1385
+ .pure-menu li.pure-menu-disabled a:hover {
1386
+ background: #fff;
1387
+ color: #bfbfbf;
1388
+ }
1389
+
1390
+ .pure-menu .pure-menu-disabled > a {
1391
+ background-image: none;
1392
+ border-color: transparent;
1393
+ cursor: default;
1394
+ }
1395
+
1396
+ .pure-menu .pure-menu-disabled > a,
1397
+ .pure-menu .pure-menu-can-have-children.pure-menu-disabled > a:after {
1398
+ color: #bfbfbf;
1399
+ }
1400
+
1401
+ /* HEADINGS */
1402
+ .pure-menu .pure-menu-heading {
1403
+ color: #565d64;
1404
+ text-transform: uppercase;
1405
+ font-size:90%;
1406
+ margin-top:0.5em;
1407
+ border-bottom-width: 1px;
1408
+ border-bottom-style: solid;
1409
+ border-bottom-color: #dfdfdf;
1410
+ }
1411
+
1412
+ /* ACTIVE MENU ITEM */
1413
+ .pure-menu .pure-menu-selected a {
1414
+ color: #000;
1415
+ }
1416
+
1417
+ /* FIXED MENU */
1418
+ .pure-menu.pure-menu-open.pure-menu-fixed {
1419
+ border: none;
1420
+ border-bottom: 1px solid #b7b7b7;
1421
+ }
1422
+
1423
+ .pure-paginator {
1424
+ list-style: none;
1425
+ margin: 0;
1426
+ padding: 0;
1427
+ }
1428
+ .pure-paginator li {
1429
+ display: inline-block;
1430
+ *display: inline;
1431
+ /* IE 7 inline-block hack */
1432
+ *zoom: 1;
1433
+ margin: 0 -0.35em 0 0;
1434
+ }
1435
+ .pure-paginator .pure-button {
1436
+ border-radius: 0;
1437
+ padding: 0.8em 1.4em;
1438
+ vertical-align: top;
1439
+ height: 1.1em;
1440
+ }
1441
+ .pure-paginator .pure-button:focus {
1442
+ outline-style: none;
1443
+ }
1444
+ .pure-paginator .prev, .pure-paginator .next {
1445
+ color: #C0C1C3;
1446
+ text-shadow: 0px -1px 0px rgba(0,0,0, 0.45);
1447
+ }
1448
+ .pure-paginator .prev {
1449
+ border-radius: 2px 0 0 2px;
1450
+ }
1451
+ .pure-paginator .next {
1452
+ border-radius: 0 2px 2px 0;
1453
+ }
1454
+
1455
+ /* RESPONSIVE */
1456
+
1457
+ @media (max-width: 480px) {
1458
+
1459
+ .pure-menu-horizontal {
1460
+ width:100%;
1461
+ }
1462
+
1463
+ .pure-menu-children li {
1464
+ display: block;
1465
+ border-bottom:1px solid block;
1466
+ }
1467
+
1468
+ }
1469
+
1470
+ /*
1471
+ * CSS TABLES
1472
+ * ==========
1473
+ * Simple CSS for HTML Tables
1474
+ * Author: tilomitra
1475
+ */
1476
+
1477
+ /* foundational CSS */
1478
+ .pure-table {
1479
+ /* Remove spacing between table cells (from Normalize.css) */
1480
+ border-collapse: collapse;
1481
+ border-spacing: 0;
1482
+ empty-cells: show;
1483
+ border: 1px solid #cbcbcb;
1484
+ }
1485
+
1486
+ .pure-table caption {
1487
+ color: #000;
1488
+ font: italic 85%/1 arial, sans-serif;
1489
+ padding: 1em 0;
1490
+ text-align: center;
1491
+ }
1492
+
1493
+ .pure-table td,
1494
+ .pure-table th {
1495
+ border-left: 1px solid #cbcbcb;/* inner column border */
1496
+ border-width: 0 0 0 1px;
1497
+ font-size: inherit;
1498
+ margin: 0;
1499
+ overflow: visible; /*to make ths where the title is really long work*/
1500
+ padding: 6px 12px; /* cell padding */
1501
+ }
1502
+ .pure-table td:first-child,
1503
+ .pure-table th:first-child {
1504
+ border-left-width: 0;
1505
+ }
1506
+
1507
+ .pure-table thead {
1508
+ background: #e0e0e0;
1509
+ color: #000;
1510
+ text-align: left;
1511
+ vertical-align: bottom;
1512
+ white-space: nowrap;
1513
+ }
1514
+
1515
+ /*
1516
+ striping:
1517
+ even - #fff (white)
1518
+ odd - #edf5ff (light blue)
1519
+ */
1520
+ .pure-table td {
1521
+ background-color: transparent;
1522
+ }
1523
+ .pure-table-odd td {
1524
+ background-color: #f2f2f2;
1525
+ }
1526
+
1527
+ /* nth-child selector for modern browsers */
1528
+ .pure-table-striped tr:nth-child(2n-1) td {
1529
+ background-color: #f2f2f2;
1530
+ }
1531
+
1532
+ /* BORDERED TABLES */
1533
+ .pure-table-bordered td {
1534
+ border-bottom:1px solid #cbcbcb;
1535
+ }
1536
+ .pure-table-bordered tbody > tr:last-child td,
1537
+ .pure-table-horizontal tbody > tr:last-child td {
1538
+ border-bottom-width: 0;
1539
+ }
1540
+
1541
+
1542
+ /* HORIZONTAL BORDERED TABLES */
1543
+
1544
+ .pure-table-horizontal td,
1545
+ .pure-table-horizontal th {
1546
+ border-width: 0 0 1px 0;
1547
+ border-bottom:1px solid #cbcbcb;
1548
+ }
1549
+ .pure-table-horizontal tbody > tr:last-child td {
1550
+ border-bottom-width: 0;
1551
+ }