chriseppstein-compass 0.5.5 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +17 -3
- data/VERSION +1 -1
- data/compass.gemspec +4 -4
- data/examples/blueprint_plugins/images/buttons/cross.png +0 -0
- data/examples/blueprint_plugins/images/buttons/key.png +0 -0
- data/examples/blueprint_plugins/images/buttons/tick.png +0 -0
- data/examples/blueprint_plugins/index.html +7 -0
- data/examples/blueprint_plugins/parts/buttons.html +59 -0
- data/examples/blueprint_plugins/src/buttons.sass +49 -0
- data/examples/compass/src/utilities.sass +34 -2
- data/examples/compass/utilities.html.haml +45 -1
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +3 -1
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +2 -1
- data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +6 -4
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +3 -3
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +3 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +1 -1
- data/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
- data/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/_general.sass +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +23 -10
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +2 -2
- data/frameworks/yui/stylesheets/yui/modules/_grids.sass +1 -1
- data/lib/compass/actions.rb +2 -3
- data/lib/compass/commands/create_project.rb +5 -26
- data/lib/compass/commands/generate_grid_background.rb +27 -0
- data/lib/compass/commands/project_base.rb +4 -0
- data/lib/compass/commands/stamp_pattern.rb +45 -0
- data/lib/compass/commands/validate_project.rb +21 -0
- data/lib/compass/configuration.rb +4 -0
- data/lib/compass/exec.rb +23 -0
- data/{frameworks/blueprint/lib/blueprint → lib/compass}/grid_builder.rb +26 -8
- data/lib/compass/installers/base.rb +20 -2
- data/lib/compass/installers/manifest.rb +1 -0
- data/lib/compass/installers/rails.rb +2 -3
- data/lib/compass/installers/stand_alone.rb +2 -6
- data/lib/compass/validator.rb +19 -22
- data/test/fixtures/stylesheets/blueprint/css/typography.css +2 -0
- data/test/fixtures/stylesheets/compass/css/utilities.css +13 -2
- data/test/fixtures/stylesheets/compass/sass/utilities.sass +3 -2
- metadata +23 -6
- data/frameworks/blueprint/lib/blueprint/constants.rb +0 -17
- data/lib/compass/validate.rb +0 -13
data/Manifest
CHANGED
@@ -11,11 +11,16 @@ examples/blueprint_default/src/ie.sass
|
|
11
11
|
examples/blueprint_default/src/images/grid.png
|
12
12
|
examples/blueprint_default/src/print.sass
|
13
13
|
examples/blueprint_default/src/screen.sass
|
14
|
+
examples/blueprint_plugins/images/buttons/cross.png
|
15
|
+
examples/blueprint_plugins/images/buttons/key.png
|
16
|
+
examples/blueprint_plugins/images/buttons/tick.png
|
14
17
|
examples/blueprint_plugins/index.html
|
18
|
+
examples/blueprint_plugins/parts/buttons.html
|
15
19
|
examples/blueprint_plugins/parts/fancy_type.html
|
16
20
|
examples/blueprint_plugins/parts/test-small.jpg
|
17
21
|
examples/blueprint_plugins/parts/test.jpg
|
18
22
|
examples/blueprint_plugins/parts/valid.png
|
23
|
+
examples/blueprint_plugins/src/buttons.sass
|
19
24
|
examples/blueprint_plugins/src/ie.sass
|
20
25
|
examples/blueprint_plugins/src/images/grid.png
|
21
26
|
examples/blueprint_plugins/src/print.sass
|
@@ -55,12 +60,11 @@ examples/yui/sub_divisions.html.haml
|
|
55
60
|
examples/yui/templates.html.haml
|
56
61
|
examples/yui/test.jpg
|
57
62
|
examples/yui/typography.html.haml
|
58
|
-
frameworks/blueprint/lib/blueprint/constants.rb
|
59
|
-
frameworks/blueprint/lib/blueprint/grid_builder.rb
|
60
63
|
frameworks/blueprint/stylesheets/_blueprint.sass
|
61
64
|
frameworks/blueprint/stylesheets/blueprint/_ie.sass
|
62
65
|
frameworks/blueprint/stylesheets/blueprint/_print.sass
|
63
66
|
frameworks/blueprint/stylesheets/blueprint/_screen.sass
|
67
|
+
frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass
|
64
68
|
frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass
|
65
69
|
frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass
|
66
70
|
frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass
|
@@ -71,6 +75,11 @@ frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass
|
|
71
75
|
frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass
|
72
76
|
frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass
|
73
77
|
frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass
|
78
|
+
frameworks/blueprint/templates/buttons/buttons/cross.png
|
79
|
+
frameworks/blueprint/templates/buttons/buttons/key.png
|
80
|
+
frameworks/blueprint/templates/buttons/buttons/tick.png
|
81
|
+
frameworks/blueprint/templates/buttons/buttons.sass
|
82
|
+
frameworks/blueprint/templates/buttons/manifest.rb
|
74
83
|
frameworks/blueprint/templates/project/grid.png
|
75
84
|
frameworks/blueprint/templates/project/ie.sass
|
76
85
|
frameworks/blueprint/templates/project/manifest.rb
|
@@ -90,6 +99,8 @@ frameworks/compass/stylesheets/compass/utilities/_print.sass
|
|
90
99
|
frameworks/compass/stylesheets/compass/utilities/_tables.sass
|
91
100
|
frameworks/compass/stylesheets/compass/utilities/_text.sass
|
92
101
|
frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass
|
102
|
+
frameworks/compass/stylesheets/compass/utilities/general/_float.sass
|
103
|
+
frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass
|
93
104
|
frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass
|
94
105
|
frameworks/compass/stylesheets/compass/utilities/general/_reset.sass
|
95
106
|
frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass
|
@@ -121,10 +132,13 @@ frameworks/yui.rb
|
|
121
132
|
lib/compass/actions.rb
|
122
133
|
lib/compass/commands/base.rb
|
123
134
|
lib/compass/commands/create_project.rb
|
135
|
+
lib/compass/commands/generate_grid_background.rb
|
124
136
|
lib/compass/commands/list_frameworks.rb
|
125
137
|
lib/compass/commands/print_version.rb
|
126
138
|
lib/compass/commands/project_base.rb
|
139
|
+
lib/compass/commands/stamp_pattern.rb
|
127
140
|
lib/compass/commands/update_project.rb
|
141
|
+
lib/compass/commands/validate_project.rb
|
128
142
|
lib/compass/commands/watch_project.rb
|
129
143
|
lib/compass/commands/write_configuration.rb
|
130
144
|
lib/compass/compiler.rb
|
@@ -133,6 +147,7 @@ lib/compass/core_ext.rb
|
|
133
147
|
lib/compass/errors.rb
|
134
148
|
lib/compass/exec.rb
|
135
149
|
lib/compass/frameworks.rb
|
150
|
+
lib/compass/grid_builder.rb
|
136
151
|
lib/compass/installers/base.rb
|
137
152
|
lib/compass/installers/manifest.rb
|
138
153
|
lib/compass/installers/rails.rb
|
@@ -149,7 +164,6 @@ lib/compass/validate/JIGSAW_COPYRIGHT
|
|
149
164
|
lib/compass/validate/README.html
|
150
165
|
lib/compass/validate/xerces.jar
|
151
166
|
lib/compass/validate/XERCES_COPYING.txt
|
152
|
-
lib/compass/validate.rb
|
153
167
|
lib/compass/validator.rb
|
154
168
|
lib/compass/version.rb
|
155
169
|
lib/compass.rb
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.9
|
data/compass.gemspec
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{compass}
|
3
|
-
s.version = "0.5.
|
3
|
+
s.version = "0.5.9"
|
4
4
|
|
5
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
6
6
|
s.authors = ["Chris Eppstein"]
|
7
|
-
s.date = %q{2009-04-
|
7
|
+
s.date = %q{2009-04-03}
|
8
8
|
s.default_executable = %q{compass}
|
9
9
|
s.description = %q{Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.}
|
10
10
|
s.email = %q{chris@eppsteins.net}
|
11
11
|
s.executables = ["compass"]
|
12
|
-
s.extra_rdoc_files = ["bin/compass", "lib/compass/actions.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/core_ext.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/frameworks.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/rails.rb", "lib/compass/installers/stand_alone.rb", "lib/compass/installers.rb", "lib/compass/logger.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/
|
13
|
-
s.files = ["bin/compass", "compass.gemspec", "examples/blueprint_default/index.html", "examples/blueprint_default/parts/elements.html", "examples/blueprint_default/parts/forms.html", "examples/blueprint_default/parts/grid.html", "examples/blueprint_default/parts/test-small.jpg", "examples/blueprint_default/parts/test.jpg", "examples/blueprint_default/parts/valid.png", "examples/blueprint_default/src/ie.sass", "examples/blueprint_default/src/images/grid.png", "examples/blueprint_default/src/print.sass", "examples/blueprint_default/src/screen.sass", "examples/blueprint_plugins/index.html", "examples/blueprint_plugins/parts/fancy_type.html", "examples/blueprint_plugins/parts/test-small.jpg", "examples/blueprint_plugins/parts/test.jpg", "examples/blueprint_plugins/parts/valid.png", "examples/blueprint_plugins/src/ie.sass", "examples/blueprint_plugins/src/images/grid.png", "examples/blueprint_plugins/src/print.sass", "examples/blueprint_plugins/src/screen.sass", "examples/blueprint_scoped/src/ie.sass", "examples/blueprint_scoped/src/print.sass", "examples/blueprint_scoped/src/screen.sass", "examples/blueprint_scoped_form/src/ie.sass", "examples/blueprint_scoped_form/src/print.sass", "examples/blueprint_scoped_form/src/screen.sass", "examples/blueprint_semantic/index.html", "examples/blueprint_semantic/parts/fancy_type.html", "examples/blueprint_semantic/parts/liquid.html", "examples/blueprint_semantic/parts/test-small.jpg", "examples/blueprint_semantic/parts/test.jpg", "examples/blueprint_semantic/parts/valid.png", "examples/blueprint_semantic/src/ie.sass", "examples/blueprint_semantic/src/images/grid.png", "examples/blueprint_semantic/src/liquid.sass", "examples/blueprint_semantic/src/print.sass", "examples/blueprint_semantic/src/screen.sass", "examples/compass/compass.html", "examples/compass/src/compass.sass", "examples/compass/src/images/blue_arrow.gif", "examples/compass/src/sticky_footer.sass", "examples/compass/src/utilities.sass", "examples/compass/sticky_footer.html.haml", "examples/compass/utilities.html.haml", "examples/logo/logo.html", "examples/logo/src/ie.sass", "examples/logo/src/print.sass", "examples/logo/src/screen.sass", "examples/yui/divisions.html.haml", "examples/yui/index.html.haml", "examples/yui/src/screen.sass", "examples/yui/sub_divisions.html.haml", "examples/yui/templates.html.haml", "examples/yui/test.jpg", "examples/yui/typography.html.haml", "frameworks/blueprint/
|
12
|
+
s.extra_rdoc_files = ["bin/compass", "lib/compass/actions.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/generate_grid_background.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/stamp_pattern.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/validate_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/core_ext.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/frameworks.rb", "lib/compass/grid_builder.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/rails.rb", "lib/compass/installers/stand_alone.rb", "lib/compass/installers.rb", "lib/compass/logger.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/compass.rb", "lib/sass_extensions.rb", "README.markdown"]
|
13
|
+
s.files = ["bin/compass", "compass.gemspec", "examples/blueprint_default/index.html", "examples/blueprint_default/parts/elements.html", "examples/blueprint_default/parts/forms.html", "examples/blueprint_default/parts/grid.html", "examples/blueprint_default/parts/test-small.jpg", "examples/blueprint_default/parts/test.jpg", "examples/blueprint_default/parts/valid.png", "examples/blueprint_default/src/ie.sass", "examples/blueprint_default/src/images/grid.png", "examples/blueprint_default/src/print.sass", "examples/blueprint_default/src/screen.sass", "examples/blueprint_plugins/images/buttons/cross.png", "examples/blueprint_plugins/images/buttons/key.png", "examples/blueprint_plugins/images/buttons/tick.png", "examples/blueprint_plugins/index.html", "examples/blueprint_plugins/parts/buttons.html", "examples/blueprint_plugins/parts/fancy_type.html", "examples/blueprint_plugins/parts/test-small.jpg", "examples/blueprint_plugins/parts/test.jpg", "examples/blueprint_plugins/parts/valid.png", "examples/blueprint_plugins/src/buttons.sass", "examples/blueprint_plugins/src/ie.sass", "examples/blueprint_plugins/src/images/grid.png", "examples/blueprint_plugins/src/print.sass", "examples/blueprint_plugins/src/screen.sass", "examples/blueprint_scoped/src/ie.sass", "examples/blueprint_scoped/src/print.sass", "examples/blueprint_scoped/src/screen.sass", "examples/blueprint_scoped_form/src/ie.sass", "examples/blueprint_scoped_form/src/print.sass", "examples/blueprint_scoped_form/src/screen.sass", "examples/blueprint_semantic/index.html", "examples/blueprint_semantic/parts/fancy_type.html", "examples/blueprint_semantic/parts/liquid.html", "examples/blueprint_semantic/parts/test-small.jpg", "examples/blueprint_semantic/parts/test.jpg", "examples/blueprint_semantic/parts/valid.png", "examples/blueprint_semantic/src/ie.sass", "examples/blueprint_semantic/src/images/grid.png", "examples/blueprint_semantic/src/liquid.sass", "examples/blueprint_semantic/src/print.sass", "examples/blueprint_semantic/src/screen.sass", "examples/compass/compass.html", "examples/compass/src/compass.sass", "examples/compass/src/images/blue_arrow.gif", "examples/compass/src/sticky_footer.sass", "examples/compass/src/utilities.sass", "examples/compass/sticky_footer.html.haml", "examples/compass/utilities.html.haml", "examples/logo/logo.html", "examples/logo/src/ie.sass", "examples/logo/src/print.sass", "examples/logo/src/screen.sass", "examples/yui/divisions.html.haml", "examples/yui/index.html.haml", "examples/yui/src/screen.sass", "examples/yui/sub_divisions.html.haml", "examples/yui/templates.html.haml", "examples/yui/test.jpg", "examples/yui/typography.html.haml", "frameworks/blueprint/stylesheets/_blueprint.sass", "frameworks/blueprint/stylesheets/blueprint/_ie.sass", "frameworks/blueprint/stylesheets/blueprint/_print.sass", "frameworks/blueprint/stylesheets/blueprint/_screen.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_form.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass", "frameworks/blueprint/templates/buttons/buttons/cross.png", "frameworks/blueprint/templates/buttons/buttons/key.png", "frameworks/blueprint/templates/buttons/buttons/tick.png", "frameworks/blueprint/templates/buttons/buttons.sass", "frameworks/blueprint/templates/buttons/manifest.rb", "frameworks/blueprint/templates/project/grid.png", "frameworks/blueprint/templates/project/ie.sass", "frameworks/blueprint/templates/project/manifest.rb", "frameworks/blueprint/templates/project/print.sass", "frameworks/blueprint/templates/project/screen.sass", "frameworks/blueprint.rb", "frameworks/compass/stylesheets/_compass.sass", "frameworks/compass/stylesheets/compass/_layout.sass", "frameworks/compass/stylesheets/compass/_misc.sass", "frameworks/compass/stylesheets/compass/_reset.sass", "frameworks/compass/stylesheets/compass/_utilities.sass", "frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass", "frameworks/compass/stylesheets/compass/utilities/_general.sass", "frameworks/compass/stylesheets/compass/utilities/_links.sass", "frameworks/compass/stylesheets/compass/utilities/_lists.sass", "frameworks/compass/stylesheets/compass/utilities/_print.sass", "frameworks/compass/stylesheets/compass/utilities/_tables.sass", "frameworks/compass/stylesheets/compass/utilities/_text.sass", "frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass", "frameworks/compass/stylesheets/compass/utilities/general/_float.sass", "frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass", "frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass", "frameworks/compass/stylesheets/compass/utilities/general/_reset.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass", "frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass", "frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass", "frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass", "frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass", "frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass", "frameworks/compass/templates/project/ie.sass", "frameworks/compass/templates/project/manifest.rb", "frameworks/compass/templates/project/print.sass", "frameworks/compass/templates/project/screen.sass", "frameworks/compass.rb", "frameworks/yui/COPYRIGHT", "frameworks/yui/stylesheets/_yui.sass", "frameworks/yui/stylesheets/yui/modules/_base.sass", "frameworks/yui/stylesheets/yui/modules/_fonts.sass", "frameworks/yui/stylesheets/yui/modules/_grids.sass", "frameworks/yui/templates/project/manifest.rb", "frameworks/yui/templates/project/screen.sass", "frameworks/yui.rb", "lib/compass/actions.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/generate_grid_background.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/stamp_pattern.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/validate_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/core_ext.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/frameworks.rb", "lib/compass/grid_builder.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/rails.rb", "lib/compass/installers/stand_alone.rb", "lib/compass/installers.rb", "lib/compass/logger.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/compass.rb", "lib/sass_extensions.rb", "Manifest", "Rakefile", "README.markdown", "test/command_line_test.rb", "test/compass_test.rb", "test/configuration_test.rb", "test/fixtures/stylesheets/blueprint/css/typography.css", "test/fixtures/stylesheets/blueprint/sass/ie.sass", "test/fixtures/stylesheets/blueprint/sass/print.sass", "test/fixtures/stylesheets/blueprint/sass/screen.sass", "test/fixtures/stylesheets/blueprint/sass/typography.sass", "test/fixtures/stylesheets/compass/css/layout.css", "test/fixtures/stylesheets/compass/css/print.css", "test/fixtures/stylesheets/compass/css/reset.css", "test/fixtures/stylesheets/compass/css/utilities.css", "test/fixtures/stylesheets/compass/sass/layout.sass", "test/fixtures/stylesheets/compass/sass/print.sass", "test/fixtures/stylesheets/compass/sass/reset.sass", "test/fixtures/stylesheets/compass/sass/utilities.sass", "test/fixtures/stylesheets/yui/css/mixins.css", "test/fixtures/stylesheets/yui/sass/base.sass", "test/fixtures/stylesheets/yui/sass/fonts.sass", "test/fixtures/stylesheets/yui/sass/grids.sass", "test/fixtures/stylesheets/yui/sass/mixins.sass", "test/sass_extensions_test.rb", "test/test_helper.rb", "VERSION"]
|
14
14
|
s.homepage = %q{http://github.com/chriseppstein/compass}
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass", "--main", "README.markdown"]
|
16
16
|
s.require_paths = ["lib"]
|
Binary file
|
Binary file
|
Binary file
|
@@ -35,6 +35,13 @@
|
|
35
35
|
</td>
|
36
36
|
<td>A simple sample page, with common elements and fancy type.</td>
|
37
37
|
</tr>
|
38
|
+
<tr>
|
39
|
+
<td><a href="parts/buttons.html">Buttons</a></td>
|
40
|
+
<td>
|
41
|
+
<a href="../../frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass">grid.sass</a>,
|
42
|
+
</td>
|
43
|
+
<td>A simple page, showing links and buttons styled using the button plugin.</td>
|
44
|
+
</tr>
|
38
45
|
</table>
|
39
46
|
|
40
47
|
<p><em><strong>Note about the css files:</strong></em>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
2
|
+
"http://www.w3.org/TR/html4/strict.dtd">
|
3
|
+
|
4
|
+
<html lang="en">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
7
|
+
<title>Blueprint Buttons Sample Page</title>
|
8
|
+
|
9
|
+
<!-- Framework CSS -->
|
10
|
+
<link rel="stylesheet" href="../stylesheets/screen.css" type="text/css" media="screen, projection">
|
11
|
+
<link rel="stylesheet" href="../stylesheets/print.css" type="text/css" media="print">
|
12
|
+
<!--[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]-->
|
13
|
+
<link rel="stylesheet" href="../stylesheets/buttons.css" type="text/css" media="screen, projection">
|
14
|
+
</head>
|
15
|
+
|
16
|
+
<body>
|
17
|
+
|
18
|
+
<div class="container">
|
19
|
+
<h1>A Button Example Page</h1>
|
20
|
+
<hr>
|
21
|
+
<h2 class="alt">This sample page demonstrates what you can do with the Buttons plugin.</h2>
|
22
|
+
<hr>
|
23
|
+
|
24
|
+
<div class="span-12">
|
25
|
+
<h3>Link Buttons</h3>
|
26
|
+
<a class="button">Link Button</a>
|
27
|
+
<a class="button positive">Positive Button</a>
|
28
|
+
<a class="button negative">Negative Button</a>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div class="span-12 last">
|
32
|
+
<h3>Real Buttons</h3>
|
33
|
+
<button>Normal Button</button>
|
34
|
+
<button class="positive">Positive Button</button>
|
35
|
+
<button class="negative">Negative Button</button>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div class="span-12">
|
39
|
+
<h3>Link Buttons with Images</h3>
|
40
|
+
<a class="button"><img src="../images/buttons/tick.png" alt=""/> Save</a>
|
41
|
+
<a class="button positive"><img src="../images/buttons/key.png" alt=""/> Change Password</a>
|
42
|
+
<a class="button negative"><img src="../images/buttons/cross.png" alt=""/> Cancel</a>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div class="span-12 last">
|
46
|
+
<h3>Real Buttons with Images</h3>
|
47
|
+
<button><img src="../images/buttons/tick.png" alt=""/> Save</button>
|
48
|
+
<button class="positive"><img src="../images/buttons/key.png" alt=""/> Change Password</button>
|
49
|
+
<button class="negative"><img src="../images/buttons/cross.png" alt=""/> Cancel</button>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
<div class="span-24">
|
53
|
+
<p><a href="http://validator.w3.org/check?uri=referer">
|
54
|
+
<img src="valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88" class="top"></a></p>
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
</body>
|
59
|
+
</html>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
@import compass/utilities/general/float.sass
|
2
|
+
@import blueprint/modules/buttons.sass
|
3
|
+
|
4
|
+
//
|
5
|
+
Use the following HTML code to place the buttons on your site:
|
6
|
+
|
7
|
+
<button type="submit" class="button positive">
|
8
|
+
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
|
9
|
+
</button>
|
10
|
+
|
11
|
+
<a class="button" href="/password/reset/">
|
12
|
+
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
|
13
|
+
</a>
|
14
|
+
|
15
|
+
<a href="#" class="button negative">
|
16
|
+
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
|
17
|
+
</a>
|
18
|
+
|
19
|
+
a.button
|
20
|
+
// you can pass "left" or "right" to +anchor-button to float it in that direction
|
21
|
+
// or you can pass no argument to leave it inline-block (cross browser safe!) within
|
22
|
+
// the flow of your page.
|
23
|
+
+anchor-button("left")
|
24
|
+
// All the button color mixins take 4 optional arguments:
|
25
|
+
// font color, background color, border color, border highlight color
|
26
|
+
// the first three default to constants set in blueprint/modules/buttons.sass
|
27
|
+
// the last one defaults to a shade lighter than the border color.
|
28
|
+
+button-colors
|
29
|
+
+button-hover-colors
|
30
|
+
+button-active-colors
|
31
|
+
|
32
|
+
button
|
33
|
+
// The +button-button mixin is just like the +anchor-button mixin, but for <button> elements.
|
34
|
+
+button-button("left")
|
35
|
+
+button-colors
|
36
|
+
+button-hover-colors
|
37
|
+
+button-active-colors
|
38
|
+
|
39
|
+
// We can change the colors for buttons of certain classes, etc.
|
40
|
+
a.positive, button.positive
|
41
|
+
:color #529214
|
42
|
+
+button-hover-colors(#529214, #E6EFC2, #C6D880)
|
43
|
+
+button-active-colors(#FFF, #529214, #529214)
|
44
|
+
|
45
|
+
a.negative, button.negative
|
46
|
+
:color #D12F19
|
47
|
+
+button-hover-colors(#D12F19, #FBE3E4, #FBC2C4)
|
48
|
+
+button-active-colors(#FFF, #D12F19, #D12F19)
|
49
|
+
|
@@ -39,7 +39,6 @@ h2
|
|
39
39
|
:padding 2px
|
40
40
|
:line-height 22px
|
41
41
|
:white-space nowrap
|
42
|
-
|
43
42
|
|
44
43
|
#tag-cloud
|
45
44
|
+column(8)
|
@@ -66,4 +65,37 @@ h2
|
|
66
65
|
+alternating-rows-and-columns(#F9E5A7,#CEFBB3,#222)
|
67
66
|
+table-scaffolding
|
68
67
|
+outer-table-borders(2px, #151A99)
|
69
|
-
+inner-table-borders(1px, #151A99)
|
68
|
+
+inner-table-borders(1px, #151A99)
|
69
|
+
|
70
|
+
#floats
|
71
|
+
+column(16)
|
72
|
+
.clearfix-example
|
73
|
+
:background #ddd
|
74
|
+
:border 2px solid black
|
75
|
+
:text-align center
|
76
|
+
+clearfix
|
77
|
+
.float-left-example, .float-right-example
|
78
|
+
:border 1px solid black
|
79
|
+
:padding 10px
|
80
|
+
:margin 0 20px
|
81
|
+
:width 25%
|
82
|
+
:background #F9E5A7
|
83
|
+
.float-left-example
|
84
|
+
+float-left
|
85
|
+
.float-right-example
|
86
|
+
+float-right
|
87
|
+
.pie-clearfix-example
|
88
|
+
:background #ddd
|
89
|
+
:border 2px solid black
|
90
|
+
:text-align center
|
91
|
+
:position relative
|
92
|
+
+pie-clearfix
|
93
|
+
.positioned-example
|
94
|
+
:display block
|
95
|
+
:position absolute
|
96
|
+
:left -10px
|
97
|
+
:top -10px
|
98
|
+
:font-size 10px
|
99
|
+
:width 10em
|
100
|
+
:background #ccf
|
101
|
+
:border 1px solid black
|
@@ -138,4 +138,48 @@
|
|
138
138
|
%th Totals
|
139
139
|
%td.numeric.even 15.5
|
140
140
|
%td.numeric.odd 16.0
|
141
|
-
%td.numeric.even 17.5
|
141
|
+
%td.numeric.even 17.5
|
142
|
+
#floats
|
143
|
+
.example
|
144
|
+
%h2 Floats
|
145
|
+
%p
|
146
|
+
The float helpers add fixes for the double-margin float
|
147
|
+
bug, so you don't need to remember.
|
148
|
+
%p
|
149
|
+
Floated elements will extend beyond the bottom boundary of their
|
150
|
+
parent container unless a
|
151
|
+
%code.mixin +clearfix
|
152
|
+
is applied to the parent.
|
153
|
+
%p
|
154
|
+
The regular
|
155
|
+
%code.mixin +clearfix
|
156
|
+
method uses overflow:hidden. This is a simple and reliable way to
|
157
|
+
get your box wrapped around your float elements.
|
158
|
+
.clearfix-example
|
159
|
+
.float-left-example
|
160
|
+
This div is styled with
|
161
|
+
%code.mixin +float-left
|
162
|
+
\. It is taller than its parent and it should be 20px from the left edge.
|
163
|
+
.float-right-example
|
164
|
+
This short div is styled with
|
165
|
+
%code.mixin +float-right
|
166
|
+
and it should be 20px from the right edge, even in IE6.
|
167
|
+
This div is styled with
|
168
|
+
%code.mixin +clearfix
|
169
|
+
%p
|
170
|
+
An alternate clearing method is provided for when elements need
|
171
|
+
to be positioned to hang outside the box. This is based on the
|
172
|
+
\:after content method.
|
173
|
+
.pie-clearfix-example
|
174
|
+
.float-left-example
|
175
|
+
This div is styled with
|
176
|
+
%code.mixin +float-left
|
177
|
+
\. It is taller than its parent and it should be 20px from the left edge.
|
178
|
+
.float-right-example
|
179
|
+
This short div is styled with
|
180
|
+
%code.mixin +float-right
|
181
|
+
and it should be 20px from the right edge, even in IE6.
|
182
|
+
This div is styled with
|
183
|
+
%code.mixin +pie-clearfix
|
184
|
+
.positioned-example
|
185
|
+
Using this clear method, this positioned box is not cut off.
|
@@ -1,4 +1,5 @@
|
|
1
1
|
@import modules/typography.sass
|
2
|
+
@import compass/utilities/general/float.sass
|
2
3
|
|
3
4
|
// The +blueprint-print mixin must be mixed into the top level of your stylesheet.
|
4
5
|
// However, you can customize the body selector if you wish to control the scope
|
@@ -55,7 +56,7 @@
|
|
55
56
|
:size .9em
|
56
57
|
:family= !blueprint_fixed_font_family
|
57
58
|
img
|
58
|
-
|
59
|
+
+float-left
|
59
60
|
:margin 1.5em 1.5em 1.5em 0
|
60
61
|
a
|
61
62
|
img
|
@@ -0,0 +1,84 @@
|
|
1
|
+
@import compass/utilities/general/inline_block.sass
|
2
|
+
@import compass/utilities/general/float.sass
|
3
|
+
|
4
|
+
// Button Font
|
5
|
+
!blueprint_button_font_family ||= "\"Lucida Grande\", Tahoma, Arial, Verdana, sans-serif"
|
6
|
+
|
7
|
+
// Default Button Colors
|
8
|
+
!blueprint_button_border_color ||= #DEDEDE
|
9
|
+
!blueprint_button_background_color ||= #F5F5F5
|
10
|
+
!blueprint_button_font_color ||= #565656
|
11
|
+
|
12
|
+
// Default Button Hover Colors
|
13
|
+
!blueprint_button_hover_border_color ||= #C2E1EF
|
14
|
+
!blueprint_button_hover_background_color ||= #DFF4FF
|
15
|
+
!blueprint_button_hover_font_color ||= #336699
|
16
|
+
|
17
|
+
// Default Button Active Colors
|
18
|
+
!blueprint_button_active_border_color ||= #6299C5
|
19
|
+
!blueprint_button_active_background_color ||= #6299C5
|
20
|
+
!blueprint_button_active_font_color ||= #FFF
|
21
|
+
|
22
|
+
//**
|
23
|
+
Sets the colors for a button
|
24
|
+
@param border_highlight_color
|
25
|
+
The highlight color defaults to whatever is the value of the border_color but it's one shade lighter.
|
26
|
+
=button-colors(!font_color = !blueprint_button_font_color, !bg_color = !blueprint_button_background_color, !border_color = !blueprint_button_border_color, !border_highlight_color = !border_color + #101010)
|
27
|
+
:background-color= !bg_color
|
28
|
+
:border-color= !border_highlight_color !border_color !border_color !border_highlight_color
|
29
|
+
:color= !font_color
|
30
|
+
|
31
|
+
//**
|
32
|
+
Sets the colors for a button in the active state
|
33
|
+
@param border_highlight_color
|
34
|
+
The highlight color defaults to whatever is the value of the border_color but it's one shade lighter.
|
35
|
+
=button-active-colors(!font_color = !blueprint_button_active_font_color, !bg_color = !blueprint_button_active_background_color, !border_color = !blueprint_button_active_border_color, !border_highlight_color = !border_color + #101010)
|
36
|
+
&:active
|
37
|
+
+button-colors(!font_color, !bg_color, !border_color, !border_highlight_color)
|
38
|
+
|
39
|
+
//**
|
40
|
+
Sets the colors for a button in the hover state.
|
41
|
+
@param border_highlight_color
|
42
|
+
The highlight color defaults to whatever is the value of the border_color but it's one shade lighter.
|
43
|
+
=button-hover-colors(!font_color = !blueprint_button_hover_font_color, !bg_color = !blueprint_button_hover_background_color, !border_color = !blueprint_button_hover_border_color, !border_highlight_color = !border_color + #101010)
|
44
|
+
&:hover
|
45
|
+
+button-colors(!font_color, !bg_color, !border_color, !border_highlight_color)
|
46
|
+
|
47
|
+
=button-base(!float = false)
|
48
|
+
@if !float
|
49
|
+
:display block
|
50
|
+
+float(!float)
|
51
|
+
@else
|
52
|
+
+inline-block
|
53
|
+
:margin 0.7em 0.5em 0.7em 0
|
54
|
+
:border-width 1px
|
55
|
+
:border-style solid
|
56
|
+
:font-family= !blueprint_button_font_family
|
57
|
+
:font-size 100%
|
58
|
+
:line-height 130%
|
59
|
+
:text-decoration none
|
60
|
+
:font-weight bold
|
61
|
+
:cursor pointer
|
62
|
+
img
|
63
|
+
:margin 0 3px -3px 0 !important
|
64
|
+
:padding 0
|
65
|
+
:border none
|
66
|
+
:width 16px
|
67
|
+
:height 16px
|
68
|
+
:float none
|
69
|
+
|
70
|
+
|
71
|
+
=anchor-button(!float = false)
|
72
|
+
+button-base(!float)
|
73
|
+
:padding 5px 10px 5px 7px
|
74
|
+
|
75
|
+
=button-button(!float = false)
|
76
|
+
+button-base(!float)
|
77
|
+
:width auto
|
78
|
+
:overflow visible
|
79
|
+
:padding 4px 10px 3px 7px
|
80
|
+
&[type]
|
81
|
+
:padding 4px 10px 4px 7px
|
82
|
+
:line-height 17px
|
83
|
+
*:first-child+html &[type]
|
84
|
+
:padding 4px 10px 3px 7px
|