compass-edge 0.9.5.0 → 0.10.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +0 -153
- data/README.markdown +2 -12
- data/REVISION +1 -1
- data/Rakefile +2 -37
- data/VERSION.yml +1 -1
- data/examples/blueprint_default/index.html.haml +3 -3
- data/examples/blueprint_default/parts/forms.html.haml +0 -2
- data/examples/blueprint_default/src/screen.sass +1 -1
- data/examples/blueprint_plugins/index.html.haml +6 -6
- data/examples/blueprint_plugins/src/buttons.sass +2 -2
- data/examples/blueprint_plugins/src/link_icons.sass +1 -1
- data/examples/blueprint_plugins/src/rtl_screen.sass +3 -3
- data/examples/blueprint_plugins/src/screen.sass +2 -2
- data/examples/blueprint_semantic/src/liquid.sass +4 -4
- data/examples/blueprint_semantic/src/screen.sass +3 -3
- data/examples/compass/src/utilities.sass +2 -2
- data/examples/downloader.rb +2 -2
- data/lib/compass/app_integration.rb +0 -21
- data/lib/compass/app_integration/rails.rb +0 -18
- data/lib/compass/app_integration/rails/configuration_defaults.rb +0 -16
- data/lib/compass/app_integration/rails/installer.rb +6 -6
- data/lib/compass/app_integration/stand_alone.rb +1 -20
- data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +1 -5
- data/lib/compass/app_integration/stand_alone/installer.rb +17 -29
- data/lib/compass/commands.rb +2 -2
- data/lib/compass/commands/create_project.rb +1 -10
- data/lib/compass/commands/generate_grid_background.rb +1 -1
- data/lib/compass/commands/help.rb +7 -34
- data/lib/compass/commands/installer_command.rb +11 -15
- data/lib/compass/commands/project_base.rb +2 -2
- data/lib/compass/commands/update_project.rb +1 -51
- data/lib/compass/commands/validate_project.rb +3 -59
- data/lib/compass/commands/watch_project.rb +2 -4
- data/lib/compass/commands/write_configuration.rb +3 -84
- data/lib/compass/compiler.rb +4 -13
- data/lib/compass/configuration.rb +18 -23
- data/lib/compass/configuration/adapters.rb +1 -1
- data/lib/compass/configuration/data.rb +2 -5
- data/lib/compass/configuration/defaults.rb +1 -32
- data/lib/compass/configuration/helpers.rb +10 -47
- data/lib/compass/configuration/inheritance.rb +1 -1
- data/lib/compass/configuration/serialization.rb +2 -2
- data/lib/compass/errors.rb +1 -4
- data/lib/compass/exec.rb +0 -1
- data/lib/compass/exec/project_options_parser.rb +0 -4
- data/lib/compass/frameworks.rb +1 -40
- data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +1 -29
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +2 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +4 -1
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass +2 -57
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +29 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +140 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +122 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +160 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -2
- data/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass +2 -2
- data/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb +0 -12
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass +1 -1
- data/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb +0 -13
- data/lib/compass/frameworks/blueprint/templates/project/manifest.rb +0 -24
- data/lib/compass/frameworks/blueprint/templates/project/screen.sass +7 -1
- data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +1 -9
- data/lib/compass/frameworks/compass/stylesheets/_compass.sass +1 -2
- data/lib/compass/frameworks/compass/stylesheets/compass/_utilities.sass +1 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_css3.sass +6 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_border_radius.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_box_shadow.sass +12 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_box_sizing.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_columns.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_inline_block.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_opacity.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +2 -2
- data/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb +1 -26
- data/lib/compass/frameworks/compass/templates/extension/manifest.rb +2 -16
- data/lib/compass/frameworks/compass/templates/project/manifest.rb +0 -1
- data/lib/compass/grid_builder.rb +1 -1
- data/lib/compass/installers.rb +1 -1
- data/lib/compass/installers/base.rb +52 -13
- data/lib/compass/installers/manifest.rb +1 -33
- data/lib/compass/logger.rb +2 -28
- data/lib/compass/sass_extensions/functions.rb +1 -3
- data/lib/compass/sass_extensions/functions/enumerate.rb +2 -2
- data/lib/compass/sass_extensions/functions/inline_image.rb +1 -22
- data/lib/compass/sass_extensions/functions/urls.rb +0 -20
- data/lib/compass/sass_extensions/monkey_patches.rb +2 -2
- data/lib/compass/validator.rb +3 -2
- data/lib/vendor/fssm.rb +6 -19
- data/lib/vendor/fssm/backends/fsevents.rb +60 -19
- data/lib/vendor/fssm/backends/polling.rb +18 -20
- data/lib/vendor/fssm/ext.rb +0 -30
- data/lib/vendor/fssm/monitor.rb +6 -10
- data/lib/vendor/fssm/path.rb +21 -24
- data/lib/vendor/fssm/state.rb +29 -37
- data/lib/vendor/fssm/support.rb +7 -3
- data/test/command_line_helper.rb +4 -12
- data/test/command_line_test.rb +2 -2
- data/test/compass_test.rb +4 -14
- data/test/configuration_test.rb +5 -5
- data/test/fixtures/stylesheets/blueprint/css/typography.css +3 -5
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +1 -1
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +2 -2
- data/test/fixtures/stylesheets/compass/css/print.css +8 -2
- data/test/fixtures/stylesheets/compass/css/reset.css +1 -1
- data/test/fixtures/stylesheets/image_urls/css/screen.css +0 -2
- data/test/io_helper.rb +1 -18
- data/test/rails_integration_test.rb +41 -3
- data/test/sass_extensions_test.rb +2 -2
- data/test/test_helper.rb +0 -1
- metadata +9 -124
- data/examples/compass/bootstrap.rb +0 -3
- data/examples/compass/extensions/yui/stylesheets/_yui.sass +0 -7
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +0 -70
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass +0 -45
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass +0 -385
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass +0 -61
- data/examples/compass/extensions/yui/templates/project/manifest.rb +0 -1
- data/examples/compass/extensions/yui/templates/project/screen.sass +0 -4
- data/examples/css3/config.rb +0 -6
- data/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass +0 -7
- data/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb +0 -5
- data/examples/css3/images/fresh-peas.jpg +0 -0
- data/examples/css3/index.html.haml +0 -55
- data/examples/css3/src/_base.sass +0 -14
- data/examples/css3/src/fancy-fonts.sass +0 -7
- data/examples/css3/src/gradient.sass +0 -10
- data/examples/css3/src/main.sass +0 -80
- data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
- data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
- data/examples/susy/bootstrap.rb +0 -3
- data/examples/susy/config.rb +0 -9
- data/examples/susy/extensions/susy/LICENSE.txt +0 -28
- data/examples/susy/extensions/susy/README.mkdn +0 -235
- data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +0 -35
- data/examples/susy/extensions/susy/docs/tutorial/build.sh +0 -141
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +0 -100
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +0 -98
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +0 -147
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +0 -19
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +0 -147
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +0 -48
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +0 -14
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass +0 -63
- data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +0 -1450
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +0 -100
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +0 -91
- data/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/index.mkdn +0 -301
- data/examples/susy/extensions/susy/lib/susy.rb +0 -2
- data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +0 -5
- data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +0 -79
- data/examples/susy/extensions/susy/sass/susy/_grid.sass +0 -128
- data/examples/susy/extensions/susy/sass/susy/_reset.sass +0 -7
- data/examples/susy/extensions/susy/sass/susy/_susy.sass +0 -23
- data/examples/susy/extensions/susy/sass/susy/_text.sass +0 -15
- data/examples/susy/extensions/susy/sass/susy/_utils.sass +0 -81
- data/examples/susy/extensions/susy/templates/project/_base.sass +0 -62
- data/examples/susy/extensions/susy/templates/project/_defaults.sass +0 -147
- data/examples/susy/extensions/susy/templates/project/ie.sass +0 -9
- data/examples/susy/extensions/susy/templates/project/manifest.rb +0 -5
- data/examples/susy/extensions/susy/templates/project/print.sass +0 -7
- data/examples/susy/extensions/susy/templates/project/screen.sass +0 -44
- data/examples/susy/src/_base.sass +0 -62
- data/examples/susy/src/_defaults.sass +0 -148
- data/examples/susy/src/screen.sass +0 -114
- data/features/command_line.feature +0 -226
- data/features/extensions.feature +0 -20
- data/features/step_definitions/command_line_steps.rb +0 -223
- data/features/step_definitions/extension_steps.rb +0 -13
- data/lib/compass/commands/interactive.rb +0 -61
- data/lib/compass/commands/project_stats.rb +0 -162
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass +0 -84
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_colors.sass +0 -33
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass +0 -9
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass +0 -82
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +0 -56
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass +0 -179
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +0 -58
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass +0 -44
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass +0 -141
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +0 -123
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass +0 -49
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass +0 -162
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass +0 -37
- data/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass +0 -14
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +0 -16
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +0 -18
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass +0 -14
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +0 -20
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass +0 -31
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass +0 -40
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +0 -15
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass +0 -60
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass +0 -57
- data/lib/compass/frameworks/compass/templates/project/USAGE.markdown +0 -32
- data/lib/compass/installers/bare_installer.rb +0 -58
- data/lib/compass/installers/manifest_installer.rb +0 -59
- data/lib/compass/sass_extensions/functions/color_stop.rb +0 -10
- data/lib/compass/sass_extensions/functions/font_files.rb +0 -11
- data/lib/compass/sass_extensions/monkey_patches/traversal.rb +0 -23
- data/lib/compass/stats.rb +0 -92
- data/lib/vendor/fssm/cache.rb +0 -193
- data/lib/vendor/fssm/fsevents.rb +0 -129
- data/lib/vendor/fssm/tree.rb +0 -176
- data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
- data/test/fixtures/stylesheets/relative/config.rb +0 -9
- data/test/fixtures/stylesheets/relative/css/ie.css +0 -1
- data/test/fixtures/stylesheets/relative/css/print.css +0 -1
- data/test/fixtures/stylesheets/relative/css/screen.css +0 -1
- data/test/fixtures/stylesheets/relative/sass/ie.sass +0 -6
- data/test/fixtures/stylesheets/relative/sass/print.sass +0 -6
- data/test/fixtures/stylesheets/relative/sass/screen.sass +0 -3
- data/test/rails_helper.rb +0 -40
@@ -1,2 +1,55 @@
|
|
1
|
-
@
|
2
|
-
|
1
|
+
@import colors.sass
|
2
|
+
|
3
|
+
// Mixin for producing Blueprint "inline" forms. Should be used with the blueprint-form mixin.
|
4
|
+
=blueprint-inline-form
|
5
|
+
line-height: 3
|
6
|
+
p
|
7
|
+
margin-bottom: 0
|
8
|
+
|
9
|
+
=blueprint-form
|
10
|
+
+blueprint-form-layout
|
11
|
+
+blueprint-form-borders
|
12
|
+
+blueprint-form-sizes
|
13
|
+
|
14
|
+
=blueprint-form-layout
|
15
|
+
label
|
16
|
+
font-weight: bold
|
17
|
+
fieldset
|
18
|
+
padding: 1.4em
|
19
|
+
margin: 0 0 1.5em 0
|
20
|
+
legend
|
21
|
+
font-weight: bold
|
22
|
+
font-size: 1.2em
|
23
|
+
input
|
24
|
+
&.text, &.title, &[type=text]
|
25
|
+
margin: 0.5em 0
|
26
|
+
background-color: #fff
|
27
|
+
padding: 5px
|
28
|
+
&.title
|
29
|
+
font-size: 1.5em
|
30
|
+
&[type=checkbox], &.checkbox,
|
31
|
+
&[type=radio], &.radio
|
32
|
+
position: relative
|
33
|
+
top: 0.25em
|
34
|
+
textarea
|
35
|
+
margin: 0.5em 0
|
36
|
+
padding: 5px
|
37
|
+
select
|
38
|
+
margin: 0.5em 0
|
39
|
+
|
40
|
+
=blueprint-form-sizes(!input_width = 300px, !textarea_width = 390px, !textarea_height = 250px)
|
41
|
+
input.text, input.title
|
42
|
+
width= !input_width
|
43
|
+
textarea
|
44
|
+
width= !textarea_width
|
45
|
+
height= !textarea_height
|
46
|
+
|
47
|
+
=blueprint-form-borders(!unfocused_border_color = #bbb, !focus_border_color = #666, !fieldset_border_color = #ccc)
|
48
|
+
fieldset
|
49
|
+
border= 1px "solid" !fieldset_border_color
|
50
|
+
input.text, input.title,
|
51
|
+
textarea,
|
52
|
+
select
|
53
|
+
border= 1px "solid" !unfocused_border_color
|
54
|
+
&:focus
|
55
|
+
border= 1px "solid" !focus_border_color
|
@@ -1,2 +1,178 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
// --------------------------------------------------------------
|
2
|
+
// SASS Gridification
|
3
|
+
// * Author: Chris Eppstein
|
4
|
+
// A SASS adaptation of Blueprint CSS
|
5
|
+
// * Version: 0.7.1 (2008-02-25)
|
6
|
+
// * Website: http://code.google.com/p/blueprintcss/
|
7
|
+
// Based on work by:
|
8
|
+
// * Lorin Tackett [lorintackett.com]
|
9
|
+
// * Olav Bjorkoy [bjorkoy.com]
|
10
|
+
// * Nathan Borror [playgroundblues.com]
|
11
|
+
// * Jeff Croft [jeffcroft.com]
|
12
|
+
// * Christian Metts [mintchaos.com]
|
13
|
+
// * Khoi Vinh [subtraction.com]
|
14
|
+
// Read more about using a grid here:
|
15
|
+
// * http://www.subtraction.com/2007/03/18/oh-yeeaahh
|
16
|
+
// --------------------------------------------------------------
|
17
|
+
|
18
|
+
@import compass/utilities/general/float.sass
|
19
|
+
|
20
|
+
// Main layout grid, override these constants to build your grid and container sizes.
|
21
|
+
!blueprint_grid_columns ||= 24
|
22
|
+
!blueprint_grid_width ||= 30px
|
23
|
+
!blueprint_grid_margin ||= 10px
|
24
|
+
|
25
|
+
!blueprint_grid_outer_width = !blueprint_grid_width + !blueprint_grid_margin
|
26
|
+
!blueprint_container_size = !blueprint_grid_outer_width * !blueprint_grid_columns - !blueprint_grid_margin
|
27
|
+
|
28
|
+
|
29
|
+
=blueprint-grid
|
30
|
+
// A container should group all your columns
|
31
|
+
.container
|
32
|
+
+container
|
33
|
+
.column, #{enumerate("div.span", 1, !blueprint_grid_columns)}
|
34
|
+
+column-base
|
35
|
+
// The last column in a row needs this class (or mixin) or it will end up on the next row.
|
36
|
+
.last, div.last
|
37
|
+
+last
|
38
|
+
// Use these classes (or mixins) to set the width of a column.
|
39
|
+
@for !n from 1 to !blueprint_grid_columns
|
40
|
+
.span-#{!n}
|
41
|
+
+span(!n)
|
42
|
+
.span-#{!blueprint_grid_columns}, div.span-#{!blueprint_grid_columns}
|
43
|
+
+span(!blueprint_grid_columns)
|
44
|
+
margin: 0
|
45
|
+
input, textarea, select
|
46
|
+
@for !n from 1 through !blueprint_grid_columns
|
47
|
+
&.span-#{!n}
|
48
|
+
+span(!n, true)
|
49
|
+
// Add these to a column to append empty cols.
|
50
|
+
@for !n from 1 to !blueprint_grid_columns
|
51
|
+
.append-#{!n}
|
52
|
+
+append(!n)
|
53
|
+
// Add these to a column to prepend empty cols.
|
54
|
+
@for !n from 1 to !blueprint_grid_columns
|
55
|
+
.prepend-#{!n}
|
56
|
+
+prepend(!n)
|
57
|
+
// Use these classes on an element to push it into the
|
58
|
+
// next column, or to pull it into the previous column.
|
59
|
+
#{enumerate(".pull", 1, !blueprint_grid_columns)}
|
60
|
+
+pull-base
|
61
|
+
@for !n from 1 through !blueprint_grid_columns
|
62
|
+
.pull-#{!n}
|
63
|
+
+pull-margins(!n)
|
64
|
+
#{enumerate(".push", 1, !blueprint_grid_columns)}
|
65
|
+
+push-base
|
66
|
+
@for !n from 1 through !blueprint_grid_columns
|
67
|
+
.push-#{!n}
|
68
|
+
+push-margins(!n)
|
69
|
+
.prepend-top
|
70
|
+
+prepend-top
|
71
|
+
.append-bottom
|
72
|
+
+append-bottom
|
73
|
+
|
74
|
+
|
75
|
+
// Columns
|
76
|
+
// Note: If you use this mixin without the class and want to support ie6
|
77
|
+
// you must set text-align left on your container element in an IE stylesheet.
|
78
|
+
=container
|
79
|
+
width= !blueprint_container_size
|
80
|
+
margin: 0 auto
|
81
|
+
+clearfix
|
82
|
+
|
83
|
+
// The last column in a row needs this mixin or it will end up on the next row.
|
84
|
+
// TODO add this to span mixin when we have optional arguments
|
85
|
+
=last
|
86
|
+
margin-right: 0
|
87
|
+
|
88
|
+
=span(!n, !override = false)
|
89
|
+
!width = !blueprint_grid_width * !n + (!blueprint_grid_margin * (!n - 1))
|
90
|
+
@if !override
|
91
|
+
width= !width !important
|
92
|
+
@else
|
93
|
+
width= !width
|
94
|
+
|
95
|
+
=column-base(!last = false)
|
96
|
+
+float-left
|
97
|
+
@if !last
|
98
|
+
+last
|
99
|
+
@else
|
100
|
+
margin-right= !blueprint_grid_margin
|
101
|
+
* html &
|
102
|
+
overflow-x: hidden
|
103
|
+
|
104
|
+
// Use this mixins to set the width of n columns.
|
105
|
+
=column(!n, !last = false)
|
106
|
+
+column-base(!last)
|
107
|
+
+span(!n)
|
108
|
+
|
109
|
+
|
110
|
+
// Mixin to a column to append n empty cols.
|
111
|
+
=append(!n)
|
112
|
+
padding-right= (!blueprint_grid_outer_width) * !n
|
113
|
+
|
114
|
+
// Mixin to a column to prepend n empty cols.
|
115
|
+
=prepend(!n)
|
116
|
+
padding-left= (!blueprint_grid_outer_width) * !n
|
117
|
+
|
118
|
+
=append-bottom(!amount = 1.5em)
|
119
|
+
margin-bottom= !amount
|
120
|
+
|
121
|
+
=prepend-top(!amount = 1.5em)
|
122
|
+
margin-top= !amount
|
123
|
+
|
124
|
+
=pull-base
|
125
|
+
+float-left
|
126
|
+
position: relative
|
127
|
+
|
128
|
+
=pull-margins(!n, !last = false)
|
129
|
+
@if !last
|
130
|
+
margin-left= (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin
|
131
|
+
@else
|
132
|
+
margin-left= -!blueprint_grid_outer_width * !n
|
133
|
+
|
134
|
+
// mixin to a column to move it n columns to the left
|
135
|
+
=pull(!n, !last = false)
|
136
|
+
+pull-base
|
137
|
+
+pull-margins(!n, !last)
|
138
|
+
|
139
|
+
=push-base
|
140
|
+
+float-right
|
141
|
+
position: relative
|
142
|
+
|
143
|
+
=push-margins(!n)
|
144
|
+
margin= 0 (-!blueprint_grid_outer_width * !n) 1.5em (!blueprint_grid_outer_width * !n)
|
145
|
+
|
146
|
+
// mixin to a column to push it n columns to the right
|
147
|
+
=push(!n)
|
148
|
+
+push-base
|
149
|
+
+push-margins(!n)
|
150
|
+
|
151
|
+
// Border on right hand side of a column.
|
152
|
+
=border(!border_color = #eee, !border_width = 1px)
|
153
|
+
padding-right= !blueprint_grid_margin / 2 - !border_width
|
154
|
+
margin-right= !blueprint_grid_margin / 2
|
155
|
+
border-right: #{!border_width} solid #{!border_color}
|
156
|
+
|
157
|
+
// Border with more whitespace, spans one column.
|
158
|
+
=colborder(!border_color = #eee, !border_width = 1px)
|
159
|
+
padding-right= floor((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2)
|
160
|
+
margin-right= ceil((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2)
|
161
|
+
border-right: #{!border_width} solid #{!border_color}
|
162
|
+
|
163
|
+
// Mixin this to an hr to make a horizontal ruler across a column.
|
164
|
+
=colruler(!border_color = #ddd)
|
165
|
+
background= !border_color
|
166
|
+
color= !border_color
|
167
|
+
clear: both
|
168
|
+
float: none
|
169
|
+
width: 100%
|
170
|
+
height: .1em
|
171
|
+
margin: 0 0 1.45em
|
172
|
+
border: none
|
173
|
+
|
174
|
+
// Mixin this to an hr to make a horizontal spacer across a column.
|
175
|
+
=colspacer
|
176
|
+
+colruler
|
177
|
+
background: #fff
|
178
|
+
color: #fff
|
@@ -1,2 +1,58 @@
|
|
1
|
-
@
|
2
|
-
|
1
|
+
@import colors.sass
|
2
|
+
|
3
|
+
|
4
|
+
=blueprint-interaction
|
5
|
+
.error
|
6
|
+
+error
|
7
|
+
.notice
|
8
|
+
+notice
|
9
|
+
.success
|
10
|
+
+success
|
11
|
+
.hide
|
12
|
+
display: none
|
13
|
+
.highlight
|
14
|
+
+highlight
|
15
|
+
.added
|
16
|
+
+added
|
17
|
+
.removed
|
18
|
+
+removed
|
19
|
+
|
20
|
+
=feedback-base
|
21
|
+
padding: .8em
|
22
|
+
margin-bottom: 1em
|
23
|
+
border= 2px "solid" !feedback_border_color
|
24
|
+
|
25
|
+
=error
|
26
|
+
+feedback-base
|
27
|
+
background= !error_bg_color
|
28
|
+
color= !error_color
|
29
|
+
border-color= !error_border_color
|
30
|
+
a
|
31
|
+
color= !error_color
|
32
|
+
|
33
|
+
=notice
|
34
|
+
+feedback-base
|
35
|
+
background= !notice_bg_color
|
36
|
+
color= !notice_color
|
37
|
+
border-color= !notice_border_color
|
38
|
+
a
|
39
|
+
color= !notice_color
|
40
|
+
|
41
|
+
=success
|
42
|
+
+feedback-base
|
43
|
+
background= !success_bg_color
|
44
|
+
color= !success_color
|
45
|
+
border-color= !success_border_color
|
46
|
+
a
|
47
|
+
color= !success_color
|
48
|
+
|
49
|
+
=highlight
|
50
|
+
background= !highlight_color
|
51
|
+
|
52
|
+
=added
|
53
|
+
background= !added_bg_color
|
54
|
+
color= !added_color
|
55
|
+
|
56
|
+
=removed
|
57
|
+
background= !removed_bg_color
|
58
|
+
color= !removed_color
|
@@ -1,2 +1,44 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
=no-link-icon
|
2
|
+
background: transparent none !important
|
3
|
+
padding: 0 !important
|
4
|
+
margin: 0 !important
|
5
|
+
|
6
|
+
=link-icon-base
|
7
|
+
padding: 2px 22px 2px 0
|
8
|
+
margin: -2px 0
|
9
|
+
background-repeat: no-repeat
|
10
|
+
background-position: right center
|
11
|
+
|
12
|
+
=link-icon(!name, !include_base = true)
|
13
|
+
@if !include_base
|
14
|
+
+link-icon-base
|
15
|
+
background-image= image_url("link_icons/#{!name}")
|
16
|
+
|
17
|
+
=link-icons
|
18
|
+
a[href^="http:"],
|
19
|
+
a[href^="mailto:"],
|
20
|
+
a[href^="http:"]:visited,
|
21
|
+
a[href$=".pdf"],
|
22
|
+
a[href$=".doc"],
|
23
|
+
a[href$=".xls"],
|
24
|
+
a[href$=".rss"],
|
25
|
+
a[href$=".rdf"],
|
26
|
+
a[href^="aim:"]
|
27
|
+
+link-icon-base
|
28
|
+
a[href^="http:"]
|
29
|
+
+link-icon("external.png", false)
|
30
|
+
a[href^="mailto:"]
|
31
|
+
+link-icon("email.png", false)
|
32
|
+
a[href^="http:"]:visited
|
33
|
+
+link-icon("visited.png", false)
|
34
|
+
a[href$=".pdf"]
|
35
|
+
+link-icon("pdf.png", false)
|
36
|
+
a[href$=".doc"]
|
37
|
+
+link-icon("doc.png", false)
|
38
|
+
a[href$=".xls"]
|
39
|
+
+link-icon("xls.png", false)
|
40
|
+
a[href$=".rss"],
|
41
|
+
a[href$=".rdf"]
|
42
|
+
+link-icon("feed.png", false)
|
43
|
+
a[href^="aim:"]
|
44
|
+
+link-icon("im.png", false)
|
@@ -1,3 +1,141 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
// --------------------------------------------------------------
|
2
|
+
// SASS Gridification
|
3
|
+
// * Author: Geoff Garside
|
4
|
+
// A SASS adaptation of Blueprint CSS
|
5
|
+
// * Version: 0.7.1 (2008-02-25)
|
6
|
+
// * Website: http://code.google.com/p/blueprintcss/
|
7
|
+
// Based on work by:
|
8
|
+
// * Chris Eppstein [eppsteins.net]
|
9
|
+
// * Lorin Tacket [lorintackett.com]
|
10
|
+
// * Olav Bjorkoy [bjorkoy.com]
|
11
|
+
// * Nathan Borror [playgroundblues.com]
|
12
|
+
// * Jeff Croft [jeffcroft.com]
|
13
|
+
// * Christian Metts [mintchaos.com]
|
14
|
+
// * Khoi Vinh [subtraction.com]
|
15
|
+
// Liquid grid work by:
|
16
|
+
// * Ben Listwon
|
17
|
+
// * David Bedingfield
|
18
|
+
// * Andrei Michael Herasimchuk
|
19
|
+
// Involution Studios, http://www.involutionstudios.com
|
20
|
+
// Read more about using a grid here:
|
21
|
+
// * subtraction.com/archives/2007/0318_oh_yeeaahh.php
|
22
|
+
// -----
|
23
|
+
// By default, the grid is 80% of window width, with 24 columns.
|
24
|
+
//
|
25
|
+
// To make the grid fixed, simply change the .container width
|
26
|
+
// property to a pixel value. e.g., 960px.
|
27
|
+
// -----
|
28
|
+
// To use:
|
29
|
+
// This module is a REPLACEMENT for the grid module. Simply import it:
|
30
|
+
// @import blueprint.sass
|
31
|
+
// @import blueprint/modules/liquid.sass
|
32
|
+
// -------------------------------------------------------------------
|
33
|
+
|
34
|
+
@import compass/utilities/general/float.sass
|
35
|
+
|
36
|
+
// Main layout grid, override these constants to build your grid and container sizes.
|
37
|
+
// The width shown gives the right floored percentage values.
|
38
|
+
!blueprint_liquid_grid_columns ||= 24
|
39
|
+
!blueprint_liquid_grid_width ||= 4.173%
|
40
|
+
!blueprint_liquid_grid_margin ||= 0.833em
|
41
|
+
|
42
|
+
// Do not edit below this line unless you really know what you're doing.
|
43
|
+
!blueprint_liquid_container_width = 80%
|
44
|
+
!blueprint_liquid_container_min_width = 950px
|
45
|
+
!blueprint_liquid_grid_push_pull = -(!blueprint_liquid_grid_margin * 4)
|
46
|
+
|
47
|
+
=blueprint-liquid-grid
|
48
|
+
// A container should group all your columns
|
49
|
+
.container
|
50
|
+
+container
|
51
|
+
// Use these classes (or mixins) to set the width of a column.
|
52
|
+
@for !n from 1 to !blueprint_liquid_grid_columns + 1
|
53
|
+
.span-#{!n}
|
54
|
+
+span(!n)
|
55
|
+
div
|
56
|
+
&.span-#{!n}
|
57
|
+
+column(!n, !n == !blueprint_liquid_grid_columns)
|
58
|
+
// The last column in a row needs this class (or mixin) or it will end up on the next row.
|
59
|
+
div.last
|
60
|
+
+last
|
61
|
+
// Add these to a column to append empty cols.
|
62
|
+
@for !n from 1 to !blueprint_liquid_grid_columns
|
63
|
+
.append-#{!n}
|
64
|
+
+append(!n)
|
65
|
+
// Add these to a column to prepend empty cols.
|
66
|
+
@for !n from 1 to !blueprint_liquid_grid_columns
|
67
|
+
.prepend-#{!n}
|
68
|
+
+prepend(!n)
|
69
|
+
// Use these classes on an element to push it into the
|
70
|
+
// next column, or to pull it into the previous column.
|
71
|
+
@for !n from 1 to !blueprint_liquid_grid_columns + 1
|
72
|
+
.pull-#{!n}
|
73
|
+
+pull(!n)
|
74
|
+
@for !n from 1 to !blueprint_liquid_grid_columns + 1
|
75
|
+
.push-#{!n}
|
76
|
+
+push(!n)
|
77
|
+
|
78
|
+
=container
|
79
|
+
min-width= !blueprint_liquid_container_min_width
|
80
|
+
width= !blueprint_liquid_container_width
|
81
|
+
margin: 0 auto
|
82
|
+
+clearfix
|
83
|
+
|
84
|
+
=span(!n, !override = false)
|
85
|
+
!width = (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
|
86
|
+
@if !override
|
87
|
+
width= !width !important
|
88
|
+
@else
|
89
|
+
width= !width
|
90
|
+
|
91
|
+
=last
|
92
|
+
margin-right: 0
|
93
|
+
|
94
|
+
=column(!n, !last = false)
|
95
|
+
+float-left
|
96
|
+
overflow: hidden
|
97
|
+
+span(!n)
|
98
|
+
@if !last
|
99
|
+
+last
|
100
|
+
@else
|
101
|
+
margin-right= !blueprint_liquid_grid_margin
|
102
|
+
|
103
|
+
=append(!n)
|
104
|
+
padding-right= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
|
105
|
+
|
106
|
+
=prepend(!n)
|
107
|
+
padding-left= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
|
108
|
+
|
109
|
+
=pull(!n, !last = false)
|
110
|
+
margin-left= (!blueprint_liquid_grid_push_pull * !n)
|
111
|
+
|
112
|
+
=push(!n)
|
113
|
+
+float-right
|
114
|
+
margin:
|
115
|
+
top: 0
|
116
|
+
left: 1.5em
|
117
|
+
right= (!blueprint_liquid_grid_push_pull * !n)
|
118
|
+
bottom: 0
|
119
|
+
|
120
|
+
=border
|
121
|
+
border-right: 1px solid #eee
|
122
|
+
|
123
|
+
=colborder
|
124
|
+
padding-right: 2%
|
125
|
+
margin-right: 2%
|
126
|
+
+border
|
127
|
+
|
128
|
+
=colruler
|
129
|
+
background: #ddd
|
130
|
+
color: #ddd
|
131
|
+
clear: both
|
132
|
+
width: 100%
|
133
|
+
height: 0.083em
|
134
|
+
margin: 0 0 1.583em
|
135
|
+
border: none
|
136
|
+
|
137
|
+
=colspacer
|
138
|
+
+colruler
|
139
|
+
background: #fff
|
140
|
+
color: #fff
|
3
141
|
|