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
@@ -87,9 +87,10 @@ YUI:
87
87
  Extensions:
88
88
 
89
89
  * Extensions can now be installed locally by unpacking them into a project's
90
- "extensions" directory.
90
+ "extensions" directory. Rails projects use "vendor/plugins/compass/extenstions".
91
91
  * Extensions can deliver html to projects if they like. The html can be in
92
- haml and will be transformed to html.
92
+ haml and will be transformed to html and can contain inline, compass-enabled
93
+ sass.
93
94
  * All files can be processed using ERB before being copied into the user's
94
95
  project.
95
96
  * Compass extensions can now add support for other application frameworks.
@@ -124,6 +125,35 @@ Many thanks to the following Contributors:
124
125
  * Brian Johnson - Upgraded to YUI 2.7.0
125
126
  * Beau Smith - fixing my dyslexia.
126
127
 
128
+ 0.8.17 (September 24, 2009)
129
+ ---------------------------
130
+
131
+ * The enumerate function now accepts an optional fourth parameter that specifies the separator to be used.
132
+ Enables fixing a bug in the Compass 960 Plugin.
133
+
134
+ 0.8.16 (September 12, 2009)
135
+ ---------------------------
136
+
137
+ * Fixed a bug in compass that assumed compass extensions would provide stylesheets.
138
+
139
+ 0.8.15 (September 5, 2009)
140
+ --------------------------
141
+
142
+ * Upgrade the FSSM library to 0.0.6 to fix bugs on windows.
143
+
144
+
145
+ 0.8.14 (September 2, 2009)
146
+ --------------------------
147
+
148
+ * Upgrade the FSSM library to 0.0.4 to fix bugs and enable FS Events on Mac OS.
149
+
150
+ 0.8.13 (August 30, 2009)
151
+ ------------------------
152
+
153
+ * [Blueprint] Mixins have been added for these as +prepend-top and +append-bottom and grid classes will be generated by +blueprint-grid.
154
+ * [Command Line] The watch mode has been re-implemented to use the FSSM library by Travis Tilley. OSX users will
155
+ now have support for filesystem monitoring. Fixes an infinite looping bug that occured with syntax users.
156
+
127
157
  0.8.12 (August 22, 2009)
128
158
  ------------------------
129
159
 
@@ -3,8 +3,9 @@ A [Sass][sass]-based CSS Meta-Framework that allows you to mix and match any of
3
3
 
4
4
  - [Compass Core][compass_core_website] - [Wiki Documentation][compass_core_wiki]
5
5
  - [Blueprint][blueprint_website] - [Wiki Documentation][bleuprint_wiki]
6
- - [YUI][yui_website] - [Wiki Documentation][yui_wiki]
7
6
  - [960][ninesixty_website] - [Wiki Documentation][ninesixty_wiki]
7
+ - [Susy][susy_website] - [Wiki Documentation][susy_wiki]
8
+ - [YUI][yui_website] - [Wiki Documentation][yui_wiki]
8
9
  - New frameworks and extensions are [tracked on the wiki][plugins_wiki] as they are created.
9
10
  - Other frameworks can be added relatively easily. Create your own!
10
11
 
@@ -14,6 +15,13 @@ A [Sass][sass]-based CSS Meta-Framework that allows you to mix and match any of
14
15
  2. Simple integration with [Ruby-on-Rails][ruby_on_rails_wiki], [Merb][merb_wiki], [StaticMatic][static_matic_wiki], and even [non-ruby application servers][command_line_wiki].
15
16
  3. Loads of Sass mixins to make building your website a snap.
16
17
 
18
+ ## Quick Start
19
+
20
+ $ (sudo) gem install compass
21
+ $ compass create my_compass_project --using blueprint
22
+ $ cd my_compass_project
23
+ $ compass watch
24
+
17
25
  ## More Information
18
26
  Please see the [wiki][wiki]
19
27
 
@@ -41,6 +49,8 @@ Released under a [slightly modified MIT License][license].
41
49
  [ruby_on_rails_wiki]: http://wiki.github.com/chriseppstein/compass/ruby-on-rails-integration
42
50
  [merb_wiki]: http://wiki.github.com/chriseppstein/compass/merb-integration
