stylus-source 0.21.2 → 0.22.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/VERSION +1 -1
- data/vendor/History.md +11 -0
- data/vendor/Readme.md +4 -0
- data/vendor/bin/stylus +9 -32
- data/vendor/docs/bifs.md +16 -0
- data/vendor/docs/js.md +2 -0
- data/vendor/editors/Stylus.tmbundle/Syntaxes/Stylus.tmLanguage +67 -7
- data/vendor/lib/functions/index.styl +16 -0
- data/vendor/lib/lexer.js +13 -0
- data/vendor/lib/nodes/extend.js +41 -0
- data/vendor/lib/nodes/group.js +1 -0
- data/vendor/lib/nodes/index.js +1 -0
- data/vendor/lib/nodes/page.js +1 -1
- data/vendor/lib/parser.js +10 -0
- data/vendor/lib/renderer.js +13 -0
- data/vendor/lib/stylus.js +1 -1
- data/vendor/lib/utils.js +66 -0
- data/vendor/lib/visitor/compiler.js +65 -61
- data/vendor/lib/visitor/evaluator.js +10 -0
- data/vendor/lib/visitor/normalizer.js +226 -0
- data/vendor/node_modules/cssom/docs/parse.html +15 -1
- data/vendor/node_modules/cssom/docs/parse.html_ +268 -0
- data/vendor/node_modules/cssom/lib/CSSStyleDeclaration.js +18 -2
- data/vendor/node_modules/cssom/lib/parse.js +0 -18
- data/vendor/node_modules/cssom/package.json +1 -1
- data/vendor/node_modules/cssom/test/CSSStyleDeclaration.test.js +10 -3
- data/vendor/package.json +2 -2
- data/vendor/test/cases/bifs.keys.css +4 -0
- data/vendor/test/cases/bifs.keys.styl +6 -0
- data/vendor/test/cases/bifs.values.css +5 -0
- data/vendor/test/cases/bifs.values.styl +6 -0
- data/vendor/test/cases/css.extend.css +13 -0
- data/vendor/test/cases/css.extend.styl +15 -0
- data/vendor/test/cases/extend.complex.css +16 -0
- data/vendor/test/cases/extend.complex.styl +15 -0
- data/vendor/test/cases/extend.css +22 -0
- data/vendor/test/cases/extend.multiple-definitions.css +11 -0
- data/vendor/test/cases/extend.multiple-definitions.styl +9 -0
- data/vendor/test/cases/extend.styl +22 -0
- data/vendor/testing/foo.css +3753 -3
- data/vendor/testing/foo.styl +7 -0
- data/vendor/testing/index.html +5 -50
- data/vendor/testing/test.css +19 -4
- data/vendor/testing/test.styl +19 -12
- metadata +18 -2
| @@ -0,0 +1,22 @@ | |
| 1 | 
            +
            .message,
         | 
| 2 | 
            +
            .warning,
         | 
| 3 | 
            +
            .error,
         | 
| 4 | 
            +
            .fatal-error {
         | 
| 5 | 
            +
              margin: 5px;
         | 
| 6 | 
            +
              padding: 20px;
         | 
| 7 | 
            +
            }
         | 
| 8 | 
            +
            .large-message,
         | 
| 9 | 
            +
            .fatal-error {
         | 
| 10 | 
            +
              font-size: 18px;
         | 
| 11 | 
            +
              font-weight: bold;
         | 
| 12 | 
            +
            }
         | 
| 13 | 
            +
            .warning {
         | 
| 14 | 
            +
              color: #ff0;
         | 
| 15 | 
            +
            }
         | 
| 16 | 
            +
            .error,
         | 
| 17 | 
            +
            .fatal-error {
         | 
| 18 | 
            +
              color: #f00;
         | 
| 19 | 
            +
            }
         | 
| 20 | 
            +
            .fatal-error {
         | 
| 21 | 
            +
              color: dark-red;
         | 
| 22 | 
            +
            }
         | 
| @@ -0,0 +1,22 @@ | |
| 1 | 
            +
             | 
| 2 | 
            +
            .message
         | 
| 3 | 
            +
              margin: 5px
         | 
| 4 | 
            +
              padding: 20px
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            .large-message
         | 
| 7 | 
            +
              font-size: 18px
         | 
| 8 | 
            +
              font-weight: bold
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            .warning
         | 
| 11 | 
            +
              @extend .message
         | 
| 12 | 
            +
              color: yellow
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            .error
         | 
| 15 | 
            +
              @extend .message
         | 
| 16 | 
            +
              color: red
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            .fatal-error
         | 
| 19 | 
            +
              @extend .error
         | 
| 20 | 
            +
              @extend .large-message
         | 
| 21 | 
            +
              color: dark-red
         | 
| 22 | 
            +
             |