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.
Files changed (187) hide show
  1. data/CHANGELOG.markdown +32 -2
  2. data/README.markdown +12 -2
  3. data/REVISION +1 -1
  4. data/Rakefile +3 -1
  5. data/VERSION.yml +1 -2
  6. data/examples/blueprint_default/index.html.haml +3 -3
  7. data/examples/blueprint_default/parts/forms.html.haml +2 -0
  8. data/examples/blueprint_default/src/screen.sass +1 -1
  9. data/examples/blueprint_plugins/index.html.haml +6 -6
  10. data/examples/blueprint_plugins/src/buttons.sass +2 -2
  11. data/examples/blueprint_plugins/src/link_icons.sass +1 -1
  12. data/examples/blueprint_plugins/src/rtl_screen.sass +3 -3
  13. data/examples/blueprint_plugins/src/screen.sass +2 -2
  14. data/examples/blueprint_semantic/src/liquid.sass +4 -4
  15. data/examples/blueprint_semantic/src/screen.sass +3 -3
  16. data/examples/compass/bootstrap.rb +3 -0
  17. data/examples/compass/extensions/yui/stylesheets/_yui.sass +7 -0
  18. data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
  19. data/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
  20. data/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
  21. data/examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
  22. data/examples/compass/extensions/yui/templates/project/manifest.rb +1 -0
  23. data/examples/compass/extensions/yui/templates/project/screen.sass +4 -0
  24. data/examples/compass/src/utilities.sass +2 -2
  25. data/examples/css3/config.rb +6 -0
  26. data/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf +0 -0
  27. data/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf +0 -0
  28. data/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass +7 -0
  29. data/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb +5 -0
  30. data/examples/css3/images/fresh-peas.jpg +0 -0
  31. data/examples/css3/index.html.haml +55 -0
  32. data/examples/css3/src/_base.sass +14 -0
  33. data/examples/css3/src/fancy-fonts.sass +7 -0
  34. data/examples/css3/src/gradient.sass +10 -0
  35. data/examples/css3/src/main.sass +80 -0
  36. data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
  37. data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
  38. data/examples/downloader.rb +2 -2
  39. data/examples/ninesixty/extensions/ninesixty/README.mkdn +56 -0
  40. data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +36 -0
  41. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +1 -0
  42. data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +5 -0
  43. data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +64 -0
  44. data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +59 -0
  45. data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +34 -0
  46. data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +2 -0
  47. data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +10 -0
  48. data/examples/susy/bootstrap.rb +3 -0
  49. data/examples/susy/config.rb +9 -0
  50. data/examples/susy/extensions/susy/LICENSE.txt +28 -0
  51. data/examples/susy/extensions/susy/README.mkdn +235 -0
  52. data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +35 -0
  53. data/examples/susy/extensions/susy/docs/tutorial/build.sh +141 -0
  54. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +100 -0
  55. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +98 -0
  56. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +147 -0
  57. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +19 -0
  58. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +147 -0
  59. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +48 -0
  60. data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +14 -0
  61. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png +0 -0
  62. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png +0 -0
  63. data/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass +63 -0
  64. data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +1450 -0
  65. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +100 -0
  66. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +91 -0
  67. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png +0 -0
  68. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png +0 -0
  69. data/examples/susy/extensions/susy/docs/tutorial/index.mkdn +301 -0
  70. data/examples/susy/extensions/susy/lib/susy.rb +2 -0
  71. data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +5 -0
  72. data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +79 -0
  73. data/examples/susy/extensions/susy/sass/susy/_grid.sass +128 -0
  74. data/examples/susy/extensions/susy/sass/susy/_reset.sass +7 -0
  75. data/examples/susy/extensions/susy/sass/susy/_susy.sass +23 -0
  76. data/examples/susy/extensions/susy/sass/susy/_text.sass +15 -0
  77. data/examples/susy/extensions/susy/sass/susy/_utils.sass +81 -0
  78. data/examples/susy/extensions/susy/templates/project/_base.sass +62 -0
  79. data/examples/susy/extensions/susy/templates/project/_defaults.sass +147 -0
  80. data/examples/susy/extensions/susy/templates/project/ie.sass +9 -0
  81. data/examples/susy/extensions/susy/templates/project/manifest.rb +5 -0
  82. data/examples/susy/extensions/susy/templates/project/print.sass +7 -0
  83. data/examples/susy/extensions/susy/templates/project/screen.sass +44 -0
  84. data/examples/susy/src/_base.sass +62 -0
  85. data/examples/susy/src/_defaults.sass +148 -0
  86. data/examples/susy/src/screen.sass +114 -0
  87. data/examples/yui/extensions/yui/stylesheets/_yui.sass +7 -0
  88. data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
  89. data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
  90. data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
  91. data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
  92. data/examples/yui/extensions/yui/templates/project/manifest.rb +1 -0
  93. data/examples/yui/extensions/yui/templates/project/screen.sass +4 -0
  94. data/lib/compass/app_integration/rails/configuration_defaults.rb +9 -1
  95. data/lib/compass/commands/watch_project.rb +1 -1
  96. data/lib/compass/compiler.rb +9 -1
  97. data/lib/compass/configuration.rb +23 -18
  98. data/lib/compass/configuration/adapters.rb +1 -1
  99. data/lib/compass/configuration/defaults.rb +30 -0
  100. data/lib/compass/frameworks.rb +1 -1
  101. data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +29 -1
  102. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass +84 -0
  103. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_colors.sass +33 -0
  104. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass +9 -0
  105. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass +82 -0
  106. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +56 -0
  107. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass +179 -0
  108. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +2 -2
  109. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +58 -0
  110. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass +44 -0
  111. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass +141 -0
  112. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +1 -4
  113. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass +57 -2
  114. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +123 -0
  115. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass +49 -0
  116. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +2 -29
  117. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass +162 -0
  118. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass +37 -0
  119. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +2 -84
  120. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +2 -33
  121. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +2 -9
  122. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +2 -82
  123. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +2 -55
  124. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +2 -178
  125. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +2 -58
  126. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +2 -44
  127. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +2 -140
  128. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +2 -56
  129. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +2 -122
  130. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +2 -47
  131. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +2 -160
  132. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +2 -37
  133. data/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass +2 -2
  134. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass +1 -1
  135. data/lib/compass/frameworks/blueprint/templates/project/screen.sass +1 -7
  136. data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +5 -2
  137. data/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass +8 -0
  138. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +16 -0
  139. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +18 -0
  140. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass +14 -0
  141. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +18 -10
  142. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass +31 -0
  143. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass +40 -0
  144. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +15 -0
  145. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass +60 -0
  146. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass +57 -0
  147. data/lib/compass/grid_builder.rb +1 -1
  148. data/lib/compass/installers/base.rb +5 -1
  149. data/lib/compass/installers/manifest.rb +1 -0
  150. data/lib/compass/logger.rb +28 -2
  151. data/lib/compass/sass_extensions/functions.rb +3 -1
  152. data/lib/compass/sass_extensions/functions/color_stop.rb +10 -0
  153. data/lib/compass/sass_extensions/functions/enumerate.rb +2 -2
  154. data/lib/compass/sass_extensions/functions/font_files.rb +11 -0
  155. data/lib/compass/sass_extensions/functions/inline_image.rb +22 -1
  156. data/lib/compass/sass_extensions/functions/urls.rb +20 -0
  157. data/lib/vendor/fssm.rb +19 -6
  158. data/lib/vendor/fssm/backends/fsevents.rb +19 -60
  159. data/lib/vendor/fssm/backends/polling.rb +20 -18
  160. data/lib/vendor/fssm/cache.rb +193 -0
  161. data/lib/vendor/fssm/ext.rb +30 -0
  162. data/lib/vendor/fssm/fsevents.rb +129 -0
  163. data/lib/vendor/fssm/monitor.rb +10 -6
  164. data/lib/vendor/fssm/path.rb +24 -21
  165. data/lib/vendor/fssm/state.rb +37 -29
  166. data/lib/vendor/fssm/support.rb +3 -7
  167. data/lib/vendor/fssm/tree.rb +176 -0
  168. data/test/command_line_helper.rb +8 -4
  169. data/test/command_line_test.rb +2 -2
  170. data/test/compass_test.rb +14 -4
  171. data/test/configuration_test.rb +5 -5
  172. data/test/fixtures/stylesheets/blueprint/css/typography.css +5 -3
  173. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +1 -1
  174. data/test/fixtures/stylesheets/blueprint/sass/typography.sass +2 -2
  175. data/test/fixtures/stylesheets/compass/css/print.css +2 -8
  176. data/test/fixtures/stylesheets/image_urls/css/screen.css +2 -0
  177. data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
  178. data/test/fixtures/stylesheets/relative/config.rb +9 -0
  179. data/test/fixtures/stylesheets/relative/css/ie.css +1 -0
  180. data/test/fixtures/stylesheets/relative/css/print.css +1 -0
  181. data/test/fixtures/stylesheets/relative/css/screen.css +1 -0
  182. data/test/fixtures/stylesheets/relative/sass/ie.sass +6 -0
  183. data/test/fixtures/stylesheets/relative/sass/print.sass +6 -0
  184. data/test/fixtures/stylesheets/relative/sass/screen.sass +3 -0
  185. data/test/rails_integration_test.rb +1 -1
  186. data/test/sass_extensions_test.rb +2 -2
  187. 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,5 @@
1
+ stylesheet 'screen.sass', :media => "screen, projection"
2
+ stylesheet 'print.sass', :media => "print"
3
+ stylesheet 'ie.sass', :media => "screen, projection"
4
+ stylesheet '_base.sass'
5
+ stylesheet '_defaults.sass'
@@ -0,0 +1,7 @@
1
+ /*
2
+ Welcome to Susy. Use this file to define print styles.
3
+ Import this file using the following HTML or equivalent:
4
+ <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
5
+
6
+
7
+ @import defaults.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,7 @@
1
+ @import yui/modules/base.sass
2
+ @import yui/modules/fonts.sass
3
+ @import yui/modules/grids.sass
4
+ =yui
5
+ +yui-base
6
+ +yui-base-fonts
7
+ +yui-grids
@@ -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