43
51
  [static_matic_wiki]: http://wiki.github.com/chriseppstein/compass/staticmatic-integration
44
- [chris_eppstein]: http://acts-as-architect.blogspot.com
52
+ [chris_eppstein]: http://chriseppstein.github.com
45
53
  [caring.com]: http://www.caring.com/ "Senior Care Resources"
46
54
  [license]: http://github.com/chriseppstein/compass/tree/master/LICENSE.markdown
55
+ [susy_website]: http://www.oddbird.net/susy/
56
+ [susy_wiki]: http://github.com/chriseppstein/compass/wikis/susy-documentation
data/REVISION CHANGED
@@ -1 +1 @@
1
- ef49c8b2a624e4120948c8165b3b5fb6c9fa07c8
1
+ 2465baba525421ac9cac1774d940f9e27971710d
data/Rakefile CHANGED
@@ -2,7 +2,8 @@ if ENV['RUN_CODE_RUN']
2
2
  # We need to checkout edge haml for the run>code>run test environment.
3
3
  if File.directory?("haml")
4
4
  Dir.chdir("haml") do
5
- sh "git", "pull"
5
+ sh "git", "fetch"
6
+ sh "git", "reset", "--hard", "origin/stable"
6
7
  end
7
8
  else
8
9
  sh "git", "clone", "git://github.com/nex3/haml.git"
@@ -25,6 +26,7 @@ require 'fileutils'
25
26
 
26
27
  Rake::TestTask.new :run_tests do |t|
27
28
  t.libs << 'lib'
29
+ t.libs << 'test'
28
30
  t.libs << 'haml/lib' if ENV["RUN_CODE_RUN"]
29
31
  test_files = FileList['test/**/*_test.rb']
30
32
  test_files.exclude('test/rails/*', 'test/haml/*')
@@ -1,5 +1,4 @@
1
1
  ---
2
+ :patch: 5
2
3
  :major: 0
3
4
  :minor: 9
4
- :patch: 4
5
- :build:
@@ -32,7 +32,7 @@
32
32
  %a{ :href => "parts/grid.html" }
33
33
  Grid
34
34
  %td
35
- %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass" }
35
+ %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_grid.sass" }
36
36
  grid.sass
37
37
  %td
38
38
  Tests classes provided by the grid module.
@@ -41,7 +41,7 @@
41
41
  %a{ :href => "parts/elements.html" }
42
42
  Typography
43
43
  %td
44
- %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass" }
44
+ %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_typography.sass" }
45
45
  typography.sass
46
46
  %td
47
47
  Tests HTML elements which gets set in the typography module.
@@ -50,7 +50,7 @@
50
50
  %a{ :href => "parts/forms.html" }
51
51
  Forms
52
52
  %td
53
- %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_form.sass" }
53
+ %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_form.sass" }
54
54
  form.sass
55
55
  %td
56
56
  Tests classes and default look provided by the form module.
@@ -184,6 +184,8 @@
184
184
  %input#q.text{ :type => "text", :name => "q", :value => "Field with class .text" }
185
185
  .span-2.last
186
186
  %input.button{ :type => "submit", :value => "submit" }
187
+ / WTF This doesn't render correctly without some space.
188
+ &nbsp;
187
189
  %hr
188
190
  %p
189
191
  %a{ :href => "http://validator.w3.org/check?uri=referer" }
@@ -1,5 +1,5 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/scaffolding.sass
2
+ @import blueprint/scaffolding.sass
3
3
  @import compass/reset.sass
4
4
 
5
5
  +blueprint
@@ -31,13 +31,13 @@
31
31
  %a{ :href => "plugins/fancy_type.html" }
32
32
  Fancy Type
33
33
  %td
34
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass" }
34
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_grid.sass" }
35
35
  grid.sass
36
36
  ,
37
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass" }
37
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_typography.sass" }
38
38
  typography.sass
39
39
  ,
40
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass" }
40
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass" }
41
41
  fancy_type.sass
42
42
  %td
43
43
  A simple sample page, with common elements and fancy type.
@@ -46,7 +46,7 @@
46
46
  %a{ :href => "plugins/buttons.html" }
47
47
  Buttons
48
48
  %td
