stylus-source 0.21.2 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/VERSION +1 -1
  2. data/vendor/History.md +11 -0
  3. data/vendor/Readme.md +4 -0
  4. data/vendor/bin/stylus +9 -32
  5. data/vendor/docs/bifs.md +16 -0
  6. data/vendor/docs/js.md +2 -0
  7. data/vendor/editors/Stylus.tmbundle/Syntaxes/Stylus.tmLanguage +67 -7
  8. data/vendor/lib/functions/index.styl +16 -0
  9. data/vendor/lib/lexer.js +13 -0
  10. data/vendor/lib/nodes/extend.js +41 -0
  11. data/vendor/lib/nodes/group.js +1 -0
  12. data/vendor/lib/nodes/index.js +1 -0
  13. data/vendor/lib/nodes/page.js +1 -1
  14. data/vendor/lib/parser.js +10 -0
  15. data/vendor/lib/renderer.js +13 -0
  16. data/vendor/lib/stylus.js +1 -1
  17. data/vendor/lib/utils.js +66 -0
  18. data/vendor/lib/visitor/compiler.js +65 -61
  19. data/vendor/lib/visitor/evaluator.js +10 -0
  20. data/vendor/lib/visitor/normalizer.js +226 -0
  21. data/vendor/node_modules/cssom/docs/parse.html +15 -1
  22. data/vendor/node_modules/cssom/docs/parse.html_ +268 -0
  23. data/vendor/node_modules/cssom/lib/CSSStyleDeclaration.js +18 -2
  24. data/vendor/node_modules/cssom/lib/parse.js +0 -18
  25. data/vendor/node_modules/cssom/package.json +1 -1
  26. data/vendor/node_modules/cssom/test/CSSStyleDeclaration.test.js +10 -3
  27. data/vendor/package.json +2 -2
  28. data/vendor/test/cases/bifs.keys.css +4 -0
  29. data/vendor/test/cases/bifs.keys.styl +6 -0
  30. data/vendor/test/cases/bifs.values.css +5 -0
  31. data/vendor/test/cases/bifs.values.styl +6 -0
  32. data/vendor/test/cases/css.extend.css +13 -0
  33. data/vendor/test/cases/css.extend.styl +15 -0
  34. data/vendor/test/cases/extend.complex.css +16 -0
  35. data/vendor/test/cases/extend.complex.styl +15 -0
  36. data/vendor/test/cases/extend.css +22 -0
  37. data/vendor/test/cases/extend.multiple-definitions.css +11 -0
  38. data/vendor/test/cases/extend.multiple-definitions.styl +9 -0
  39. data/vendor/test/cases/extend.styl +22 -0
  40. data/vendor/testing/foo.css +3753 -3
  41. data/vendor/testing/foo.styl +7 -0
  42. data/vendor/testing/index.html +5 -50
  43. data/vendor/testing/test.css +19 -4
  44. data/vendor/testing/test.styl +19 -12
  45. metadata +18 -2
@@ -0,0 +1,15 @@
1
+ .message {
2
+ margin: 5px;
3
+ padding: 20px;
4
+ font-weight: bold;
5
+ }
6
+
7
+ .warning {
8
+ @extend .message;
9
+ color: yellow;
10
+ }
11
+
12
+ .error {
13
+ @extend .message;
14
+ color: red;
15
+ }
@@ -0,0 +1,16 @@
1
+ form button,
2
+ a.button {
3
+ padding: 10px;
4
+ border-radius: 5px;
5
+ border: 1px solid #808080;
6
+ }
7
+ a.button {
8
+ text-decoration: none;
9
+ }
10
+ form button {
11
+ padding: 10px;
12
+ color: #f00;
13
+ }
14
+ form button:hover {
15
+ color: #00f;
16
+ }
@@ -0,0 +1,15 @@
1
+ form button
2
+ padding: 10px
3
+ border-radius: 5px
4
+ border: 1px solid gray
5
+
6
+ a.button
7
+ @extends form button
8
+ text-decoration: none
9
+
10
+ form
11
+ button
12
+ padding: 10px
13
+ color: red
14
+ &:hover
15
+ color: blue
@@ -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,11 @@
1
+ .error,
2
+ .serious-error {
3
+ font-size: bold;
4
+ }
5
+ .error,
6
+ .serious-error {
7
+ color: #f00;
8
+ }
9
+ .serious-error {
10
+ font-size: 18px;
11
+ }
@@ -0,0 +1,9 @@
1
+ .error
2
+ font-size: bold
3
+
4
+ .error
5
+ color: red
6
+
7
+ .serious-error
8
+ @extends .error
9
+ font-size: 18px
@@ -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
+