sass 3.6.0 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +5 -5
  2. data/CONTRIBUTING.md +1 -1
  3. data/README.md +10 -0
  4. data/VERSION +1 -1
  5. data/VERSION_DATE +1 -1
  6. data/lib/sass/script/css_parser.rb +4 -1
  7. data/lib/sass/script/functions.rb +15 -25
  8. data/lib/sass/script/lexer.rb +45 -7
  9. data/lib/sass/script/parser.rb +259 -93
  10. data/lib/sass/scss/parser.rb +43 -16
  11. data/lib/sass/scss/static_parser.rb +15 -15
  12. data/lib/sass/util.rb +31 -0
  13. metadata +8 -156
  14. data/Rakefile +0 -364
  15. data/test/sass-spec.yml +0 -3
  16. data/test/sass/cache_test.rb +0 -130
  17. data/test/sass/callbacks_test.rb +0 -60
  18. data/test/sass/compiler_test.rb +0 -225
  19. data/test/sass/conversion_test.rb +0 -2138
  20. data/test/sass/css2sass_test.rb +0 -523
  21. data/test/sass/css_variable_test.rb +0 -237
  22. data/test/sass/data/hsl-rgb.txt +0 -319
  23. data/test/sass/encoding_test.rb +0 -188
  24. data/test/sass/engine_test.rb +0 -3499
  25. data/test/sass/exec_test.rb +0 -95
  26. data/test/sass/extend_test.rb +0 -1679
  27. data/test/sass/fixtures/test_staleness_check_across_importers.css +0 -1
  28. data/test/sass/fixtures/test_staleness_check_across_importers.scss +0 -1
  29. data/test/sass/functions_test.rb +0 -2021
  30. data/test/sass/importer_test.rb +0 -420
  31. data/test/sass/logger_test.rb +0 -57
  32. data/test/sass/mock_importer.rb +0 -49
  33. data/test/sass/more_results/more1.css +0 -9
  34. data/test/sass/more_results/more1_with_line_comments.css +0 -26
  35. data/test/sass/more_results/more_import.css +0 -29
  36. data/test/sass/more_templates/_more_partial.sass +0 -2
  37. data/test/sass/more_templates/more1.sass +0 -23
  38. data/test/sass/more_templates/more_import.sass +0 -11
  39. data/test/sass/plugin_test.rb +0 -552
  40. data/test/sass/results/alt.css +0 -4
  41. data/test/sass/results/basic.css +0 -9
  42. data/test/sass/results/cached_import_option.css +0 -3
  43. data/test/sass/results/compact.css +0 -5
  44. data/test/sass/results/complex.css +0 -86
  45. data/test/sass/results/compressed.css +0 -1
  46. data/test/sass/results/expanded.css +0 -19
  47. data/test/sass/results/filename_fn.css +0 -3
  48. data/test/sass/results/if.css +0 -3
  49. data/test/sass/results/import.css +0 -31
  50. data/test/sass/results/import_charset.css +0 -5
  51. data/test/sass/results/import_charset_ibm866.css +0 -5
  52. data/test/sass/results/import_content.css +0 -1
  53. data/test/sass/results/line_numbers.css +0 -49
  54. data/test/sass/results/mixins.css +0 -95
  55. data/test/sass/results/multiline.css +0 -24
  56. data/test/sass/results/nested.css +0 -22
  57. data/test/sass/results/options.css +0 -1
  58. data/test/sass/results/parent_ref.css +0 -13
  59. data/test/sass/results/script.css +0 -16
  60. data/test/sass/results/scss_import.css +0 -31
  61. data/test/sass/results/scss_importee.css +0 -2
  62. data/test/sass/results/subdir/nested_subdir/nested_subdir.css +0 -1
  63. data/test/sass/results/subdir/subdir.css +0 -3
  64. data/test/sass/results/units.css +0 -11
  65. data/test/sass/results/warn.css +0 -0
  66. data/test/sass/results/warn_imported.css +0 -0
  67. data/test/sass/script_conversion_test.rb +0 -365
  68. data/test/sass/script_test.rb +0 -1427
  69. data/test/sass/scss/css_test.rb +0 -1266
  70. data/test/sass/scss/rx_test.rb +0 -159
  71. data/test/sass/scss/scss_test.rb +0 -4238
  72. data/test/sass/scss/test_helper.rb +0 -37
  73. data/test/sass/source_map_test.rb +0 -1063
  74. data/test/sass/superselector_test.rb +0 -209
  75. data/test/sass/templates/_cached_import_option_partial.scss +0 -1
  76. data/test/sass/templates/_double_import_loop2.sass +0 -1
  77. data/test/sass/templates/_filename_fn_import.scss +0 -11
  78. data/test/sass/templates/_imported_charset_ibm866.sass +0 -4
  79. data/test/sass/templates/_imported_charset_utf8.sass +0 -4
  80. data/test/sass/templates/_imported_content.sass +0 -3
  81. data/test/sass/templates/_partial.sass +0 -2
  82. data/test/sass/templates/_same_name_different_partiality.scss +0 -1
  83. data/test/sass/templates/alt.sass +0 -16
  84. data/test/sass/templates/basic.sass +0 -23
  85. data/test/sass/templates/bork1.sass +0 -2
  86. data/test/sass/templates/bork2.sass +0 -2
  87. data/test/sass/templates/bork3.sass +0 -2
  88. data/test/sass/templates/bork4.sass +0 -2
  89. data/test/sass/templates/bork5.sass +0 -3
  90. data/test/sass/templates/cached_import_option.scss +0 -3
  91. data/test/sass/templates/compact.sass +0 -17
  92. data/test/sass/templates/complex.sass +0 -305
  93. data/test/sass/templates/compressed.sass +0 -15
  94. data/test/sass/templates/double_import_loop1.sass +0 -1
  95. data/test/sass/templates/expanded.sass +0 -17
  96. data/test/sass/templates/filename_fn.scss +0 -18
  97. data/test/sass/templates/if.sass +0 -11
  98. data/test/sass/templates/import.sass +0 -12
  99. data/test/sass/templates/import_charset.sass +0 -9
  100. data/test/sass/templates/import_charset_ibm866.sass +0 -11
  101. data/test/sass/templates/import_content.sass +0 -4
  102. data/test/sass/templates/importee.less +0 -2
  103. data/test/sass/templates/importee.sass +0 -19
  104. data/test/sass/templates/line_numbers.sass +0 -13
  105. data/test/sass/templates/mixin_bork.sass +0 -5
  106. data/test/sass/templates/mixins.sass +0 -76
  107. data/test/sass/templates/multiline.sass +0 -20
  108. data/test/sass/templates/nested.sass +0 -25
  109. data/test/sass/templates/nested_bork1.sass +0 -2
  110. data/test/sass/templates/nested_bork2.sass +0 -2
  111. data/test/sass/templates/nested_bork3.sass +0 -2
  112. data/test/sass/templates/nested_bork4.sass +0 -2
  113. data/test/sass/templates/nested_import.sass +0 -2
  114. data/test/sass/templates/nested_mixin_bork.sass +0 -6
  115. data/test/sass/templates/options.sass +0 -2
  116. data/test/sass/templates/parent_ref.sass +0 -25
  117. data/test/sass/templates/same_name_different_ext.sass +0 -2
  118. data/test/sass/templates/same_name_different_ext.scss +0 -1
  119. data/test/sass/templates/same_name_different_partiality.scss +0 -1
  120. data/test/sass/templates/script.sass +0 -101
  121. data/test/sass/templates/scss_import.scss +0 -12
  122. data/test/sass/templates/scss_importee.scss +0 -1
  123. data/test/sass/templates/single_import_loop.sass +0 -1
  124. data/test/sass/templates/subdir/import_up1.scss +0 -1
  125. data/test/sass/templates/subdir/import_up2.scss +0 -1
  126. data/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +0 -2
  127. data/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +0 -3
  128. data/test/sass/templates/subdir/subdir.sass +0 -6
  129. data/test/sass/templates/units.sass +0 -11
  130. data/test/sass/templates/warn.sass +0 -3
  131. data/test/sass/templates/warn_imported.sass +0 -4
  132. data/test/sass/test_helper.rb +0 -8
  133. data/test/sass/util/multibyte_string_scanner_test.rb +0 -152
  134. data/test/sass/util/normalized_map_test.rb +0 -50
  135. data/test/sass/util/subset_map_test.rb +0 -90
  136. data/test/sass/util_test.rb +0 -393
  137. data/test/sass/value_helpers_test.rb +0 -178
  138. data/test/test_helper.rb +0 -149
