aliddle-sass 1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +11 -0
- data/CONTRIBUTING +3 -0
- data/MIT-LICENSE +20 -0
- data/README.md +201 -0
- data/Rakefile +347 -0
- data/VERSION +1 -0
- data/VERSION_NAME +1 -0
- data/bin/sass +9 -0
- data/bin/sass-convert +8 -0
- data/bin/scss +9 -0
- data/extra/update_watch.rb +13 -0
- data/init.rb +18 -0
- data/lib/sass.rb +95 -0
- data/lib/sass/cache_stores.rb +15 -0
- data/lib/sass/cache_stores/base.rb +88 -0
- data/lib/sass/cache_stores/chain.rb +33 -0
- data/lib/sass/cache_stores/filesystem.rb +60 -0
- data/lib/sass/cache_stores/memory.rb +47 -0
- data/lib/sass/cache_stores/null.rb +25 -0
- data/lib/sass/callbacks.rb +66 -0
- data/lib/sass/css.rb +409 -0
- data/lib/sass/engine.rb +928 -0
- data/lib/sass/environment.rb +101 -0
- data/lib/sass/error.rb +201 -0
- data/lib/sass/exec.rb +707 -0
- data/lib/sass/importers.rb +22 -0
- data/lib/sass/importers/base.rb +139 -0
- data/lib/sass/importers/filesystem.rb +190 -0
- data/lib/sass/logger.rb +15 -0
- data/lib/sass/logger/base.rb +32 -0
- data/lib/sass/logger/log_level.rb +49 -0
- data/lib/sass/media.rb +213 -0
- data/lib/sass/plugin.rb +132 -0
- data/lib/sass/plugin/compiler.rb +406 -0
- data/lib/sass/plugin/configuration.rb +123 -0
- data/lib/sass/plugin/generic.rb +15 -0
- data/lib/sass/plugin/merb.rb +48 -0
- data/lib/sass/plugin/rack.rb +60 -0
- data/lib/sass/plugin/rails.rb +47 -0
- data/lib/sass/plugin/staleness_checker.rb +183 -0
- data/lib/sass/railtie.rb +9 -0
- data/lib/sass/repl.rb +57 -0
- data/lib/sass/root.rb +7 -0
- data/lib/sass/script.rb +39 -0
- data/lib/sass/script/arg_list.rb +52 -0
- data/lib/sass/script/bool.rb +18 -0
- data/lib/sass/script/color.rb +606 -0
- data/lib/sass/script/css_lexer.rb +29 -0
- data/lib/sass/script/css_parser.rb +31 -0
- data/lib/sass/script/funcall.rb +237 -0
- data/lib/sass/script/functions.rb +1543 -0
- data/lib/sass/script/interpolation.rb +79 -0
- data/lib/sass/script/lexer.rb +348 -0
- data/lib/sass/script/list.rb +85 -0
- data/lib/sass/script/literal.rb +221 -0
- data/lib/sass/script/node.rb +99 -0
- data/lib/sass/script/null.rb +37 -0
- data/lib/sass/script/number.rb +453 -0
- data/lib/sass/script/operation.rb +110 -0
- data/lib/sass/script/parser.rb +495 -0
- data/lib/sass/script/string.rb +51 -0
- data/lib/sass/script/string_interpolation.rb +103 -0
- data/lib/sass/script/unary_operation.rb +69 -0
- data/lib/sass/script/variable.rb +58 -0
- data/lib/sass/scss.rb +16 -0
- data/lib/sass/scss/css_parser.rb +36 -0
- data/lib/sass/scss/parser.rb +1179 -0
- data/lib/sass/scss/rx.rb +133 -0
- data/lib/sass/scss/script_lexer.rb +15 -0
- data/lib/sass/scss/script_parser.rb +25 -0
- data/lib/sass/scss/static_parser.rb +54 -0
- data/lib/sass/selector.rb +452 -0
- data/lib/sass/selector/abstract_sequence.rb +94 -0
- data/lib/sass/selector/comma_sequence.rb +92 -0
- data/lib/sass/selector/sequence.rb +507 -0
- data/lib/sass/selector/simple.rb +119 -0
- data/lib/sass/selector/simple_sequence.rb +212 -0
- data/lib/sass/shared.rb +76 -0
- data/lib/sass/supports.rb +229 -0
- data/lib/sass/tree/charset_node.rb +22 -0
- data/lib/sass/tree/comment_node.rb +82 -0
- data/lib/sass/tree/content_node.rb +9 -0
- data/lib/sass/tree/css_import_node.rb +60 -0
- data/lib/sass/tree/debug_node.rb +18 -0
- data/lib/sass/tree/directive_node.rb +42 -0
- data/lib/sass/tree/each_node.rb +24 -0
- data/lib/sass/tree/extend_node.rb +36 -0
- data/lib/sass/tree/for_node.rb +36 -0
- data/lib/sass/tree/function_node.rb +34 -0
- data/lib/sass/tree/if_node.rb +52 -0
- data/lib/sass/tree/import_node.rb +75 -0
- data/lib/sass/tree/media_node.rb +58 -0
- data/lib/sass/tree/mixin_def_node.rb +38 -0
- data/lib/sass/tree/mixin_node.rb +39 -0
- data/lib/sass/tree/node.rb +196 -0
- data/lib/sass/tree/prop_node.rb +152 -0
- data/lib/sass/tree/return_node.rb +18 -0
- data/lib/sass/tree/root_node.rb +28 -0
- data/lib/sass/tree/rule_node.rb +132 -0
- data/lib/sass/tree/supports_node.rb +51 -0
- data/lib/sass/tree/trace_node.rb +32 -0
- data/lib/sass/tree/variable_node.rb +30 -0
- data/lib/sass/tree/visitors/base.rb +75 -0
- data/lib/sass/tree/visitors/check_nesting.rb +147 -0
- data/lib/sass/tree/visitors/convert.rb +316 -0
- data/lib/sass/tree/visitors/cssize.rb +229 -0
- data/lib/sass/tree/visitors/deep_copy.rb +102 -0
- data/lib/sass/tree/visitors/extend.rb +68 -0
- data/lib/sass/tree/visitors/perform.rb +446 -0
- data/lib/sass/tree/visitors/set_options.rb +125 -0
- data/lib/sass/tree/visitors/to_css.rb +230 -0
- data/lib/sass/tree/warn_node.rb +18 -0
- data/lib/sass/tree/while_node.rb +18 -0
- data/lib/sass/util.rb +906 -0
- data/lib/sass/util/multibyte_string_scanner.rb +155 -0
- data/lib/sass/util/subset_map.rb +109 -0
- data/lib/sass/util/test.rb +10 -0
- data/lib/sass/version.rb +126 -0
- data/rails/init.rb +1 -0
- data/test/Gemfile +3 -0
- data/test/Gemfile.lock +10 -0
- data/test/sass/cache_test.rb +89 -0
- data/test/sass/callbacks_test.rb +61 -0
- data/test/sass/conversion_test.rb +1760 -0
- data/test/sass/css2sass_test.rb +439 -0
- data/test/sass/data/hsl-rgb.txt +319 -0
- data/test/sass/engine_test.rb +3243 -0
- data/test/sass/exec_test.rb +86 -0
- data/test/sass/extend_test.rb +1461 -0
- data/test/sass/fixtures/test_staleness_check_across_importers.css +1 -0
- data/test/sass/fixtures/test_staleness_check_across_importers.scss +1 -0
- data/test/sass/functions_test.rb +1139 -0
- data/test/sass/importer_test.rb +192 -0
- data/test/sass/logger_test.rb +58 -0
- data/test/sass/mock_importer.rb +49 -0
- data/test/sass/more_results/more1.css +9 -0
- data/test/sass/more_results/more1_with_line_comments.css +26 -0
- data/test/sass/more_results/more_import.css +29 -0
- data/test/sass/more_templates/_more_partial.sass +2 -0
- data/test/sass/more_templates/more1.sass +23 -0
- data/test/sass/more_templates/more_import.sass +11 -0
- data/test/sass/plugin_test.rb +550 -0
- data/test/sass/results/alt.css +4 -0
- data/test/sass/results/basic.css +9 -0
- data/test/sass/results/cached_import_option.css +3 -0
- data/test/sass/results/compact.css +5 -0
- data/test/sass/results/complex.css +86 -0
- data/test/sass/results/compressed.css +1 -0
- data/test/sass/results/expanded.css +19 -0
- data/test/sass/results/filename_fn.css +3 -0
- data/test/sass/results/if.css +3 -0
- data/test/sass/results/import.css +31 -0
- data/test/sass/results/import_charset.css +5 -0
- data/test/sass/results/import_charset_1_8.css +5 -0
- data/test/sass/results/import_charset_ibm866.css +5 -0
- data/test/sass/results/import_content.css +1 -0
- data/test/sass/results/line_numbers.css +49 -0
- data/test/sass/results/mixins.css +95 -0
- data/test/sass/results/multiline.css +24 -0
- data/test/sass/results/nested.css +22 -0
- data/test/sass/results/options.css +1 -0
- data/test/sass/results/parent_ref.css +13 -0
- data/test/sass/results/script.css +16 -0
- data/test/sass/results/scss_import.css +31 -0
- data/test/sass/results/scss_importee.css +2 -0
- data/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
- data/test/sass/results/subdir/subdir.css +3 -0
- data/test/sass/results/units.css +11 -0
- data/test/sass/results/warn.css +0 -0
- data/test/sass/results/warn_imported.css +0 -0
- data/test/sass/script_conversion_test.rb +299 -0
- data/test/sass/script_test.rb +591 -0
- data/test/sass/scss/css_test.rb +1093 -0
- data/test/sass/scss/rx_test.rb +156 -0
- data/test/sass/scss/scss_test.rb +2043 -0
- data/test/sass/scss/test_helper.rb +37 -0
- data/test/sass/templates/_cached_import_option_partial.scss +1 -0
- data/test/sass/templates/_double_import_loop2.sass +1 -0
- data/test/sass/templates/_filename_fn_import.scss +11 -0
- data/test/sass/templates/_imported_charset_ibm866.sass +4 -0
- data/test/sass/templates/_imported_charset_utf8.sass +4 -0
- data/test/sass/templates/_imported_content.sass +3 -0
- data/test/sass/templates/_partial.sass +2 -0
- data/test/sass/templates/_same_name_different_partiality.scss +1 -0
- data/test/sass/templates/alt.sass +16 -0
- data/test/sass/templates/basic.sass +23 -0
- data/test/sass/templates/bork1.sass +2 -0
- data/test/sass/templates/bork2.sass +2 -0
- data/test/sass/templates/bork3.sass +2 -0
- data/test/sass/templates/bork4.sass +2 -0
- data/test/sass/templates/bork5.sass +3 -0
- data/test/sass/templates/cached_import_option.scss +3 -0
- data/test/sass/templates/compact.sass +17 -0
- data/test/sass/templates/complex.sass +305 -0
- data/test/sass/templates/compressed.sass +15 -0
- data/test/sass/templates/double_import_loop1.sass +1 -0
- data/test/sass/templates/expanded.sass +17 -0
- data/test/sass/templates/filename_fn.scss +18 -0
- data/test/sass/templates/if.sass +11 -0
- data/test/sass/templates/import.sass +12 -0
- data/test/sass/templates/import_charset.sass +9 -0
- data/test/sass/templates/import_charset_1_8.sass +6 -0
- data/test/sass/templates/import_charset_ibm866.sass +11 -0
- data/test/sass/templates/import_content.sass +4 -0
- data/test/sass/templates/importee.less +2 -0
- data/test/sass/templates/importee.sass +19 -0
- data/test/sass/templates/line_numbers.sass +13 -0
- data/test/sass/templates/mixin_bork.sass +5 -0
- data/test/sass/templates/mixins.sass +76 -0
- data/test/sass/templates/multiline.sass +20 -0
- data/test/sass/templates/nested.sass +25 -0
- data/test/sass/templates/nested_bork1.sass +2 -0
- data/test/sass/templates/nested_bork2.sass +2 -0
- data/test/sass/templates/nested_bork3.sass +2 -0
- data/test/sass/templates/nested_bork4.sass +2 -0
- data/test/sass/templates/nested_import.sass +2 -0
- data/test/sass/templates/nested_mixin_bork.sass +6 -0
- data/test/sass/templates/options.sass +2 -0
- data/test/sass/templates/parent_ref.sass +25 -0
- data/test/sass/templates/same_name_different_ext.sass +2 -0
- data/test/sass/templates/same_name_different_ext.scss +1 -0
- data/test/sass/templates/same_name_different_partiality.scss +1 -0
- data/test/sass/templates/script.sass +101 -0
- data/test/sass/templates/scss_import.scss +11 -0
- data/test/sass/templates/scss_importee.scss +1 -0
- data/test/sass/templates/single_import_loop.sass +1 -0
- data/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
- data/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
- data/test/sass/templates/subdir/subdir.sass +6 -0
- data/test/sass/templates/units.sass +11 -0
- data/test/sass/templates/warn.sass +3 -0
- data/test/sass/templates/warn_imported.sass +4 -0
- data/test/sass/test_helper.rb +8 -0
- data/test/sass/util/multibyte_string_scanner_test.rb +147 -0
- data/test/sass/util/subset_map_test.rb +91 -0
- data/test/sass/util_test.rb +313 -0
- data/test/test_helper.rb +80 -0
- metadata +348 -0
@@ -0,0 +1,9 @@
|
|
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; }
|
@@ -0,0 +1,86 @@
|
|
1
|
+
body { margin: 0; font: 0.85em "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; color: white; 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: white; background: #00a4e4; }
|
20
|
+
#menu .contests a:link, #menu .contests a:visited { color: white; 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: white; border: none; background: url(/images/btn_short.gif) no-repeat; }
|
85
|
+
|
86
|
+
table { border-collapse: collapse; }
|
@@ -0,0 +1 @@
|
|
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}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#main {
|
2
|
+
width: 15em;
|
3
|
+
color: blue;
|
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
|
+
}
|
@@ -0,0 +1,3 @@
|
|
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; }
|
@@ -0,0 +1,31 @@
|
|
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: #bbaaff; }
|
30
|
+
|
31
|
+
nonimported { myconst: hello; otherconst: goodbye; post-mixin: here; }
|
@@ -0,0 +1 @@
|
|
1
|
+
a { b: c; }
|
@@ -0,0 +1,49 @@
|
|
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; }
|
@@ -0,0 +1,95 @@
|
|
1
|
+
#main {
|
2
|
+
width: 15em;
|
3
|
+
color: blue;
|
4
|
+
}
|
5
|
+
#main p {
|
6
|
+
border-top-width: 2px;
|
7
|
+
border-top-color: #ffcc00;
|
8
|
+
border-left-width: 1px;
|
9
|
+
border-left-color: black;
|
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: #ffcc00;
|
21
|
+
border-left-width: 1px;
|
22
|
+
border-left-color: black;
|
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: #ffcc00;
|
32
|
+
border-left-width: 1px;
|
33
|
+
border-left-color: black;
|
34
|
+
-moz-border-radius: 10px;
|
35
|
+
color: red;
|
36
|
+
font-size: 20px;
|
37
|
+
float: right;
|
38
|
+
}
|
39
|
+
|
40
|
+
.bordered {
|
41
|
+
border-top-width: 2px;
|
42
|
+
border-top-color: #ffcc00;
|
43
|
+
border-left-width: 1px;
|
44
|
+
border-left-color: black;
|
45
|
+
-moz-border-radius: 10px;
|
46
|
+
}
|
47
|
+
|
48
|
+
.complex {
|
49
|
+
color: red;
|
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: red;
|
63
|
+
font-size: 20px;
|
64
|
+
}
|
65
|
+
|
66
|
+
.more-complex {
|
67
|
+
color: red;
|
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: red;
|
84
|
+
font-size: 20px;
|
85
|
+
}
|
86
|
+
.more-complex a:hover {
|
87
|
+
text-decoration: underline;
|
88
|
+
color: red;
|
89
|
+
font-size: 20px;
|
90
|
+
border-top-width: 2px;
|
91
|
+
border-top-color: #ffcc00;
|
92
|
+
border-left-width: 1px;
|
93
|
+
border-left-color: black;
|
94
|
+
-moz-border-radius: 10px;
|
95
|
+
}
|
@@ -0,0 +1,24 @@
|
|
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; }
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#main {
|
2
|
+
width: 15em;
|
3
|
+
color: blue; }
|
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; }
|
@@ -0,0 +1 @@
|
|
1
|
+
foo { style: compact; }
|
@@ -0,0 +1,13 @@
|
|
1
|
+
a { color: black; }
|
2
|
+
a:hover { color: red; }
|
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; }
|
@@ -0,0 +1,16 @@
|
|
1
|
+
#main { content: Hello\!; qstr: 'Quo"ted"!'; hstr: Hyph-en\!; width: 30em; background-color: black; color: #ffffaa; short-color: #112233; 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 #112233"; str-num: "times: 13"; col-num: #ff7b9d; col-col: #5173ff; }
|
5
|
+
|
6
|
+
#minus { num-num: 900; col-num: #f9f9f4; 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.33333; num-num2: 3.33333; col-num: #092345; col-col: #0b0d0f; 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; }
|
@@ -0,0 +1,31 @@
|
|
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: #bbaaff; }
|
30
|
+
|
31
|
+
nonimported { myconst: hello; otherconst: goodbye; post-mixin: here; }
|