compass 0.12.7 → 0.13.alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -6
- data/VERSION.yml +6 -0
- data/bin/compass +1 -2
- data/bin/compass.compiled.rbc +707 -0
- data/examples/compass/images/emblem-a043c4f148.png +0 -0
- data/examples/compass/images/flag-03c3b29b35.png +0 -0
- data/examples/compass/images/flag-21cfbfbfc8.png +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/Prociono.otf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/bgrove.otf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/bgrove.ttf +0 -0
- data/features/step_definitions/command_line_steps.rb +1 -1
- data/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss +38 -41
- data/frameworks/compass/stylesheets/compass/_css3.scss +1 -3
- data/frameworks/compass/stylesheets/compass/_support.scss +0 -4
- data/frameworks/compass/stylesheets/compass/css3/_animation.scss +127 -0
- data/frameworks/compass/stylesheets/compass/css3/_appearance.scss +3 -4
- data/frameworks/compass/stylesheets/compass/css3/_box.scss +2 -2
- data/frameworks/compass/stylesheets/compass/css3/_columns.scss +11 -97
- data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +4 -4
- data/frameworks/compass/stylesheets/compass/css3/_images.scss +2 -2
- data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +7 -13
- data/frameworks/compass/stylesheets/compass/css3/_shared.scss +38 -0
- data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +13 -52
- data/frameworks/compass/stylesheets/compass/css3/_transform.scss +14 -14
- data/frameworks/compass/stylesheets/compass/css3/_transition.scss +60 -127
- data/frameworks/compass/stylesheets/compass/css3/_user-interface.scss +21 -0
- data/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss +8 -6
- data/frameworks/compass/stylesheets/compass/typography/text/_replacement.scss +9 -35
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss +9 -5
- data/lib/compass.rbc +796 -0
- data/lib/compass/actions.rb +4 -6
- data/lib/compass/actions.rbc +2736 -0
- data/lib/compass/app_integration.rbc +836 -0
- data/lib/compass/app_integration/merb.rbc +106 -0
- data/lib/compass/app_integration/rails.rbc +2096 -0
- data/lib/compass/app_integration/rails/configuration_defaults.rbc +2430 -0
- data/lib/compass/app_integration/rails/installer.rbc +3677 -0
- data/lib/compass/app_integration/stand_alone.rbc +589 -0
- data/lib/compass/app_integration/stand_alone/configuration_defaults.rbc +721 -0
- data/lib/compass/app_integration/stand_alone/installer.rbc +1487 -0
- data/lib/compass/browser_support.rbc +1144 -0
- data/lib/compass/commands.rbc +307 -0
- data/lib/compass/commands/base.rbc +1044 -0
- data/lib/compass/commands/clean_project.rbc +1856 -0
- data/lib/compass/commands/create_project.rbc +2691 -0
- data/lib/compass/commands/default.rbc +1677 -0
- data/lib/compass/commands/generate_grid_background.rbc +1939 -0
- data/lib/compass/commands/help.rbc +1921 -0
- data/lib/compass/commands/imports.rbc +969 -0
- data/lib/compass/commands/installer_command.rbc +807 -0
- data/lib/compass/commands/interactive.rbc +1341 -0
- data/lib/compass/commands/list_frameworks.rbc +1111 -0
- data/lib/compass/commands/print_version.rbc +2478 -0
- data/lib/compass/commands/project_base.rb +1 -7
- data/lib/compass/commands/project_base.rbc +2085 -0
- data/lib/compass/commands/project_stats.rbc +4202 -0
- data/lib/compass/commands/registry.rbc +1350 -0
- data/lib/compass/commands/sprite.rbc +2212 -0
- data/lib/compass/commands/stamp_pattern.rbc +2011 -0
- data/lib/compass/commands/unpack_extension.rbc +2348 -0
- data/lib/compass/commands/update_project.rb +2 -2
- data/lib/compass/commands/update_project.rbc +3002 -0
- data/lib/compass/commands/validate_project.rbc +1686 -0
- data/lib/compass/commands/watch_project.rbc +4155 -0
- data/lib/compass/commands/write_configuration.rbc +2896 -0
- data/lib/compass/compiler.rb +2 -1
- data/lib/compass/compiler.rbc +4913 -0
- data/lib/compass/configuration.rbc +1398 -0
- data/lib/compass/configuration/adapters.rbc +2088 -0
- data/lib/compass/configuration/comments.rbc +843 -0
- data/lib/compass/configuration/data.rbc +2633 -0
- data/lib/compass/configuration/defaults.rbc +3617 -0
- data/lib/compass/configuration/file_data.rbc +643 -0
- data/lib/compass/configuration/helpers.rbc +3500 -0
- data/lib/compass/configuration/inheritance.rbc +3592 -0
- data/lib/compass/configuration/paths.rbc +412 -0
- data/lib/compass/configuration/serialization.rbc +1996 -0
- data/lib/compass/dependencies.rbc +232 -0
- data/lib/compass/errors.rbc +176 -0
- data/lib/compass/exec.rbc +500 -0
- data/lib/compass/exec/command_option_parser.rbc +676 -0
- data/lib/compass/exec/global_options_parser.rb +1 -1
- data/lib/compass/exec/global_options_parser.rbc +1306 -0
- data/lib/compass/exec/helpers.rbc +758 -0
- data/lib/compass/exec/project_options_parser.rb +0 -8
- data/lib/compass/exec/project_options_parser.rbc +1515 -0
- data/lib/compass/exec/sub_command_ui.rbc +1191 -0
- data/lib/compass/frameworks.rbc +3640 -0
- data/lib/compass/grid_builder.rbc +0 -0
- data/lib/compass/installers.rbc +152 -0
- data/lib/compass/installers/bare_installer.rbc +939 -0
- data/lib/compass/installers/base.rbc +4427 -0
- data/lib/compass/installers/manifest.rbc +3335 -0
- data/lib/compass/installers/manifest_installer.rbc +1591 -0
- data/lib/compass/installers/template_context.rbc +1030 -0
- data/lib/compass/logger.rbc +2317 -0
- data/lib/compass/quick_cache.rbc +324 -0
- data/lib/compass/sass_extensions.rbc +213 -0
- data/lib/compass/sass_extensions/functions.rbc +808 -0
- data/lib/compass/sass_extensions/functions/colors.rb +0 -14
- data/lib/compass/sass_extensions/functions/colors.rbc +1279 -0
- data/lib/compass/sass_extensions/functions/constants.rb +0 -9
- data/lib/compass/sass_extensions/functions/constants.rbc +1921 -0
- data/lib/compass/sass_extensions/functions/cross_browser_support.rbc +1966 -0
- data/lib/compass/sass_extensions/functions/display.rbc +1227 -0
- data/lib/compass/sass_extensions/functions/enumerate.rbc +446 -0
- data/lib/compass/sass_extensions/functions/env.rb +18 -0
- data/lib/compass/sass_extensions/functions/env.rbc +299 -0
- data/lib/compass/sass_extensions/functions/font_files.rbc +821 -0
- data/lib/compass/sass_extensions/functions/gradient_support.rb +4 -11
- data/lib/compass/sass_extensions/functions/gradient_support.rbc +14147 -0
- data/lib/compass/sass_extensions/functions/image_size.rbc +3152 -0
- data/lib/compass/sass_extensions/functions/inline_image.rbc +1678 -0
- data/lib/compass/sass_extensions/functions/lists.rbc +2601 -0
- data/lib/compass/sass_extensions/functions/math.rb +1 -1
- data/lib/compass/sass_extensions/functions/selectors.rbc +1592 -0
- data/lib/compass/sass_extensions/functions/sprites.rb +11 -14
- data/lib/compass/sass_extensions/functions/sprites.rbc +3792 -0
- data/lib/compass/sass_extensions/functions/trig.rbc +811 -0
- data/lib/compass/sass_extensions/functions/urls.rbc +5248 -0
- data/lib/compass/sass_extensions/monkey_patches.rbc +134 -0
- data/lib/compass/sass_extensions/monkey_patches/browser_support.rbc +2169 -0
- data/lib/compass/sass_extensions/monkey_patches/traversal.rbc +660 -0
- data/lib/compass/sass_extensions/sprites.rbc +363 -0
- data/lib/compass/sass_extensions/sprites/base.rbc +4529 -0
- data/lib/compass/sass_extensions/sprites/engines.rb +3 -3
- data/lib/compass/sass_extensions/sprites/engines.rbc +662 -0
- data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb +6 -8
- data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rbc +1074 -0
- data/lib/compass/sass_extensions/sprites/image.rbc +2961 -0
- data/lib/compass/sass_extensions/sprites/image_methods.rb +1 -0
- data/lib/compass/sass_extensions/sprites/image_methods.rbc +900 -0
- data/lib/compass/sass_extensions/sprites/image_row.rbc +1168 -0
- data/lib/compass/sass_extensions/sprites/layout_methods.rbc +3236 -0
- data/lib/compass/sass_extensions/sprites/row_fitter.rbc +2067 -0
- data/lib/compass/sass_extensions/sprites/sprite_map.rb +0 -1
- data/lib/compass/sass_extensions/sprites/sprite_map.rbc +1991 -0
- data/lib/compass/sass_extensions/sprites/sprite_methods.rb +3 -13
- data/lib/compass/sass_extensions/sprites/sprite_methods.rbc +3190 -0
- data/lib/compass/sass_extensions/sprites/sprites.rbc +1573 -0
- data/lib/compass/sprite_importer.rb +6 -10
- data/lib/compass/sprite_importer.rbc +3573 -0
- data/lib/compass/sprite_importer/content.erb +14 -12
- data/lib/compass/util.rbc +552 -0
- data/lib/compass/version.rb +11 -15
- data/lib/compass/version.rbc +1245 -0
- data/test/fixtures/sprites/public/images/numeric/200.png +0 -0
- data/test/fixtures/stylesheets/blueprint/css/screen.css +3 -2
- data/test/fixtures/stylesheets/blueprint/css/single-imports/buttons.css +8 -6
- data/test/fixtures/stylesheets/blueprint/css/single-imports/debug.css +2 -1
- data/test/fixtures/stylesheets/blueprint/css/single-imports/fancy-type.css +1 -1
- data/test/fixtures/stylesheets/blueprint/css/single-imports/reset-utilities.css +2 -41
- data/test/fixtures/stylesheets/blueprint/css/single-imports/reset.css +3 -5
- data/test/fixtures/stylesheets/busted_image_urls/tmp/screen.css +9 -0
- data/test/fixtures/stylesheets/compass/css/animation-with-legacy-ie.css +41 -0
- data/test/fixtures/stylesheets/compass/css/animation.css +41 -0
- data/test/fixtures/stylesheets/compass/css/columns.css +12 -120
- data/test/fixtures/stylesheets/compass/css/fonts.css +1 -1
- data/test/fixtures/stylesheets/compass/css/gradients.css +25 -1
- data/test/fixtures/stylesheets/compass/css/grid_background.css +14 -7
- data/test/fixtures/stylesheets/compass/css/lists.css +8 -6
- data/test/fixtures/stylesheets/compass/css/pie.css +1 -0
- data/test/fixtures/stylesheets/compass/css/reset.css +1 -1
- data/test/fixtures/stylesheets/compass/css/text_shadow.css +4 -22
- data/test/fixtures/stylesheets/compass/css/transition.css +16 -66
- data/test/fixtures/stylesheets/compass/css/user-interface.css +10 -0
- data/test/fixtures/stylesheets/compass/css/vertical_rhythm.css +21 -21
- data/test/fixtures/stylesheets/compass/sass/animation-with-legacy-ie.scss +19 -0
- data/test/fixtures/stylesheets/compass/sass/animation.scss +13 -0
- data/test/fixtures/stylesheets/compass/sass/columns.scss +0 -18
- data/test/fixtures/stylesheets/compass/sass/gradients.sass +4 -2
- data/test/fixtures/stylesheets/compass/sass/text_shadow.scss +1 -6
- data/test/fixtures/stylesheets/compass/sass/transition.scss +1 -12
- data/test/fixtures/stylesheets/compass/sass/user-interface.scss +7 -0
- data/test/fixtures/stylesheets/envtest/css/env.css +8 -0
- data/test/fixtures/stylesheets/envtest/sass/env.scss +16 -0
- data/test/fixtures/stylesheets/envtest/tmp/env.css +14 -0
- data/test/helpers/command_line.rbc +2820 -0
- data/test/helpers/diff.rbc +1104 -0
- data/test/helpers/io.rbc +962 -0
- data/test/helpers/rails.rbc +1116 -0
- data/test/helpers/test_case.rb +1 -8
- data/test/helpers/test_case.rbc +1255 -0
- data/test/integrations/compass_test.rb +10 -1
- data/test/integrations/compass_test.rbc +6589 -0
- data/test/integrations/rails_integration_test.rbc +1342 -0
- data/test/integrations/sprites_test.rb +70 -27
- data/test/integrations/sprites_test.rbc +6192 -0
- data/test/test_helper.rb +1 -2
- data/test/test_helper.rbc +1694 -0
- data/test/units/actions_test.rbc +644 -0
- data/test/units/command_line_test.rbc +1532 -0
- data/test/units/compass_module_test.rb +1 -1
- data/test/units/compass_png_test.rbc +0 -0
- data/test/units/configuration_test.rbc +3833 -0
- data/test/units/rails_configuration_test.rbc +1032 -0
- data/test/units/sass_extensions_test.rb +11 -21
- data/test/units/sass_extensions_test.rbc +3586 -0
- data/test/units/sprites/engine_test.rbc +962 -0
- data/test/units/sprites/image_row_test.rbc +1578 -0
- data/test/units/sprites/image_test.rbc +2836 -0
- data/test/units/sprites/importer_test.rbc +2620 -0
- data/test/units/sprites/row_fitter_test.rbc +1479 -0
- data/test/units/sprites/sprite_command_test.rbc +1147 -0
- data/test/units/sprites/sprite_map_test.rbc +6515 -0
- metadata +241 -94
- checksums.yaml +0 -7
- data/frameworks/compass/stylesheets/compass/css3/_filter.scss +0 -23
- data/frameworks/compass/stylesheets/compass/css3/_hyphenation.scss +0 -77
- data/test/fixtures/stylesheets/compass/css/filters.css +0 -29
- data/test/fixtures/stylesheets/compass/css/hyphenation.css +0 -16
- data/test/fixtures/stylesheets/compass/css/replacement.css +0 -59
- data/test/fixtures/stylesheets/compass/sass/filters.scss +0 -24
- data/test/fixtures/stylesheets/compass/sass/hyphenation.scss +0 -11
- data/test/fixtures/stylesheets/compass/sass/replacement.scss +0 -22
- data/test/units/regressions_test.rb +0 -35
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 8cdf3c3c14bde97e756d17ca923eaceaf82a000d
|
4
|
-
data.tar.gz: 4d4092b45becd4f31e83f8fcce34bc722d59aeb0
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 88aa157548a661aec67a7901916de273a96c129e10dcdafea6b6bb6ea64592d105d431e26cd4a5d0a453c3c24259c9c7d4e760904c08c914cad9ca63ef8b6ffe
|
7
|
-
data.tar.gz: 8b7410f69c6d274eb8b2434171e69f35192130185439bb9cc1d5335111b2f28af821196f6e1746f6e0a06a1ca55fec2d06fdc256b98c9d5e3c84b098cd12996e
|
@@ -1,23 +0,0 @@
|
|
1
|
-
@import "shared";
|
2
|
-
|
3
|
-
// Provides cross-browser support for the upcoming (?) css3 filter property.
|
4
|
-
//
|
5
|
-
// Each filter argument should adhere to the standard css3 syntax for the
|
6
|
-
// filter property.
|
7
|
-
@mixin filter (
|
8
|
-
$filter-1,
|
9
|
-
$filter-2 : false,
|
10
|
-
$filter-3 : false,
|
11
|
-
$filter-4 : false,
|
12
|
-
$filter-5 : false,
|
13
|
-
$filter-6 : false,
|
14
|
-
$filter-7 : false,
|
15
|
-
$filter-8 : false,
|
16
|
-
$filter-9 : false,
|
17
|
-
$filter-10: false
|
18
|
-
) {
|
19
|
-
$filter : compact($filter-1, $filter-2, $filter-3, $filter-4, $filter-5, $filter-6, $filter-7, $filter-8, $filter-9, $filter-10);
|
20
|
-
@include experimental(filter, $filter,
|
21
|
-
-moz, -webkit, not -o, not -ms, not -khtml, official
|
22
|
-
);
|
23
|
-
}
|
@@ -1,77 +0,0 @@
|
|
1
|
-
@import "shared";
|
2
|
-
|
3
|
-
// Mixins to support specific CSS Text Level 3 elements
|
4
|
-
//
|
5
|
-
//
|
6
|
-
//
|
7
|
-
// Mixin for word-break properties
|
8
|
-
// http://www.w3.org/css3-text/#word-break
|
9
|
-
// * legal values for $type : normal, keep-all, break-all
|
10
|
-
//
|
11
|
-
// Example:
|
12
|
-
// p.wordBreak {@include word-break(break-all);}
|
13
|
-
//
|
14
|
-
// Which generates:
|
15
|
-
// p.wordBreak {
|
16
|
-
// -ms-word-break: break-all;
|
17
|
-
// word-break: break-all;
|
18
|
-
// word-break: break-word;}
|
19
|
-
//
|
20
|
-
@mixin word-break($value: normal){
|
21
|
-
@if $value == break-all {
|
22
|
-
//Most browsers handle the break-all case the same...
|
23
|
-
@include experimental(word-break, $value,
|
24
|
-
not -moz, not -webkit, not -o, -ms, not -khtml, official
|
25
|
-
);
|
26
|
-
//Webkit handles break-all differently... as break-word
|
27
|
-
@include experimental(word-break, break-word,
|
28
|
-
not -moz, not -webkit, not -o, not -ms, not -khtml, official
|
29
|
-
);
|
30
|
-
}
|
31
|
-
@else {
|
32
|
-
@include experimental(word-break, $value,
|
33
|
-
not -moz, not -webkit, not -o, -ms, not -khtml, official
|
34
|
-
);
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
// Mixin for the hyphens property
|
39
|
-
//
|
40
|
-
// W3C specification: http://www.w3.org/TR/css3-text/#hyphens
|
41
|
-
// * legal values for $type : auto, manual, none
|
42
|
-
//
|
43
|
-
// Example:
|
44
|
-
// p {
|
45
|
-
// @include hyphens(auto);}
|
46
|
-
// Which generates:
|
47
|
-
// p {
|
48
|
-
// -moz-hyphens: auto;
|
49
|
-
// -webkit-hyphens: auto;
|
50
|
-
// hyphens: auto;}
|
51
|
-
//
|
52
|
-
@mixin hyphens($value: auto){
|
53
|
-
@include experimental(hyphens, $value,
|
54
|
-
-moz, -webkit, not -o, not -ms, not -khtml, official
|
55
|
-
);
|
56
|
-
}
|
57
|
-
|
58
|
-
// Mixin for x-browser hyphenation based on @auchenberg's post:
|
59
|
-
// Removes the need for the <wbr/> HTML tag
|
60
|
-
// http://blog.kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/
|
61
|
-
//
|
62
|
-
// Example:
|
63
|
-
// div {@include hyphenation;}
|
64
|
-
//
|
65
|
-
// Which generates:
|
66
|
-
// div {
|
67
|
-
// -ms-word-break: break-all;
|
68
|
-
// word-break: break-all;
|
69
|
-
// word-break: break-word;
|
70
|
-
// -moz-hyphens: auto;
|
71
|
-
// -webkit-hyphens: auto;
|
72
|
-
// hyphens: auto;}
|
73
|
-
//
|
74
|
-
@mixin hyphenation{
|
75
|
-
@include word-break(break-all);
|
76
|
-
@include hyphens;
|
77
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
.blur {
|
2
|
-
-webkit-filter: blur(5px);
|
3
|
-
-moz-filter: blur(5px);
|
4
|
-
filter: blur(5px); }
|
5
|
-
|
6
|
-
.brightness {
|
7
|
-
-webkit-filter: brightness(0.2);
|
8
|
-
-moz-filter: brightness(0.2);
|
9
|
-
filter: brightness(0.2); }
|
10
|
-
|
11
|
-
.hue-rotate {
|
12
|
-
-webkit-filter: hue-rotate(20deg);
|
13
|
-
-moz-filter: hue-rotate(20deg);
|
14
|
-
filter: hue-rotate(20deg); }
|
15
|
-
|
16
|
-
.contrast {
|
17
|
-
-webkit-filter: contrast(150%);
|
18
|
-
-moz-filter: contrast(150%);
|
19
|
-
filter: contrast(150%); }
|
20
|
-
|
21
|
-
.grayscale {
|
22
|
-
-webkit-filter: grayscale(150%);
|
23
|
-
-moz-filter: grayscale(150%);
|
24
|
-
filter: grayscale(150%); }
|
25
|
-
|
26
|
-
.sepia {
|
27
|
-
-webkit-filter: sepia(150%);
|
28
|
-
-moz-filter: sepia(150%);
|
29
|
-
filter: sepia(150%); }
|
@@ -1,16 +0,0 @@
|
|
1
|
-
.word-break {
|
2
|
-
-ms-word-break: keep-all;
|
3
|
-
word-break: keep-all; }
|
4
|
-
|
5
|
-
.hyphens {
|
6
|
-
-webkit-hyphens: manual;
|
7
|
-
-moz-hyphens: manual;
|
8
|
-
hyphens: manual; }
|
9
|
-
|
10
|
-
.hyphenate {
|
11
|
-
-ms-word-break: break-all;
|
12
|
-
word-break: break-all;
|
13
|
-
word-break: break-word;
|
14
|
-
-webkit-hyphens: auto;
|
15
|
-
-moz-hyphens: auto;
|
16
|
-
hyphens: auto; }
|
@@ -1,59 +0,0 @@
|
|
1
|
-
.basic {
|
2
|
-
text-indent: -119988px;
|
3
|
-
overflow: hidden;
|
4
|
-
text-align: left;
|
5
|
-
background-image: url('/images/4x6.png?busted=true');
|
6
|
-
background-repeat: no-repeat;
|
7
|
-
background-position: 50% 50%; }
|
8
|
-
|
9
|
-
.with-dimensions {
|
10
|
-
text-indent: -119988px;
|
11
|
-
overflow: hidden;
|
12
|
-
text-align: left;
|
13
|
-
background-image: url('/images/4x6.png?busted=true');
|
14
|
-
background-repeat: no-repeat;
|
15
|
-
background-position: 50% 50%;
|
16
|
-
width: 6px;
|
17
|
-
height: 4px; }
|
18
|
-
|
19
|
-
.with-dimensions-inline {
|
20
|
-
text-indent: -119988px;
|
21
|
-
overflow: hidden;
|
22
|
-
text-align: left;
|
23
|
-
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAIAAAAiZtkUAAAC7mlDQ1BJQ0MgUHJvZmlsZQAAeAGFVM9rE0EU/jZuqdAiCFprDrJ4kCJJWatoRdQ2/RFiawzbH7ZFkGQzSdZuNuvuJrWliOTi0SreRe2hB/+AHnrwZC9KhVpFKN6rKGKhFy3xzW5MtqXqwM5+8943731vdt8ADXLSNPWABOQNx1KiEWlsfEJq/IgAjqIJQTQlVdvsTiQGQYNz+Xvn2HoPgVtWw3v7d7J3rZrStpoHhP1A4Eea2Sqw7xdxClkSAog836Epx3QI3+PY8uyPOU55eMG1Dys9xFkifEA1Lc5/TbhTzSXTQINIOJT1cVI+nNeLlNcdB2luZsbIEL1PkKa7zO6rYqGcTvYOkL2d9H5Os94+wiHCCxmtP0a4jZ71jNU/4mHhpObEhj0cGDX0+GAVtxqp+DXCFF8QTSeiVHHZLg3xmK79VvJKgnCQOMpkYYBzWkhP10xu+LqHBX0m1xOv4ndWUeF5jxNn3tTd70XaAq8wDh0MGgyaDUhQEEUEYZiwUECGPBoxNLJyPyOrBhuTezJ1JGq7dGJEsUF7Ntw9t1Gk3Tz+KCJxlEO1CJL8Qf4qr8lP5Xn5y1yw2Fb3lK2bmrry4DvF5Zm5Gh7X08jjc01efJXUdpNXR5aseXq8muwaP+xXlzHmgjWPxHOw+/EtX5XMlymMFMXjVfPqS4R1WjE3359sfzs94i7PLrXWc62JizdWm5dn/WpI++6qvJPmVflPXvXx/GfNxGPiKTEmdornIYmXxS7xkthLqwviYG3HCJ2VhinSbZH6JNVgYJq89S9dP1t4vUZ/DPVRlBnM0lSJ93/CKmQ0nbkOb/qP28f8F+T3iuefKAIvbODImbptU3HvEKFlpW5zrgIXv9F98LZua6N+OPwEWDyrFq1SNZ8gvAEcdod6HugpmNOWls05Uocsn5O66cpiUsxQ20NSUtcl12VLFrOZVWLpdtiZ0x1uHKE5QvfEp0plk/qv8RGw/bBS+fmsUtl+ThrWgZf6b8C8/UXAeIuJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAI0lEQVQIHWOwtLT8//9/eno6kISwGdD4QDkGZHkIG6QKTS8A/s4vHesO+KkAAAAASUVORK5CYII=');
|
24
|
-
background-repeat: no-repeat;
|
25
|
-
background-position: 50% 50%;
|
26
|
-
width: 6px;
|
27
|
-
height: 4px; }
|
28
|
-
|
29
|
-
.with-position {
|
30
|
-
text-indent: -119988px;
|
31
|
-
overflow: hidden;
|
32
|
-
text-align: left;
|
33
|
-
background-image: url('/images/4x6.png?busted=true');
|
34
|
-
background-repeat: no-repeat;
|
35
|
-
background-position: 10px top; }
|
36
|
-
|
37
|
-
.with-arbitrary-url {
|
38
|
-
text-indent: -119988px;
|
39
|
-
overflow: hidden;
|
40
|
-
text-align: left;
|
41
|
-
background-image: url(http://google.com/logo.gif);
|
42
|
-
background-repeat: no-repeat;
|
43
|
-
background-position: 10px top; }
|
44
|
-
|
45
|
-
.with-inline-url {
|
46
|
-
text-indent: -119988px;
|
47
|
-
overflow: hidden;
|
48
|
-
text-align: left;
|
49
|
-
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAIAAAAiZtkUAAAC7mlDQ1BJQ0MgUHJvZmlsZQAAeAGFVM9rE0EU/jZuqdAiCFprDrJ4kCJJWatoRdQ2/RFiawzbH7ZFkGQzSdZuNuvuJrWliOTi0SreRe2hB/+AHnrwZC9KhVpFKN6rKGKhFy3xzW5MtqXqwM5+8943731vdt8ADXLSNPWABOQNx1KiEWlsfEJq/IgAjqIJQTQlVdvsTiQGQYNz+Xvn2HoPgVtWw3v7d7J3rZrStpoHhP1A4Eea2Sqw7xdxClkSAog836Epx3QI3+PY8uyPOU55eMG1Dys9xFkifEA1Lc5/TbhTzSXTQINIOJT1cVI+nNeLlNcdB2luZsbIEL1PkKa7zO6rYqGcTvYOkL2d9H5Os94+wiHCCxmtP0a4jZ71jNU/4mHhpObEhj0cGDX0+GAVtxqp+DXCFF8QTSeiVHHZLg3xmK79VvJKgnCQOMpkYYBzWkhP10xu+LqHBX0m1xOv4ndWUeF5jxNn3tTd70XaAq8wDh0MGgyaDUhQEEUEYZiwUECGPBoxNLJyPyOrBhuTezJ1JGq7dGJEsUF7Ntw9t1Gk3Tz+KCJxlEO1CJL8Qf4qr8lP5Xn5y1yw2Fb3lK2bmrry4DvF5Zm5Gh7X08jjc01efJXUdpNXR5aseXq8muwaP+xXlzHmgjWPxHOw+/EtX5XMlymMFMXjVfPqS4R1WjE3359sfzs94i7PLrXWc62JizdWm5dn/WpI++6qvJPmVflPXvXx/GfNxGPiKTEmdornIYmXxS7xkthLqwviYG3HCJ2VhinSbZH6JNVgYJq89S9dP1t4vUZ/DPVRlBnM0lSJ93/CKmQ0nbkOb/qP28f8F+T3iuefKAIvbODImbptU3HvEKFlpW5zrgIXv9F98LZua6N+OPwEWDyrFq1SNZ8gvAEcdod6HugpmNOWls05Uocsn5O66cpiUsxQ20NSUtcl12VLFrOZVWLpdtiZ0x1uHKE5QvfEp0plk/qv8RGw/bBS+fmsUtl+ThrWgZf6b8C8/UXAeIuJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAI0lEQVQIHWOwtLT8//9/eno6kISwGdD4QDkGZHkIG6QKTS8A/s4vHesO+KkAAAAASUVORK5CYII=');
|
50
|
-
background-repeat: no-repeat;
|
51
|
-
background-position: 10px top; }
|
52
|
-
|
53
|
-
.with-image-url {
|
54
|
-
text-indent: -119988px;
|
55
|
-
overflow: hidden;
|
56
|
-
text-align: left;
|
57
|
-
background-image: url('/images/4x6.png?busted=true');
|
58
|
-
background-repeat: no-repeat;
|
59
|
-
background-position: 10px top; }
|
@@ -1,24 +0,0 @@
|
|
1
|
-
@import "compass/css3/filter";
|
2
|
-
|
3
|
-
.blur {
|
4
|
-
@include filter(blur(5px));
|
5
|
-
}
|
6
|
-
.brightness {
|
7
|
-
@include filter(brightness(0.2));
|
8
|
-
}
|
9
|
-
// We can enable this test case when sass commit 38f3c4be8bc15c130c5b1cc5880c9131e1bcb08f is released.
|
10
|
-
// .saturate {
|
11
|
-
// @include filter(saturate(50%));
|
12
|
-
// }
|
13
|
-
.hue-rotate {
|
14
|
-
@include filter(hue-rotate(20deg));
|
15
|
-
}
|
16
|
-
.contrast {
|
17
|
-
@include filter(contrast(150%));
|
18
|
-
}
|
19
|
-
.grayscale {
|
20
|
-
@include filter(grayscale(150%));
|
21
|
-
}
|
22
|
-
.sepia {
|
23
|
-
@include filter(sepia(150%));
|
24
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
@import "compass/typography/text/replacement";
|
2
|
-
.basic {
|
3
|
-
@include replace-text("4x6.png");
|
4
|
-
}
|
5
|
-
.with-dimensions {
|
6
|
-
@include replace-text-with-dimensions("4x6.png");
|
7
|
-
}
|
8
|
-
.with-dimensions-inline {
|
9
|
-
@include replace-text-with-dimensions("4x6.png", $inline: true);
|
10
|
-
}
|
11
|
-
.with-position {
|
12
|
-
@include replace-text("4x6.png", 10px, top);
|
13
|
-
}
|
14
|
-
.with-arbitrary-url {
|
15
|
-
@include replace-text(url(http://google.com/logo.gif), 10px, top);
|
16
|
-
}
|
17
|
-
.with-inline-url {
|
18
|
-
@include replace-text(inline-image("4x6.png"), 10px, top);
|
19
|
-
}
|
20
|
-
.with-image-url {
|
21
|
-
@include replace-text(image-url("4x6.png"), 10px, top);
|
22
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
require 'compass'
|
3
|
-
require 'compass/exec'
|
4
|
-
require 'stringio'
|
5
|
-
|
6
|
-
class RegressionsTest < Test::Unit::TestCase
|
7
|
-
include Compass::CommandLineHelper
|
8
|
-
setup do
|
9
|
-
Compass.reset_configuration!
|
10
|
-
end
|
11
|
-
|
12
|
-
after do
|
13
|
-
Compass.reset_configuration!
|
14
|
-
end
|
15
|
-
|
16
|
-
def test_issue911_sprites_with_globbing_and_line_comments
|
17
|
-
within_tmp_directory do
|
18
|
-
compass "create --bare issue911"
|
19
|
-
FileUtils.mkdir_p "issue911/images/sprites/a"
|
20
|
-
FileUtils.mkdir_p "issue911/images/sprites/b"
|
21
|
-
open "issue911/images/sprites/a/foo.png", "wb" do |f|
|
22
|
-
f.write(Compass::PNG.new(5,10, [255,0,255]).to_blob)
|
23
|
-
end
|
24
|
-
open "issue911/images/sprites/b/bar.png", "wb" do |f|
|
25
|
-
f.write(Compass::PNG.new(5,10, [255,255,0]).to_blob)
|
26
|
-
end
|
27
|
-
Dir.chdir "issue911" do
|
28
|
-
result = compile_for_project(<<-SCSS)
|
29
|
-
@import "sprites/**/*.png";
|
30
|
-
SCSS
|
31
|
-
Sass::Engine.new(result, :syntax => :scss).render # raises an error if we generated invalid css
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|