pure-css-rails 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.4.2.
3
+ Based on [pure.css](http://purecss.io/) version 0.5.0.
4
4
 
5
5
  ## Install
6
6
 
@@ -1,5 +1,5 @@
1
1
  module PureCSS
2
2
  module Rails
3
- VERSION = "0.4.2"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Pure v0.4.2
2
+ Pure v0.5.0
3
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
@@ -554,6 +554,16 @@ table {
554
554
  display: none !important;
555
555
  }
556
556
 
557
+ /**
558
+ * Add this class to an image to make it fit within it's fluid parent wrapper while maintaining
559
+ * aspect ratio.
560
+ */
561
+ .pure-img {
562
+ max-width: 100%;
563
+ height: auto;
564
+ display: block;
565
+ }
566
+
557
567
  /*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/
558
568
 
559
569
  .pure-g {
@@ -1525,7 +1535,7 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1525
1535
  font-size: inherit;
1526
1536
  margin: 0;
1527
1537
  overflow: visible; /*to make ths where the title is really long work*/
1528
- padding: 6px 12px; /* cell padding */
1538
+ padding: 0.5em 1em; /* cell padding */
1529
1539
  }
1530
1540
  .pure-table td:first-child,
1531
1541
  .pure-table th:first-child {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Pure v0.4.2
2
+ Pure v0.5.0
3
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
@@ -554,6 +554,16 @@ table {
554
554
  display: none !important;
555
555
  }
556
556
 
557
+ /**
558
+ * Add this class to an image to make it fit within it's fluid parent wrapper while maintaining
559
+ * aspect ratio.
560
+ */
561
+ .pure-img {
562
+ max-width: 100%;
563
+ height: auto;
564
+ display: block;
565
+ }
566
+
557
567
  /*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/
558
568
 
559
569
  .pure-g {
@@ -833,109 +843,6 @@ this the same font stack that Normalize.css sets for the `body`.
833
843
  .pure-u-24-24 {
834
844
  width: 100%;
835
845
  }
836
- /*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/
837
-
838
- .pure-g-r {
839
- letter-spacing: -0.31em;
840
- *letter-spacing: normal;
841
- *word-spacing: -0.43em;
842
-
843
- /*
844
- Sets the font stack to fonts known to work properly with the above letter
845
- and word spacings. See: https://github.com/yui/pure/issues/41/
846
-
847
- The following font stack makes Pure Grids work on all known environments.
848
-
849
- * FreeSans: Ships with many Linux distros, including Ubuntu
850
-
851
- * Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
852
- Arial to get picked up by the browser, even though neither is available
853
- in Chrome OS.
854
-
855
- * Droid Sans: Ships with all versions of Android.
856
-
857
- * Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
858
- */
859
- font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
860
-
861
- /*
862
- Use flexbox when possible to avoid `letter-spacing` side-effects.
863
-
864
- NOTE: Firefox (as of 25) does not currently support flex-wrap, so the
865
- `-moz-` prefix version is omitted.
866
- */
867
-
868
- display: -webkit-flex;
869
- -webkit-flex-flow: row wrap;
870
-
871
- /* IE10 uses display: flexbox */
872
- display: -ms-flexbox;
873
- -ms-flex-flow: row wrap;
874
- }
875
-
876
- /* Opera as of 12 on Windows needs word-spacing.
877
- The ".opera-only" selector is used to prevent actual prefocus styling
878
- and is not required in markup.
879
- */
880
- .opera-only :-o-prefocus,
881
- .pure-g-r {
882
- word-spacing: -0.43em;
883
- }
884
-
885
- /*
886
- Resets the font family back to the OS/browser's default sans-serif font,
887
- this the same font stack that Normalize.css sets for the `body`.
888
- */
889
- .pure-g-r [class *= "pure-u"] {
890
- font-family: sans-serif;
891
- }
892
-
893
- .pure-g-r img {
894
- max-width: 100%;
895
- height: auto;
896
- }
897
-
898
- @media (min-width: 980px) {
899
- .pure-visible-phone {
900
- display: none;
901
- }
902
- .pure-visible-tablet {
903
- display: none;
904
- }
905
- .pure-hidden-desktop {
906
- display: none;
907
- }
908
- }
909
-
910
- @media (max-width: 480px) {
911
- .pure-g-r > .pure-u,
912
- .pure-g-r > [class *= "pure-u-"] {
913
- width: 100%;
914
- }
915
- }
916
-
917
- @media (max-width: 767px) {
918
- .pure-g-r > .pure-u,
919
- .pure-g-r > [class *= "pure-u-"] {
920
- width: 100%;
921
- }
922
- .pure-hidden-phone {
923
- display: none;
924
- }
925
- .pure-visible-desktop {
926
- display: none;
927
- }
928
- }
929
-
930
- @media (min-width: 768px) and (max-width: 979px) {
931
- .pure-hidden-tablet {
932
- display: none;
933
- }
934
- .pure-visible-desktop {
935
- display: none;
936
- }
937
- }
938
-
939
846
  .pure-button {
940
847
  /* Structure */
941
848
  display: inline-block;
@@ -1704,7 +1611,7 @@ since IE8 won't execute CSS that contains a CSS3 selector.
1704
1611
  font-size: inherit;
1705
1612
  margin: 0;
1706
1613
  overflow: visible; /*to make ths where the title is really long work*/
1707
- padding: 6px 12px; /* cell padding */
1614
+ padding: 0.5em 1em; /* cell padding */
1708
1615
  }
1709
1616
  .pure-table td:first-child,
1710
1617
  .pure-table th:first-child {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pure-css-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,7 +36,7 @@ cert_chain:
36
36
  NzNOWjdML0ZpbVJGTGZQMUVCMGJsQXJ5RDFNTjUxS3cKc0U3WjZCRWhQVHlB
37
37
  cDNKeEtiK1VlSTg3VVhmRm9najdFMXJHU1dERXE0Wkg2ZzM4azFBb1ZjYXNa
38
38
  Q0ZObW93ZwpaMkxZbFE1SgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
39
- date: 2014-02-16 00:00:00.000000000 Z
39
+ date: 2014-05-28 00:00:00.000000000 Z
40
40
  dependencies: []
41
41
  description: Pure CSS for Rails Asset Pipeline
42
42
  email:
metadata.gz.sig CHANGED
Binary file