49
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass" }
49
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_buttons.sass" }
50
50
  buttons.sass
51
51
  %td
52
52
  A simple page, showing links and buttons styled using the button plugin.
@@ -55,7 +55,7 @@
55
55
  %a{ :href => "plugins/link_icons.html" }
56
56
  Link Icons
57
57
  %td
58
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass" }
58
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass" }
59
59
  link_icons.sass
60
60
  %td
61
61
  A simple page, showing links icons.
@@ -64,7 +64,7 @@
64
64
  %a{ :href => "plugins/rtl.html" }
65
65
  RTL
66
66
  %td
67
- %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass" }
67
+ %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_rtl.sass" }
68
68
  rtl.sass
69
69
  %td
70
70
  A simple page, showing a right-to-left grid layout.
@@ -1,5 +1,5 @@
1
1
  @import compass/utilities/general/float.sass
2
- @import blueprint/modules/buttons.sass
2
+ @import blueprint/buttons.sass
3
3
 
4
4
  //
5
5
  Use the following HTML code to place the buttons on your site:
@@ -23,7 +23,7 @@ a.button
23
23
  +anchor-button("left")
24
24
  // All the button color mixins take 4 optional arguments:
25
25
  // font color, background color, border color, border highlight color
26
- // the first three default to constants set in blueprint/modules/buttons.sass
26
+ // the first three default to constants set in blueprint/buttons.sass
27
27
  // the last one defaults to a shade lighter than the border color.
28
28
  +button-colors
29
29
  +button-hover-colors
@@ -1,4 +1,4 @@
1
- @import blueprint/modules/link_icons.sass
1
+ @import blueprint/link_icons.sass
2
2
 
3
3
  // This turns link icons on for all links. You can change the scoping selector from
4
4
  // body to something more specific if you prefer.
@@ -1,7 +1,7 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/fancy_type.sass
3
- @import blueprint/modules/scaffolding.sass
4
- @import blueprint/modules/rtl.sass
2
+ @import blueprint/fancy_type.sass
3
+ @import blueprint/scaffolding.sass
4
+ @import blueprint/rtl.sass
5
5
  @import compass/reset.sass
6
6
 
7
7
 
@@ -1,6 +1,6 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/fancy_type.sass
3
- @import blueprint/modules/scaffolding.sass
2
+ @import blueprint/fancy_type.sass
3
+ @import blueprint/scaffolding.sass
4
4
  @import compass/reset.sass
5
5
 
6
6
 
@@ -1,7 +1,7 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/fancy_type.sass
3
- @import blueprint/modules/scaffolding.sass
4
- @import blueprint/modules/liquid.sass
2
+ @import blueprint/fancy_type.sass
3
+ @import blueprint/scaffolding.sass
4
+ @import blueprint/liquid.sass
5
5
  @import compass/reset.sass
6
6
 
7
7
  .container
@@ -66,4 +66,4 @@ body#sample
66
66
  +reset-font
67
67
  +alt
68
68
  #parting-thought
69
- +alt
69
+ +alt
@@ -1,6 +1,6 @@
1
1
  @import blueprint.sass
2
- @import blueprint/modules/fancy_type.sass
3
- @import blueprint/modules/scaffolding.sass
2
+ @import blueprint/fancy_type.sass
3
+ @import blueprint/scaffolding.sass
4
4
  @import compass/reset.sass
5
5
 
6
6
  body.blueprint
@@ -67,4 +67,4 @@ body#sample
67
67
  +reset-font
68
68
  +alt
69
69
  #parting-thought
