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.
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,100 @@
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
+
10
+
11
+ /* @group defaults */
12
+
13
+
14
+ /* @group links */
15
+
16
+ \:focus
17
+ outline: 1px dotted
18
+
19
+ a
20
+ &:link, &:visited
21
+ color= !links
22
+ text-decoration: none
23
+ &:focus, &:hover, &:active
24
+ color= !light
25
+ border-bottom:
26
+ width= px2em(2) + "em"
27
+ style: dashed
28
+
29
+ /* @end */
30
+
31
+
32
+ /* @group headers */
33
+
34
+ h1
35
+ +serif-family
36
+ text-transform: lowercase
37
+ font-size: 3em
38
+ line-height: 1
39
+ font-weight: bold
40
+ color= !links
41
+
42
+ h2
43
+ font-weight: bold
44
+ text-transform: uppercase
45
+
46
+ /* @end */
47
+
48
+
49
+ /* @group block tags */
50
+ p
51
+ margin: 0 0 1.5em 0
52
+
53
+ pre
54
+ border-left= ".5em solid" !light
55
+ margin: 0 0 1.5em 0
56
+ padding: 1.5em
57
+
58
+ =list-default(!ol = false)
59
+ @if !ol
60
+ list-style: decimal
61
+ margin: 0 1.5em 1.5em 1.5em
62
+ @else
63
+ list-style: disc
64
+ margin: 0 1.5em 1.5em 1.5em
65
+
66
+ ol
67
+ +list-default("ol")
68
+
69
+ ul
70
+ +list-default
71
+
72
+ /* @end */
73
+
74
+
75
+ /* @group inline tags */
76
+
77
+ em
78
+ font-style: italic
79
+
80
+ strong
81
+ font-weight: bold
82
+
83
+ ins
84
+ text-decoration: underline
85
+
86
+ del
87
+ text-decoration: line-through
88
+
89
+ /* @end */
90
+
91
+
92
+ /* @group replaced tags */
93
+
94
+ img
95
+ vertical-align: bottom
96
+
97
+ /* @end */
98
+
99
+
100
+ /* @end */
@@ -0,0 +1,98 @@
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
+ body
13
+ +susy
14
+
15
+ #page
16
+ +container
17
+ +sans-family
18
+ color= !text
19
+
20
+ #brand
21
+ +full
22
+ +pad(1,1)
23
+ margin:
24
+ top: 3em
25
+ bottom: 1.5em
26
+ h1 a
27
+ +full(8)
28
+ +pad(1,2,8)
29
+ display: block
30
+ +replace-text("susy_logo.png", "left")
31
+ height: 105px
32
+ &:focus, &:hover, &:active
33
+ border-bottom: 0
34
+
35
+ #site-nav
36
+ +columns(2)
37
+ +alpha
38
+ ul
39
+ +no-bullets
40
+ margin: 0
41
+ text-align: right
42
+ font-weight: bold
43
+
44
+ #content
45
+ +columns(8)
46
+ +omega
47
+ margin-bottom: 3em
48
+ #description
49
+ +columns(5,8)
50
+ #credit
51
+ +columns(3,8)
52
+ +omega(8)
53
+ color= !light
54
+
55
+ #contentinfo
56
+ +full
57
+ +prefix(2)
58
+ padding:
59
+ top: .5em
60
+ bottom: .75em
61
+ border-top:
62
+ width: .25em
63
+ style: dashed
64
+ color= !light
65
+ +serif-family
66
+ font-style: italic
67
+ color= !light
68
+ p
69
+ margin: 0
70
+ &.license
71
+ +columns(5,8)
72
+ +alpha(8)
73
+ &.styles
74
+ +columns(3,8)
75
+ +omega(8)
76
+ text-align: right
77
+ a:link, a:visited
78
+ color= !light
79
+ font-weight: bold
80
+
81
+ .tutorial
82
+ #content
83
+ margin-bottom: 3em
84
+ li
85
+ margin-bottom: 1.5em
86
+ code
87
+ font-size: 1.25em
88
+ font-family: monospace
89
+ color= !light
90
+
91
+ /* @end */
92
+
93
+ /* @group DEBUG */
94
+
95
+ #page
96
+ +show-grid("grid.png")
97
+
98
+ /* @end */
@@ -0,0 +1,147 @@
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
+
10
+
11
+ /* @group defaults */
12
+
13
+ body
14
+ +sans-family
15
+ color= !text
16
+
17
+ /* @group links */
18
+
19
+ \:focus
20
+ outline= 1px "dotted" !links
21
+
22
+ a
23
+ &:link, &:visited
24
+ color= !links
25
+ &:focus, &:hover, &:active
26
+ color= !links - #222
27
+ text-decoration: none
28
+
29
+ /* @end */
30
+
31
+
32
+ /* @group headers */
33
+
34
+ h1, h2, h3, h4, h5, h6
35
+ font-weight: bold
36
+
37
+ /* @end */
38
+
39
+
40
+ /* @group forms */
41
+
42
+ form *:focus
43
+ outline: none
44
+
45
+ fieldset
46
+ margin= !base_line_height 0
47
+
48
+ legend
49
+ font-weight: bold
50
+ font-variant: small-caps
51
+
52
+ label
53
+ display: block
54
+ margin-top= !base_line_height
55
+
56
+ legend + label
57
+ margin-top: 0
58
+
59
+ textarea, input[type="text"]
60
+ +box-sizing("border-box")
61
+ width: 100%
62
+
63
+ /* @end */
64
+
65
+
66
+ /* @group tables */
67
+
68
+ /* tables still need 'cellspacing="0"' in the markup */
69
+
70
+ table
71
+ :width 100%
72
+ :border= 1/16 + "em solid" !text + #333
73
+ :left none
74
+ :right none
75
+ :padding= 7/16 + "em 0"
76
+ :margin= 8/16 + "em 0"
77
+
78
+ th
79
+ :font-weight bold
80
+
81
+ /* @end */
82
+
83
+
84
+ /* @group block tags */
85
+
86
+ p
87
+ :margin= !base_line_height 0
88
+
89
+ =list-default(!ol = false)
90
+ :margin= !base_line_height
91
+ @if !ol
92
+ :list-style decimal
93
+ @else
94
+ :list-style disc
95
+
96
+ =no-style-list
97
+ +no-bullets
98
+ :margin 0
99
+ :padding 0
100
+
101
+ ol
102
+ +list-default("ol")
103
+
104
+ ul
105
+ +list-default
106
+
107
+ blockquote
108
+ :margin= !base_line_height
109
+ +serif-family
110
+
111
+ /* @end */
112
+
113
+
114
+ /* @group inline tags */
115
+
116
+ cite
117
+ :font-style italic
118
+
119
+ em
120
+ :font-style italic
121
+
122
+ strong
123
+ :font-weight bold
124
+
125
+ ins
126
+ :text-decoration underline
127
+
128
+ del
129
+ :text-decoration line-through
130
+
131
+ q
132
+ :font-style italic
133
+ em
134
+ :font-style normal
135
+
136
+ /* @end */
137
+
138
+
139
+ /* @group replaced tags */
140
+
141
+ img
142
+ :vertical-align bottom
143
+
144
+ /* @end */
145
+
146
+
147
+ /* @end */
@@ -0,0 +1,19 @@
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
+ body
13
+ +susy
14
+
15
+ #page
16
+ +container
17
+ +sans-family
18
+
19
+ /* @end */
@@ -0,0 +1,147 @@
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
+
10
+
11
+ /* @group defaults */
12
+
13
+ body
14
+ +sans-family
15
+ color= !text
16
+
17
+ /* @group links */
18
+
19
+ \:focus
20
+ outline= 1px "dotted" !links
21
+
22
+ a
23
+ &:link, &:visited
24
+ color= !links
25
+ &:focus, &:hover, &:active
26
+ color= !links - #222
27
+ text-decoration: none
28
+
29
+ /* @end */
30
+
31
+
32
+ /* @group headers */
33
+
34
+ h1, h2, h3, h4, h5, h6
35
+ font-weight: bold
36
+
37
+ /* @end */
38
+
39
+
40
+ /* @group forms */
41
+
42
+ form *:focus
43
+ outline: none
44
+
45
+ fieldset
46
+ margin= !base_line_height 0
47
+
48
+ legend
49
+ font-weight: bold
50
+ font-variant: small-caps
51
+
52
+ label
53
+ display: block
54
+ margin-top= !base_line_height
55
+
56
+ legend + label
57
+ margin-top: 0
58
+
59
+ textarea, input[type="text"]
60
+ +box-sizing("border-box")
61
+ width: 100%
62
+
63
+ /* @end */
64
+
65
+
66
+ /* @group tables */
67
+
68
+ /* tables still need 'cellspacing="0"' in the markup */
69
+
70
+ table
71
+ :width 100%
72
+ :border= 1/16 + "em solid" !text + #333
73
+ :left none
74
+ :right none
75
+ :padding= 7/16 + "em 0"
76
+ :margin= 8/16 + "em 0"
77
+
78
+ th
79
+ :font-weight bold
80
+
81
+ /* @end */
82
+
83
+
84
+ /* @group block tags */
85
+
86
+ p
87
+ :margin= !base_line_height 0
88
+
89
+ =list-default(!ol = false)
90
+ :margin= !base_line_height
91
+ @if !ol
92
+ :list-style decimal
93
+ @else
94
+ :list-style disc
95
+
96
+ =no-style-list
97
+ +no-bullets
98
+ :margin 0
99
+ :padding 0
100
+
101
+ ol
102
+ +list-default("ol")
103
+
104
+ ul
105
+ +list-default
106
+
107
+ blockquote
108
+ :margin= !base_line_height
109
+ +serif-family
110
+
111
+ /* @end */
112
+
113
+
114
+ /* @group inline tags */
115
+
116
+ cite
117
+ :font-style italic
118
+
119
+ em
120
+ :font-style italic
121
+
122
+ strong
123
+ :font-weight bold
124
+
125
+ ins
126
+ :text-decoration underline
127
+
128
+ del
129
+ :text-decoration line-through
130
+
131
+ q
132
+ :font-style italic
133
+ em
134
+ :font-style normal
135
+
136
+ /* @end */
137
+
138
+
139
+ /* @group replaced tags */
140
+
141
+ img
142
+ :vertical-align bottom
143
+
144
+ /* @end */
145
+
146
+
147
+ /* @end */