pure-css-rails 0.3.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/README.md +2 -1
- data/bkutil.pem +20 -0
- data/lib/pure-css-rails/version.rb +1 -1
- data/pure-css-rails.gemspec +1 -1
- data/vendor/assets/stylesheets/pure-nr.css +353 -263
- data/vendor/assets/stylesheets/pure.css +702 -610
- metadata +34 -34
- metadata.gz.sig +0 -0
- checksums.yaml +0 -15
- checksums.yaml.gz.sig +0 -1
- data/gem-public_cert.pem +0 -20
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Pure CSS for Rails Asset Pipeline
|
2
2
|
|
3
|
-
Based on [pure.css](http://purecss.io/) version 0.
|
3
|
+
Based on [pure.css](http://purecss.io/) version 0.4.1.
|
4
4
|
|
5
5
|
## Install
|
6
6
|
|
@@ -26,6 +26,7 @@ You don't need to add `normalize.css`, it is already included.
|
|
26
26
|
Since 0.2.1, the gem and the pure.css versions match, so it is easier to pin
|
27
27
|
the library to a specific version via the Gemfile.
|
28
28
|
|
29
|
+
* 0.4.1 - Pure 0.4.1
|
29
30
|
* 0.3.0 - Pure 0.3.0
|
30
31
|
* 0.2.1 - Pure 0.2.1
|
31
32
|
* 0.0.2 - Pure 0.2.0
|
data/bkutil.pem
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDMjCCAhqgAwIBAgIBADANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZiYWxh
|
3
|
+
enMxGDAWBgoJkiaJk/IsZAEZFghrdXRpbG92aTESMBAGCgmSJomT8ixkARkWAmN6
|
4
|
+
MB4XDTE0MDIxMDIxMjIzNVoXDTE1MDIxMDIxMjIzNVowPzEPMA0GA1UEAwwGYmFs
|
5
|
+
YXpzMRgwFgYKCZImiZPyLGQBGRYIa3V0aWxvdmkxEjAQBgoJkiaJk/IsZAEZFgJj
|
6
|
+
ejCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOJbF6x6zXyE0DmxUJ6f
|
7
|
+
l9Ap5+hqj7gUQmGcyXn6SeXlb0XKomEiBoujMLB1k1Mt+vk+pRE0ftq4EgZ2oxt9
|
8
|
+
1BAgqm8v7FwixcMP7B/KWe566xjh6geBBsrfwksuAJcY7nmubZPlHysfwVRpLSCj
|
9
|
+
ggxp3uR8E+n826ayRywdcyq2ipBBTjQScvyMsoeYdz7ZIdkyMbh6uQL2Ogo0vrIb
|
10
|
+
yrBJpY7tP+P/FHUkdIbVX69KZin77yrZEGZ8mhLgUvLdv+oAtCvrhMr/gaRDI/qW
|
11
|
+
ususUDe00dJ5WMIhLXbvpwJx74vKjVehFngTJ5rg+z7m4RzBqRfK+gR+0mMdOtje
|
12
|
+
uzkCAwEAAaM5MDcwCQYDVR0TBAIwADAdBgNVHQ4EFgQUzgXepwysh3ZKvntHmVId
|
13
|
+
aKJR9o8wCwYDVR0PBAQDAgSwMA0GCSqGSIb3DQEBBQUAA4IBAQDAkFpuRdwRvbFL
|
14
|
+
8k3gbDZI0Fngffn295bDcG1bY13JtXShyeNfTYfEVW+fEgIC7GQagIkl4E1R/2W+
|
15
|
+
JAjpHtzCflanZBUgHOt0Aen5a3EkoeW5C6pzgYifwAk2HmqL3y8qcITG9aldJyOT
|
16
|
+
y4PGbdgj4UhFETcsIXVx2vmwIZPdtvwJ/Twu3VwnntFder14AJg1WkOfuVUK6srJ
|
17
|
+
5COBU1zTpLtTUcrEOrxU4YdbXCNWWEBm73NZ7L/FimRFLfP1EB0blAryD1MN51Kw
|
18
|
+
sE7Z6BEhPTyAp3JxKb+UeI87UXfFogj7E1rGSWDEq4ZH6g38k1AoVcasZCFNmowg
|
19
|
+
Z2LYlQ5J
|
20
|
+
-----END CERTIFICATE-----
|
data/pure-css-rails.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.summary = %q{Pure CSS for Rails Asset Pipeline}
|
14
14
|
gem.homepage = "https://github.com/bkutil/pure-css-rails"
|
15
15
|
gem.signing_key = '/home/balazs/documents/keys/gem-private_key.pem'
|
16
|
-
gem.cert_chain = ['
|
16
|
+
gem.cert_chain = ['bkutil.pem']
|
17
17
|
|
18
18
|
gem.files = `git ls-files`.split($/)
|
19
19
|
gem.require_paths = ["lib"]
|
@@ -1,14 +1,14 @@
|
|
1
1
|
/*!
|
2
|
-
Pure v0.
|
3
|
-
Copyright
|
2
|
+
Pure v0.4.1
|
3
|
+
Copyright 2014 Yahoo! Inc. All rights reserved.
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/yui/pure/blob/master/LICENSE.md
|
6
6
|
*/
|
7
7
|
/*!
|
8
|
-
normalize.css v1.1.
|
8
|
+
normalize.css v1.1.3 | MIT License | git.io/normalize
|
9
9
|
Copyright (c) Nicolas Gallagher and Jonathan Neal
|
10
10
|
*/
|
11
|
-
/*! normalize.css v1.1.
|
11
|
+
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
|
12
12
|
|
13
13
|
/* ==========================================================================
|
14
14
|
HTML5 display definitions
|
@@ -536,6 +536,303 @@ table {
|
|
536
536
|
border-spacing: 0;
|
537
537
|
}
|
538
538
|
|
539
|
+
/*csslint important:false*/
|
540
|
+
|
541
|
+
/* ==========================================================================
|
542
|
+
Pure Base Extras
|
543
|
+
========================================================================== */
|
544
|
+
|
545
|
+
/**
|
546
|
+
* Extra rules that Pure adds on top of Normalize.css
|
547
|
+
*/
|
548
|
+
|
549
|
+
/**
|
550
|
+
* Always hide an element when it has the `hidden` HTML attribute.
|
551
|
+
*/
|
552
|
+
|
553
|
+
[hidden] {
|
554
|
+
display: none !important;
|
555
|
+
}
|
556
|
+
|
557
|
+
/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/
|
558
|
+
|
559
|
+
.pure-g {
|
560
|
+
letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
|
561
|
+
*letter-spacing: normal; /* reset IE < 8 */
|
562
|
+
*word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
|
563
|
+
text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
|
564
|
+
|
565
|
+
/*
|
566
|
+
Sets the font stack to fonts known to work properly with the above letter
|
567
|
+
and word spacings. See: https://github.com/yui/pure/issues/41/
|
568
|
+
|
569
|
+
The following font stack makes Pure Grids work on all known environments.
|
570
|
+
|
571
|
+
* FreeSans: Ships with many Linux distros, including Ubuntu
|
572
|
+
|
573
|
+
* Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
|
574
|
+
Arial to get picked up by the browser, even though neither is available
|
575
|
+
in Chrome OS.
|
576
|
+
|
577
|
+
* Droid Sans: Ships with all versions of Android.
|
578
|
+
|
579
|
+
* Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
|
580
|
+
*/
|
581
|
+
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
|
582
|
+
|
583
|
+
/*
|
584
|
+
Use flexbox when possible to avoid `letter-spacing` side-effects.
|
585
|
+
|
586
|
+
NOTE: Firefox (as of 25) does not currently support flex-wrap, so the
|
587
|
+
`-moz-` prefix version is omitted.
|
588
|
+
*/
|
589
|
+
|
590
|
+
display: -webkit-flex;
|
591
|
+
-webkit-flex-flow: row wrap;
|
592
|
+
|
593
|
+
/* IE10 uses display: flexbox */
|
594
|
+
display: -ms-flexbox;
|
595
|
+
-ms-flex-flow: row wrap;
|
596
|
+
}
|
597
|
+
|
598
|
+
/* Opera as of 12 on Windows needs word-spacing.
|
599
|
+
The ".opera-only" selector is used to prevent actual prefocus styling
|
600
|
+
and is not required in markup.
|
601
|
+
*/
|
602
|
+
.opera-only :-o-prefocus,
|
603
|
+
.pure-g {
|
604
|
+
word-spacing: -0.43em;
|
605
|
+
}
|
606
|
+
|
607
|
+
.pure-u {
|
608
|
+
display: inline-block;
|
609
|
+
*display: inline; /* IE < 8: fake inline-block */
|
610
|
+
zoom: 1;
|
611
|
+
letter-spacing: normal;
|
612
|
+
word-spacing: normal;
|
613
|
+
vertical-align: top;
|
614
|
+
text-rendering: auto;
|
615
|
+
}
|
616
|
+
|
617
|
+
/*
|
618
|
+
Resets the font family back to the OS/browser's default sans-serif font,
|
619
|
+
this the same font stack that Normalize.css sets for the `body`.
|
620
|
+
*/
|
621
|
+
.pure-g [class *= "pure-u"] {
|
622
|
+
font-family: sans-serif;
|
623
|
+
}
|
624
|
+
|
625
|
+
.pure-u-1,
|
626
|
+
.pure-u-1-1,
|
627
|
+
.pure-u-1-2,
|
628
|
+
.pure-u-1-3,
|
629
|
+
.pure-u-2-3,
|
630
|
+
.pure-u-1-4,
|
631
|
+
.pure-u-3-4,
|
632
|
+
.pure-u-1-5,
|
633
|
+
.pure-u-2-5,
|
634
|
+
.pure-u-3-5,
|
635
|
+
.pure-u-4-5,
|
636
|
+
.pure-u-5-5,
|
637
|
+
.pure-u-1-6,
|
638
|
+
.pure-u-5-6,
|
639
|
+
.pure-u-1-8,
|
640
|
+
.pure-u-3-8,
|
641
|
+
.pure-u-5-8,
|
642
|
+
.pure-u-7-8,
|
643
|
+
.pure-u-1-12,
|
644
|
+
.pure-u-5-12,
|
645
|
+
.pure-u-7-12,
|
646
|
+
.pure-u-11-12,
|
647
|
+
.pure-u-1-24,
|
648
|
+
.pure-u-2-24,
|
649
|
+
.pure-u-3-24,
|
650
|
+
.pure-u-4-24,
|
651
|
+
.pure-u-5-24,
|
652
|
+
.pure-u-6-24,
|
653
|
+
.pure-u-7-24,
|
654
|
+
.pure-u-8-24,
|
655
|
+
.pure-u-9-24,
|
656
|
+
.pure-u-10-24,
|
657
|
+
.pure-u-11-24,
|
658
|
+
.pure-u-12-24,
|
659
|
+
.pure-u-13-24,
|
660
|
+
.pure-u-14-24,
|
661
|
+
.pure-u-15-24,
|
662
|
+
.pure-u-16-24,
|
663
|
+
.pure-u-17-24,
|
664
|
+
.pure-u-18-24,
|
665
|
+
.pure-u-19-24,
|
666
|
+
.pure-u-20-24,
|
667
|
+
.pure-u-21-24,
|
668
|
+
.pure-u-22-24,
|
669
|
+
.pure-u-23-24,
|
670
|
+
.pure-u-24-24 {
|
671
|
+
display: inline-block;
|
672
|
+
*display: inline;
|
673
|
+
zoom: 1;
|
674
|
+
letter-spacing: normal;
|
675
|
+
word-spacing: normal;
|
676
|
+
vertical-align: top;
|
677
|
+
text-rendering: auto;
|
678
|
+
}
|
679
|
+
|
680
|
+
.pure-u-1-24 {
|
681
|
+
width: 4.1667%;
|
682
|
+
*width: 4.1357%;
|
683
|
+
}
|
684
|
+
|
685
|
+
.pure-u-1-12,
|
686
|
+
.pure-u-2-24 {
|
687
|
+
width: 8.3333%;
|
688
|
+
*width: 8.3023%;
|
689
|
+
}
|
690
|
+
|
691
|
+
.pure-u-1-8,
|
692
|
+
.pure-u-3-24 {
|
693
|
+
width: 12.5000%;
|
694
|
+
*width: 12.4690%;
|
695
|
+
}
|
696
|
+
|
697
|
+
.pure-u-1-6,
|
698
|
+
.pure-u-4-24 {
|
699
|
+
width: 16.6667%;
|
700
|
+
*width: 16.6357%;
|
701
|
+
}
|
702
|
+
|
703
|
+
.pure-u-1-5 {
|
704
|
+
width: 20%;
|
705
|
+
*width: 19.9690%;
|
706
|
+
}
|
707
|
+
|
708
|
+
.pure-u-5-24 {
|
709
|
+
width: 20.8333%;
|
710
|
+
*width: 20.8023%;
|
711
|
+
}
|
712
|
+
|
713
|
+
.pure-u-1-4,
|
714
|
+
.pure-u-6-24 {
|
715
|
+
width: 25%;
|
716
|
+
*width: 24.9690%;
|
717
|
+
}
|
718
|
+
|
719
|
+
.pure-u-7-24 {
|
720
|
+
width: 29.1667%;
|
721
|
+
*width: 29.1357%;
|
722
|
+
}
|
723
|
+
|
724
|
+
.pure-u-1-3,
|
725
|
+
.pure-u-8-24 {
|
726
|
+
width: 33.3333%;
|
727
|
+
*width: 33.3023%;
|
728
|
+
}
|
729
|
+
|
730
|
+
.pure-u-3-8,
|
731
|
+
.pure-u-9-24 {
|
732
|
+
width: 37.5000%;
|
733
|
+
*width: 37.4690%;
|
734
|
+
}
|
735
|
+
|
736
|
+
.pure-u-2-5 {
|
737
|
+
width: 40%;
|
738
|
+
*width: 39.9690%;
|
739
|
+
}
|
740
|
+
|
741
|
+
.pure-u-5-12,
|
742
|
+
.pure-u-10-24 {
|
743
|
+
width: 41.6667%;
|
744
|
+
*width: 41.6357%;
|
745
|
+
}
|
746
|
+
|
747
|
+
.pure-u-11-24 {
|
748
|
+
width: 45.8333%;
|
749
|
+
*width: 45.8023%;
|
750
|
+
}
|
751
|
+
|
752
|
+
.pure-u-1-2,
|
753
|
+
.pure-u-12-24 {
|
754
|
+
width: 50%;
|
755
|
+
*width: 49.9690%;
|
756
|
+
}
|
757
|
+
|
758
|
+
.pure-u-13-24 {
|
759
|
+
width: 54.1667%;
|
760
|
+
*width: 54.1357%;
|
761
|
+
}
|
762
|
+
|
763
|
+
.pure-u-7-12,
|
764
|
+
.pure-u-14-24 {
|
765
|
+
width: 58.3333%;
|
766
|
+
*width: 58.3023%;
|
767
|
+
}
|
768
|
+
|
769
|
+
.pure-u-3-5 {
|
770
|
+
width: 60%;
|
771
|
+
*width: 59.9690%;
|
772
|
+
}
|
773
|
+
|
774
|
+
.pure-u-5-8,
|
775
|
+
.pure-u-15-24 {
|
776
|
+
width: 62.5000%;
|
777
|
+
*width: 62.4690%;
|
778
|
+
}
|
779
|
+
|
780
|
+
.pure-u-2-3,
|
781
|
+
.pure-u-16-24 {
|
782
|
+
width: 66.6667%;
|
783
|
+
*width: 66.6357%;
|
784
|
+
}
|
785
|
+
|
786
|
+
.pure-u-17-24 {
|
787
|
+
width: 70.8333%;
|
788
|
+
*width: 70.8023%;
|
789
|
+
}
|
790
|
+
|
791
|
+
.pure-u-3-4,
|
792
|
+
.pure-u-18-24 {
|
793
|
+
width: 75%;
|
794
|
+
*width: 74.9690%;
|
795
|
+
}
|
796
|
+
|
797
|
+
.pure-u-19-24 {
|
798
|
+
width: 79.1667%;
|
799
|
+
*width: 79.1357%;
|
800
|
+
}
|
801
|
+
|
802
|
+
.pure-u-4-5 {
|
803
|
+
width: 80%;
|
804
|
+
*width: 79.9690%;
|
805
|
+
}
|
806
|
+
|
807
|
+
.pure-u-5-6,
|
808
|
+
.pure-u-20-24 {
|
809
|
+
width: 83.3333%;
|
810
|
+
*width: 83.3023%;
|
811
|
+
}
|
812
|
+
|
813
|
+
.pure-u-7-8,
|
814
|
+
.pure-u-21-24 {
|
815
|
+
width: 87.5000%;
|
816
|
+
*width: 87.4690%;
|
817
|
+
}
|
818
|
+
|
819
|
+
.pure-u-11-12,
|
820
|
+
.pure-u-22-24 {
|
821
|
+
width: 91.6667%;
|
822
|
+
*width: 91.6357%;
|
823
|
+
}
|
824
|
+
|
825
|
+
.pure-u-23-24 {
|
826
|
+
width: 95.8333%;
|
827
|
+
*width: 95.8023%;
|
828
|
+
}
|
829
|
+
|
830
|
+
.pure-u-1,
|
831
|
+
.pure-u-1-1,
|
832
|
+
.pure-u-5-5,
|
833
|
+
.pure-u-24-24 {
|
834
|
+
width: 100%;
|
835
|
+
}
|
539
836
|
.pure-button {
|
540
837
|
/* Structure */
|
541
838
|
display: inline-block;
|
@@ -559,13 +856,14 @@ table {
|
|
559
856
|
border: 0;
|
560
857
|
}
|
561
858
|
|
562
|
-
/*csslint
|
859
|
+
/*csslint outline-none:false*/
|
563
860
|
|
564
861
|
.pure-button {
|
862
|
+
font-family: inherit;
|
565
863
|
font-size: 100%;
|
566
864
|
*font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
|
567
865
|
*overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
|
568
|
-
padding: 0.5em
|
866
|
+
padding: 0.5em 1em;
|
569
867
|
color: #444; /* rgba not supported (IE 8) */
|
570
868
|
color: rgba(0, 0, 0, 0.80); /* rgba supported */
|
571
869
|
*color: #444; /* IE 6 & 7 */
|
@@ -574,12 +872,6 @@ table {
|
|
574
872
|
background-color: #E6E6E6;
|
575
873
|
text-decoration: none;
|
576
874
|
border-radius: 2px;
|
577
|
-
/* Transitions */
|
578
|
-
-webkit-transition: 0.1s linear -webkit-box-shadow;
|
579
|
-
-moz-transition: 0.1s linear -moz-box-shadow;
|
580
|
-
-ms-transition: 0.1s linear box-shadow;
|
581
|
-
-o-transition: 0.1s linear box-shadow;
|
582
|
-
transition: 0.1s linear box-shadow;
|
583
875
|
}
|
584
876
|
|
585
877
|
.pure-button-hover,
|
@@ -589,7 +881,6 @@ table {
|
|
589
881
|
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)));
|
590
882
|
background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
591
883
|
background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10));
|
592
|
-
background-image: -ms-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
593
884
|
background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
594
885
|
background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
595
886
|
}
|
@@ -657,16 +948,28 @@ a.pure-button-selected {
|
|
657
948
|
font-size: 0.8em;
|
658
949
|
box-shadow: inset 0 1px 3px #ddd;
|
659
950
|
border-radius: 4px;
|
660
|
-
-webkit-transition: 0.3s linear border;
|
661
|
-
-moz-transition: 0.3s linear border;
|
662
|
-
-ms-transition: 0.3s linear border;
|
663
|
-
-o-transition: 0.3s linear border;
|
664
|
-
transition: 0.3s linear border;
|
665
951
|
-webkit-box-sizing: border-box;
|
666
952
|
-moz-box-sizing: border-box;
|
667
953
|
box-sizing: border-box;
|
668
954
|
}
|
669
955
|
|
956
|
+
/*
|
957
|
+
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
|
958
|
+
since IE8 won't execute CSS that contains a CSS3 selector.
|
959
|
+
*/
|
960
|
+
.pure-form input:not([type]) {
|
961
|
+
padding: 0.5em 0.6em;
|
962
|
+
display: inline-block;
|
963
|
+
border: 1px solid #ccc;
|
964
|
+
font-size: 0.8em;
|
965
|
+
box-shadow: inset 0 1px 3px #ddd;
|
966
|
+
border-radius: 4px;
|
967
|
+
-webkit-box-sizing: border-box;
|
968
|
+
-moz-box-sizing: border-box;
|
969
|
+
box-sizing: border-box;
|
970
|
+
}
|
971
|
+
|
972
|
+
|
670
973
|
.pure-form input[type="text"]:focus,
|
671
974
|
.pure-form input[type="password"]:focus,
|
672
975
|
.pure-form input[type="email"]:focus,
|
@@ -688,6 +991,16 @@ a.pure-button-selected {
|
|
688
991
|
border-color: #129FEA;
|
689
992
|
}
|
690
993
|
|
994
|
+
/*
|
995
|
+
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
|
996
|
+
since IE8 won't execute CSS that contains a CSS3 selector.
|
997
|
+
*/
|
998
|
+
.pure-form input:not([type]):focus {
|
999
|
+
outline: 0;
|
1000
|
+
outline: thin dotted \9; /* IE6-9 */
|
1001
|
+
border-color: #129FEA;
|
1002
|
+
}
|
1003
|
+
|
691
1004
|
.pure-form input[type="file"]:focus,
|
692
1005
|
.pure-form input[type="radio"]:focus,
|
693
1006
|
.pure-form input[type="checkbox"]:focus {
|
@@ -699,6 +1012,7 @@ a.pure-button-selected {
|
|
699
1012
|
margin: 0.5em 0;
|
700
1013
|
display: block;
|
701
1014
|
}
|
1015
|
+
|
702
1016
|
.pure-form input[type="text"][disabled],
|
703
1017
|
.pure-form input[type="password"][disabled],
|
704
1018
|
.pure-form input[type="email"][disabled],
|
@@ -719,6 +1033,16 @@ a.pure-button-selected {
|
|
719
1033
|
background-color: #eaeded;
|
720
1034
|
color: #cad2d3;
|
721
1035
|
}
|
1036
|
+
|
1037
|
+
/*
|
1038
|
+
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
|
1039
|
+
since IE8 won't execute CSS that contains a CSS3 selector.
|
1040
|
+
*/
|
1041
|
+
.pure-form input:not([type])[disabled] {
|
1042
|
+
cursor: not-allowed;
|
1043
|
+
background-color: #eaeded;
|
1044
|
+
color: #cad2d3;
|
1045
|
+
}
|
722
1046
|
.pure-form input[readonly],
|
723
1047
|
.pure-form select[readonly],
|
724
1048
|
.pure-form textarea[readonly] {
|
@@ -790,6 +1114,14 @@ a.pure-button-selected {
|
|
790
1114
|
margin: 0.25em 0;
|
791
1115
|
}
|
792
1116
|
|
1117
|
+
/*
|
1118
|
+
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
|
1119
|
+
since IE8 won't execute CSS that contains a CSS3 selector.
|
1120
|
+
*/
|
1121
|
+
.pure-form-stacked input:not([type]) {
|
1122
|
+
display: block;
|
1123
|
+
margin: 0.25em 0;
|
1124
|
+
}
|
793
1125
|
.pure-form-aligned input,
|
794
1126
|
.pure-form-aligned textarea,
|
795
1127
|
.pure-form-aligned select,
|
@@ -801,6 +1133,9 @@ a.pure-button-selected {
|
|
801
1133
|
*zoom: 1;
|
802
1134
|
vertical-align: middle;
|
803
1135
|
}
|
1136
|
+
.pure-form-aligned textarea {
|
1137
|
+
vertical-align: top;
|
1138
|
+
}
|
804
1139
|
|
805
1140
|
/* Aligned Forms */
|
806
1141
|
.pure-form-aligned .pure-control-group {
|
@@ -885,250 +1220,6 @@ a.pure-button-selected {
|
|
885
1220
|
font-size: 90%;
|
886
1221
|
}
|
887
1222
|
|
888
|
-
/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/
|
889
|
-
|
890
|
-
.pure-g {
|
891
|
-
letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
|
892
|
-
*letter-spacing: normal; /* reset IE < 8 */
|
893
|
-
*word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
|
894
|
-
text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
|
895
|
-
|
896
|
-
/*
|
897
|
-
Sets the font stack to fonts known to work properly with the above letter
|
898
|
-
and word spacings. See: https://github.com/yui/pure/issues/41/
|
899
|
-
|
900
|
-
The following font stack makes Pure Grids work on all known environments.
|
901
|
-
|
902
|
-
* FreeSans: Ships with many Linux distros, including Ubuntu
|
903
|
-
|
904
|
-
* Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
|
905
|
-
Arial to get picked up by the browser, even though neither is available
|
906
|
-
in Chrome OS.
|
907
|
-
|
908
|
-
* Droid Sans: Ships with all versions of Android.
|
909
|
-
|
910
|
-
* Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
|
911
|
-
*/
|
912
|
-
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
|
913
|
-
|
914
|
-
/*
|
915
|
-
Use flexbox when possible to avoid `letter-spacing` side-effects.
|
916
|
-
|
917
|
-
NOTE: Firefox (as of 25) does not currently support flex-wrap, so the
|
918
|
-
`-moz-` prefix version is omitted.
|
919
|
-
*/
|
920
|
-
|
921
|
-
display: -webkit-flex;
|
922
|
-
-webkit-flex-flow: row wrap;
|
923
|
-
|
924
|
-
/* IE10 uses display: flexbox */
|
925
|
-
display: -ms-flexbox;
|
926
|
-
-ms-flex-flow: row wrap;
|
927
|
-
}
|
928
|
-
|
929
|
-
/* Opera as of 12 on Windows needs word-spacing.
|
930
|
-
The ".opera-only" selector is used to prevent actual prefocus styling
|
931
|
-
and is not required in markup.
|
932
|
-
*/
|
933
|
-
.opera-only :-o-prefocus,
|
934
|
-
.pure-g {
|
935
|
-
word-spacing: -0.43em;
|
936
|
-
}
|
937
|
-
|
938
|
-
.pure-u {
|
939
|
-
display: inline-block;
|
940
|
-
*display: inline; /* IE < 8: fake inline-block */
|
941
|
-
zoom: 1;
|
942
|
-
letter-spacing: normal;
|
943
|
-
word-spacing: normal;
|
944
|
-
vertical-align: top;
|
945
|
-
text-rendering: auto;
|
946
|
-
}
|
947
|
-
|
948
|
-
/*
|
949
|
-
Resets the font family back to the OS/browser's default sans-serif font,
|
950
|
-
this the same font stack that Normalize.css sets for the `body`.
|
951
|
-
*/
|
952
|
-
.pure-g [class *= "pure-u"] {
|
953
|
-
font-family: sans-serif;
|
954
|
-
}
|
955
|
-
|
956
|
-
.pure-u-1,
|
957
|
-
.pure-u-1-2,
|
958
|
-
.pure-u-1-3,
|
959
|
-
.pure-u-2-3,
|
960
|
-
.pure-u-1-4,
|
961
|
-
.pure-u-3-4,
|
962
|
-
.pure-u-1-5,
|
963
|
-
.pure-u-2-5,
|
964
|
-
.pure-u-3-5,
|
965
|
-
.pure-u-4-5,
|
966
|
-
.pure-u-1-6,
|
967
|
-
.pure-u-5-6,
|
968
|
-
.pure-u-1-8,
|
969
|
-
.pure-u-3-8,
|
970
|
-
.pure-u-5-8,
|
971
|
-
.pure-u-7-8,
|
972
|
-
.pure-u-1-12,
|
973
|
-
.pure-u-5-12,
|
974
|
-
.pure-u-7-12,
|
975
|
-
.pure-u-11-12,
|
976
|
-
.pure-u-1-24,
|
977
|
-
.pure-u-5-24,
|
978
|
-
.pure-u-7-24,
|
979
|
-
.pure-u-11-24,
|
980
|
-
.pure-u-13-24,
|
981
|
-
.pure-u-17-24,
|
982
|
-
.pure-u-19-24,
|
983
|
-
.pure-u-23-24 {
|
984
|
-
display: inline-block;
|
985
|
-
*display: inline; /* IE < 8: fake inline-block */
|
986
|
-
zoom: 1;
|
987
|
-
letter-spacing: normal;
|
988
|
-
word-spacing: normal;
|
989
|
-
vertical-align: top;
|
990
|
-
text-rendering: auto;
|
991
|
-
}
|
992
|
-
|
993
|
-
.pure-u-1 {
|
994
|
-
width: 100%;
|
995
|
-
}
|
996
|
-
|
997
|
-
.pure-u-1-2 {
|
998
|
-
width: 50%;
|
999
|
-
*width: 49.969%;
|
1000
|
-
}
|
1001
|
-
|
1002
|
-
.pure-u-1-3 {
|
1003
|
-
width: 33.3333%;
|
1004
|
-
*width: 33.3023%;
|
1005
|
-
}
|
1006
|
-
|
1007
|
-
.pure-u-2-3 {
|
1008
|
-
width: 66.6667%;
|
1009
|
-
*width: 66.6357%;
|
1010
|
-
}
|
1011
|
-
|
1012
|
-
.pure-u-1-4 {
|
1013
|
-
width: 25%;
|
1014
|
-
*width: 24.969%;
|
1015
|
-
}
|
1016
|
-
|
1017
|
-
.pure-u-3-4 {
|
1018
|
-
width: 75%;
|
1019
|
-
*width: 74.969%;
|
1020
|
-
}
|
1021
|
-
|
1022
|
-
.pure-u-1-5 {
|
1023
|
-
width: 20%;
|
1024
|
-
*width: 19.969%;
|
1025
|
-
}
|
1026
|
-
|
1027
|
-
.pure-u-2-5 {
|
1028
|
-
width: 40%;
|
1029
|
-
*width: 39.969%;
|
1030
|
-
}
|
1031
|
-
|
1032
|
-
.pure-u-3-5 {
|
1033
|
-
width: 60%;
|
1034
|
-
*width: 59.969%;
|
1035
|
-
}
|
1036
|
-
|
1037
|
-
.pure-u-4-5 {
|
1038
|
-
width: 80%;
|
1039
|
-
*width: 79.969%;
|
1040
|
-
}
|
1041
|
-
|
1042
|
-
.pure-u-1-6 {
|
1043
|
-
width: 16.6667%;
|
1044
|
-
*width: 16.6357%;
|
1045
|
-
}
|
1046
|
-
|
1047
|
-
.pure-u-5-6 {
|
1048
|
-
width: 83.3333%;
|
1049
|
-
*width: 83.3023%;
|
1050
|
-
}
|
1051
|
-
|
1052
|
-
.pure-u-1-8 {
|
1053
|
-
width: 12.5%;
|
1054
|
-
*width: 12.469%;
|
1055
|
-
}
|
1056
|
-
|
1057
|
-
.pure-u-3-8 {
|
1058
|
-
width: 37.5%;
|
1059
|
-
*width: 37.469%;
|
1060
|
-
}
|
1061
|
-
|
1062
|
-
.pure-u-5-8 {
|
1063
|
-
width: 62.5%;
|
1064
|
-
*width: 62.469%;
|
1065
|
-
}
|
1066
|
-
|
1067
|
-
.pure-u-7-8 {
|
1068
|
-
width: 87.5%;
|
1069
|
-
*width: 87.469%;
|
1070
|
-
}
|
1071
|
-
|
1072
|
-
.pure-u-1-12 {
|
1073
|
-
width: 8.3333%;
|
1074
|
-
*width: 8.3023%;
|
1075
|
-
}
|
1076
|
-
|
1077
|
-
.pure-u-5-12 {
|
1078
|
-
width: 41.6667%;
|
1079
|
-
*width: 41.6357%;
|
1080
|
-
}
|
1081
|
-
|
1082
|
-
.pure-u-7-12 {
|
1083
|
-
width: 58.3333%;
|
1084
|
-
*width: 58.3023%;
|
1085
|
-
}
|
1086
|
-
|
1087
|
-
.pure-u-11-12 {
|
1088
|
-
width: 91.6667%;
|
1089
|
-
*width: 91.6357%;
|
1090
|
-
}
|
1091
|
-
|
1092
|
-
.pure-u-1-24 {
|
1093
|
-
width: 4.1667%;
|
1094
|
-
*width: 4.1357%;
|
1095
|
-
}
|
1096
|
-
|
1097
|
-
.pure-u-5-24 {
|
1098
|
-
width: 20.8333%;
|
1099
|
-
*width: 20.8023%;
|
1100
|
-
}
|
1101
|
-
|
1102
|
-
.pure-u-7-24 {
|
1103
|
-
width: 29.1667%;
|
1104
|
-
*width: 29.1357%;
|
1105
|
-
}
|
1106
|
-
|
1107
|
-
.pure-u-11-24 {
|
1108
|
-
width: 45.8333%;
|
1109
|
-
*width: 45.8023%;
|
1110
|
-
}
|
1111
|
-
|
1112
|
-
.pure-u-13-24 {
|
1113
|
-
width: 54.1667%;
|
1114
|
-
*width: 54.1357%;
|
1115
|
-
}
|
1116
|
-
|
1117
|
-
.pure-u-17-24 {
|
1118
|
-
width: 70.8333%;
|
1119
|
-
*width: 70.8023%;
|
1120
|
-
}
|
1121
|
-
|
1122
|
-
.pure-u-19-24 {
|
1123
|
-
width: 79.1667%;
|
1124
|
-
*width: 79.1357%;
|
1125
|
-
}
|
1126
|
-
|
1127
|
-
.pure-u-23-24 {
|
1128
|
-
width: 95.8333%;
|
1129
|
-
*width: 95.8023%;
|
1130
|
-
}
|
1131
|
-
|
1132
1223
|
/*csslint adjoining-classes:false, outline-none:false*/
|
1133
1224
|
/*TODO: Remove this lint rule override after a refactor of this code.*/
|
1134
1225
|
|
@@ -1188,7 +1279,6 @@ this the same font stack that Normalize.css sets for the `body`.
|
|
1188
1279
|
*display: inline;
|
1189
1280
|
zoom: 1;
|
1190
1281
|
vertical-align: middle;
|
1191
|
-
height: 2.4em;
|
1192
1282
|
}
|
1193
1283
|
|
1194
1284
|
.pure-menu li a { padding: 5px 20px; }
|