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
@@ -1,58 +1,2 @@
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
+ @debug "DEPRECATION WARINING: blueprint/modules/interaction.sass has moved to blueprint/interaction.sass"
2
+ @import blueprint/interaction.sass
@@ -1,44 +1,2 @@
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
+ @debug "DEPRECATION WARINING: blueprint/modules/link_icons.sass has moved to blueprint/link_icons.sass"
2
+ @import blueprint/link_icons.sass
@@ -1,141 +1,3 @@
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/modules/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
1
+ @debug "DEPRECATION WARINING: blueprint/modules/liquid.sass has moved to blueprint/liquid.sass"
2
+ @import blueprint/liquid.sass
141
3
 
@@ -1,56 +1,2 @@
1
- // Global reset rules.
2
- // For more specific resets, use the reset mixins provided below
3
- =blueprint-global-reset
4
- html, body
5
- +blueprint-reset
6
- +blueprint-nested-reset
7
-
8
- // Reset all elements within some selector scope.To reset the selector itself,
9
- // mixin the appropriate reset mixin for that element type as well. This could be
10
- // useful if you want to style a part of your page in a dramatically different way.
11
- =blueprint-nested-reset
12
- div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
13
- pre, a, abbr, acronym, address, code, del, dfn, em, img,
14
- dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr
15
- +blueprint-reset
16
- blockquote, q
17
- +blueprint-reset-quotation
18
- th, td, caption
19
- +blueprint-reset-table-cell
20
- table
21
- +blueprint-reset-table
22
- a img
23
- border: none
24
-
25
- =blueprint-reset-box-model
26
- margin: 0
27
- padding: 0
28
- border: 0
29
-
30
- =blueprint-reset
31
- +blueprint-reset-box-model
32
- font:
33
- weight: inherit
34
- style: inherit
35
- size: 100%
36
- family: inherit
37
- vertical-align: baseline
38
-
39
- =blueprint-reset-quotation
40
- +blueprint-reset
41
- quotes: "" ""
42
- &:before,
43
- &:after
44
- content: ""
45
-
46
- =blueprint-reset-table-cell
47
- +blueprint-reset
48
- text-align: left
49
- font-weight: normal
50
- vertical-align: middle
51
-
52
- =blueprint-reset-table
53
- +blueprint-reset
54
- border-collapse: separate
55
- border-spacing: 0
56
- vertical-align: middle
1
+ @debug "DEPRECATION WARINING: blueprint/modules/reset.sass has moved to blueprint/reset.sass"
2
+ @import blueprint/reset.sass
@@ -1,122 +1,2 @@
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
- * html &
33
- overflow-x: hidden
34
-
35
- // Mixin to a column to append n empty cols.
36
- =append(!n)
37
- padding-left= (!blueprint_grid_outer_width) * !n
38
-
39
- // Mixin to a column to prepend n empty cols.
40
- =prepend(!n)
41
- padding-right= (!blueprint_grid_outer_width) * !n
42
-
43
- // mixin to a column to move it n columns to the left
44
- =pull(!n, !last = false)
45
- position: relative
46
- @if !last
47
- margin-right= (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin
48
- @else
49
- margin-right= -!blueprint_grid_outer_width * !n
50
-
51
- // mixin to a column to push it n columns to the right
52
- =push(!n)
53
- +float-right
54
- position: relative
55
- margin:
56
- top: 0
57
- left= -!blueprint_grid_outer_width * !n
58
- bottom: 1.5em
59
- right= !blueprint_grid_outer_width * !n
60
-
61
- // Border on left hand side of a column.
62
- =border
63
- padding-left= !blueprint_grid_margin / 2 - 1
64
- margin-left= !blueprint_grid_margin / 2
65
- border-left: 1px solid #eee
66
-
67
- // Border with more whitespace, spans one column.
68
- =colborder
69
- padding-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin - 1)/2
70
- margin-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin)/2
71
- border-left: 1px solid #eee
72
-
73
- // Usage examples:
74
- // As a top-level mixin, apply to any page that includes the stylesheet:
75
- // +rtl-typography
76
- // Scoped by a presentational class:
77
- // body.blueprint
78
- // +rtl-typography(true)
79
- // Scoped by semantic selectors:
80
- // body#page-1, body#page-2, body.a-special-page-type
81
- // +rtl-typography(true)
82
- // Deprecated:
83
- // You can pass the body selector as the first argument when used as a top-level mixin
84
- // +rtl-typography("body#page-1, body#page-2, body.a-special-page-type")
85
- =rtl-typography(!body_selector = "body")
86
- @if !body_selector == true
87
- html &
88
- font-family: Arial, sans-serif
89
- +rtl-typography-defaults
90
- @else
91
- html #{!body_selector}
92
- font-family: Arial, sans-serif
93
- @if !body_selector != "body"
94
- @debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +rtl-typography, pass true as the first argument and mix it into #{!body_selector}."
95
- +rtl-typography-defaults
96
- @if !body_selector == "body"
97
- body
98
- +rtl-typography-defaults
99
-
100
- =rtl-typography-defaults
101
- h1, h2, h3, h4, h5, h6
102
- font-family: Arial, sans-serif
103
-
104
- pre, code, tt
105
- font-family: monospace
106
-
107
- p
108
- img.right
109
- +float-left
110
- margin: 1.5em 1.5em 1.5em 0
111
- padding: 0
112
- img.left
113
- +float-right
114
- margin: 1.5em 0 1.5em 1.5em
115
- padding: 0
116
-
117
- dd, ul, ol
118
- margin-left: 0
119
- margin-right: 1.5em
120
-
121
- td, th
122
- text-align: right
1
+ @debug "DEPRECATION WARINING: blueprint/modules/rtl.sass has moved to blueprint/rtl.sass"
2
+ @import blueprint/rtl.sass
@@ -1,47 +1,2 @@
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
1
+ @debug "DEPRECATION WARINING: blueprint/modules/scaffolding.sass has moved to blueprint/scaffolding.sass"
2
+ @import blueprint/scaffolding.sass