compass-edge 0.9.5.0 → 0.10.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. data/CHANGELOG.markdown +0 -153
  2. data/README.markdown +2 -12
  3. data/REVISION +1 -1
  4. data/Rakefile +2 -37
  5. data/VERSION.yml +1 -1
  6. data/examples/blueprint_default/index.html.haml +3 -3
  7. data/examples/blueprint_default/parts/forms.html.haml +0 -2
  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/src/utilities.sass +2 -2
  17. data/examples/downloader.rb +2 -2
  18. data/lib/compass/app_integration.rb +0 -21
  19. data/lib/compass/app_integration/rails.rb +0 -18
  20. data/lib/compass/app_integration/rails/configuration_defaults.rb +0 -16
  21. data/lib/compass/app_integration/rails/installer.rb +6 -6
  22. data/lib/compass/app_integration/stand_alone.rb +1 -20
  23. data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +1 -5
  24. data/lib/compass/app_integration/stand_alone/installer.rb +17 -29
  25. data/lib/compass/commands.rb +2 -2
  26. data/lib/compass/commands/create_project.rb +1 -10
  27. data/lib/compass/commands/generate_grid_background.rb +1 -1
  28. data/lib/compass/commands/help.rb +7 -34
  29. data/lib/compass/commands/installer_command.rb +11 -15
  30. data/lib/compass/commands/project_base.rb +2 -2
  31. data/lib/compass/commands/update_project.rb +1 -51
  32. data/lib/compass/commands/validate_project.rb +3 -59
  33. data/lib/compass/commands/watch_project.rb +2 -4
  34. data/lib/compass/commands/write_configuration.rb +3 -84
  35. data/lib/compass/compiler.rb +4 -13
  36. data/lib/compass/configuration.rb +18 -23
  37. data/lib/compass/configuration/adapters.rb +1 -1
  38. data/lib/compass/configuration/data.rb +2 -5
  39. data/lib/compass/configuration/defaults.rb +1 -32
  40. data/lib/compass/configuration/helpers.rb +10 -47
  41. data/lib/compass/configuration/inheritance.rb +1 -1
  42. data/lib/compass/configuration/serialization.rb +2 -2
  43. data/lib/compass/errors.rb +1 -4
  44. data/lib/compass/exec.rb +0 -1
  45. data/lib/compass/exec/project_options_parser.rb +0 -4
  46. data/lib/compass/frameworks.rb +1 -40
  47. data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +1 -29
  48. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +2 -2
  49. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +4 -1
  50. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass +2 -57
  51. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +29 -2
  52. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -2
  53. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -2
  54. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -2
  55. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -2
  56. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -2
  57. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -2
  58. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -2
  59. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -2
  60. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +140 -2
  61. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -2
  62. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +122 -2
  63. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -2
  64. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +160 -2
  65. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -2
  66. data/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass +2 -2
  67. data/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb +0 -12
  68. data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass +1 -1
  69. data/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb +0 -13
  70. data/lib/compass/frameworks/blueprint/templates/project/manifest.rb +0 -24
  71. data/lib/compass/frameworks/blueprint/templates/project/screen.sass +7 -1
  72. data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +1 -9
  73. data/lib/compass/frameworks/compass/stylesheets/_compass.sass +1 -2
  74. data/lib/compass/frameworks/compass/stylesheets/compass/_utilities.sass +1 -0
  75. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_css3.sass +6 -0
  76. data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_border_radius.sass +0 -0
  77. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_box_shadow.sass +12 -0
  78. data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_box_sizing.sass +0 -0
  79. data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_columns.sass +0 -0
  80. data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_inline_block.sass +0 -0
  81. data/lib/compass/frameworks/compass/stylesheets/compass/{css3 → utilities/css3}/_opacity.sass +0 -0
  82. data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +2 -2
  83. data/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb +1 -26
  84. data/lib/compass/frameworks/compass/templates/extension/manifest.rb +2 -16
  85. data/lib/compass/frameworks/compass/templates/project/manifest.rb +0 -1
  86. data/lib/compass/grid_builder.rb +1 -1
  87. data/lib/compass/installers.rb +1 -1
  88. data/lib/compass/installers/base.rb +52 -13
  89. data/lib/compass/installers/manifest.rb +1 -33
  90. data/lib/compass/logger.rb +2 -28
  91. data/lib/compass/sass_extensions/functions.rb +1 -3
  92. data/lib/compass/sass_extensions/functions/enumerate.rb +2 -2
  93. data/lib/compass/sass_extensions/functions/inline_image.rb +1 -22
  94. data/lib/compass/sass_extensions/functions/urls.rb +0 -20
  95. data/lib/compass/sass_extensions/monkey_patches.rb +2 -2
  96. data/lib/compass/validator.rb +3 -2
  97. data/lib/vendor/fssm.rb +6 -19
  98. data/lib/vendor/fssm/backends/fsevents.rb +60 -19
  99. data/lib/vendor/fssm/backends/polling.rb +18 -20
  100. data/lib/vendor/fssm/ext.rb +0 -30
  101. data/lib/vendor/fssm/monitor.rb +6 -10
  102. data/lib/vendor/fssm/path.rb +21 -24
  103. data/lib/vendor/fssm/state.rb +29 -37
  104. data/lib/vendor/fssm/support.rb +7 -3
  105. data/test/command_line_helper.rb +4 -12
  106. data/test/command_line_test.rb +2 -2
  107. data/test/compass_test.rb +4 -14
  108. data/test/configuration_test.rb +5 -5
  109. data/test/fixtures/stylesheets/blueprint/css/typography.css +3 -5
  110. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +1 -1
  111. data/test/fixtures/stylesheets/blueprint/sass/typography.sass +2 -2
  112. data/test/fixtures/stylesheets/compass/css/print.css +8 -2
  113. data/test/fixtures/stylesheets/compass/css/reset.css +1 -1
  114. data/test/fixtures/stylesheets/image_urls/css/screen.css +0 -2
  115. data/test/io_helper.rb +1 -18
  116. data/test/rails_integration_test.rb +41 -3
  117. data/test/sass_extensions_test.rb +2 -2
  118. data/test/test_helper.rb +0 -1
  119. metadata +9 -124
  120. data/examples/compass/bootstrap.rb +0 -3
  121. data/examples/compass/extensions/yui/stylesheets/_yui.sass +0 -7
  122. data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +0 -70
  123. data/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass +0 -45
  124. data/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass +0 -385
  125. data/examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass +0 -61
  126. data/examples/compass/extensions/yui/templates/project/manifest.rb +0 -1
  127. data/examples/compass/extensions/yui/templates/project/screen.sass +0 -4
  128. data/examples/css3/config.rb +0 -6
  129. data/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf +0 -0
  130. data/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf +0 -0
  131. data/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass +0 -7
  132. data/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb +0 -5
  133. data/examples/css3/images/fresh-peas.jpg +0 -0
  134. data/examples/css3/index.html.haml +0 -55
  135. data/examples/css3/src/_base.sass +0 -14
  136. data/examples/css3/src/fancy-fonts.sass +0 -7
  137. data/examples/css3/src/gradient.sass +0 -10
  138. data/examples/css3/src/main.sass +0 -80
  139. data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
  140. data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
  141. data/examples/susy/bootstrap.rb +0 -3
  142. data/examples/susy/config.rb +0 -9
  143. data/examples/susy/extensions/susy/LICENSE.txt +0 -28
  144. data/examples/susy/extensions/susy/README.mkdn +0 -235
  145. data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +0 -35
  146. data/examples/susy/extensions/susy/docs/tutorial/build.sh +0 -141
  147. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +0 -100
  148. data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +0 -98
  149. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +0 -147
  150. data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +0 -19
  151. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +0 -147
  152. data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +0 -48
  153. data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +0 -14
  154. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png +0 -0
  155. data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png +0 -0
  156. data/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass +0 -63
  157. data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +0 -1450
  158. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +0 -100
  159. data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +0 -91
  160. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png +0 -0
  161. data/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png +0 -0
  162. data/examples/susy/extensions/susy/docs/tutorial/index.mkdn +0 -301
  163. data/examples/susy/extensions/susy/lib/susy.rb +0 -2
  164. data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +0 -5
  165. data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +0 -79
  166. data/examples/susy/extensions/susy/sass/susy/_grid.sass +0 -128
  167. data/examples/susy/extensions/susy/sass/susy/_reset.sass +0 -7
  168. data/examples/susy/extensions/susy/sass/susy/_susy.sass +0 -23
  169. data/examples/susy/extensions/susy/sass/susy/_text.sass +0 -15
  170. data/examples/susy/extensions/susy/sass/susy/_utils.sass +0 -81
  171. data/examples/susy/extensions/susy/templates/project/_base.sass +0 -62
  172. data/examples/susy/extensions/susy/templates/project/_defaults.sass +0 -147
  173. data/examples/susy/extensions/susy/templates/project/ie.sass +0 -9
  174. data/examples/susy/extensions/susy/templates/project/manifest.rb +0 -5
  175. data/examples/susy/extensions/susy/templates/project/print.sass +0 -7
  176. data/examples/susy/extensions/susy/templates/project/screen.sass +0 -44
  177. data/examples/susy/src/_base.sass +0 -62
  178. data/examples/susy/src/_defaults.sass +0 -148
  179. data/examples/susy/src/screen.sass +0 -114
  180. data/features/command_line.feature +0 -226
  181. data/features/extensions.feature +0 -20
  182. data/features/step_definitions/command_line_steps.rb +0 -223
  183. data/features/step_definitions/extension_steps.rb +0 -13
  184. data/lib/compass/commands/interactive.rb +0 -61
  185. data/lib/compass/commands/project_stats.rb +0 -162
  186. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass +0 -84
  187. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_colors.sass +0 -33
  188. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass +0 -9
  189. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass +0 -82
  190. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +0 -56
  191. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass +0 -179
  192. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +0 -58
  193. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass +0 -44
  194. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass +0 -141
  195. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +0 -123
  196. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass +0 -49
  197. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass +0 -162
  198. data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass +0 -37
  199. data/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass +0 -14
  200. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +0 -16
  201. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +0 -18
  202. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass +0 -14
  203. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +0 -20
  204. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass +0 -31
  205. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass +0 -40
  206. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +0 -15
  207. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass +0 -60
  208. data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass +0 -57
  209. data/lib/compass/frameworks/compass/templates/project/USAGE.markdown +0 -32
  210. data/lib/compass/installers/bare_installer.rb +0 -58
  211. data/lib/compass/installers/manifest_installer.rb +0 -59
  212. data/lib/compass/sass_extensions/functions/color_stop.rb +0 -10
  213. data/lib/compass/sass_extensions/functions/font_files.rb +0 -11
  214. data/lib/compass/sass_extensions/monkey_patches/traversal.rb +0 -23
  215. data/lib/compass/stats.rb +0 -92
  216. data/lib/vendor/fssm/cache.rb +0 -193
  217. data/lib/vendor/fssm/fsevents.rb +0 -129
  218. data/lib/vendor/fssm/tree.rb +0 -176
  219. data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
  220. data/test/fixtures/stylesheets/relative/config.rb +0 -9
  221. data/test/fixtures/stylesheets/relative/css/ie.css +0 -1
  222. data/test/fixtures/stylesheets/relative/css/print.css +0 -1
  223. data/test/fixtures/stylesheets/relative/css/screen.css +0 -1
  224. data/test/fixtures/stylesheets/relative/sass/ie.sass +0 -6
  225. data/test/fixtures/stylesheets/relative/sass/print.sass +0 -6
  226. data/test/fixtures/stylesheets/relative/sass/screen.sass +0 -3
  227. data/test/rails_helper.rb +0 -40
