emma-css-rails 0.1.0.0 → 0.2.0.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +31 -1
- data/lib/emma-css-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/emma.scss +18 -16
- metadata +3 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 61eede0198e040c3641fc06d2e255c254ab0a7e0
         | 
| 4 | 
            +
              data.tar.gz: 95e5bd5c9212767c2730b73dccceaad52936fb64
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 14371df0c1a9e23e79e0ce07270b40fec0e25d17f2df2df2b1cf7a903549c82485ed17e29998b4fdebb9c91d75b0dec4c904939947165380860ec0120c5f0b52
         | 
| 7 | 
            +
              data.tar.gz: 3866a8dcd26e5499e4d77065521f1d1617e3ce8a9cafa58a279bc640362505ca8bd1be17f4544f4f2b4f448821e9375dae831e7ef747b420a2ae021f7d6ad867
         | 
    
        data/CHANGELOG.md
    ADDED
    
    
    
        data/README.md
    CHANGED
    
    | @@ -1,6 +1,36 @@ | |
| 1 1 | 
             
            # emma-css-rails
         | 
| 2 2 |  | 
| 3 | 
            -
            [Emma.css](https://github.com/ruedap/emma.css) {  | 
| 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,4 +1,4 @@ | |
| 1 | 
            -
            /*! Emma.css 0. | 
| 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- | 
| 583 | 
            -
                ( op- | 
| 584 | 
            -
                ( op- | 
| 585 | 
            -
                ( op- | 
| 586 | 
            -
                ( op- | 
| 587 | 
            -
                ( op- | 
| 588 | 
            -
                ( op- | 
| 589 | 
            -
                ( op- | 
| 590 | 
            -
                ( op- | 
| 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 | 
            -
                (  | 
| 670 | 
            -
                (  | 
| 671 | 
            -
                (  | 
| 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- | 
| 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- | 
| 692 | 
            +
            %emma-lire {
         | 
| 691 693 | 
             
              list-style: none;
         | 
| 692 694 | 
             
              padding-left: 0;
         | 
| 693 695 | 
             
            }
         | 
| 694 696 |  | 
| 695 697 | 
             
            // Absolute center
         | 
| 696 | 
            -
            %emma- | 
| 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. | 
| 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 {  | 
| 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
         |