70
- +alt
70
+ +alt
@@ -0,0 +1,3 @@
1
+ require File.join(File.dirname(__FILE__), '..', 'downloader')
2
+
3
+ install_from_github('chriseppstein', 'yui-compass-plugin', 'yui')
@@ -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
@@ -0,0 +1,45 @@
1
+ !yui_default_base_font_size ||= 13px
2
+ !yui_default_base_line_height ||= 1.231
3
+ !yui_default_font_family ||= "arial,helvetica,clean,sans-serif"
4
+
5
+ // Sets the font size specified in pixels using percents so that the base
6
+ // font size changes and 1em has the correct value. When nesting font size
7
+ // declarations, within the DOM tree, the base_font_size must be the parent's
8
+ // effective font-size in pixels.
9
+ // Usage Examples:
10
+ // .big
11
+ // +font-size(16px)
12
+ // .bigger
13
+ // +font-size(18px)
14
+ // .big .bigger
15
+ // +font-size(18px, 16px)
16
+ //
17
+ // For more information see the table found at http://developer.yahoo.com/yui/fonts/#fontsize
18
+ =font-size(!size, !base_font_size = !yui_default_base_font_size)
19
+ :font-size= percentage(!size / !base_font_size)
20
+
21
+ // Sets the base fonts for a page, this should be mixed into the top level of a stylesheet.
22
+ =yui-base-fonts(!family = !yui_default_font_family, !size = !yui_default_base_font_size, !line_height = !yui_default_base_line_height)
23
+ body
24
+ :font
25
+ :size= !size
26
+ :family= !family
27
+ :line-height= !line_height
28
+ :*font-size small
29
+ :*font x-small
30
+
31
+ select,
32
+ input,
33
+ button,
34
+ textarea,
35
+ button
36
+ :font 99% arial,helvetica,clean,sans-serif
37
+
38
+ table
39
+ :font-size inherit
40
+ :font 100%
41
+
42
+ pre, code, kbd, samp, tt
43
+ :font-family monospace
44
+ :*font-size 108%
45
+ :line-height 100%
@@ -0,0 +1,385 @@
1
+ // This is a port of YUI Grids version 2.6.0
2
+ // Note: This is not really tested yet. Use at your own risk.
3
+
4
+ @import compass/utilities/general/float.sass
5
+ @import fonts.sass
6
+
7
+ =yui-grids
8
+ +yui-grids-init
9
+ +yui-grid-templates
10
+ +yui-grid-divisions
11
+
12
+ =yui-grid-templates
13
+ #doc
14
+ +yui-document(750px)
15
+ #doc2
16
+ +yui-document(950px)
17
+ #doc3
18
+ +yui-document("fluid")
19
+ #doc4
20
+ +yui-document(974px)
21
+ /* Section: Preset Template Rules (.yui-t[1-6])
22
+ .yui-t1
23
+ +yui-two-column-left-template(160px)
24
+ .yui-t2
25
+ +yui-two-column-left-template(180px)
26
+ .yui-t3
27
+ +yui-two-column-left-template(300px)
28
+ .yui-t4
29
+ +yui-two-column-right-template(180px)
30
+ .yui-t5
31
+ +yui-two-column-right-template(240px)
32
+ .yui-t6
33
+ +yui-two-column-right-template(300px)
34
+ .yui-t7
35
+ +yui-one-column-template
36
+
37
+ =yui-group-clearing
38
+ zoom: 1
39
+ &:after
40
+ content: "."
41
+ display: block
42
+ height: 0
43
+ clear: both
44
+ visibility: hidden
45
+
46
+ =yui-grids-init(!header = "#hd", !footer = "#ft", !body = "#bd")
47
+ /* Section: General Rules
48
+ body
49
+ :text-align center
50
+ @if !header
51
+ #{!header}
52
+ +yui-group-clearing
53
+ @if !footer
54
+ #{!footer}
55
+ +yui-group-clearing
56
+ @if !body
57
+ #{!body}
58
+ +yui-group-clearing
59
+
60
+ =em-size(!style, !px_size, !base_font_size = !yui_default_base_font_size)
61
+ :#{!style}= 1em * !px_size / !base_font_size
62
+
63
+ =em-size-hacked(!style, !px_size, !base_font_size = !yui_default_base_font_size)
64
+ +em-size(!style, !px_size, !base_font_size)
65
+ +em-size("*"+!style, !px_size * 39 / 40, !base_font_size)
66
+
67
+ // All documents must have these styles
68
+ =yui-document-base(!min_width = false)
69
+ :margin auto
70
+ :text-align left
71
+ @if !min_width
72
+ :min-width= !min_width
73
+
74
+ =yui-block-base
75
+ :position relative
76
+ :_position static
77
+
78
+ =yui-main-block
79
+ :float none
80
+ :width auto
81
+
82
+ // Creates a fixed width document container
83
+ // Pass "fluid" for the width to create a document that grows with the width of the browser.
84
+ =yui-document(!width, !min_width = false, !base_font_size = !yui_default_base_font_size)
85
+ +yui-document-base(!min_width)
86
+ @if !width == "fluid"
87
+ :margin auto 10px
88
+ :width auto
89
+ @else
90
+ +em-size-hacked("width", !width, !base_font_size)
91
+
92
+ =yui-two-column-left-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size)
93
+ +yui-document(!document_width, !min_width, !base_font_size)
94
+ #{!block_selector}
95
+ +yui-block-base
96
+ :float left
97
+ +em-size-hacked("width", !column_width, !base_font_size)
98
+ #{!main_selector}
99
+ :width 100%
100
+ :float right
101
+ :margin-left -25em
102
+ #{!block_selector}
103
+ +yui-main-block
104
+ +em-size("margin-left", !column_width + 13px, !base_font_size)
105
+ // t3 is 15px for IE for some reason - seems like this should be some formula based on the column width and not a fixed number - need to do more research
106
+ @if !column_width > 180px
107
+ +em-size("*margin-left", (!column_width + 15px) * 39 / 40, !base_font_size)
108
+ @else
109
+ +em-size("*margin-left", (!column_width + 14px) * 39 / 40, !base_font_size)
110
+
111
+ =yui-two-column-right-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size)
112
+ +yui-document(!document_width, !min_width, !base_font_size)
113
+ #{!block_selector}
114
+ +yui-block-base
115
+ :float right
116
+ +em-size-hacked("width", !column_width, !base_font_size)
117
+ #{!main_selector}
118
+ :width 100%
119
+ :float left
120
+ :margin-right -25em
121
+ #{!block_selector}
122
+ +yui-main-block
123
+ +em-size("margin-right", !column_width + 13px, !base_font_size)
124
+ // t5 is 15px for IE for some reason - seems like this should be some formula based on the column width and not a fixed number - need to do more research
125
+ @if !column_width > 180px
126
+ +em-size("*margin-right", (!column_width + 15px) * 39 / 40, !base_font_size)
127
+ @else
128
+ +em-size("*margin-right", (!column_width + 14px) * 39 / 40, !base_font_size)
129
+
130
+ =yui-one-column-template(!main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size)
131
+ +yui-document(!document_width, !min_width, !base_font_size)
132
+ #{!main_selector}
133
+ #{!block_selector}
134
+ +yui-main-block
135
+ :display block
136
+ :margin 0 0 1em 0
137
+
138
+ =yui-custom-template(!main_selector = "#yui-main", !block_selector = ".yui-b")
139
+ #{!block_selector}
140
+ +yui-block-base
141
+ #{!main_selector}
142
+ :width 100%
143
+ #{!block_selector}
144
+ +yui-main-block
145
+
146
+ =yui-grid-divisions(!unit = ".yui-u", !g_50_50 = ".yui-g", !g_33_33_33 = ".yui-gb", !g_67_33 = ".yui-gc", !g_33_67 = ".yui-gd", !g_75_25 = ".yui-ge", !g_25_75 = ".yui-gf")
147
+
148
+ /* Section: Grids and Nesting Grids
149
+
150
+ /* from #yui-main, .yui-g .yui-u .yui-g
151
+ #{nest(!g_50_50, !unit, !g_50_50)}
152
+ width: 100%
153
+
154
+ /* Children generally take half the available space
155
+ #{nest(!g_33_33_33, !unit)},
156
+ #{nest(!g_50_50, !g_33_33_33, !unit)},
157
+ #{nest(!g_33_33_33, !g_50_50)},
158
+ #{nest(!g_33_33_33, !g_33_33_33)},
159
+ #{nest(!g_33_33_33, !g_67_33)},
160
+ #{nest(!g_33_33_33, !g_33_67)},
161
+ #{nest(!g_33_33_33, !g_75_25)},
162
+ #{nest(!g_33_33_33, !g_25_75)},
163
+ #{nest(!g_67_33, !unit)},
164
+ #{nest(!g_67_33, !g_50_50)},
165
+ #{nest(!g_33_67, !unit)}
166
+ float: left
167
+
168
+ /* Float units (and sub grids) to the right
169
+ #{nest(!g_50_50, !unit)},
170
+ #{nest(!g_50_50, !g_50_50)},
171
+ #{nest(!g_50_50, !g_33_33_33)},
172
+ #{nest(!g_50_50, !g_67_33)},
173
+ #{nest(!g_50_50, !g_33_67)},
174
+ #{nest(!g_50_50, !g_75_25)},
175
+ #{nest(!g_50_50, !g_25_75)},
176
+ #{nest(!g_67_33, !unit)},
177
+ #{nest(!g_33_67, !g_50_50)},
178
+ #{nest(!g_50_50, !g_67_33, !unit)},
179
+ #{nest(!g_75_25, !unit)},
180
+ #{nest(!g_75_25, !g_50_50)},
181
+ #{nest(!g_25_75, !g_50_50)},
182
+ #{nest(!g_25_75, !unit)}
183
+ float: right
184
+
185
+ /* Float units (and sub grids) to the left
186
+ #{!g_50_50},
187
+ #{!g_33_33_33},
188
+ #{!g_67_33},
189
+ #{!g_33_67},
190
+ #{!g_75_25},
191
+ #{!g_25_75},
192
+ #{nest(!g_50_50, !g_67_33)},
193
+ #{nest(!g_50_50, !g_75_25)},
194
+ #{nest(!g_67_33, "div.first")}
195
+ div.first
196
+ float: left
197
+
198
+ #{!g_50_50}
199
+ #{!unit},
200
+ #{!g_50_50},
201
+ #{!g_33_33_33},
202
+ #{!g_67_33},
203
+ #{!g_33_67},
204
+ #{!g_75_25},
205
+ #{!g_25_75}
206
+ width: 49.1%
207
+
208
+ #{nest(!g_33_33_33, !unit)},
209
+ #{nest(!g_50_50, !g_33_33_33, !unit)},
210
+ #{nest(!g_33_33_33, !g_50_50)},
211
+ #{nest(!g_33_33_33, !g_33_33_33)},
212
+ #{nest(!g_33_33_33, !g_67_33)},
213
+ #{nest(!g_33_33_33, !g_33_67)},
214
+ #{nest(!g_33_33_33, !g_75_25)},
215
+ #{nest(!g_33_33_33, !g_25_75)},
216
+ #{nest(!g_67_33, !unit)},
217
+ #{nest(!g_67_33, !g_50_50)},
218
+ #{nest(!g_33_67, !unit)}
219
+ width: 32%
220
+ margin-left: 1.99%
221
+
222
+ /* Give IE some extra breathing room for 1/3-based rounding issues
223
+ #{nest(!g_33_33_33, !unit)}
224
+ *margin-left: 1.9%
225
+ *width: 31.9%
226
+
227
+ #{nest(!g_50_50, !g_33_33_33)},
228
+ #{!g_33_33_33},
229
+ #{!g_67_33},
230
+ #{!g_33_67}
231
+ div.first
232
+ margin-left: 0
233
+
234
+ /* Section: Deep Nesting
235
+ #{!g_50_50},
236
+ #{!g_33_33_33},
237
+ #{!g_67_33},
238
+ #{!g_33_67},
239
+ #{!g_75_25},
240
+ #{!g_25_75}
241
+ #{!g_50_50}
242
+ #{!unit}
243
+ width: 49%
244
+ *width: 48.1%
245
+ *margin-left: 0
246
+
247
+ #{nest(!g_50_50, !g_50_50, !unit)}
248
+ width: 48.1%
249
+
250
+ #{!g_50_50},
251
+ #{!g_33_33_33}
252
+ #{!g_33_33_33}
253
+ div.first
254
+ *margin-right: 0
255
+ *width: 32%
256
+ _width: 31.7%
257
+
258
+ #{nest(!g_50_50, !g_67_33, "div.first")},
259
+ #{nest(!g_67_33, "div.first")},
260
+ #{nest(!g_33_67, !g_50_50)},
261
+ #{nest(!g_33_67, !unit)}
262
+ width: 66%
263
+
264
+ #{nest(!g_33_33_33, !g_50_50, "div.first")}
265
+ *margin-right: 4%
266
+ _margin-right: 1.3%
267
+
268
+ #{!g_33_33_33}
269
+ #{!g_67_33},
270
+ #{!g_33_67}
271
+ div.first
272
+ *margin-right: 0
273
+
274
+ #{!g_33_33_33}
275
+ #{!g_33_33_33},
276
+ #{!g_67_33}
277
+ #{!unit}
278
+ *margin-left: 1.8%
279
+ _margin-left: 4%
280
+
281
+ #{nest(!g_50_50, !g_33_33_33, !unit)}
282
+ _margin-left: 1.0%
283
+
284
+ #{nest(!g_33_33_33, !g_33_67, !unit)}
285
+ *width: 66%
286
+ _width: 61.2%
287
+
288
+ #{nest(!g_33_33_33, !g_33_67, "div.first")}
289
+ *width: 31%
290
+ _width: 29.5%
291
+
292
+ #{!g_50_50},
293
+ #{!g_33_33_33}
294
+ #{!g_67_33}
295
+ #{!unit}
296
+ width: 32%
297
+ _float: right
298
+ margin-right: 0
299
+ _margin-left: 0
300
+
301
+ #{nest(!g_33_33_33, !g_67_33, "div.first")}
302
+ width: 66%
303
+ *float: left
304
+ *margin-left: 0
305
+
306
+ #{!g_33_33_33}
307
+ #{!g_75_25},
308
+ #{!g_25_75}
309
+ #{!unit}
310
+ margin: 0
311
+
312
+ #{nest(!g_33_33_33, !g_33_33_33, !unit)}
313
+ _margin-left: .7%
314
+
315
+ #{nest(!g_33_33_33, !g_50_50)},
316
+ #{nest(!g_33_33_33, !g_33_33_33)}
317
+ div.first
318
+ *margin-left: 0
319
+
320
+ #{!g_67_33},
321
+ #{!g_33_67}
322
+ #{!g_50_50}
323
+ #{!unit}
324
+ *width: 48.1%
325
+ *margin-left: 0
326
+
327
+ #{!g_33_67},
328
+ #{nest(!g_33_33_33, !g_33_67)}
329
+ div.first
330
+ width: 32%
331
+
332
+ #{nest(!g_50_50, !g_33_67, "div.first")}
333
+ _width: 29.9%
334
+
335
+ #{nest(!g_75_25, !unit)},
336
+ #{nest(!g_75_25, !g_50_50)},
337
+ #{nest(!g_25_75, "div.first")}
338
+ width: 24%
339
+
340
+ #{nest(!g_75_25, "div.first")},
341
+ #{nest(!g_25_75, !g_50_50)},
342
+ #{nest(!g_25_75, !unit)}
343
+ width: 74.2%
344
+
345
+ #{!g_33_33_33}
346
+ #{!g_75_25},
347
+ #{!g_25_75}
348
+ div#{!unit}
349
+ float: right
350
+
351
+ #{!g_33_33_33}
352
+ #{!g_75_25},
353
+ #{!g_25_75}
354
+ div.first
355
+ float: left
356
+
357
+ /* Width Accommodation for Nested Contexts
358
+ #{!g_33_33_33}
359
+ #{nest(!g_75_25, !unit)},
360
+ #{nest(!g_25_75, "div.first")}
361
+ *width: 24%
362
+ _width: 20%
363
+
364
+ /* Width Accommodation for Nested Contexts
365
+ #{!g_33_33_33}
366
+ #{nest(!g_75_25, "div.first")},
367
+ #{nest(!g_25_75, !unit)}
368
+ *width: 73.5%
369
+ _width: 65.5%
370
+
371
+ /* Patch for GD within GE
372
+ #{nest(!g_75_25, "div.first", !g_33_67, !unit)}
373
+ width: 65%
374
+
375
+ #{nest(!g_75_25, "div.first", !g_33_67, "div.first")}
376
+ width: 32%
377
+
378
+ /* @group Clearing
379
+ #{!g_50_50},
380
+ #{!g_33_33_33},
381
+ #{!g_67_33},
382
+ #{!g_33_67},
383
+ #{!g_75_25},
384
+ #{!g_25_75}
385
+ +yui-group-clearing