emma-css-rails 0.1.0.0 → 0.2.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: ff98fe506bb495d5fc32dcbe9ba0498dc636d4e9
4
- data.tar.gz: cc9da5fef324657d7aafa576c672a621ea14651b
3
+ metadata.gz: 61eede0198e040c3641fc06d2e255c254ab0a7e0
4
+ data.tar.gz: 95e5bd5c9212767c2730b73dccceaad52936fb64
5
5
  SHA512:
6
- metadata.gz: 209ae4dfd623bf28b8a6a2b39bcfd6a713f3fd3822d67eafef346577af94b89412ecb97ef3521aef29e855d5ac81cd9048e67173dbfebd695510acc13dabd001
7
- data.tar.gz: d972d09dfb8874e82c02a367c696b5bc1268316c63e74fa88801849a9951664c51f32c4a46dc92d0c8dc4ac618cbcb11a73b0448e6c89ffb2ee3aaba85e811d0
6
+ metadata.gz: 14371df0c1a9e23e79e0ce07270b40fec0e25d17f2df2df2b1cf7a903549c82485ed17e29998b4fdebb9c91d75b0dec4c904939947165380860ec0120c5f0b52
7
+ data.tar.gz: 3866a8dcd26e5499e4d77065521f1d1617e3ce8a9cafa58a279bc640362505ca8bd1be17f4544f4f2b4f448821e9375dae831e7ef747b420a2ae021f7d6ad867
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # emma-css-rails Changelog
2
+
3
+ ## 0.2.0.0
4
+ * Update emma.scss to 0.2.0
5
+
6
+ ## 0.1.0.0
7
+ * Initial public release
data/README.md CHANGED
@@ -1,6 +1,36 @@
1
1
  # emma-css-rails
2
2
 
3
- [Emma.css](https://github.com/ruedap/emma.css) { Emmet-like utility classes } for Rails
3
+ [Emma.css](https://github.com/ruedap/emma.css) { emmet-like utility classes } for Rails
4
+
5
+ ## Installation
6
+
7
+ Add this to your `Gemfile`:
8
+
9
+ ```
10
+ gem "emma-css-rails"
11
+ ```
12
+
13
+ and run `bundle install`.
14
+
15
+ ## Usage
16
+
17
+ In your `application.css`, include the css file:
18
+
19
+ ``` css
20
+ /*
21
+ *= require emma
22
+ */
23
+ ```
24
+
25
+ Then restart your webserver if it was previously running.
26
+
27
+ If you prefer SCSS, add this to your `application.css.scss` file:
28
+
29
+ ``` scss
30
+ @import "emma";
31
+ ```
32
+
33
+ See also: [Getting Started with Emma.css](https://github.com/ruedap/emma.css#getting-started)
4
34
 
5
35
  ## License
6
36
 
@@ -1,3 +1,3 @@
1
1
  module EmmaCssRails
2
- VERSION = "0.1.0.0"
2
+ VERSION = "0.2.0.0"
3
3
  end
@@ -1,4 +1,4 @@
1
- /*! Emma.css 0.1.0 | Emmet-like utility classes | MIT License | git.io/emma */
1
+ /*! Emma.css 0.2.0 | emmet-like utility classes | MIT License | git.io/emma */
2
2
 
3
3
  $emma-prefix: "u-" !default;
4
4
  $emma-important: true !default;
@@ -200,7 +200,9 @@ $emma-single-declaration-list: (
200
200
  ( bxz-cb , box-sizing , content-box ),
201
201
  ( bxz-bb , box-sizing , border-box ),
202
202
  ( bxsh-n , box-shadow , none ),
203
+ ( m-a , margin , auto ),
203
204
  ( m-0 , margin , 0 ),
205
+ ( m-0_a , margin , 0 auto ), // ^1
204
206
  ( m-xs , margin , $emma-margin-xs ), // ^1
205
207
  ( m-sm , margin , $emma-margin-sm ), // ^1
206
208
  ( m-md , margin , $emma-margin-md ), // ^1
@@ -579,15 +581,15 @@ $emma-single-declaration-list: (
579
581
  ( ff-v , font-family , 'Verdana, Geneva, sans-serif' ),
580
582
  ( ff-l , font-family , '"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, "Helvetica Neue", Helvetica, sans-serif' ),
581
583
  ( op-0 , opacity , 0 ),
582
- ( op-01 , opacity , 0.1 ), // ^1
583
- ( op-02 , opacity , 0.2 ), // ^1
584
- ( op-03 , opacity , 0.3 ), // ^1
585
- ( op-04 , opacity , 0.4 ), // ^1
586
- ( op-05 , opacity , 0.5 ), // ^1
587
- ( op-06 , opacity , 0.6 ), // ^1
588
- ( op-07 , opacity , 0.7 ), // ^1
589
- ( op-08 , opacity , 0.8 ), // ^1
590
- ( op-09 , opacity , 0.9 ), // ^1
584
+ ( op-0_1 , opacity , 0.1 ), // ^1
585
+ ( op-0_2 , opacity , 0.2 ), // ^1
586
+ ( op-0_3 , opacity , 0.3 ), // ^1
587
+ ( op-0_4 , opacity , 0.4 ), // ^1
588
+ ( op-0_5 , opacity , 0.5 ), // ^1
589
+ ( op-0_6 , opacity , 0.6 ), // ^1
590
+ ( op-0_7 , opacity , 0.7 ), // ^1
591
+ ( op-0_8 , opacity , 0.8 ), // ^1
592
+ ( op-0_9 , opacity , 0.9 ), // ^1
591
593
  ( op-1 , opacity , 1 ),
592
594
  ( rsz-n , resize , none ),
593
595
  ( rsz-b , resize , both ),
@@ -666,9 +668,9 @@ $emma-multiple-declaration-list: (
666
668
  // | snippet | extended selector
667
669
  // --------------------------------------------------------------------------
668
670
  ( cf , "%emma-cf" ),
669
- ( tet , "%emma-tet" ),
670
- ( lir , "%emma-lir" ),
671
- ( abc , "%emma-abc" ),
671
+ ( tetr , "%emma-tetr" ),
672
+ ( lire , "%emma-lire" ),
673
+ ( abce , "%emma-abce" ),
672
674
  ) !default;
673
675
 
674
676
  // Clearfix (Contain floats)
@@ -678,7 +680,7 @@ $emma-multiple-declaration-list: (
678
680
  }
679
681
 
680
682
  // Text truncation (ellipsis)
681
- %emma-tet {
683
+ %emma-tetr {
682
684
  max-width: 100%;
683
685
  overflow: hidden !important;
684
686
  text-overflow: ellipsis !important;
@@ -687,13 +689,13 @@ $emma-multiple-declaration-list: (
687
689
  }
688
690
 
689
691
  // List reset
690
- %emma-lir {
692
+ %emma-lire {
691
693
  list-style: none;
692
694
  padding-left: 0;
693
695
  }
694
696
 
695
697
  // Absolute center
696
- %emma-abc {
698
+ %emma-abce {
697
699
  bottom: 0;
698
700
  display: table;
699
701
  left: 0;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emma-css-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.0
4
+ version: 0.2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ruedap
@@ -24,13 +24,14 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '5.0'
27
- description: Emma.css { Emmet-like utility classes } for Rails
27
+ description: Emma.css { emmet-like utility classes } for Rails
28
28
  email:
29
29
  - ruedap@ruedap.com
30
30
  executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - CHANGELOG.md
34
35
  - MIT-LICENSE
35
36
  - README.md
36
37
  - Rakefile