compass-edge 0.9.4 → 0.9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.markdown +32 -2
- data/README.markdown +12 -2
- data/REVISION +1 -1
- data/Rakefile +3 -1
- data/VERSION.yml +1 -2
- data/examples/blueprint_default/index.html.haml +3 -3
- data/examples/blueprint_default/parts/forms.html.haml +2 -0
- 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/bootstrap.rb +3 -0
- data/examples/compass/extensions/yui/stylesheets/_yui.sass +7 -0
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/examples/compass/extensions/yui/templates/project/manifest.rb +1 -0
- data/examples/compass/extensions/yui/templates/project/screen.sass +4 -0
- data/examples/compass/src/utilities.sass +2 -2
- data/examples/css3/config.rb +6 -0
- 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 +7 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb +5 -0
- data/examples/css3/images/fresh-peas.jpg +0 -0
- data/examples/css3/index.html.haml +55 -0
- data/examples/css3/src/_base.sass +14 -0
- data/examples/css3/src/fancy-fonts.sass +7 -0
- data/examples/css3/src/gradient.sass +10 -0
- data/examples/css3/src/main.sass +80 -0
- data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
- data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
- data/examples/downloader.rb +2 -2
- data/examples/ninesixty/extensions/ninesixty/README.mkdn +56 -0
- data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +36 -0
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +1 -0
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +5 -0
- data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +64 -0
- data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +59 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +34 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +2 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +10 -0
- data/examples/susy/bootstrap.rb +3 -0
- data/examples/susy/config.rb +9 -0
- data/examples/susy/extensions/susy/LICENSE.txt +28 -0
- data/examples/susy/extensions/susy/README.mkdn +235 -0
- data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +35 -0
- data/examples/susy/extensions/susy/docs/tutorial/build.sh +141 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +100 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +98 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +147 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +19 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +147 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +48 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +14 -0
- 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 +63 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +1450 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +100 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +91 -0
- 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 +301 -0
- data/examples/susy/extensions/susy/lib/susy.rb +2 -0
- data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +5 -0
- data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +79 -0
- data/examples/susy/extensions/susy/sass/susy/_grid.sass +128 -0
- data/examples/susy/extensions/susy/sass/susy/_reset.sass +7 -0
- data/examples/susy/extensions/susy/sass/susy/_susy.sass +23 -0
- data/examples/susy/extensions/susy/sass/susy/_text.sass +15 -0
- data/examples/susy/extensions/susy/sass/susy/_utils.sass +81 -0
- data/examples/susy/extensions/susy/templates/project/_base.sass +62 -0
- data/examples/susy/extensions/susy/templates/project/_defaults.sass +147 -0
- data/examples/susy/extensions/susy/templates/project/ie.sass +9 -0
- data/examples/susy/extensions/susy/templates/project/manifest.rb +5 -0
- data/examples/susy/extensions/susy/templates/project/print.sass +7 -0
- data/examples/susy/extensions/susy/templates/project/screen.sass +44 -0
- data/examples/susy/src/_base.sass +62 -0
- data/examples/susy/src/_defaults.sass +148 -0
- data/examples/susy/src/screen.sass +114 -0
- data/examples/yui/extensions/yui/stylesheets/_yui.sass +7 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/examples/yui/extensions/yui/templates/project/manifest.rb +1 -0
- data/examples/yui/extensions/yui/templates/project/screen.sass +4 -0
- data/lib/compass/app_integration/rails/configuration_defaults.rb +9 -1
- data/lib/compass/commands/watch_project.rb +1 -1
- data/lib/compass/compiler.rb +9 -1
- data/lib/compass/configuration.rb +23 -18
- data/lib/compass/configuration/adapters.rb +1 -1
- data/lib/compass/configuration/defaults.rb +30 -0
- data/lib/compass/frameworks.rb +1 -1
- data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +29 -1
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass +84 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_colors.sass +33 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass +9 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass +82 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +56 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass +179 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +2 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +58 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass +44 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass +141 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +1 -4
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass +57 -2
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +123 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass +49 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +2 -29
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass +162 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass +37 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +2 -84
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +2 -33
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +2 -9
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +2 -82
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +2 -55
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +2 -178
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +2 -58
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +2 -44
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +2 -140
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +2 -56
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +2 -122
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +2 -47
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +2 -160
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +2 -37
- data/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass +2 -2
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass +1 -1
- data/lib/compass/frameworks/blueprint/templates/project/screen.sass +1 -7
- data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +5 -2
- data/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass +8 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +16 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +18 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass +14 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +18 -10
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass +31 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass +40 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +15 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass +60 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass +57 -0
- data/lib/compass/grid_builder.rb +1 -1
- data/lib/compass/installers/base.rb +5 -1
- data/lib/compass/installers/manifest.rb +1 -0
- data/lib/compass/logger.rb +28 -2
- data/lib/compass/sass_extensions/functions.rb +3 -1
- data/lib/compass/sass_extensions/functions/color_stop.rb +10 -0
- data/lib/compass/sass_extensions/functions/enumerate.rb +2 -2
- data/lib/compass/sass_extensions/functions/font_files.rb +11 -0
- data/lib/compass/sass_extensions/functions/inline_image.rb +22 -1
- data/lib/compass/sass_extensions/functions/urls.rb +20 -0
- data/lib/vendor/fssm.rb +19 -6
- data/lib/vendor/fssm/backends/fsevents.rb +19 -60
- data/lib/vendor/fssm/backends/polling.rb +20 -18
- data/lib/vendor/fssm/cache.rb +193 -0
- data/lib/vendor/fssm/ext.rb +30 -0
- data/lib/vendor/fssm/fsevents.rb +129 -0
- data/lib/vendor/fssm/monitor.rb +10 -6
- data/lib/vendor/fssm/path.rb +24 -21
- data/lib/vendor/fssm/state.rb +37 -29
- data/lib/vendor/fssm/support.rb +3 -7
- data/lib/vendor/fssm/tree.rb +176 -0
- data/test/command_line_helper.rb +8 -4
- data/test/command_line_test.rb +2 -2
- data/test/compass_test.rb +14 -4
- data/test/configuration_test.rb +5 -5
- data/test/fixtures/stylesheets/blueprint/css/typography.css +5 -3
- 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 +2 -8
- data/test/fixtures/stylesheets/image_urls/css/screen.css +2 -0
- data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
- data/test/fixtures/stylesheets/relative/config.rb +9 -0
- data/test/fixtures/stylesheets/relative/css/ie.css +1 -0
- data/test/fixtures/stylesheets/relative/css/print.css +1 -0
- data/test/fixtures/stylesheets/relative/css/screen.css +1 -0
- data/test/fixtures/stylesheets/relative/sass/ie.sass +6 -0
- data/test/fixtures/stylesheets/relative/sass/print.sass +6 -0
- data/test/fixtures/stylesheets/relative/sass/screen.sass +3 -0
- data/test/rails_integration_test.rb +1 -1
- data/test/sass_extensions_test.rb +2 -2
- metadata +120 -2
@@ -1,84 +1,2 @@
|
|
1
|
-
@
|
2
|
-
@import
|
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
|
1
|
+
@debug "DEPRECATION WARINING: blueprint/modules/buttons.sass has moved to blueprint/buttons.sass"
|
2
|
+
@import blueprint/buttons.sass
|
@@ -1,33 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
!loud_color ||= !font_color - #222
|
4
|
-
|
5
|
-
!header_color ||= !font_color - #111
|
6
|
-
|
7
|
-
!link_color ||= #009
|
8
|
-
!link_hover_color ||= #000
|
9
|
-
!link_focus_color ||= !link_hover_color
|
10
|
-
!link_active_color ||= !link_color + #C00
|
11
|
-
!link_visited_color ||= !link_color - #333
|
12
|
-
|
13
|
-
!feedback_border_color ||= #DDD
|
14
|
-
!success_color ||= #264409
|
15
|
-
!success_bg_color ||= #E6EFC2
|
16
|
-
!success_border_color ||= #C6D880
|
17
|
-
|
18
|
-
!notice_color ||= #514721
|
19
|
-
!notice_bg_color ||= #FFF6BF
|
20
|
-
!notice_border_color ||= #FFD324
|
21
|
-
|
22
|
-
!error_color ||= #8A1F11
|
23
|
-
!error_bg_color ||= #FBE3E4
|
24
|
-
!error_border_color ||= #FBC2C4
|
25
|
-
|
26
|
-
!highlight_color ||= #FF0
|
27
|
-
!added_color ||= #FFF
|
28
|
-
!added_bg_color ||= #060
|
29
|
-
!removed_color ||= #FFF
|
30
|
-
!removed_bg_color ||= #900
|
31
|
-
|
32
|
-
!blueprint_table_header_color ||= #C3D9FF
|
33
|
-
!blueprint_table_stripe_color ||= #E5ECF9
|
1
|
+
@debug "DEPRECATION WARINING: blueprint/modules/colors.sass has moved to blueprint/colors.sass"
|
2
|
+
@import blueprint/colors.sass
|
@@ -1,9 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
=blueprint-debug(!grid_image = "grid.png")
|
5
|
-
// Use this class on any column or container to see the grid.
|
6
|
-
// TODO: prefix this with the project path.
|
7
|
-
.showgrid
|
8
|
-
+showgrid(!grid_image)
|
9
|
-
|
1
|
+
@debug "DEPRECATION WARINING: blueprint/modules/debug.sass has moved to blueprint/debug.sass"
|
2
|
+
@import blueprint/debug.sass
|
@@ -1,82 +1,2 @@
|
|
1
|
-
@
|
2
|
-
|
3
|
-
//
|
4
|
-
To install the fancy type plugin:
|
5
|
-
1. import the fancy_type module: @import blueprint/modules/fancy_type
|
6
|
-
2. mixin +fancy-type to your project's body or at the top level of your stylesheet:
|
7
|
-
body
|
8
|
-
+fancy-type
|
9
|
-
|
10
|
-
=fancy-type
|
11
|
-
+fancy-paragraphs
|
12
|
-
.caps
|
13
|
-
+caps
|
14
|
-
.dquo
|
15
|
-
+dquo
|
16
|
-
.alt
|
17
|
-
+alt
|
18
|
-
|
19
|
-
// Indentation instead of line shifts for sibling paragraphs. Mixin to a style like p + p
|
20
|
-
=sibling-indentation
|
21
|
-
text-indent: 2em
|
22
|
-
margin-top: -1.5em
|
23
|
-
/* Don't want this in forms.
|
24
|
-
form &
|
25
|
-
text-indent: 0
|
26
|
-
|
27
|
-
//
|
28
|
-
For great looking type, use this code instead of asdf:
|
29
|
-
<span class="alt">asdf</span>
|
30
|
-
Best used on prepositions and ampersands.
|
31
|
-
|
32
|
-
=alt
|
33
|
-
color: #666
|
34
|
-
font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif
|
35
|
-
font-style: italic
|
36
|
-
font-weight: normal
|
37
|
-
|
38
|
-
//
|
39
|
-
For great looking quote marks in titles, replace "asdf" with:
|
40
|
-
<span class="dquo">“</span>asdf”
|
41
|
-
(That is, when the title starts with a quote mark).
|
42
|
-
(You may have to change this value depending on your font size).
|
43
|
-
=dquo(!offset = 0.5em)
|
44
|
-
margin-left: -!offset
|
45
|
-
|
46
|
-
//
|
47
|
-
Reduced size type with incremental leading
|
48
|
-
(http://www.markboulton.co.uk/journal/comments/incremental_leading/)
|
49
|
-
|
50
|
-
This could be used for side notes. For smaller type, you don't necessarily want to
|
51
|
-
follow the 1.5x vertical rhythm -- the line-height is too much.
|
52
|
-
|
53
|
-
Using this mixin, reduces your font size and line-height so that for
|
54
|
-
every four lines of normal sized type, there is five lines of the sidenote. eg:
|
55
|
-
|
56
|
-
Arguments:
|
57
|
-
font_size - The desired font size in pixels. This will be converted to ems for you. Defaults to 10px.
|
58
|
-
base_font_size - The base font size in pixels. Defaults to 12px
|
59
|
-
old_line_height - The old line height. Defaults to 1.5 times the base_font_size
|
60
|
-
=incr(!font_size = 10px, !base_font_size = !blueprint_font_size, !old_line_height = !base_font_size * 1.5)
|
61
|
-
font-size= 1em * !font_size / !base_font_size
|
62
|
-
line-height= 1em * !old_line_height / !font_size * 4 / 5
|
63
|
-
margin-bottom: 1.5em
|
64
|
-
|
65
|
-
//
|
66
|
-
Surround uppercase words and abbreviations with this class.
|
67
|
-
Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/]
|
68
|
-
=caps
|
69
|
-
font-variant: small-caps
|
70
|
-
letter-spacing: 1px
|
71
|
-
text-transform: lowercase
|
72
|
-
font-size: 1.2em
|
73
|
-
line-height: 1%
|
74
|
-
font-weight: bold
|
75
|
-
padding: 0 2px
|
76
|
-
|
77
|
-
=fancy-paragraphs
|
78
|
-
p + p
|
79
|
-
+sibling-indentation
|
80
|
-
p.incr,
|
81
|
-
.incr p
|
82
|
-
+incr
|
1
|
+
@debug "DEPRECATION WARINING: blueprint/modules/fancy_type.sass has moved to blueprint/fancy_type.sass"
|
2
|
+
@import blueprint/fancy_type.sass
|
@@ -1,55 +1,2 @@
|
|
1
|
-
@
|
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
|
+
@debug "DEPRECATION WARINING: blueprint/modules/form.sass has moved to blueprint/form.sass"
|
2
|
+
@import blueprint/form.sass
|
@@ -1,178 +1,2 @@
|
|
1
|
-
|
2
|
-
|
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
|
+
@debug "DEPRECATION WARINING: blueprint/modules/grid.sass has moved to blueprint/grid.sass"
|
2
|
+
@import blueprint/grid.sass
|