compass 0.12.2.rc.0 → 0.12.2.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +2 -0
- data/VERSION.yml +1 -1
- data/bin/compass +2 -1
- data/frameworks/compass/stylesheets/compass/_css3.scss +2 -1
- data/frameworks/compass/stylesheets/compass/_support.scss +4 -0
- data/frameworks/compass/stylesheets/compass/css3/_columns.scss +77 -0
- data/frameworks/compass/stylesheets/compass/css3/_hyphenation.scss +77 -0
- data/frameworks/compass/stylesheets/compass/css3/_images.scss +2 -0
- data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +13 -7
- data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +52 -13
- data/frameworks/compass/stylesheets/compass/css3/_transform.scss +14 -14
- data/frameworks/compass/stylesheets/compass/css3/_transition.scss +129 -58
- data/frameworks/compass/stylesheets/compass/typography/text/_replacement.scss +10 -4
- data/lib/compass/commands/update_project.rb +1 -1
- data/lib/compass/exec/project_options_parser.rb +4 -0
- data/lib/compass/sass_extensions/functions/constants.rb +9 -0
- data/lib/compass/sass_extensions/functions/gradient_support.rb +10 -0
- data/lib/compass/sprite_importer.rb +1 -1
- data/test/fixtures/stylesheets/blueprint/css/single-imports/buttons.css +6 -8
- data/test/fixtures/stylesheets/compass/css/columns.css +92 -0
- data/test/fixtures/stylesheets/compass/css/gradients.css +0 -6
- data/test/fixtures/stylesheets/compass/css/hyphenation.css +16 -0
- data/test/fixtures/stylesheets/compass/css/lists.css +6 -8
- data/test/fixtures/stylesheets/compass/css/replacement.css +59 -0
- data/test/fixtures/stylesheets/compass/css/text_shadow.css +22 -4
- data/test/fixtures/stylesheets/compass/css/transition.css +78 -0
- data/test/fixtures/stylesheets/compass/sass/columns.scss +17 -0
- data/test/fixtures/stylesheets/compass/sass/hyphenation.scss +11 -0
- data/test/fixtures/stylesheets/compass/sass/replacement.scss +22 -0
- data/test/fixtures/stylesheets/compass/sass/text_shadow.scss +6 -1
- data/test/fixtures/stylesheets/compass/sass/transition.scss +12 -0
- data/test/helpers/test_case.rb +8 -1
- data/test/units/compass_module_test.rb +1 -1
- data/test/units/regressions_test.rb +35 -0
- metadata +87 -185
- data/bin/compass.compiled.rbc +0 -707
- data/lib/compass.rbc +0 -796
- data/lib/compass/actions.rbc +0 -2736
- data/lib/compass/app_integration.rbc +0 -836
- data/lib/compass/app_integration/merb.rbc +0 -106
- data/lib/compass/app_integration/rails.rbc +0 -2096
- data/lib/compass/app_integration/rails/configuration_defaults.rbc +0 -2430
- data/lib/compass/app_integration/rails/installer.rbc +0 -3677
- data/lib/compass/app_integration/stand_alone.rbc +0 -589
- data/lib/compass/app_integration/stand_alone/configuration_defaults.rbc +0 -721
- data/lib/compass/app_integration/stand_alone/installer.rbc +0 -1487
- data/lib/compass/browser_support.rbc +0 -1144
- data/lib/compass/commands.rbc +0 -307
- data/lib/compass/commands/base.rbc +0 -1044
- data/lib/compass/commands/clean_project.rbc +0 -1856
- data/lib/compass/commands/create_project.rbc +0 -2691
- data/lib/compass/commands/default.rbc +0 -1677
- data/lib/compass/commands/generate_grid_background.rbc +0 -1939
- data/lib/compass/commands/help.rbc +0 -1921
- data/lib/compass/commands/imports.rbc +0 -969
- data/lib/compass/commands/installer_command.rbc +0 -807
- data/lib/compass/commands/interactive.rbc +0 -1341
- data/lib/compass/commands/list_frameworks.rbc +0 -1111
- data/lib/compass/commands/print_version.rbc +0 -2478
- data/lib/compass/commands/project_base.rbc +0 -2085
- data/lib/compass/commands/project_stats.rbc +0 -4202
- data/lib/compass/commands/registry.rbc +0 -1350
- data/lib/compass/commands/sprite.rbc +0 -2212
- data/lib/compass/commands/stamp_pattern.rbc +0 -2011
- data/lib/compass/commands/unpack_extension.rbc +0 -2348
- data/lib/compass/commands/update_project.rbc +0 -3002
- data/lib/compass/commands/validate_project.rbc +0 -1686
- data/lib/compass/commands/watch_project.rbc +0 -4155
- data/lib/compass/commands/write_configuration.rbc +0 -2896
- data/lib/compass/compiler.rbc +0 -4913
- data/lib/compass/configuration.rbc +0 -1398
- data/lib/compass/configuration/adapters.rbc +0 -2088
- data/lib/compass/configuration/comments.rbc +0 -843
- data/lib/compass/configuration/data.rbc +0 -2633
- data/lib/compass/configuration/defaults.rbc +0 -3617
- data/lib/compass/configuration/file_data.rbc +0 -643
- data/lib/compass/configuration/helpers.rbc +0 -3500
- data/lib/compass/configuration/inheritance.rbc +0 -3592
- data/lib/compass/configuration/paths.rbc +0 -412
- data/lib/compass/configuration/serialization.rbc +0 -1996
- data/lib/compass/dependencies.rbc +0 -232
- data/lib/compass/errors.rbc +0 -176
- data/lib/compass/exec.rbc +0 -500
- data/lib/compass/exec/command_option_parser.rbc +0 -676
- data/lib/compass/exec/global_options_parser.rbc +0 -1306
- data/lib/compass/exec/helpers.rbc +0 -758
- data/lib/compass/exec/project_options_parser.rbc +0 -1515
- data/lib/compass/exec/sub_command_ui.rbc +0 -1191
- data/lib/compass/frameworks.rbc +0 -3640
- data/lib/compass/grid_builder.rbc +0 -0
- data/lib/compass/installers.rbc +0 -152
- data/lib/compass/installers/bare_installer.rbc +0 -939
- data/lib/compass/installers/base.rbc +0 -4427
- data/lib/compass/installers/manifest.rbc +0 -3335
- data/lib/compass/installers/manifest_installer.rbc +0 -1591
- data/lib/compass/installers/template_context.rbc +0 -1030
- data/lib/compass/logger.rbc +0 -2317
- data/lib/compass/quick_cache.rbc +0 -324
- data/lib/compass/sass_extensions.rbc +0 -213
- data/lib/compass/sass_extensions/functions.rbc +0 -808
- data/lib/compass/sass_extensions/functions/colors.rbc +0 -1279
- data/lib/compass/sass_extensions/functions/constants.rbc +0 -1921
- data/lib/compass/sass_extensions/functions/cross_browser_support.rbc +0 -1966
- data/lib/compass/sass_extensions/functions/display.rbc +0 -1227
- data/lib/compass/sass_extensions/functions/enumerate.rbc +0 -446
- data/lib/compass/sass_extensions/functions/env.rbc +0 -299
- data/lib/compass/sass_extensions/functions/font_files.rbc +0 -821
- data/lib/compass/sass_extensions/functions/gradient_support.rbc +0 -14147
- data/lib/compass/sass_extensions/functions/image_size.rbc +0 -3152
- data/lib/compass/sass_extensions/functions/inline_image.rbc +0 -1678
- data/lib/compass/sass_extensions/functions/lists.rbc +0 -2601
- data/lib/compass/sass_extensions/functions/selectors.rbc +0 -1592
- data/lib/compass/sass_extensions/functions/sprites.rbc +0 -3792
- data/lib/compass/sass_extensions/functions/trig.rbc +0 -811
- data/lib/compass/sass_extensions/functions/urls.rbc +0 -5248
- data/lib/compass/sass_extensions/monkey_patches.rbc +0 -134
- data/lib/compass/sass_extensions/monkey_patches/browser_support.rbc +0 -2169
- data/lib/compass/sass_extensions/monkey_patches/traversal.rbc +0 -660
- data/lib/compass/sass_extensions/sprites.rbc +0 -363
- data/lib/compass/sass_extensions/sprites/base.rbc +0 -4529
- data/lib/compass/sass_extensions/sprites/engines.rbc +0 -662
- data/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rbc +0 -1074
- data/lib/compass/sass_extensions/sprites/image.rbc +0 -2961
- data/lib/compass/sass_extensions/sprites/image_methods.rbc +0 -900
- data/lib/compass/sass_extensions/sprites/image_row.rbc +0 -1168
- data/lib/compass/sass_extensions/sprites/layout_methods.rbc +0 -3236
- data/lib/compass/sass_extensions/sprites/row_fitter.rbc +0 -2067
- data/lib/compass/sass_extensions/sprites/sprite_map.rbc +0 -1991
- data/lib/compass/sass_extensions/sprites/sprite_methods.rbc +0 -3190
- data/lib/compass/sass_extensions/sprites/sprites.rbc +0 -1573
- data/lib/compass/sprite_importer.rbc +0 -3573
- data/lib/compass/util.rbc +0 -552
- data/lib/compass/version.rbc +0 -1245
- data/test/helpers/command_line.rbc +0 -2820
- data/test/helpers/diff.rbc +0 -1104
- data/test/helpers/io.rbc +0 -962
- data/test/helpers/rails.rbc +0 -1116
- data/test/helpers/test_case.rbc +0 -1255
- data/test/integrations/compass_test.rbc +0 -6589
- data/test/integrations/rails_integration_test.rbc +0 -1342
- data/test/integrations/sprites_test.rbc +0 -6192
- data/test/test_helper.rbc +0 -1694
- data/test/units/actions_test.rbc +0 -644
- data/test/units/command_line_test.rbc +0 -1532
- data/test/units/compass_png_test.rbc +0 -0
- data/test/units/configuration_test.rbc +0 -3833
- data/test/units/rails_configuration_test.rbc +0 -1032
- data/test/units/sass_extensions_test.rbc +0 -3586
- data/test/units/sprites/engine_test.rbc +0 -962
- data/test/units/sprites/image_row_test.rbc +0 -1578
- data/test/units/sprites/image_test.rbc +0 -2836
- data/test/units/sprites/importer_test.rbc +0 -2620
- data/test/units/sprites/row_fitter_test.rbc +0 -1479
- data/test/units/sprites/sprite_command_test.rbc +0 -1147
- data/test/units/sprites/sprite_map_test.rbc +0 -6515
@@ -11,13 +11,17 @@ $hide-text-direction: left !default;
|
|
11
11
|
//
|
12
12
|
// Parameters:
|
13
13
|
//
|
14
|
-
// * `img` -- the relative path from the project image directory to the image.
|
14
|
+
// * `img` -- the relative path from the project image directory to the image, or a url literal.
|
15
15
|
// * `x` -- the x position of the background image.
|
16
16
|
// * `y` -- the y position of the background image.
|
17
17
|
@mixin replace-text($img, $x: 50%, $y: 50%) {
|
18
18
|
@include hide-text;
|
19
19
|
background: {
|
20
|
-
|
20
|
+
@if is-url($img) {
|
21
|
+
image: $img;
|
22
|
+
} @else {
|
23
|
+
image: image-url($img);
|
24
|
+
}
|
21
25
|
repeat: no-repeat;
|
22
26
|
position: $x $y;
|
23
27
|
};
|
@@ -25,8 +29,10 @@ $hide-text-direction: left !default;
|
|
25
29
|
|
26
30
|
// Like the `replace-text` mixin, but also sets the width
|
27
31
|
// and height of the element according the dimensions of the image.
|
28
|
-
|
29
|
-
|
32
|
+
//
|
33
|
+
// If you set `$inline` to true, then an inline image (data uri) will be used.
|
34
|
+
@mixin replace-text-with-dimensions($img, $x: 50%, $y: 50%, $inline: false) {
|
35
|
+
@include replace-text(if($inline, inline-image($img), $img), $x, $y);
|
30
36
|
width: image-width($img);
|
31
37
|
height: image-height($img);
|
32
38
|
}
|
@@ -35,6 +35,10 @@ module Compass::Exec::ProjectOptionsParser
|
|
35
35
|
opts.on('--javascripts-dir JS_DIR', "The directory where you keep your javascripts.") do |javascripts_dir|
|
36
36
|
set_dir_or_path(:javascripts, javascripts_dir)
|
37
37
|
end
|
38
|
+
|
39
|
+
opts.on('--fonts-dir FONTS_DIR', "The directory where you keep your fonts.") do |fonts_dir|
|
40
|
+
set_dir_or_path(:fonts, fonts_dir)
|
41
|
+
end
|
38
42
|
|
39
43
|
opts.on('-e ENV', '--environment ENV', [:development, :production], 'Use sensible defaults for your current environment.',
|
40
44
|
' One of: development (default), production') do |env|
|
@@ -45,6 +45,15 @@ module Compass::SassExtensions::Functions::Constants
|
|
45
45
|
position
|
46
46
|
end
|
47
47
|
end
|
48
|
+
|
49
|
+
def is_url(string)
|
50
|
+
if string.is_a?(Sass::Script::String)
|
51
|
+
is_url = !!(string.value =~ /^url\(.*\)$/)
|
52
|
+
Sass::Script::Bool.new(is_url)
|
53
|
+
else
|
54
|
+
Sass::Script::Bool.new(false)
|
55
|
+
end
|
56
|
+
end
|
48
57
|
else
|
49
58
|
# returns the opposite position of a side or corner.
|
50
59
|
def opposite_position(position)
|
@@ -170,6 +170,16 @@ module Compass::SassExtensions::Functions::GradientSupport
|
|
170
170
|
standardized_prefix :o
|
171
171
|
standardized_prefix :ms
|
172
172
|
|
173
|
+
|
174
|
+
def supports?(aspect)
|
175
|
+
# I don't know how to support degree-based gradients in old webkit gradients (owg) or svg so we just disable them.
|
176
|
+
if %w(owg svg).include?(aspect) && position_or_angle.is_a?(Sass::Script::Number) && position_or_angle.numerator_units.include?("deg")
|
177
|
+
false
|
178
|
+
else
|
179
|
+
super
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
173
183
|
# Output the original webkit gradient syntax
|
174
184
|
def to_owg(options = self.options)
|
175
185
|
args = []
|
@@ -97,7 +97,7 @@ module Compass
|
|
97
97
|
|
98
98
|
# Returns the sass_options for this sprite
|
99
99
|
def self.sass_options(uri, importer, options)
|
100
|
-
options.merge!(:filename => uri, :syntax => :scss, :importer => importer)
|
100
|
+
options.merge!(:filename => uri.gsub(%r{\*/},"*\\/"), :syntax => :scss, :importer => importer)
|
101
101
|
end
|
102
102
|
|
103
103
|
# Returns a Sass::Engine for this sprite object
|
@@ -1,9 +1,10 @@
|
|
1
1
|
a {
|
2
|
-
display: -moz-inline-
|
3
|
-
-moz-box-orient: vertical;
|
2
|
+
display: -moz-inline-stack;
|
4
3
|
display: inline-block;
|
5
4
|
vertical-align: middle;
|
6
5
|
*vertical-align: auto;
|
6
|
+
zoom: 1;
|
7
|
+
*display: inline;
|
7
8
|
margin: 0.7em 0.5em 0.7em 0;
|
8
9
|
border-width: 1px;
|
9
10
|
border-style: solid;
|
@@ -14,8 +15,6 @@ a {
|
|
14
15
|
text-decoration: none;
|
15
16
|
cursor: pointer;
|
16
17
|
padding: 5px 10px 5px 7px; }
|
17
|
-
a {
|
18
|
-
*display: inline; }
|
19
18
|
a img {
|
20
19
|
margin: 0 3px -3px 0 !important;
|
21
20
|
padding: 0;
|
@@ -25,11 +24,12 @@ a {
|
|
25
24
|
float: none; }
|
26
25
|
|
27
26
|
button {
|
28
|
-
display: -moz-inline-
|
29
|
-
-moz-box-orient: vertical;
|
27
|
+
display: -moz-inline-stack;
|
30
28
|
display: inline-block;
|
31
29
|
vertical-align: middle;
|
32
30
|
*vertical-align: auto;
|
31
|
+
zoom: 1;
|
32
|
+
*display: inline;
|
33
33
|
margin: 0.7em 0.5em 0.7em 0;
|
34
34
|
border-width: 1px;
|
35
35
|
border-style: solid;
|
@@ -42,8 +42,6 @@ button {
|
|
42
42
|
width: auto;
|
43
43
|
overflow: visible;
|
44
44
|
padding: 4px 10px 3px 7px; }
|
45
|
-
button {
|
46
|
-
*display: inline; }
|
47
45
|
button img {
|
48
46
|
margin: 0 3px -3px 0 !important;
|
49
47
|
padding: 0;
|
@@ -60,3 +60,95 @@
|
|
60
60
|
-ms-column-rule: 1px solid blue;
|
61
61
|
-o-column-rule: 1px solid blue;
|
62
62
|
column-rule: 1px solid blue; }
|
63
|
+
|
64
|
+
.column-break-before {
|
65
|
+
-webkit-column-break-before: always;
|
66
|
+
column-break-before: always; }
|
67
|
+
|
68
|
+
.column-break-after {
|
69
|
+
-webkit-column-break-after: always;
|
70
|
+
column-break-after: always; }
|
71
|
+
|
72
|
+
.column-break-inside {
|
73
|
+
-webkit-column-break-inside: auto;
|
74
|
+
column-break-inside: auto; }
|
75
|
+
|
76
|
+
.column-count {
|
77
|
+
-webkit-column-count: 5;
|
78
|
+
-moz-column-count: 5;
|
79
|
+
-ms-column-count: 5;
|
80
|
+
-o-column-count: 5;
|
81
|
+
column-count: 5; }
|
82
|
+
|
83
|
+
.column-gap {
|
84
|
+
-webkit-column-gap: 10px;
|
85
|
+
-moz-column-gap: 10px;
|
86
|
+
-ms-column-gap: 10px;
|
87
|
+
-o-column-gap: 10px;
|
88
|
+
column-gap: 10px; }
|
89
|
+
|
90
|
+
.column-width {
|
91
|
+
-webkit-column-width: 90px;
|
92
|
+
-moz-column-width: 90px;
|
93
|
+
-ms-column-width: 90px;
|
94
|
+
-o-column-width: 90px;
|
95
|
+
column-width: 90px; }
|
96
|
+
|
97
|
+
.column-rule-width {
|
98
|
+
-webkit-rule-width: 1px;
|
99
|
+
-moz-rule-width: 1px;
|
100
|
+
-ms-rule-width: 1px;
|
101
|
+
-o-rule-width: 1px;
|
102
|
+
rule-width: 1px; }
|
103
|
+
|
104
|
+
.column-rule-style {
|
105
|
+
-webkit-rule-style: dotted;
|
106
|
+
-moz-rule-style: dotted;
|
107
|
+
-ms-rule-style: dotted;
|
108
|
+
-o-rule-style: dotted;
|
109
|
+
rule-style: dotted; }
|
110
|
+
|
111
|
+
.column-rule-color {
|
112
|
+
-webkit-rule-color: blue;
|
113
|
+
-moz-rule-color: blue;
|
114
|
+
-ms-rule-color: blue;
|
115
|
+
-o-rule-color: blue;
|
116
|
+
rule-color: blue; }
|
117
|
+
|
118
|
+
.column-rule {
|
119
|
+
-webkit-column-rule: 1px solid blue;
|
120
|
+
-moz-column-rule: 1px solid blue;
|
121
|
+
-ms-column-rule: 1px solid blue;
|
122
|
+
-o-column-rule: 1px solid blue;
|
123
|
+
column-rule: 1px solid blue; }
|
124
|
+
|
125
|
+
.column-rule-spaced {
|
126
|
+
-webkit-column-rule: 1px solid blue;
|
127
|
+
-moz-column-rule: 1px solid blue;
|
128
|
+
-ms-column-rule: 1px solid blue;
|
129
|
+
-o-column-rule: 1px solid blue;
|
130
|
+
column-rule: 1px solid blue; }
|
131
|
+
|
132
|
+
.column-break-before {
|
133
|
+
-webkit-column-break-before: always;
|
134
|
+
column-break-before: always; }
|
135
|
+
|
136
|
+
.column-break-after {
|
137
|
+
-webkit-column-break-after: always;
|
138
|
+
column-break-after: always; }
|
139
|
+
|
140
|
+
.column-break-inside {
|
141
|
+
-webkit-column-break-inside: auto;
|
142
|
+
column-break-inside: auto; }
|
143
|
+
|
144
|
+
.column-break-before-shortcut {
|
145
|
+
-webkit-column-break-before: always;
|
146
|
+
column-break-before: always; }
|
147
|
+
|
148
|
+
.column-break-after-shortcut {
|
149
|
+
-webkit-column-break-after: always;
|
150
|
+
column-break-after: always; }
|
151
|
+
|
152
|
+
.column-break-inside-shortcut {
|
153
|
+
-webkit-column-break-inside: auto;
|
154
|
+
column-break-inside: auto; }
|
@@ -20,9 +20,6 @@
|
|
20
20
|
background: white radial-gradient(center center, #dddddd, #aaaaaa 100px); }
|
21
21
|
|
22
22
|
.bg-linear-gradient-angle-svg {
|
23
|
-
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9Ii00NSIgeTE9IiIgeDI9Ii00NSIgeTI9IiIgZ3JhZGllbnRUcmFuc2Zvcm0gPSAicm90YXRlKC00NSkiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMwMDAwZmYiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
|
24
|
-
background-size: 100%;
|
25
|
-
background-image: -webkit-gradient(linear, -45deg, -45deg, color-stop(0%, #0000ff), color-stop(100%, #000000));
|
26
23
|
background-image: -webkit-linear-gradient(-45deg, #0000ff, #000000);
|
27
24
|
background-image: -moz-linear-gradient(-45deg, #0000ff, #000000);
|
28
25
|
background-image: -o-linear-gradient(-45deg, #0000ff, #000000);
|
@@ -103,9 +100,6 @@
|
|
103
100
|
background-image: radial-gradient(center center, #dddddd, transparent 100px); }
|
104
101
|
|
105
102
|
.bg-linear-gradient-with-angle {
|
106
|
-
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9Ii00NSIgeTE9IiIgeDI9Ii00NSIgeTI9IiIgZ3JhZGllbnRUcmFuc2Zvcm0gPSAicm90YXRlKC00NSkiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNkZGRkZGQiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhYWFhYWEiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
|
107
|
-
background-size: 100%;
|
108
|
-
background-image: -webkit-gradient(linear, -45deg, -45deg, color-stop(0%, #dddddd), color-stop(100%, #aaaaaa));
|
109
103
|
background-image: -webkit-linear-gradient(-45deg, #dddddd, #aaaaaa);
|
110
104
|
background-image: -moz-linear-gradient(-45deg, #dddddd, #aaaaaa);
|
111
105
|
background-image: -o-linear-gradient(-45deg, #dddddd, #aaaaaa);
|
@@ -0,0 +1,16 @@
|
|
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; }
|
@@ -88,14 +88,13 @@ ul.inline-block {
|
|
88
88
|
list-style-image: none;
|
89
89
|
list-style-type: none;
|
90
90
|
margin-left: 0;
|
91
|
-
display: -moz-inline-
|
92
|
-
-moz-box-orient: vertical;
|
91
|
+
display: -moz-inline-stack;
|
93
92
|
display: inline-block;
|
94
93
|
vertical-align: middle;
|
95
94
|
*vertical-align: auto;
|
95
|
+
zoom: 1;
|
96
|
+
*display: inline;
|
96
97
|
white-space: nowrap; }
|
97
|
-
ul.inline-block li {
|
98
|
-
*display: inline; }
|
99
98
|
|
100
99
|
ul.wide-inline-block {
|
101
100
|
margin: 0;
|
@@ -107,16 +106,15 @@ ul.wide-inline-block {
|
|
107
106
|
list-style-image: none;
|
108
107
|
list-style-type: none;
|
109
108
|
margin-left: 0;
|
110
|
-
display: -moz-inline-
|
111
|
-
-moz-box-orient: vertical;
|
109
|
+
display: -moz-inline-stack;
|
112
110
|
display: inline-block;
|
113
111
|
vertical-align: middle;
|
114
112
|
*vertical-align: auto;
|
113
|
+
zoom: 1;
|
114
|
+
*display: inline;
|
115
115
|
white-space: nowrap;
|
116
116
|
padding-left: 10px;
|
117
117
|
padding-right: 10px; }
|
118
|
-
ul.wide-inline-block li {
|
119
|
-
*display: inline; }
|
120
118
|
|
121
119
|
ul.inline {
|
122
120
|
list-style-type: none; }
|
@@ -0,0 +1,59 @@
|
|
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,11 +1,29 @@
|
|
1
|
-
.single-text-shadow {
|
2
|
-
text-shadow:
|
1
|
+
.default-single-text-shadow {
|
2
|
+
text-shadow: 0px 0px 1px #aaaaaa; }
|
3
|
+
|
4
|
+
.none {
|
5
|
+
text-shadow: none; }
|
6
|
+
|
7
|
+
.color-only {
|
8
|
+
text-shadow: 0px 0px 1px #cccccc; }
|
9
|
+
|
10
|
+
.color-first-with-params {
|
11
|
+
text-shadow: 2px 2px 5px #cccccc, 2px 2px 5px 2px #cccccc;
|
12
|
+
text-shadow: 2px 2px 5px 2px #cccccc, 2px 2px 5px 2px #cccccc; }
|
13
|
+
|
14
|
+
.color-last-with-params {
|
15
|
+
text-shadow: 2px 2px 5px #cccccc, 2px 2px 5px 2px #cccccc;
|
16
|
+
text-shadow: 2px 2px 5px 2px #cccccc, 2px 2px 5px 2px #cccccc; }
|
3
17
|
|
4
18
|
.default-text-shadow {
|
5
|
-
text-shadow:
|
19
|
+
text-shadow: 0px 0px 1px #aaaaaa; }
|
6
20
|
|
7
21
|
.multiple-text-shadows-with-default {
|
8
|
-
text-shadow:
|
22
|
+
text-shadow: 0px 0px 1px #aaaaaa, 2px 2px 5px #222222; }
|
9
23
|
|
10
24
|
.multiple-text-shadows {
|
11
25
|
text-shadow: 4px 4px 10px #444444, 2px 2px 5px #222222; }
|
26
|
+
|
27
|
+
.multiple-text-shadows-with-spread {
|
28
|
+
text-shadow: 4px 4px 10px #444444, 4px 4px 10px 1px #444444, 2px 2px 5px #222222, 2px 2px 5px 3px #222222;
|
29
|
+
text-shadow: 4px 4px 10px 1px #444444, 4px 4px 10px 1px #444444, 2px 2px 5px 3px #222222, 2px 2px 5px 3px #222222; }
|
@@ -27,6 +27,13 @@
|
|
27
27
|
-o-transition-duration: 0.2s, 0.5s, 0.2s;
|
28
28
|
transition-duration: 0.2s, 0.5s, 0.2s; }
|
29
29
|
|
30
|
+
.multiple-transition-durations {
|
31
|
+
-webkit-transition-duration: 0.2s, 0.5s, 0.2s;
|
32
|
+
-moz-transition-duration: 0.2s, 0.5s, 0.2s;
|
33
|
+
-ms-transition-duration: 0.2s, 0.5s, 0.2s;
|
34
|
+
-o-transition-duration: 0.2s, 0.5s, 0.2s;
|
35
|
+
transition-duration: 0.2s, 0.5s, 0.2s; }
|
36
|
+
|
30
37
|
.single-transform-transition-without-delay {
|
31
38
|
-webkit-transition: -webkit-transform 0.6s ease-out;
|
32
39
|
-moz-transition: -moz-transform 0.6s ease-out;
|
@@ -63,9 +70,80 @@
|
|
63
70
|
-o-transition-property: -o-transform;
|
64
71
|
transition-property: transform; }
|
65
72
|
|
73
|
+
.transition-properties {
|
74
|
+
-webkit-transition-property: -webkit-transform, opacity, width, height, left, top;
|
75
|
+
-moz-transition-property: -moz-transform, opacity, width, height, left, top;
|
76
|
+
-ms-transition-property: -ms-transform, opacity, width, height, left, top;
|
77
|
+
-o-transition-property: -o-transform, opacity, width, height, left, top;
|
78
|
+
transition-property: transform, opacity, width, height, left, top; }
|
79
|
+
|
66
80
|
.multiple-transition-properties {
|
67
81
|
-webkit-transition-property: opacity, -webkit-transform, left;
|
68
82
|
-moz-transition-property: opacity, -moz-transform, left;
|
69
83
|
-ms-transition-property: opacity, -ms-transform, left;
|
70
84
|
-o-transition-property: opacity, -o-transform, left;
|
71
85
|
transition-property: opacity, transform, left; }
|
86
|
+
|
87
|
+
.transition-timing {
|
88
|
+
-webkit-transition-timing-function: ease-in;
|
89
|
+
-moz-transition-timing-function: ease-in;
|
90
|
+
-ms-transition-timing-function: ease-in;
|
91
|
+
-o-transition-timing-function: ease-in;
|
92
|
+
transition-timing-function: ease-in; }
|
93
|
+
|
94
|
+
.transition-timings {
|
95
|
+
-webkit-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
|
96
|
+
-moz-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
|
97
|
+
-ms-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
|
98
|
+
-o-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
|
99
|
+
transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0); }
|
100
|
+
|
101
|
+
.transition-timings-list {
|
102
|
+
-webkit-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
|
103
|
+
-moz-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
|
104
|
+
-ms-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
|
105
|
+
-o-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
|
106
|
+
transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0); }
|
107
|
+
|
108
|
+
.transition-timings-string {
|
109
|
+
-webkit-transition-timing-function: ease-in, cubic-bezier(1,0,1,0);
|
110
|
+
-moz-transition-timing-function: ease-in, cubic-bezier(1,0,1,0);
|
111
|
+
-ms-transition-timing-function: ease-in, cubic-bezier(1,0,1,0);
|
112
|
+
-o-transition-timing-function: ease-in, cubic-bezier(1,0,1,0);
|
113
|
+
transition-timing-function: ease-in, cubic-bezier(1,0,1,0); }
|
114
|
+
|
115
|
+
.transition-delay {
|
116
|
+
-webkit-transition-delay: 1s;
|
117
|
+
-moz-transition-delay: 1s;
|
118
|
+
-ms-transition-delay: 1s;
|
119
|
+
-o-transition-delay: 1s;
|
120
|
+
transition-delay: 1s; }
|
121
|
+
|
122
|
+
.transition-delays {
|
123
|
+
-webkit-transition-delay: 1s, 2s, 3s;
|
124
|
+
-moz-transition-delay: 1s, 2s, 3s;
|
125
|
+
-ms-transition-delay: 1s, 2s, 3s;
|
126
|
+
-o-transition-delay: 1s, 2s, 3s;
|
127
|
+
transition-delay: 1s, 2s, 3s; }
|
128
|
+
|
129
|
+
.transition-delays-list {
|
130
|
+
-webkit-transition-delay: 1s, 2s, 3s;
|
131
|
+
-moz-transition-delay: 1s, 2s, 3s;
|
132
|
+
-ms-transition-delay: 1s, 2s, 3s;
|
133
|
+
-o-transition-delay: 1s, 2s, 3s;
|
134
|
+
transition-delay: 1s, 2s, 3s; }
|
135
|
+
|
136
|
+
.transition-delays-string {
|
137
|
+
-webkit-transition-delay: 1s, 2s, 3s;
|
138
|
+
-moz-transition-delay: 1s, 2s, 3s;
|
139
|
+
-ms-transition-delay: 1s, 2s, 3s;
|
140
|
+
-o-transition-delay: 1s, 2s, 3s;
|
141
|
+
transition-delay: 1s, 2s, 3s; }
|
142
|
+
|
143
|
+
.regression-912 {
|
144
|
+
-webkit-transition: background-color 0.5s ease-in, width 0.5s ease-out, height 0.5s ease-in, top 0.5s ease-out;
|
145
|
+
-webkit-transition-delay: 0s, 0s, 0s, 0s;
|
146
|
+
-moz-transition: background-color 0.5s ease-in 0s, width 0.5s ease-out 0s, height 0.5s ease-in 0s, top 0.5s ease-out 0s;
|
147
|
+
-ms-transition: background-color 0.5s ease-in 0s, width 0.5s ease-out 0s, height 0.5s ease-in 0s, top 0.5s ease-out 0s;
|
148
|
+
-o-transition: background-color 0.5s ease-in 0s, width 0.5s ease-out 0s, height 0.5s ease-in 0s, top 0.5s ease-out 0s;
|
149
|
+
transition: background-color 0.5s ease-in 0s, width 0.5s ease-out 0s, height 0.5s ease-in 0s, top 0.5s ease-out 0s; }
|