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,160 +1,2 @@
|
|
1
|
-
@
|
2
|
-
@import
|
3
|
-
@import compass/utilities/general/float.sass
|
4
|
-
|
5
|
-
!blueprint_font_family ||= "Helvetica Neue, Arial, Helvetica, sans-serif"
|
6
|
-
!blueprint_fixed_font_family ||= "'andale mono', 'lucida console', monospace"
|
7
|
-
!blueprint_font_size ||= 12px
|
8
|
-
|
9
|
-
// Usage examples:
|
10
|
-
// As a top-level mixin, apply to any page that includes the stylesheet:
|
11
|
-
// +blueprint-typography
|
12
|
-
// Scoped by a presentational class:
|
13
|
-
// body.blueprint
|
14
|
-
// +blueprint-typography(true)
|
15
|
-
// Scoped by semantic selectors:
|
16
|
-
// body#page-1, body#page-2, body.a-special-page-type
|
17
|
-
// +blueprint-typography(true)
|
18
|
-
// Deprecated:
|
19
|
-
// You can pass the body selector as the first argument when used as a top-level mixin
|
20
|
-
// +blueprint-typography("body#page-1, body#page-2, body.a-special-page-type")
|
21
|
-
=blueprint-typography(!body_selector = "body")
|
22
|
-
@if !body_selector == true
|
23
|
-
+blueprint-typography-body
|
24
|
-
+blueprint-typography-defaults
|
25
|
-
@else
|
26
|
-
#{!body_selector}
|
27
|
-
+blueprint-typography-body
|
28
|
-
@if !body_selector != "body"
|
29
|
-
@debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint-typography, pass true as the first argument and mix it into #{!body_selector}."
|
30
|
-
+blueprint-typography-defaults
|
31
|
-
@if !body_selector == "body"
|
32
|
-
+blueprint-typography-defaults
|
33
|
-
|
34
|
-
=normal-text
|
35
|
-
font-family= !blueprint_font_family
|
36
|
-
color= !font_color
|
37
|
-
|
38
|
-
=fixed-width-text
|
39
|
-
font= 1em !blueprint_fixed_font_family
|
40
|
-
line-height: 1.5
|
41
|
-
|
42
|
-
=header-text
|
43
|
-
font-weight: normal
|
44
|
-
color= !header_color
|
45
|
-
|
46
|
-
=quiet
|
47
|
-
color= !quiet_color
|
48
|
-
|
49
|
-
=loud
|
50
|
-
color= !loud_color
|
51
|
-
|
52
|
-
=blueprint-typography-body(!font_size = !blueprint_font_size)
|
53
|
-
line-height: 1.5
|
54
|
-
+normal-text
|
55
|
-
font-size= 100% * !font_size / 16px
|
56
|
-
|
57
|
-
=blueprint-typography-defaults
|
58
|
-
h1
|
59
|
-
+header-text
|
60
|
-
font-size: 3em
|
61
|
-
line-height: 1
|
62
|
-
margin-bottom: 0.5em
|
63
|
-
img
|
64
|
-
margin: 0
|
65
|
-
h2
|
66
|
-
+header-text
|
67
|
-
font-size: 2em
|
68
|
-
margin-bottom: 0.75em
|
69
|
-
h3
|
70
|
-
+header-text
|
71
|
-
font-size: 1.5em
|
72
|
-
line-height: 1
|
73
|
-
margin-bottom: 1em
|
74
|
-
h4
|
75
|
-
+header-text
|
76
|
-
font-size: 1.2em
|
77
|
-
line-height: 1.25
|
78
|
-
margin-bottom: 1.25em
|
79
|
-
h5
|
80
|
-
+header-text
|
81
|
-
font-size: 1em
|
82
|
-
font-weight: bold
|
83
|
-
margin-bottom: 1.5em
|
84
|
-
h6
|
85
|
-
+header-text
|
86
|
-
font-size: 1em
|
87
|
-
font-weight: bold
|
88
|
-
h2 img, h3 img, h4 img, h5 img, h6 img
|
89
|
-
margin: 0
|
90
|
-
p
|
91
|
-
margin: 0 0 1.5em
|
92
|
-
img.left
|
93
|
-
+float-left
|
94
|
-
margin: 1.5em 1.5em 1.5em 0
|
95
|
-
padding: 0
|
96
|
-
img.right
|
97
|
-
+float-right
|
98
|
-
margin: 1.5em 0 1.5em 1.5em
|
99
|
-
padding: 0
|
100
|
-
a
|
101
|
-
text-decoration: underline
|
102
|
-
+link-colors(!link_color, !link_hover_color, !link_active_color, !link_visited_color, !link_focus_color)
|
103
|
-
blockquote
|
104
|
-
margin: 1.5em
|
105
|
-
color: #666
|
106
|
-
font-style: italic
|
107
|
-
strong
|
108
|
-
font-weight: bold
|
109
|
-
em
|
110
|
-
font-style: italic
|
111
|
-
dfn
|
112
|
-
font-style: italic
|
113
|
-
font-weight: bold
|
114
|
-
sup, sub
|
115
|
-
line-height: 0
|
116
|
-
abbr, acronym
|
117
|
-
border-bottom: 1px dotted #666
|
118
|
-
address
|
119
|
-
margin: 0 0 1.5em
|
120
|
-
font-style: italic
|
121
|
-
del
|
122
|
-
color: #666
|
123
|
-
pre
|
124
|
-
margin: 1.5em 0
|
125
|
-
white-space: pre
|
126
|
-
pre, code, tt
|
127
|
-
+fixed-width-text
|
128
|
-
li ul, li ol
|
129
|
-
margin: 0 1.5em
|
130
|
-
ul
|
131
|
-
margin: 0 1.5em 1.5em 1.5em
|
132
|
-
list-style-type: disc
|
133
|
-
ol
|
134
|
-
margin: 0 1.5em 1.5em 1.5em
|
135
|
-
list-style-type: decimal
|
136
|
-
dl
|
137
|
-
margin: 0 0 1.5em 0
|
138
|
-
dt
|
139
|
-
font-weight: bold
|
140
|
-
dd
|
141
|
-
margin-left: 1.5em
|
142
|
-
table
|
143
|
-
margin-bottom: 1.4em
|
144
|
-
width: 100%
|
145
|
-
th
|
146
|
-
font-weight: bold
|
147
|
-
thead th
|
148
|
-
background= !blueprint_table_header_color
|
149
|
-
th, td, caption
|
150
|
-
padding: 4px 10px 4px 5px
|
151
|
-
tr.even td
|
152
|
-
background= !blueprint_table_stripe_color
|
153
|
-
tfoot
|
154
|
-
font-style: italic
|
155
|
-
caption
|
156
|
-
background: #eee
|
157
|
-
.quiet
|
158
|
-
+quiet
|
159
|
-
.loud
|
160
|
-
+loud
|
1
|
+
@debug "DEPRECATION WARINING: blueprint/modules/typography.sass has moved to blueprint/typography.sass"
|
2
|
+
@import blueprint/typography.sass
|
@@ -1,37 +1,2 @@
|
|
1
|
-
@
|
2
|
-
@import
|
3
|
-
|
4
|
-
// Most of these utility classes are not "semantic". If you use them,
|
5
|
-
// you are mixing your content and presentation. For shame!
|
6
|
-
|
7
|
-
=blueprint-utilities
|
8
|
-
// Regular clearing apply to column that should drop below previous ones.
|
9
|
-
.clear
|
10
|
-
clear: both
|
11
|
-
// turn off text wrapping for the element.
|
12
|
-
.nowrap
|
13
|
-
+nowrap
|
14
|
-
// Apply to an element that has floated children to make the bottom
|
15
|
-
// of the element fall _below_ the floated children.
|
16
|
-
.clearfix
|
17
|
-
+clearfix
|
18
|
-
.small
|
19
|
-
font-size: .8em
|
20
|
-
margin-bottom: 1.875em
|
21
|
-
line-height: 1.875em
|
22
|
-
.large
|
23
|
-
font-size: 1.2em
|
24
|
-
line-height: 2.5em
|
25
|
-
margin-bottom: 1.25em
|
26
|
-
.first
|
27
|
-
margin-left: 0
|
28
|
-
padding-left: 0
|
29
|
-
.last
|
30
|
-
margin-right: 0
|
31
|
-
padding-right: 0
|
32
|
-
.top
|
33
|
-
margin-top: 0
|
34
|
-
padding-top: 0
|
35
|
-
.bottom
|
36
|
-
margin-bottom: 0
|
37
|
-
padding-bottom: 0
|
1
|
+
@debug "DEPRECATION WARINING: blueprint/modules/utilities.sass has moved to blueprint/utilities.sass"
|
2
|
+
@import blueprint/utilities.sass
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@import compass/utilities/general/float.sass
|
2
|
-
@import blueprint/
|
2
|
+
@import blueprint/buttons.sass
|
3
3
|
|
4
4
|
//
|
5
5
|
Use the following HTML code to place the buttons on your site:
|
@@ -23,7 +23,7 @@ a.button
|
|
23
23
|
+anchor-button("left")
|
24
24
|
// All the button color mixins take 4 optional arguments:
|
25
25
|
// font color, background color, border color, border highlight color
|
26
|
-
// the first three default to constants set in blueprint/
|
26
|
+
// the first three default to constants set in blueprint/buttons.sass
|
27
27
|
// the last one defaults to a shade lighter than the border color.
|
28
28
|
+button-colors
|
29
29
|
+button-hover-colors
|
@@ -5,7 +5,7 @@
|
|
5
5
|
// Import all the default blueprint modules so that we can access their mixins.
|
6
6
|
@import blueprint
|
7
7
|
// Import the non-default scaffolding module.
|
8
|
-
@import blueprint/
|
8
|
+
@import blueprint/scaffolding.sass
|
9
9
|
|
10
10
|
// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
|
11
11
|
// +blueprint
|
@@ -39,9 +39,3 @@ body.three-col
|
|
39
39
|
// true means it's the last column in the row
|
40
40
|
+column(!content_columns, true)
|
41
41
|
|
42
|
-
// This is just here to style the welcome page, please delete it.
|
43
|
-
body#welcome
|
44
|
-
#container
|
45
|
-
+container
|
46
|
-
h1
|
47
|
-
+column(24)
|
@@ -2,5 +2,13 @@
|
|
2
2
|
@import css3/inline_block.sass
|
3
3
|
@import css3/opacity.sass
|
4
4
|
@import css3/box_shadow.sass
|
5
|
+
@import css3/text_shadow.sass
|
5
6
|
@import css3/columns.sass
|
6
7
|
@import css3/box_sizing.sass
|
8
|
+
@import css3/gradient.sass
|
9
|
+
@import css3/background_clip.sass
|
10
|
+
@import css3/background_origin.sass
|
11
|
+
@import css3/background_size.sass
|
12
|
+
@import css3/font_face.sass
|
13
|
+
@import css3/transform.sass
|
14
|
+
@import css3/transition.sass
|
@@ -0,0 +1,16 @@
|
|
1
|
+
// Background Clip
|
2
|
+
// clip the background (image and color) at the edge of the padding or border
|
3
|
+
// - [padding-box | border-box]
|
4
|
+
// - browser defaults to border-box, mixin defaults to padding-box
|
5
|
+
|
6
|
+
// override constants to change defaults
|
7
|
+
!default_background_clip ||= "padding-box"
|
8
|
+
|
9
|
+
=background-clip(!clip = !default_background_clip)
|
10
|
+
// webkit and mozilla use the deprecated short [border | padding | content]
|
11
|
+
!deprecated= "padding"
|
12
|
+
@if !clip == "border-box"
|
13
|
+
!deprecated= "border"
|
14
|
+
background-clip= !clip
|
15
|
+
-webkit-background-clip= !deprecated
|
16
|
+
-moz-background-clip= !deprecated
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Background Origin
|
2
|
+
// position the background off the edge of the padding, border or content
|
3
|
+
// - [padding-box | border-box | content-box]
|
4
|
+
// - browser defaults to padding-box, mixin defaults to content-box
|
5
|
+
|
6
|
+
// override constants to change defaults
|
7
|
+
!default_background_origin ||= "content-box"
|
8
|
+
|
9
|
+
=background-origin(!origin = !default_background_origin)
|
10
|
+
// webkit and mozilla use the deprecated short [border | padding | content]
|
11
|
+
!deprecated= "padding"
|
12
|
+
@if !origin == "border-box"
|
13
|
+
!deprecated= "border"
|
14
|
+
@if !origin == "content-box"
|
15
|
+
!deprecated= "content"
|
16
|
+
background-origin= !origin
|
17
|
+
-webkit-background-origin= !deprecated
|
18
|
+
-moz-background-origin= !deprecated
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// Background Size
|
2
|
+
// Set the size of background images using px, width and height, or percentages
|
3
|
+
// - percentages are relative to the background-origin (default = padding-box)
|
4
|
+
// - mixin defaults to "100% auto"
|
5
|
+
|
6
|
+
// override constants to change defaults
|
7
|
+
!default_background_size ||= 100% "auto"
|
8
|
+
|
9
|
+
=background-size(!size = !default_background_size)
|
10
|
+
background-size= !size
|
11
|
+
-webkit-background-size= !size
|
12
|
+
-o-background-size= !size
|
13
|
+
-khtml-background-size= !size
|
14
|
+
-moz-background-size= !size
|
@@ -1,12 +1,20 @@
|
|
1
1
|
//**
|
2
|
-
Provides cross-browser css box shadows
|
3
|
-
|
4
|
-
arguments are horizontal offset, vertical offset, blur and color
|
2
|
+
Provides cross-browser css box shadows for Webkit, Gecko, and CSS3 standard
|
3
|
+
arguments are color, horizontal offset, vertical offset, and blur
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
//**
|
6
|
+
These defaults make the arguments optional for this mixin
|
7
|
+
If you like, set different defaults in your project
|
8
|
+
|
9
|
+
!default_box_shadow_color ||= #333
|
10
|
+
!default_box_shadow_h_offset ||= 1px
|
11
|
+
!default_box_shadow_v_offset ||= 1px
|
12
|
+
!default_box_shadow_blur ||= 5px
|
13
|
+
|
14
|
+
=box-shadow(!color = !default_box_shadow_color, !hoff = !default_box_shadow_h_offset, !voff = !default_box_shadow_v_offset, !blur = !default_box_shadow_blur)
|
15
|
+
/* Webkit (Safari, Chrome) */
|
16
|
+
-webkit-box-shadow= !color !hoff !voff !blur
|
17
|
+
/* Gecko (Firefox, Camino) */
|
18
|
+
-moz-box-shadow= !color !hoff !voff !blur
|
19
|
+
/* CSS3 */
|
20
|
+
box-shadow= !color !hoff !voff !blur
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// @Font-Face
|
2
|
+
// Cross-browser support for @font-face
|
3
|
+
// - !name is required, arbitrary, and what you will use in font stacks.
|
4
|
+
// - !font_files is required using font_files('relative_location', 'format').
|
5
|
+
// - for best results use this order: woff, opentype/truetype, svg
|
6
|
+
// - !eot is required by IE, and is a relative location of the eot file.
|
7
|
+
// - postscript name is required by some browsers to look for local fonts.
|
8
|
+
=font-face( !name, !font_files, !eot = false, !postscript = false, !style = false)
|
9
|
+
@font-face
|
10
|
+
font-family: '#{!name}'
|
11
|
+
@if !style
|
12
|
+
font-style= !style
|
13
|
+
@if !eot
|
14
|
+
src= stylesheet_url(!eot)
|
15
|
+
@if !postscript
|
16
|
+
src: local('#{!name}'), local('#{!postscript}'), #{!font_files}
|
17
|
+
@else
|
18
|
+
src: local('#{!name}'), #{!font_files}
|
19
|
+
|
20
|
+
// EXAMPLE
|
21
|
+
+font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname")
|
22
|
+
|
23
|
+
will generate:
|
24
|
+
|
25
|
+
@font-face {
|
26
|
+
font-family: 'this name';
|
27
|
+
src: url('fonts/this.eot');
|
28
|
+
src: local('this name'), local('thisname'),
|
29
|
+
url('this.otf') format('woff'),
|
30
|
+
url('this.woff') format('opentype');
|
31
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=gradient(!type, !coords, !color_start, !color_end, !color_stop = false)
|
2
|
+
!gradient= "#{!coords}, from(#{!color_start}), to(#{!color_end})"
|
3
|
+
@if !color_stop
|
4
|
+
!gradient= !gradient + ", " + !color_stop
|
5
|
+
background: -webkit-gradient(#{!type}, #{!gradient})
|
6
|
+
background: -moz-#{!type}-gradient(#{!gradient})
|
7
|
+
|
8
|
+
//*
|
9
|
+
// This will yeild a radial gradient with an apparent specular highlight
|
10
|
+
+radial-gradient("45 45, 10, 52 50, 30", Cyan, DodgerBlue)
|
11
|
+
|
12
|
+
=radial-gradient(!coords, !color1, !color2, !color_stop = false)
|
13
|
+
+gradient("radial", !coords, !color1, !color2, !color_stop)
|
14
|
+
|
15
|
+
//*
|
16
|
+
// This yields a linear gradient spanning from !start to !end coordinates
|
17
|
+
+linear-gradient("left top", "left bottom", #fff, #ddd)
|
18
|
+
|
19
|
+
=linear-gradient(!start, !end, !color1, !color2, !color_stop = false)
|
20
|
+
!coords = !start + ", " + !end
|
21
|
+
+gradient("linear", !coords, !color1, !color2, !color_stop)
|
22
|
+
|
23
|
+
//*
|
24
|
+
// This yields a gradient starting at the top with #fff, ending in #aaa
|
25
|
+
+v-gradient(#fff, #aaa)
|
26
|
+
// Same as above but with a #ccc at the halfway point
|
27
|
+
+v-gradient(#fff, #aaa, color_stop(50%, #ccc))
|
28
|
+
// Same as the first example but with #ccc at the 30% from the top, and #bbb at 70% from the top
|
29
|
+
+v-gradient(#fff, #aaa, color_stop(30%, #ccc, 70%, #bbb))
|
30
|
+
|
31
|
+
=v-gradient(!color1, !color2, !color_stop = false)
|
32
|
+
+linear-gradient("left top", "left bottom", !color1, !color2, !color_stop)
|
33
|
+
|
34
|
+
//*
|
35
|
+
// This yields a horizontal linear gradient spanning from left to right
|
36
|
+
// It can be used just like v-gradient above
|
37
|
+
h-gradient(#fff, #ddd)
|
38
|
+
|
39
|
+
=h-gradient(!color1, !color2, !color_stop = false)
|
40
|
+
+linear-gradient("left top", "right top", !color1, !color2, !color_stop)
|
@@ -0,0 +1,15 @@
|
|
1
|
+
//**
|
2
|
+
Provides css text shadows
|
3
|
+
arguments are color, horizontal offset, vertical offset, and blur
|
4
|
+
|
5
|
+
//**
|
6
|
+
These defaults make the arguments optional for this mixin
|
7
|
+
If you like, set different defaults in your project
|
8
|
+
|
9
|
+
!default_text_shadow_color ||= #aaa
|
10
|
+
!default_text_shadow_h_offset ||= 1px
|
11
|
+
!default_text_shadow_v_offset ||= 1px
|
12
|
+
!default_text_shadow_blur ||= 1px
|
13
|
+
|
14
|
+
=text-shadow(!color = !default_text_shadow_color, !hoff = !default_text_shadow_h_offset, !voff = !default_text_shadow_v_offset, !blur = !default_text_shadow_blur)
|
15
|
+
text-shadow= !color !hoff !voff !blur
|