compass-edge 0.9.4 → 0.9.5.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -0,0 +1,9 @@
|
|
1
|
+
/*
|
2
|
+
Welcome to Susy. Use this file to write IE specific override styles.
|
3
|
+
Import this file using the following HTML or equivalent:
|
4
|
+
<!--[if IE]>
|
5
|
+
<link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
|
6
|
+
<![endif]-->
|
7
|
+
|
8
|
+
|
9
|
+
@import base.sass
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/*
|
2
|
+
Welcome to Susy. Use this file to define screen styles.
|
3
|
+
Import this file using the following HTML or equivalent:
|
4
|
+
<link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" />
|
5
|
+
|
6
|
+
|
7
|
+
@import defaults.sass
|
8
|
+
|
9
|
+
|
10
|
+
/* @group STRUCTURE */
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
/* @end */
|
15
|
+
|
16
|
+
|
17
|
+
/* @group COMPONENTS by type */
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
/* @end */
|
22
|
+
|
23
|
+
|
24
|
+
/* @group OVERRIDES by content */
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
/* @end */
|
29
|
+
|
30
|
+
|
31
|
+
/* @group OVERRIDES by page */
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
/* @end */
|
36
|
+
|
37
|
+
|
38
|
+
/* @group DEBUG */
|
39
|
+
|
40
|
+
// Uncomment, adjust and use for debugging
|
41
|
+
// #page
|
42
|
+
// +show-grid("your-grid-image.png")
|
43
|
+
|
44
|
+
/* @end */
|
@@ -0,0 +1,62 @@
|
|
1
|
+
//**
|
2
|
+
// Susy: Fixed-Elastic-Fluid grids without all the math
|
3
|
+
// By: Eric A. Meyer and OddBird Collective
|
4
|
+
// Site: www.oddbird.net/susy/
|
5
|
+
//**
|
6
|
+
|
7
|
+
// GRID
|
8
|
+
// Set these values as needed for your grid layout.
|
9
|
+
// - defaults are shown.
|
10
|
+
!grid_unit = "em"
|
11
|
+
!total_cols = 12
|
12
|
+
!col_width = 4
|
13
|
+
!gutter_width = 1
|
14
|
+
!side_gutter_width = !gutter_width
|
15
|
+
|
16
|
+
|
17
|
+
// OMEGA_FLOAT
|
18
|
+
// By default, +omega elements are floated right.
|
19
|
+
// You can override that globally here:
|
20
|
+
// !omega_float = "right"
|
21
|
+
|
22
|
+
|
23
|
+
// HACKS
|
24
|
+
// Are you using hacks or conditional comments? Susy makes both possible.
|
25
|
+
// Leave this as 'true' to use hacks, set it as false for conditional comments.
|
26
|
+
// Conditional comments will require overrides for +omega, +inline-block and
|
27
|
+
// several other mixins.
|
28
|
+
// !hacks = true
|
29
|
+
|
30
|
+
|
31
|
+
// FONT-SIZE
|
32
|
+
// Override these values as needed (defaults are shown)
|
33
|
+
// - You set the font and line heights in pixels.
|
34
|
+
// - Susy will do the math and give you !base_font_size and !base_line_height
|
35
|
+
// variables, set flexibly against the common browser default of 16px
|
36
|
+
!base_font_size_px = 16
|
37
|
+
!base_line_height_px = 24
|
38
|
+
|
39
|
+
|
40
|
+
// SUSY
|
41
|
+
// Don't move this @import above the GRID and FONT-SIZE overrides.
|
42
|
+
@import susy/susy.sass
|
43
|
+
|
44
|
+
|
45
|
+
// COLORS
|
46
|
+
// Set any colors you will need later.
|
47
|
+
!main = #194C66
|
48
|
+
!alt = #CC6633
|
49
|
+
|
50
|
+
|
51
|
+
// FONTS
|
52
|
+
// Give yourself some font stacks to work with.
|
53
|
+
=sans-family
|
54
|
+
font-family: Helvetica, Arial, sans-serif
|
55
|
+
|
56
|
+
=serif-family
|
57
|
+
font-family: Baskerville, Palatino, serif
|
58
|
+
|
59
|
+
|
60
|
+
// OTHER MIXINS
|
61
|
+
// Mixins set here will be available in defaults, screen, print and IE
|
62
|
+
// Or anywhere you import either base.sass or defaults.sass
|
@@ -0,0 +1,148 @@
|
|
1
|
+
//** DEFAULT STYLES **//
|
2
|
+
// Don't forget to set your default styles.
|
3
|
+
|
4
|
+
|
5
|
+
// Get all the details and mixins from base.sass
|
6
|
+
@import base.sass
|
7
|
+
// Reset browser defaults, and prepare block-level HTML5 elements
|
8
|
+
@import susy/reset.sass
|
9
|
+
@import compass/css3.sass
|
10
|
+
|
11
|
+
|
12
|
+
/* @group defaults */
|
13
|
+
|
14
|
+
body
|
15
|
+
+sans-family
|
16
|
+
color= !main
|
17
|
+
|
18
|
+
/* @group links */
|
19
|
+
|
20
|
+
\:focus
|
21
|
+
outline= 1px "dotted" !alt
|
22
|
+
|
23
|
+
a
|
24
|
+
&:link, &:visited
|
25
|
+
color= !alt
|
26
|
+
&:focus, &:hover, &:active
|
27
|
+
color= !alt - #222
|
28
|
+
text-decoration: none
|
29
|
+
|
30
|
+
/* @end */
|
31
|
+
|
32
|
+
|
33
|
+
/* @group headers */
|
34
|
+
|
35
|
+
h1, h2, h3, h4, h5, h6
|
36
|
+
font-weight: bold
|
37
|
+
|
38
|
+
/* @end */
|
39
|
+
|
40
|
+
|
41
|
+
/* @group forms */
|
42
|
+
|
43
|
+
form *:focus
|
44
|
+
outline: none
|
45
|
+
|
46
|
+
fieldset
|
47
|
+
margin= !base_line_height 0
|
48
|
+
|
49
|
+
legend
|
50
|
+
font-weight: bold
|
51
|
+
font-variant: small-caps
|
52
|
+
|
53
|
+
label
|
54
|
+
display: block
|
55
|
+
margin-top= !base_line_height
|
56
|
+
|
57
|
+
legend + label
|
58
|
+
margin-top: 0
|
59
|
+
|
60
|
+
textarea, input[type="text"]
|
61
|
+
+box-sizing("border-box")
|
62
|
+
width: 100%
|
63
|
+
|
64
|
+
/* @end */
|
65
|
+
|
66
|
+
|
67
|
+
/* @group tables */
|
68
|
+
|
69
|
+
/* tables still need 'cellspacing="0"' in the markup */
|
70
|
+
|
71
|
+
table
|
72
|
+
:width 100%
|
73
|
+
:border= 1/16 + "em solid" !main + #333
|
74
|
+
:left none
|
75
|
+
:right none
|
76
|
+
:padding= 7/16 + "em 0"
|
77
|
+
:margin= 8/16 + "em 0"
|
78
|
+
|
79
|
+
th
|
80
|
+
:font-weight bold
|
81
|
+
|
82
|
+
/* @end */
|
83
|
+
|
84
|
+
|
85
|
+
/* @group block tags */
|
86
|
+
|
87
|
+
p
|
88
|
+
:margin= !base_line_height 0
|
89
|
+
|
90
|
+
=list-default(!ol = false)
|
91
|
+
:margin= !base_line_height
|
92
|
+
@if !ol
|
93
|
+
:list-style decimal
|
94
|
+
@else
|
95
|
+
:list-style disc
|
96
|
+
|
97
|
+
=no-style-list
|
98
|
+
+no-bullets
|
99
|
+
:margin 0
|
100
|
+
:padding 0
|
101
|
+
|
102
|
+
ol
|
103
|
+
+list-default("ol")
|
104
|
+
|
105
|
+
ul
|
106
|
+
+list-default
|
107
|
+
|
108
|
+
blockquote
|
109
|
+
:margin= !base_line_height
|
110
|
+
+serif-family
|
111
|
+
|
112
|
+
/* @end */
|
113
|
+
|
114
|
+
|
115
|
+
/* @group inline tags */
|
116
|
+
|
117
|
+
cite
|
118
|
+
:font-style italic
|
119
|
+
|
120
|
+
em
|
121
|
+
:font-style italic
|
122
|
+
|
123
|
+
strong
|
124
|
+
:font-weight bold
|
125
|
+
|
126
|
+
ins
|
127
|
+
:text-decoration underline
|
128
|
+
|
129
|
+
del
|
130
|
+
:text-decoration line-through
|
131
|
+
|
132
|
+
q
|
133
|
+
:font-style italic
|
134
|
+
em
|
135
|
+
:font-style normal
|
136
|
+
|
137
|
+
/* @end */
|
138
|
+
|
139
|
+
|
140
|
+
/* @group replaced tags */
|
141
|
+
|
142
|
+
img
|
143
|
+
:vertical-align bottom
|
144
|
+
|
145
|
+
/* @end */
|
146
|
+
|
147
|
+
|
148
|
+
/* @end */
|
@@ -0,0 +1,114 @@
|
|
1
|
+
/*
|
2
|
+
Welcome to Susy. Use this file to define screen styles.
|
3
|
+
Import this file using the following HTML or equivalent:
|
4
|
+
<link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" />
|
5
|
+
|
6
|
+
|
7
|
+
@import defaults.sass
|
8
|
+
|
9
|
+
|
10
|
+
/* @group STRUCTURE */
|
11
|
+
|
12
|
+
#skip-links
|
13
|
+
ul
|
14
|
+
+no-style-list
|
15
|
+
a
|
16
|
+
+skip-link
|
17
|
+
width: 100%
|
18
|
+
|
19
|
+
body
|
20
|
+
+susy
|
21
|
+
|
22
|
+
#page
|
23
|
+
position: relative
|
24
|
+
+container
|
25
|
+
background: rgba(0,0,0,.10)
|
26
|
+
|
27
|
+
h1, h2
|
28
|
+
+serif-family
|
29
|
+
text-transform: uppercase
|
30
|
+
text-align: center
|
31
|
+
background: rgba(0,0,0,.15)
|
32
|
+
letter-spacing= 1/14 + "em"
|
33
|
+
|
34
|
+
h1 + p, h2 + p, p:first-child
|
35
|
+
margin-top: 0
|
36
|
+
|
37
|
+
header[role="banner"], #site-nav
|
38
|
+
+full
|
39
|
+
h1
|
40
|
+
font-size: 1.5em
|
41
|
+
line-height: 2em
|
42
|
+
|
43
|
+
#site-nav
|
44
|
+
text-align: center
|
45
|
+
padding: 1.5em
|
46
|
+
ul
|
47
|
+
+inline-block-list(.5em)
|
48
|
+
|
49
|
+
#content
|
50
|
+
> aside
|
51
|
+
+columns(2)
|
52
|
+
&:first-child
|
53
|
+
+alpha
|
54
|
+
& + aside
|
55
|
+
+omega
|
56
|
+
section[role="main"]
|
57
|
+
+columns(6)
|
58
|
+
> section
|
59
|
+
+full(6)
|
60
|
+
.major
|
61
|
+
article
|
62
|
+
+columns(3,6)
|
63
|
+
& + article
|
64
|
+
+omega(6)
|
65
|
+
.minor
|
66
|
+
aside
|
67
|
+
+columns(2,6)
|
68
|
+
article
|
69
|
+
+columns(4,6)
|
70
|
+
+omega(6)
|
71
|
+
header, .body
|
72
|
+
+columns(2,4)
|
73
|
+
.body
|
74
|
+
+omega(4)
|
75
|
+
footer
|
76
|
+
+full(4)
|
77
|
+
|
78
|
+
footer[role="contentinfo"]
|
79
|
+
+full
|
80
|
+
border-top= 1/14 + "em dotted"
|
81
|
+
padding-top= 13/14 + "em"
|
82
|
+
|
83
|
+
|
84
|
+
/* @end */
|
85
|
+
|
86
|
+
|
87
|
+
/* @group COMPONENTS by type */
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
/* @end */
|
92
|
+
|
93
|
+
|
94
|
+
/* @group OVERRIDES by content */
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
/* @end */
|
99
|
+
|
100
|
+
|
101
|
+
/* @group OVERRIDES by page */
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
/* @end */
|
106
|
+
|
107
|
+
|
108
|
+
/* @group DEBUG */
|
109
|
+
|
110
|
+
// Uncomment, adjust and use for debugging
|
111
|
+
// #page
|
112
|
+
// +show-grid("your-grid-image.png")
|
113
|
+
|
114
|
+
/* @end */
|
@@ -0,0 +1,70 @@
|
|
1
|
+
=yui-base
|
2
|
+
body
|
3
|
+
:margin 10px
|
4
|
+
|
5
|
+
h1
|
6
|
+
:font-size 138.5%
|
7
|
+
|
8
|
+
h2
|
9
|
+
:font-size 123.1%
|
10
|
+
|
11
|
+
h3
|
12
|
+
:font-size 108%
|
13
|
+
|
14
|
+
h1, h2, h3
|
15
|
+
:margin 1em 0
|
16
|
+
|
17
|
+
h1,h2, h3, h4, h5, h6, strong, dt
|
18
|
+
:font-weight bold
|
19
|
+
|
20
|
+
optgroup
|
21
|
+
:font-weight normal
|
22
|
+
|
23
|
+
abbr, acronym
|
24
|
+
:border-bottom 1px dotted #000
|
25
|
+
:cursor help
|
26
|
+
|
27
|
+
em
|
28
|
+
:font-style italic
|
29
|
+
|
30
|
+
del
|
31
|
+
:text-decoration line-through
|
32
|
+
|
33
|
+
blockquote, ul, ol, dl
|
34
|
+
:margin 1em
|
35
|
+
|
36
|
+
ol,ul,dl
|
37
|
+
:margin-left 2em
|
38
|
+
|
39
|
+
ol li
|
40
|
+
:list-style decimal outside
|
41
|
+
|
42
|
+
ul li
|
43
|
+
:list-style disc outside
|
44
|
+
|
45
|
+
dl dd
|
46
|
+
:margin-left 1em
|
47
|
+
|
48
|
+
th, td
|
49
|
+
:border 1px solid #000
|
50
|
+
:padding .5em
|
51
|
+
|
52
|
+
th
|
53
|
+
:font-weight bold
|
54
|
+
:text-align center
|
55
|
+
|
56
|
+
caption
|
57
|
+
:margin-bottom .5em
|
58
|
+
:text-align center
|
59
|
+
|
60
|
+
sup
|
61
|
+
:vertical-align super
|
62
|
+
|
63
|
+
sub
|
64
|
+
:vertical-align sub
|
65
|
+
|
66
|
+
p, fieldset, table, pre
|
67
|
+
:margin-bottom 1em
|
68
|
+
|
69
|
+
button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"]
|
70
|
+
padding: 1px
|