emma-css-rails 0.7.0.0 → 0.8.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 432cbabacfac059f435f61547382d5496bd6482f
4
- data.tar.gz: 8ec043e6acf44ab318b4a8239ac86d079f80aeaa
3
+ metadata.gz: d4042bcd70fd0193807e41671930c2ebb8c79c87
4
+ data.tar.gz: bc1fb70338f69d247ab491fc9d086754a3545a18
5
5
  SHA512:
6
- metadata.gz: c8e229864f5f75226465a6e97c50f19d1e7fc4ff1818e29fc67afdb85067a629eea6eaee9e1b4135a1554db5e162a0513068e44293ffb6a68a3108ea62e056c8
7
- data.tar.gz: a534265e3f3ec496bc21a501a75bc205f74ebe2d27b7f2eaa86990ca9a5c9ec20d975ad51b11ef4de1659cace892e27e05a91d68cdc8fcc5b136bce7ca00c5a4
6
+ metadata.gz: 099d3b123b1d4134a6156c419687adc12965f4ec1501e5e214cdc7089415162c71b76d30da91bd6b5bd84d53daa7c70db15bf14336051c88658d261b300859e3
7
+ data.tar.gz: 7940a683782eda912d6662bb027c00e1988fc9313192459cb6614574cdca0d6bb61aaa3a7c29fa30d6599f1be47c6fe8e21431124ea8817e13045ba3d2f6d501
@@ -3,6 +3,9 @@
3
3
  ## master (unreleased)
4
4
  * Nothing
5
5
 
6
+ ## 0.8.0.0
7
+ * Update emma.scss to 0.8.0
8
+
6
9
  ## 0.7.0.0
7
10
  * Update emma.scss to 0.7.0
8
11
 
@@ -1,3 +1,3 @@
1
1
  module EmmaCssRails
2
- VERSION = "0.7.0.0"
2
+ VERSION = "0.8.0.0"
3
3
  end
@@ -1,4 +1,4 @@
1
- /*! Emma.css 0.7.0 | emmet-like utility classes | MIT License | git.io/emma */
1
+ /*! Emma.css 0.8.0 | emmet-like utility classes | MIT License | git.io/emma */
2
2
 
3
3
  $emma-prefix: "u-" !default;
4
4
  $emma-important: true !default;