@@ -1,4 +0,0 @@
1
- h1 { float: left; width: 274px; height: 75px; margin: 0; background-repeat: no-repeat; background-image: none; }
2
- h1 a:hover, h1 a:visited { color: green; }
3
- h1 b:hover { color: red; background-color: green; }
4
- h1 const { nosp: 3; sp: 3; }
@@ -1,9 +0,0 @@
1
- body { font: Arial; background: blue; }
2
-
3
- #page { width: 700px; height: 100; }
4
- #page #header { height: 300px; }
5
- #page #header h1 { font-size: 50px; color: blue; }
6
-
7
- #content.user.show #container.top #column.left { width: 100px; }
8
- #content.user.show #container.top #column.right { width: 600px; }
9
- #content.user.show #container.bottom { background: brown; }
@@ -1,3 +0,0 @@
1
- partial { value: correct; }
2
-
3
- main { value: correct; }
@@ -1,5 +0,0 @@
1
- #main { width: 15em; color: #0000ff; }
2
- #main p { border-style: dotted; /* Nested comment More nested stuff */ border-width: 2px; }
3
- #main .cool { width: 100px; }
4
-
5
- #left { font-size: 2em; font-weight: bold; float: left; }
@@ -1,86 +0,0 @@
1
- body { margin: 0; font: 0.85em "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; color: #fff; background: url(/images/global_bg.gif); }
2
-
3
- #page { width: 900px; margin: 0 auto; background: #440008; border-top-width: 5px; border-top-style: solid; border-top-color: #ff8500; }
4
-
5
- #header { height: 75px; padding: 0; }
6
- #header h1 { float: left; width: 274px; height: 75px; margin: 0; background-image: url(/images/global_logo.gif); /* Crazy nested comment */ background-repeat: no-repeat; text-indent: -9999px; }
7
- #header .status { float: right; padding-top: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-bottom: 0; }
8
- #header .status p { float: left; margin-top: 0; margin-right: 0.5em; margin-bottom: 0; margin-left: 0; }
9
- #header .status ul { float: left; margin: 0; padding: 0; }
10
- #header .status li { list-style-type: none; display: inline; margin: 0 5px; }
11
- #header .status a:link, #header .status a:visited { color: #ff8500; text-decoration: none; }
12
- #header .status a:hover { text-decoration: underline; }
13
- #header .search { float: right; clear: right; margin: 12px 0 0 0; }
14
- #header .search form { margin: 0; }
15
- #header .search input { margin: 0 3px 0 0; padding: 2px; border: none; }
16
-
17
- #menu { clear: both; text-align: right; height: 20px; border-bottom: 5px solid #006b95; background: #00a4e4; }
18
- #menu .contests ul { margin: 0 5px 0 0; padding: 0; }
19
- #menu .contests ul li { list-style-type: none; margin: 0 5px; padding: 5px 5px 0 5px; display: inline; font-size: 1.1em; color: #fff; background: #00a4e4; }
20
- #menu .contests a:link, #menu .contests a:visited { color: #fff; text-decoration: none; font-weight: bold; }
21
- #menu .contests a:hover { text-decoration: underline; }
22
-
23
- #content { clear: both; }
24
- #content .container { clear: both; }
25
- #content .container .column { float: left; }
26
- #content .container .column .right { float: right; }
27
- #content a:link, #content a:visited { color: #93d700; text-decoration: none; }
28
- #content a:hover { text-decoration: underline; }
29
-
30
- #content p, #content div { width: 40em; }
31
- #content p li, #content p dt, #content p dd, #content div li, #content div dt, #content div dd { color: #ddffdd; background-color: #4792bb; }
32
- #content .container.video .column.left { width: 200px; }
33
- #content .container.video .column.left .box { margin-top: 10px; }
34
- #content .container.video .column.left .box p { margin: 0 1em auto 1em; }
35
- #content .container.video .column.left .box.participants img { float: left; margin: 0 1em auto 1em; border: 1px solid #6e000d; border-style: solid; }
36
- #content .container.video .column.left .box.participants h2 { margin: 0 0 10px 0; padding: 0.5em; /* The background image is a gif! */ background: #6e000d url(/images/hdr_participant.gif) 2px 2px no-repeat; /* Okay check this out Multiline comments Wow dude I mean seriously, WOW */ text-indent: -9999px; border-top-width: 5px; border-top-style: solid; border-top-color: #a20013; border-right-width: 1px; border-right-style: dotted; }
37
- #content .container.video .column.middle { width: 500px; }
38
- #content .container.video .column.right { width: 200px; }
39
- #content .container.video .column.right .box { margin-top: 0; }
40
- #content .container.video .column.right .box p { margin: 0 1em auto 1em; }
41
- #content .container.video .column p { margin-top: 0; }
42
-
43
- #content.contests .container.information .column.right .box { margin: 1em 0; }
44
- #content.contests .container.information .column.right .box.videos .thumbnail img { width: 200px; height: 150px; margin-bottom: 5px; }
45
- #content.contests .container.information .column.right .box.videos a:link, #content.contests .container.information .column.right .box.videos a:visited { color: #93d700; text-decoration: none; }
46
- #content.contests .container.information .column.right .box.videos a:hover { text-decoration: underline; }
47
- #content.contests .container.information .column.right .box.votes a { display: block; width: 200px; height: 60px; margin: 15px 0; background: url(/images/btn_votenow.gif) no-repeat; text-indent: -9999px; outline: none; border: none; }
48
- #content.contests .container.information .column.right .box.votes h2 { margin: 52px 0 10px 0; padding: 0.5em; background: #6e000d url(/images/hdr_videostats.gif) 2px 2px no-repeat; text-indent: -9999px; border-top: 5px solid #a20013; }
49
-
50
- #content.contests .container.video .box.videos h2 { margin: 0; padding: 0.5em; background: #6e000d url(/images/hdr_newestclips.gif) 2px 2px no-repeat; text-indent: -9999px; border-top: 5px solid #a20013; }
51
- #content.contests .container.video .box.videos table { width: 100; }
52
- #content.contests .container.video .box.videos table td { padding: 1em; width: 25; vertical-align: top; }
53
- #content.contests .container.video .box.videos table td p { margin: 0 0 5px 0; }
54
- #content.contests .container.video .box.videos table td a:link, #content.contests .container.video .box.videos table td a:visited { color: #93d700; text-decoration: none; }
55
- #content.contests .container.video .box.videos table td a:hover { text-decoration: underline; }
56
- #content.contests .container.video .box.videos .thumbnail { float: left; }
57
- #content.contests .container.video .box.videos .thumbnail img { width: 80px; height: 60px; margin: 0 10px 0 0; border: 1px solid #6e000d; }
58
-
59
- #content .container.comments .column { margin-top: 15px; }
60
- #content .container.comments .column.left { width: 600px; }
61
- #content .container.comments .column.left .box ol { margin: 0; padding: 0; }
62
- #content .container.comments .column.left .box li { list-style-type: none; padding: 10px; margin: 0 0 1em 0; background: #6e000d; border-top: 5px solid #a20013; }
63
- #content .container.comments .column.left .box li div { margin-bottom: 1em; }
64
- #content .container.comments .column.left .box li ul { text-align: right; }
65
- #content .container.comments .column.left .box li ul li { display: inline; border: none; padding: 0; }
66
- #content .container.comments .column.right { width: 290px; padding-left: 10px; }
67
- #content .container.comments .column.right h2 { margin: 0; padding: 0.5em; background: #6e000d url(/images/hdr_addcomment.gif) 2px 2px no-repeat; text-indent: -9999px; border-top: 5px solid #a20013; }
68
- #content .container.comments .column.right .box textarea { width: 290px; height: 100px; border: none; }
69
-
70
- #footer { margin-top: 10px; padding: 1.2em 1.5em; background: #ff8500; }
71
- #footer ul { margin: 0; padding: 0; list-style-type: none; }
72
- #footer ul li { display: inline; margin: 0 0.5em; color: #440008; }
73
- #footer ul.links { float: left; }
74
- #footer ul.links a:link, #footer ul.links a:visited { color: #440008; text-decoration: none; }
75
- #footer ul.links a:hover { text-decoration: underline; }
76
- #footer ul.copyright { float: right; }
77
-
78
- .clear { clear: both; }
79
-
80
- .centered { text-align: center; }
81
-
82
- img { border: none; }
83
-
84
- button.short { width: 60px; height: 22px; padding: 0 0 2px 0; color: #fff; border: none; background: url(/images/btn_short.gif) no-repeat; }
85
-
86
- table { border-collapse: collapse; }
@@ -1 +0,0 @@
1
- #main{width:15em;color:blue}#main p{border-style:dotted;border-width:2px}#main .cool{width:100px}#left{font-size:2em;font-weight:bold;float:left}
@@ -1,19 +0,0 @@
1
- #main {
2
- width: 15em;
3
- color: #0000ff;
4
- }
5
- #main p {
6
- border-style: dotted;
7
- /* Nested comment
8
- * More nested stuff */
9
- border-width: 2px;
10
- }
11
- #main .cool {
12
- width: 100px;
13
- }
14
-
15
- #left {
16
- font-size: 2em;
17
- font-weight: bold;
18
- float: left;
19
- }
@@ -1,3 +0,0 @@
1
- filename { imported: /test/sass/templates/_filename_fn_import.scss; }
2
-
3
- filename { local: /test/sass/templates/filename_fn.scss; local-mixin: /test/sass/templates/filename_fn.scss; local-function: /test/sass/templates/filename_fn.scss; imported-mixin: /test/sass/templates/_filename_fn_import.scss; imported-function: /test/sass/templates/_filename_fn_import.scss; }
@@ -1,3 +0,0 @@
1
- a { branch: if; }
2
-
3
- b { branch: else; }
@@ -1,31 +0,0 @@
1
- @import url(basic.css);
2
- @import url(../results/complex.css);
3
- imported { otherconst: hello; myconst: goodbye; pre-mixin: here; }
4
-
5
- body { font: Arial; background: blue; }
6
-
7
- #page { width: 700px; height: 100; }
8
- #page #header { height: 300px; }
9
- #page #header h1 { font-size: 50px; color: blue; }
10
-
11
- #content.user.show #container.top #column.left { width: 100px; }
12
- #content.user.show #container.top #column.right { width: 600px; }
13
- #content.user.show #container.bottom { background: brown; }
14
-
15
- midrule { inthe: middle; }
16
-
17
- scss { imported: yes; }
18
-
19
- body { font: Arial; background: blue; }
20
-
21
- #page { width: 700px; height: 100; }
22
- #page #header { height: 300px; }
23
- #page #header h1 { font-size: 50px; color: blue; }
24
-
25
- #content.user.show #container.top #column.left { width: 100px; }
26
- #content.user.show #container.top #column.right { width: 600px; }
27
- #content.user.show #container.bottom { background: brown; }
28
-
29
- #foo { background-color: #baf; }
30
-
31
- nonimported { myconst: hello; otherconst: goodbye; post-mixin: here; }
@@ -1,5 +0,0 @@
1
- @charset "UTF-8";
2
- @import url(foo.css);
3
- .foo { a: b; }
4
-
5
- .bar { a: щ; }
@@ -1,5 +0,0 @@
1
- @charset "UTF-8";
2
- @import url(foo.css);
3
- .foo { a: b; }
4
-
5
- .bar { a: щ; }
@@ -1 +0,0 @@
1
- a { b: c; }
@@ -1,49 +0,0 @@
1
- /* line 1, ../templates/line_numbers.sass */
2
- foo {
3
- bar: baz; }
4
-
5
- /* line 6, ../templates/importee.sass */
6
- imported {
7
- otherconst: 12;
8
- myconst: goodbye; }
9
- /* line 5, ../templates/line_numbers.sass */
10
- imported squggle {
11
- blat: bang; }
12
-
13
- /* line 3, ../templates/basic.sass */
14
- body {
15
- font: Arial;
16
- background: blue; }
17
-
18
- /* line 7, ../templates/basic.sass */
19
- #page {
20
- width: 700px;
21
- height: 100; }
22
- /* line 10, ../templates/basic.sass */
23
- #page #header {
24
- height: 300px; }
25
- /* line 12, ../templates/basic.sass */
26
- #page #header h1 {
27
- font-size: 50px;
28
- color: blue; }
29
-
30
- /* line 18, ../templates/basic.sass */
31
- #content.user.show #container.top #column.left {
32
- width: 100px; }
33
- /* line 20, ../templates/basic.sass */
34
- #content.user.show #container.top #column.right {
35
- width: 600px; }
36
- /* line 22, ../templates/basic.sass */
37
- #content.user.show #container.bottom {
38
- background: brown; }
39
-
40
- /* line 13, ../templates/importee.sass */
41
- midrule {
42
- inthe: middle; }
43
-
44
- /* line 12, ../templates/line_numbers.sass */
45
- umph {
46
- foo: bar; }
47
- /* line 18, ../templates/importee.sass */
48
- umph baz {
49
- blat: bang; }
@@ -1,95 +0,0 @@
1
- #main {
2
- width: 15em;
3
- color: #0000ff;
4
- }
5
- #main p {
6
- border-top-width: 2px;
7
- border-top-color: #fc0;
8
- border-left-width: 1px;
9
- border-left-color: #000;
10
- -moz-border-radius: 10px;
11
- border-style: dotted;
12
- border-width: 2px;
13
- }
14
- #main .cool {
15
- width: 100px;
16
- }
17
-
18
- #left {
19
- border-top-width: 2px;
20
- border-top-color: #fc0;
21
- border-left-width: 1px;
22
- border-left-color: #000;
23
- -moz-border-radius: 10px;
24
- font-size: 2em;
25
- font-weight: bold;
26
- float: left;
27
- }
28
-
29
- #right {
30
- border-top-width: 2px;
31
- border-top-color: #fc0;
32
- border-left-width: 1px;
33
- border-left-color: #000;
34
- -moz-border-radius: 10px;
35
- color: #f00;
36
- font-size: 20px;
37
- float: right;
38
- }
39
-
40
- .bordered {
41
- border-top-width: 2px;
42
- border-top-color: #fc0;
43
- border-left-width: 1px;
44
- border-left-color: #000;
45
- -moz-border-radius: 10px;
46
- }
47
-
48
- .complex {
49
- color: #f00;
50
- font-size: 20px;
51
- text-decoration: none;
52
- }
53
- .complex:after {
54
- content: ".";
55
- display: block;
56
- height: 0;
57
- clear: both;
58
- visibility: hidden;
59
- }
60
- * html .complex {
61
- height: 1px;
62
- color: #f00;
63
- font-size: 20px;
64
- }
65
-
66
- .more-complex {
67
- color: #f00;
68
- font-size: 20px;
69
- text-decoration: none;
70
- display: inline;
71
- -webkit-nonsense-top-right: 1px;
72
- -webkit-nonsense-bottom-left: 1px;
73
- }
74
- .more-complex:after {
75
- content: ".";
76
- display: block;
77
- height: 0;
78
- clear: both;
79
- visibility: hidden;
80
- }
81
- * html .more-complex {
82
- height: 1px;
83
- color: #f00;
84
- font-size: 20px;
85
- }
86
- .more-complex a:hover {
87
- text-decoration: underline;
88
- color: #f00;
89
- font-size: 20px;
90
- border-top-width: 2px;
91
- border-top-color: #fc0;
92
- border-left-width: 1px;
93
- border-left-color: #000;
94
- -moz-border-radius: 10px;
95
- }
@@ -1,24 +0,0 @@
1
- #main,
2
- #header {
3
- height: 50px; }
4
- #main div,
5
- #header div {
6
- width: 100px; }
7
- #main div a span,
8
- #main div em span,
9
- #header div a span,
10
- #header div em span {
11
- color: pink; }
12
-
13
- #one div.nested,
14
- #one span.nested,
15
- #one p.nested,
16
- #two div.nested,
17
- #two span.nested,
18
- #two p.nested,
19
- #three div.nested,
20
- #three span.nested,
21
- #three p.nested {
22
- font-weight: bold;
23
- border-color: red;
24
- display: block; }
@@ -1,22 +0,0 @@
1
- #main {
2
- width: 15em;
3
- color: #0000ff; }
4
- #main p {
5
- border-style: dotted;
6
- /* Nested comment
7
- * More nested stuff */
8
- border-width: 2px; }
9
- #main .cool {
10
- width: 100px; }
11
-
12
- #left {
13
- font-size: 2em;
14
- font-weight: bold;
15
- float: left; }
16
-
17
- #right .header {
18
- border-style: solid; }
19
- #right .body {
20
- border-style: dotted; }
21
- #right .footer {
22
- border-style: dashed; }
@@ -1 +0,0 @@
1
- foo { style: compact; }
@@ -1,13 +0,0 @@
1
- a { color: #000; }
2
- a:hover { color: #f00; }
3
-
4
- p, div { width: 100em; }
5
- p foo, div foo { width: 10em; }
6
- p:hover, p bar, div:hover, div bar { height: 20em; }
7
-
8
- #cool { border-style: solid; border-width: 2em; }
9
- .ie7 #cool, .ie6 #cool { content: string("Totally not cool."); }
10
- .firefox #cool { content: string("Quite cool."); }
11
-
12
- .wow, .snazzy { font-family: fantasy; }
13
- .wow:hover, .wow:visited, .snazzy:hover, .snazzy:visited { font-weight: bold; }
@@ -1,16 +0,0 @@
1
- #main { content: Hello\!; qstr: 'Quo"ted"!'; hstr: Hyph-en\!; width: 30em; background-color: #000; color: #ffa; short-color: #123; named-color: olive; con: "foo" bar 9 hi there "boom"; con2: "noquo" quo; }
2
- #main #sidebar { background-color: #00ff98; num-normal: 10; num-dec: 10.2; num-dec0: 99; num-neg: -10; esc: 10\+12; many: 6; order: 7; complex: #4c9db1hi16; }
3
-
4
- #plus { num-num: 7; num-num-un: 25em; num-num-un2: 23em; num-num-neg: 9.87; num-str: 100px; num-col: #b7b7b7; num-perc: 31%; str-str: "hi there"; str-str2: "hi there"; str-col: "14em solid #123"; str-num: "times: 13"; col-num: #ff7c9e; col-col: #5173ff; }
5
-
6
- #minus { num-num: 900; col-num: #fafaf5; col-col: #000035; unary-num: -1; unary-const: 10; unary-paren: -11; unary-two: 12; unary-many: 12; unary-crazy: -15; }
7
-
8
- #times { num-num: 7; num-col: #7496b8; col-num: #092345; col-col: #243648; }
9
-
10
- #div { num-num: 3.3333333333; num-num2: 3.3333333333; col-num: #092345; col-col: #0b0e10; comp: 1px; }
11
-
12
- #mod { num-num: 2; col-col: #0f0e05; col-num: #020001; }
13
-
14
- #const { escaped-quote: \$foo \!bar; default: Hello\! !important; }
15
-
16
- #regression { a: 4; }
@@ -1,31 +0,0 @@
1
- @import url(basic.css);
2
- @import url(../results/complex.css);
3
- imported { otherconst: hello; myconst: goodbye; pre-mixin: here; }
4
-
5
- body { font: Arial; background: blue; }
6
-
7
- #page { width: 700px; height: 100; }
8
- #page #header { height: 300px; }
9
- #page #header h1 { font-size: 50px; color: blue; }
10
-
11
- #content.user.show #container.top #column.left { width: 100px; }
12
- #content.user.show #container.top #column.right { width: 600px; }
13
- #content.user.show #container.bottom { background: brown; }
14
-
15
- midrule { inthe: middle; }
16
-
17
- scss { imported: yes; }
18
-
19
- body { font: Arial; background: blue; }
20
-
21
- #page { width: 700px; height: 100; }
22
- #page #header { height: 300px; }
23
- #page #header h1 { font-size: 50px; color: blue; }
24
-
25
- #content.user.show #container.top #column.left { width: 100px; }
26
- #content.user.show #container.top #column.right { width: 600px; }
27
- #content.user.show #container.bottom { background: brown; }
28
-
29
- #foo { background-color: #baf; }
30
-
31
- nonimported { myconst: hello; otherconst: goodbye; post-mixin: here; }