@@ -1,58 +0,0 @@
1
- @import colors.sass
2
-
3
-
4
- =blueprint-interaction
5
- .error
6
- +error
7
- .notice
8
- +notice
9
- .success
10
- +success
11
- .hide
12
- display: none
13
- .highlight
14
- +highlight
15
- .added
16
- +added
17
- .removed
18
- +removed
19
-
20
- =feedback-base
21
- padding: .8em
22
- margin-bottom: 1em
23
- border= 2px "solid" !feedback_border_color
24
-
25
- =error
26
- +feedback-base
27
- background= !error_bg_color
28
- color= !error_color
29
- border-color= !error_border_color
30
- a
31
- color= !error_color
32
-
33
- =notice
34
- +feedback-base
35
- background= !notice_bg_color
36
- color= !notice_color
37
- border-color= !notice_border_color
38
- a
39
- color= !notice_color
40
-
41
- =success
42
- +feedback-base
43
- background= !success_bg_color
44
- color= !success_color
45
- border-color= !success_border_color
46
- a
47
- color= !success_color
48
-
49
- =highlight
50
- background= !highlight_color
51
-
52
- =added
53
- background= !added_bg_color
54
- color= !added_color
55
-
56
- =removed
57
- background= !removed_bg_color
58
- color= !removed_color
@@ -1,44 +0,0 @@
1
- =no-link-icon
2
- background: transparent none !important
3
- padding: 0 !important
4
- margin: 0 !important
5
-
6
- =link-icon-base
7
- padding: 2px 22px 2px 0
8
- margin: -2px 0
9
- background-repeat: no-repeat
10
- background-position: right center
11
-
12
- =link-icon(!name, !include_base = true)
13
- @if !include_base
14
- +link-icon-base
15
- background-image= image_url("link_icons/#{!name}")
16
-
17
- =link-icons
18
- a[href^="http:"],
19
- a[href^="mailto:"],
20
- a[href^="http:"]:visited,
21
- a[href$=".pdf"],
22
- a[href$=".doc"],
23
- a[href$=".xls"],
24
- a[href$=".rss"],
25
- a[href$=".rdf"],
26
- a[href^="aim:"]
27
- +link-icon-base
28
- a[href^="http:"]
29
- +link-icon("external.png", false)
30
- a[href^="mailto:"]
31
- +link-icon("email.png", false)
32
- a[href^="http:"]:visited
33
- +link-icon("visited.png", false)
34
- a[href$=".pdf"]
35
- +link-icon("pdf.png", false)
36
- a[href$=".doc"]
37
- +link-icon("doc.png", false)
38
- a[href$=".xls"]
39
- +link-icon("xls.png", false)
40
- a[href$=".rss"],
41
- a[href$=".rdf"]
42
- +link-icon("feed.png", false)
43
- a[href^="aim:"]
44
- +link-icon("im.png", false)
@@ -1,141 +0,0 @@
1
- // --------------------------------------------------------------
2
- // SASS Gridification
3
- // * Author: Geoff Garside
4
- // A SASS adaptation of Blueprint CSS
5
- // * Version: 0.7.1 (2008-02-25)
6
- // * Website: http://code.google.com/p/blueprintcss/
7
- // Based on work by:
8
- // * Chris Eppstein [eppsteins.net]
9
- // * Lorin Tacket [lorintackett.com]
10
- // * Olav Bjorkoy [bjorkoy.com]
11
- // * Nathan Borror [playgroundblues.com]
12
- // * Jeff Croft [jeffcroft.com]
13
- // * Christian Metts [mintchaos.com]
14
- // * Khoi Vinh [subtraction.com]
15
- // Liquid grid work by:
16
- // * Ben Listwon
17
- // * David Bedingfield
18
- // * Andrei Michael Herasimchuk
19
- // Involution Studios, http://www.involutionstudios.com
20
- // Read more about using a grid here:
21
- // * subtraction.com/archives/2007/0318_oh_yeeaahh.php
22
- // -----
23
- // By default, the grid is 80% of window width, with 24 columns.
24
- //
25
- // To make the grid fixed, simply change the .container width
26
- // property to a pixel value. e.g., 960px.
27
- // -----
28
- // To use:
29
- // This module is a REPLACEMENT for the grid module. Simply import it:
30
- // @import blueprint.sass
31
- // @import blueprint/liquid.sass
32
- // -------------------------------------------------------------------
33
-
34
- @import compass/utilities/general/float.sass
35
-
36
- // Main layout grid, override these constants to build your grid and container sizes.
37
- // The width shown gives the right floored percentage values.
38
- !blueprint_liquid_grid_columns ||= 24
39
- !blueprint_liquid_grid_width ||= 4.173%
40
- !blueprint_liquid_grid_margin ||= 0.833em
41
-
42
- // Do not edit below this line unless you really know what you're doing.
43
- !blueprint_liquid_container_width = 80%
44
- !blueprint_liquid_container_min_width = 950px
45
- !blueprint_liquid_grid_push_pull = -(!blueprint_liquid_grid_margin * 4)
46
-
47
- =blueprint-liquid-grid
48
- // A container should group all your columns
49
- .container
50
- +container
51
- // Use these classes (or mixins) to set the width of a column.
52
- @for !n from 1 to !blueprint_liquid_grid_columns + 1
53
- .span-#{!n}
54
- +span(!n)
55
- div
56
- &.span-#{!n}
57
- +column(!n, !n == !blueprint_liquid_grid_columns)
58
- // The last column in a row needs this class (or mixin) or it will end up on the next row.
59
- div.last
60
- +last
61
- // Add these to a column to append empty cols.
62
- @for !n from 1 to !blueprint_liquid_grid_columns
63
- .append-#{!n}
64
- +append(!n)
65
- // Add these to a column to prepend empty cols.
66
- @for !n from 1 to !blueprint_liquid_grid_columns
67
- .prepend-#{!n}
68
- +prepend(!n)
69
- // Use these classes on an element to push it into the
70
- // next column, or to pull it into the previous column.
71
- @for !n from 1 to !blueprint_liquid_grid_columns + 1
72
- .pull-#{!n}
73
- +pull(!n)
74
- @for !n from 1 to !blueprint_liquid_grid_columns + 1
75
- .push-#{!n}
76
- +push(!n)
77
-
78
- =container
79
- min-width= !blueprint_liquid_container_min_width
80
- width= !blueprint_liquid_container_width
81
- margin: 0 auto
82
- +clearfix
83
-
84
- =span(!n, !override = false)
85
- !width = (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
86
- @if !override
87
- width= !width !important
88
- @else
89
- width= !width
90
-
91
- =last
92
- margin-right: 0
93
-
94
- =column(!n, !last = false)
95
- +float-left
96
- overflow: hidden
97
- +span(!n)
98
- @if !last
99
- +last
100
- @else
101
- margin-right= !blueprint_liquid_grid_margin
102
-
103
- =append(!n)
104
- padding-right= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
105
-
106
- =prepend(!n)
107
- padding-left= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
108
-
109
- =pull(!n, !last = false)
110
- margin-left= (!blueprint_liquid_grid_push_pull * !n)
111
-
112
- =push(!n)
113
- +float-right
114
- margin:
115
- top: 0
116
- left: 1.5em
117
- right= (!blueprint_liquid_grid_push_pull * !n)
118
- bottom: 0
119
-
120
- =border
121
- border-right: 1px solid #eee
122
-
123
- =colborder
124
- padding-right: 2%
125
- margin-right: 2%
126
- +border
127
-
128
- =colruler
129
- background: #ddd
130
- color: #ddd
131
- clear: both
132
- width: 100%
133
- height: 0.083em
134
- margin: 0 0 1.583em
135
- border: none
136
-
137
- =colspacer
138
- +colruler
139
- background: #fff
140
- color: #fff
141
-
@@ -1,123 +0,0 @@
1
- @import grid.sass
2
- @import compass/utilities/general/float.sass
3
-
4
- // Main layout grid, override these constants to build your grid and container sizes.
5
- !blueprint_grid_columns ||= 24
6
- !blueprint_grid_width ||= 30px
7
- !blueprint_grid_margin ||= 10px
8
-
9
- !blueprint_grid_outer_width = !blueprint_grid_width + !blueprint_grid_margin
10
- !blueprint_container_size = !blueprint_grid_outer_width * !blueprint_grid_columns - !blueprint_grid_margin
11
-
12
- // Columns
13
- // Note: If you use this mixin without the class and want to support ie6
14
- // you must set text-align left on your container element in an IE stylesheet.
15
- =container
16
- width= !blueprint_container_size
17
- margin: 0 auto
18
- direction: rtl
19
- +clearfix
20
-
21
- // The last column in a row needs this mixin or it will end up on the next row.
22
- // TODO add this to span mixin when we have optional arguments
23
- =last
24
- margin-left: 0
25
-
26
- =column-base(!last = false)
27
- +float-right
28
- @if !last
29
- +last
30
- @else
31
- margin-left= !blueprint_grid_margin
32
- text-align: right
33
- * html &
34
- overflow-x: hidden
35
-
36
- // Mixin to a column to append n empty cols.
37
- =append(!n)
38
- padding-left= (!blueprint_grid_outer_width) * !n
39
-
40
- // Mixin to a column to prepend n empty cols.
41
- =prepend(!n)
42
- padding-right= (!blueprint_grid_outer_width) * !n
43
-
44
- // mixin to a column to move it n columns to the left
45
- =pull(!n, !last = false)
46
- position: relative
47
- @if !last
48
- margin-right= (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin
49
- @else
50
- margin-right= -!blueprint_grid_outer_width * !n
51
-
52
- // mixin to a column to push it n columns to the right
53
- =push(!n)
54
- +float-right
55
- position: relative
56
- margin:
57
- top: 0
58
- left= -!blueprint_grid_outer_width * !n
59
- bottom: 1.5em
60
- right= !blueprint_grid_outer_width * !n
61
-
62
- // Border on left hand side of a column.
63
- =border
64
- padding-left= !blueprint_grid_margin / 2 - 1
65
- margin-left= !blueprint_grid_margin / 2
66
- border-left: 1px solid #eee
67
-
68
- // Border with more whitespace, spans one column.
69
- =colborder
70
- padding-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin - 1)/2
71
- margin-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin)/2
72
- border-left: 1px solid #eee
73
-
74
- // Usage examples:
75
- // As a top-level mixin, apply to any page that includes the stylesheet:
76
- // +rtl-typography
77
- // Scoped by a presentational class:
78
- // body.blueprint
79
- // +rtl-typography(true)
80
- // Scoped by semantic selectors:
81
- // body#page-1, body#page-2, body.a-special-page-type
82
- // +rtl-typography(true)
83
- // Deprecated:
84
- // You can pass the body selector as the first argument when used as a top-level mixin
85
- // +rtl-typography("body#page-1, body#page-2, body.a-special-page-type")
86
- =rtl-typography(!body_selector = "body")
87
- @if !body_selector == true
88
- html &
89
- font-family: Arial, sans-serif
90
- +rtl-typography-defaults
91
- @else
92
- html #{!body_selector}
93
- font-family: Arial, sans-serif
94
- @if !body_selector != "body"
95
- @debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +rtl-typography, pass true as the first argument and mix it into #{!body_selector}."
96
- +rtl-typography-defaults
97
- @if !body_selector == "body"
98
- body
99
- +rtl-typography-defaults
100
-
101
- =rtl-typography-defaults
102
- h1, h2, h3, h4, h5, h6
103
- font-family: Arial, sans-serif
104
-
105
- pre, code, tt
106
- font-family: monospace
107
-
108
- p
109
- img.right
110
- +float-left
111
- margin: 1.5em 1.5em 1.5em 0
112
- padding: 0
113
- img.left
114
- +float-right
115
- margin: 1.5em 0 1.5em 1.5em
116
- padding: 0
117
-
118
- dd, ul, ol
119
- margin-left: 0
120
- margin-right: 1.5em
121
-
122
- td, th
123
- text-align: right
@@ -1,49 +0,0 @@
1
- @import grid.sass
2
- // The styles contained here are meant to provide for an attractive experience out of the box
3
- // and are expected to be removed once custom visual design begins.
4
-
5
- // The +blueprint-scaffolding mixin must be mixed into the top level of your stylesheet.
6
- // However, you can customize the body selector if you wish to control the scope
7
- // of this mixin. Examples:
8
- // Apply to any page including the stylesheet:
9
- // +blueprint-scaffolding
10
- // Scoped by a single presentational body class:
11
- // +blueprint-scaffolding("body.blueprint")
12
- // Semantically:
13
- // +blueprint-scaffolding("body#page-1, body#page-2, body.a-special-page-type")
14
- // Alternatively, you can use the +blueprint-scaffolding-body and +blueprint-scaffolding-defaults
15
- // mixins to construct your own semantic style rules.
16
-
17
- =blueprint-scaffolding(!body_selector = "body")
18
- #{!body_selector}
19
- @if !body_selector != "body"
20
- +blueprint-scaffolding-defaults
21
- @if !body_selector == "body"
22
- +blueprint-scaffolding-defaults
23
-
24
- // The styles this mixin provides were deprecated in Blueprint 0.9 and is no longer part of the
25
- // main scaffolding, but the mixin is still available if you want to use it.
26
- =blueprint-scaffolding-body
27
- margin: 1.5em 0
28
-
29
- // Mixin +box to create a padded box inside a column.
30
- =box
31
- padding: 1.5em
32
- margin-bottom: 1.5em
33
- background: #E5ECF9
34
-
35
- =blueprint-scaffolding-defaults
36
- .box
37
- +box
38
- // Border on right hand side of a column. You can comment this out if you don't plan to use it.
39
- div.border
40
- +border
41
- // Border with more whitespace, spans one column.
42
- div.colborder
43
- +colborder
44
- hr
45
- +colruler
46
- hr.space
47
- +colspacer
48
- form.inline
49
- +blueprint-inline-form
@@ -1,162 +0,0 @@
1
- @import colors.sass
2
- @import compass/utilities/links/link_colors.sass
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
129
- ul, ol
130
- margin: 0
131
- ul, ol
132
- margin: 0 1.5em 1.5em 0
133
- padding-left: 3.333em
134
- ul
135
- list-style-type: disc
136
- ol
137
- list-style-type: decimal
138
- dl
139
- margin: 0 0 1.5em 0
140
- dt
141
- font-weight: bold
142
- dd
143
- margin-left: 1.5em
144
- table
145
- margin-bottom: 1.4em
146
- width: 100%
147
- th
148
- font-weight: bold
149
- thead th
150
- background= !blueprint_table_header_color
151
- th, td, caption
152
- padding: 4px 10px 4px 5px
153
- tr.even td
154
- background= !blueprint_table_stripe_color
155
- tfoot
156
- font-style: italic
157
- caption
158
- background: #eee
159
- .quiet
160
- +quiet
161
- .loud
162
- +loud