@@ -213,35 +213,38 @@ $emma-single-declaration-list: (
213
213
  ( bxz-cb , box-sizing , content-box ),
214
214
  ( bxz-bb , box-sizing , border-box ),
215
215
  ( bxsh-n , box-shadow , none ),
216
- ( m-a , margin , auto ),
217
216
  ( m-0 , margin , 0 ),
217
+ ( m-a , margin , auto ),
218
218
  ( m-0_a , margin , 0 auto ),
219
+ ( m-a_0 , margin , auto 0 ),
219
220
  ( m-xs , margin , $emma-margin-xs ),
220
221
  ( m-sm , margin , $emma-margin-sm ),
221
222
  ( m-md , margin , $emma-margin-md ),
222
223
  ( m-lg , margin , $emma-margin-lg ),
223
224
  ( m-xl , margin , $emma-margin-xl ),
224
225
  ( mt-0 , margin-top , 0 ),
226
+ ( mt-a , margin-top , auto ),
225
227
  ( mt-xs , margin-top , $emma-margin-xs ),
226
228
  ( mt-sm , margin-top , $emma-margin-sm ),
227
229
  ( mt-md , margin-top , $emma-margin-md ),
228
230
  ( mt-lg , margin-top , $emma-margin-lg ),
229
231
  ( mt-xl , margin-top , $emma-margin-xl ),
230
- ( mr-a , margin-right , auto ),
231
232
  ( mr-0 , margin-right , 0 ),
233
+ ( mr-a , margin-right , auto ),
232
234
  ( mr-xs , margin-right , $emma-margin-xs ),
233
235
  ( mr-sm , margin-right , $emma-margin-sm ),
234
236
  ( mr-md , margin-right , $emma-margin-md ),
235
237
  ( mr-lg , margin-right , $emma-margin-lg ),
236
238
  ( mr-xl , margin-right , $emma-margin-xl ),
237
239
  ( mb-0 , margin-bottom , 0 ),
240
+ ( mb-a , margin-bottom , auto ),
238
241
  ( mb-xs , margin-bottom , $emma-margin-xs ),
239
242
  ( mb-sm , margin-bottom , $emma-margin-sm ),
240
243
  ( mb-md , margin-bottom , $emma-margin-md ),
241
244
  ( mb-lg , margin-bottom , $emma-margin-lg ),
242
245
  ( mb-xl , margin-bottom , $emma-margin-xl ),
243
- ( ml-a , margin-left , auto ),
244
246
  ( ml-0 , margin-left , 0 ),
247
+ ( ml-a , margin-left , auto ),
245
248
  ( ml-xs , margin-left , $emma-margin-xs ),
246
249
  ( ml-sm , margin-left , $emma-margin-sm ),
247
250
  ( ml-md , margin-left , $emma-margin-md ),
@@ -601,6 +604,7 @@ $emma-single-declaration-list: (
601
604
  ( fz-xl , font-size , $emma-font-size-xl ),
602
605
  ( fz-sr , font-size , smaller ),
603
606
  ( fz-lr , font-size , larger ),
607
+ ( fz-0 , font-size , 0 ),
604
608
  ( fz-10 , font-size , 10px ),
605
609
  ( fz-11 , font-size , 11px ),
606
610
  ( fz-12 , font-size , 12px ),
@@ -719,6 +723,32 @@ $emma-multiple-declaration-list: (
719
723
  ( tehi , "%emma-tehi" ),
720
724
  ( reli , "%emma-reli" ),
721
725
  ( abce , "%emma-abce" ),
726
+ ( mx-0 , "%emma-mx-0" ),
727
+ ( my-0 , "%emma-my-0" ),
728
+ ( mx-a , "%emma-mx-a" ),
729
+ ( my-a , "%emma-my-a" ),
730
+ ( mx-xs , "%emma-mx-xs" ),
731
+ ( my-xs , "%emma-my-xs" ),
732
+ ( mx-sm , "%emma-mx-sm" ),
733
+ ( my-sm , "%emma-my-sm" ),
734
+ ( mx-md , "%emma-mx-md" ),
735
+ ( my-md , "%emma-my-md" ),
736
+ ( mx-lg , "%emma-mx-lg" ),
737
+ ( my-lg , "%emma-my-lg" ),
738
+ ( mx-xl , "%emma-mx-xl" ),
739
+ ( my-xl , "%emma-my-xl" ),
740
+ ( px-0 , "%emma-px-0" ),
741
+ ( py-0 , "%emma-py-0" ),
742
+ ( px-xs , "%emma-px-xs" ),
743
+ ( py-xs , "%emma-py-xs" ),
744
+ ( px-sm , "%emma-px-sm" ),
745
+ ( py-sm , "%emma-py-sm" ),
746
+ ( px-md , "%emma-px-md" ),
747
+ ( py-md , "%emma-py-md" ),
748
+ ( px-lg , "%emma-px-lg" ),
749
+ ( py-lg , "%emma-py-lg" ),
750
+ ( px-xl , "%emma-px-xl" ),
751
+ ( py-xl , "%emma-py-xl" ),
722
752
  ) !default;
723
753
 
724
754
  // Clearfix (Contain floats)
@@ -759,6 +789,114 @@ $emma-multiple-declaration-list: (
759
789
  top: 0;
760
790
  }
761
791
 
792
+ // Horizontal & Vertical margin
793
+ %emma-mx-0 {
794
+ margin-left: 0#{$emma-important-string};
795
+ margin-right: 0#{$emma-important-string};
796
+ }
797
+ %emma-my-0 {
798
+ margin-top: 0#{$emma-important-string};
799
+ margin-bottom: 0#{$emma-important-string};
800
+ }
801
+ %emma-mx-a {
802
+ margin-left: auto#{$emma-important-string};
803
+ margin-right: auto#{$emma-important-string};
804
+ }
805
+ %emma-my-a {
806
+ margin-top: auto#{$emma-important-string};
807
+ margin-bottom: auto#{$emma-important-string};
808
+ }
809
+ %emma-mx-xs {
810
+ margin-left: $emma-margin-xs#{$emma-important-string};
811
+ margin-right: $emma-margin-xs#{$emma-important-string};
812
+ }
813
+ %emma-my-xs {
814
+ margin-top: $emma-margin-xs#{$emma-important-string};
815
+ margin-bottom: $emma-margin-xs#{$emma-important-string};
816
+ }
817
+ %emma-mx-sm {
818
+ margin-left: $emma-margin-sm#{$emma-important-string};
819
+ margin-right: $emma-margin-sm#{$emma-important-string};
820
+ }
821
+ %emma-my-sm {
822
+ margin-top: $emma-margin-sm#{$emma-important-string};
823
+ margin-bottom: $emma-margin-sm#{$emma-important-string};
824
+ }
825
+ %emma-mx-md {
826
+ margin-left: $emma-margin-md#{$emma-important-string};
827
+ margin-right: $emma-margin-md#{$emma-important-string};
828
+ }
829
+ %emma-my-md {
830
+ margin-top: $emma-margin-md#{$emma-important-string};
831
+ margin-bottom: $emma-margin-md#{$emma-important-string};
832
+ }
833
+ %emma-mx-lg {
834
+ margin-left: $emma-margin-lg#{$emma-important-string};
835
+ margin-right: $emma-margin-lg#{$emma-important-string};
836
+ }
837
+ %emma-my-lg {
838
+ margin-top: $emma-margin-lg#{$emma-important-string};
839
+ margin-bottom: $emma-margin-lg#{$emma-important-string};
840
+ }
841
+ %emma-mx-xl {
842
+ margin-left: $emma-margin-xl#{$emma-important-string};
843
+ margin-right: $emma-margin-xl#{$emma-important-string};
844
+ }
845
+ %emma-my-xl {
846
+ margin-top: $emma-margin-xl#{$emma-important-string};
847
+ margin-bottom: $emma-margin-xl#{$emma-important-string};
848
+ }
849
+
850
+ // Horizontal & Vertical padding
851
+ %emma-px-0 {
852
+ padding-left: 0#{$emma-important-string};
853
+ padding-right: 0#{$emma-important-string};
854
+ }
855
+ %emma-py-0 {
856
+ padding-top: 0#{$emma-important-string};
857
+ padding-bottom: 0#{$emma-important-string};
858
+ }
859
+ %emma-px-xs {
860
+ padding-left: $emma-padding-xs#{$emma-important-string};
861
+ padding-right: $emma-padding-xs#{$emma-important-string};
862
+ }
863
+ %emma-py-xs {
864
+ padding-top: $emma-padding-xs#{$emma-important-string};
865
+ padding-bottom: $emma-padding-xs#{$emma-important-string};
866
+ }
867
+ %emma-px-sm {
868
+ padding-left: $emma-padding-sm#{$emma-important-string};
869
+ padding-right: $emma-padding-sm#{$emma-important-string};
870
+ }
871
+ %emma-py-sm {
872
+ padding-top: $emma-padding-sm#{$emma-important-string};
873
+ padding-bottom: $emma-padding-sm#{$emma-important-string};
874
+ }
875
+ %emma-px-md {
876
+ padding-left: $emma-padding-md#{$emma-important-string};
877
+ padding-right: $emma-padding-md#{$emma-important-string};
878
+ }
879
+ %emma-py-md {
880
+ padding-top: $emma-padding-md#{$emma-important-string};
881
+ padding-bottom: $emma-padding-md#{$emma-important-string};
882
+ }
883
+ %emma-px-lg {
884
+ padding-left: $emma-padding-lg#{$emma-important-string};
885
+ padding-right: $emma-padding-lg#{$emma-important-string};
886
+ }
887
+ %emma-py-lg {
888
+ padding-top: $emma-padding-lg#{$emma-important-string};
889
+ padding-bottom: $emma-padding-lg#{$emma-important-string};
890
+ }
891
+ %emma-px-xl {
892
+ padding-left: $emma-padding-xl#{$emma-important-string};
893
+ padding-right: $emma-padding-xl#{$emma-important-string};
894
+ }
895
+ %emma-py-xl {
896
+ padding-top: $emma-padding-xl#{$emma-important-string};
897
+ padding-bottom: $emma-padding-xl#{$emma-important-string};
898
+ }
899
+
762
900
  @each $item in $emma-multiple-declaration-list {
763
901
  @include emma-multiple-declaration(nth($item, 1)) {
764
902
  @extend #{nth($item, 2)};
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emma-css-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.0
4
+ version: 0.8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ruedap
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-08 00:00:00.000000000 Z
11
+ date: 2017-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass