From 2eda8a682208809253b5fa494213c3df2e668642 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 11 Apr 2010 03:46:42 -0700 Subject: [PATCH] Convert examples to scss. --- examples/blueprint_default/src/ie.sass | 3 - examples/blueprint_default/src/ie.scss | 3 + examples/blueprint_default/src/print.sass | 3 - examples/blueprint_default/src/print.scss | 3 + .../src/{screen.sass => screen.scss} | 11 +- examples/blueprint_plugins/src/buttons.sass | 49 ------ examples/blueprint_plugins/src/buttons.scss | 47 ++++++ examples/blueprint_plugins/src/ie.sass | 3 - examples/blueprint_plugins/src/ie.scss | 3 + .../src/{link_icons.sass => link_icons.scss} | 14 +- examples/blueprint_plugins/src/print.sass | 3 - examples/blueprint_plugins/src/print.scss | 3 + .../blueprint_plugins/src/rtl_screen.sass | 13 -- .../blueprint_plugins/src/rtl_screen.scss | 15 ++ examples/blueprint_plugins/src/screen.sass | 11 -- examples/blueprint_plugins/src/screen.scss | 12 ++ examples/blueprint_scoped/src/ie.sass | 4 - examples/blueprint_scoped/src/ie.scss | 4 + examples/blueprint_scoped/src/print.sass | 4 - examples/blueprint_scoped/src/print.scss | 4 + examples/blueprint_scoped/src/screen.sass | 5 - examples/blueprint_scoped/src/screen.scss | 5 + examples/blueprint_scoped_form/src/ie.sass | 3 - examples/blueprint_scoped_form/src/ie.scss | 3 + examples/blueprint_scoped_form/src/print.sass | 3 - examples/blueprint_scoped_form/src/print.scss | 3 + .../blueprint_scoped_form/src/screen.sass | 10 -- .../blueprint_scoped_form/src/screen.scss | 15 ++ examples/blueprint_semantic/src/ie.sass | 3 - examples/blueprint_semantic/src/ie.scss | 3 + examples/blueprint_semantic/src/liquid.sass | 69 -------- examples/blueprint_semantic/src/liquid.scss | 69 ++++++++ examples/blueprint_semantic/src/print.sass | 3 - examples/blueprint_semantic/src/print.scss | 3 + examples/blueprint_semantic/src/screen.sass | 70 --------- examples/blueprint_semantic/src/screen.scss | 69 ++++++++ examples/compass/src/compass.sass | 47 ------ examples/compass/src/compass.scss | 46 ++++++ examples/compass/src/sticky_footer.sass | 11 -- examples/compass/src/sticky_footer.scss | 11 ++ examples/compass/src/utilities.sass | 108 ------------- examples/compass/src/utilities.scss | 108 +++++++++++++ examples/css3/src/_base.sass | 14 -- examples/css3/src/_base.scss | 13 ++ examples/css3/src/fancy-fonts.sass | 7 - examples/css3/src/fancy-fonts.scss | 7 + examples/css3/src/gradients.sass | 69 -------- examples/css3/src/gradients.scss | 77 +++++++++ examples/css3/src/main.sass | 108 ------------- examples/css3/src/main.scss | 110 +++++++++++++ examples/logo/src/ie.sass | 6 - examples/logo/src/ie.scss | 5 + examples/logo/src/print.sass | 6 - examples/logo/src/print.scss | 3 + examples/logo/src/screen.sass | 29 ---- examples/logo/src/screen.scss | 28 ++++ examples/ninesixty/config.rb | 1 + examples/ninesixty/src/grid.sass | 16 -- examples/ninesixty/src/grid.scss | 15 ++ examples/ninesixty/src/text.sass | 10 -- examples/ninesixty/src/text.scss | 8 + examples/susy/config.rb | 1 + examples/susy/src/{_base.sass => _base.scss} | 39 +++-- examples/susy/src/_defaults.sass | 148 ------------------ examples/susy/src/_defaults.scss | 140 +++++++++++++++++ examples/susy/src/screen.sass | 114 -------------- examples/susy/src/screen.scss | 100 ++++++++++++ examples/yui/config.rb | 1 + examples/yui/src/screen.sass | 13 -- examples/yui/src/screen.scss | 13 ++ 70 files changed, 983 insertions(+), 997 deletions(-) delete mode 100644 examples/blueprint_default/src/ie.sass create mode 100644 examples/blueprint_default/src/ie.scss delete mode 100644 examples/blueprint_default/src/print.sass create mode 100644 examples/blueprint_default/src/print.scss rename examples/blueprint_default/src/{screen.sass => screen.scss} (53%) delete mode 100644 examples/blueprint_plugins/src/buttons.sass create mode 100644 examples/blueprint_plugins/src/buttons.scss delete mode 100644 examples/blueprint_plugins/src/ie.sass create mode 100644 examples/blueprint_plugins/src/ie.scss rename examples/blueprint_plugins/src/{link_icons.sass => link_icons.scss} (63%) delete mode 100644 examples/blueprint_plugins/src/print.sass create mode 100644 examples/blueprint_plugins/src/print.scss delete mode 100644 examples/blueprint_plugins/src/rtl_screen.sass create mode 100644 examples/blueprint_plugins/src/rtl_screen.scss delete mode 100644 examples/blueprint_plugins/src/screen.sass create mode 100644 examples/blueprint_plugins/src/screen.scss delete mode 100644 examples/blueprint_scoped/src/ie.sass create mode 100644 examples/blueprint_scoped/src/ie.scss delete mode 100644 examples/blueprint_scoped/src/print.sass create mode 100644 examples/blueprint_scoped/src/print.scss delete mode 100644 examples/blueprint_scoped/src/screen.sass create mode 100644 examples/blueprint_scoped/src/screen.scss delete mode 100644 examples/blueprint_scoped_form/src/ie.sass create mode 100644 examples/blueprint_scoped_form/src/ie.scss delete mode 100644 examples/blueprint_scoped_form/src/print.sass create mode 100644 examples/blueprint_scoped_form/src/print.scss delete mode 100644 examples/blueprint_scoped_form/src/screen.sass create mode 100644 examples/blueprint_scoped_form/src/screen.scss delete mode 100644 examples/blueprint_semantic/src/ie.sass create mode 100644 examples/blueprint_semantic/src/ie.scss delete mode 100644 examples/blueprint_semantic/src/liquid.sass create mode 100644 examples/blueprint_semantic/src/liquid.scss delete mode 100644 examples/blueprint_semantic/src/print.sass create mode 100644 examples/blueprint_semantic/src/print.scss delete mode 100644 examples/blueprint_semantic/src/screen.sass create mode 100644 examples/blueprint_semantic/src/screen.scss delete mode 100644 examples/compass/src/compass.sass create mode 100644 examples/compass/src/compass.scss delete mode 100644 examples/compass/src/sticky_footer.sass create mode 100644 examples/compass/src/sticky_footer.scss delete mode 100644 examples/compass/src/utilities.sass create mode 100644 examples/compass/src/utilities.scss delete mode 100644 examples/css3/src/_base.sass create mode 100644 examples/css3/src/_base.scss delete mode 100644 examples/css3/src/fancy-fonts.sass create mode 100644 examples/css3/src/fancy-fonts.scss delete mode 100644 examples/css3/src/gradients.sass create mode 100644 examples/css3/src/gradients.scss delete mode 100644 examples/css3/src/main.sass create mode 100644 examples/css3/src/main.scss delete mode 100644 examples/logo/src/ie.sass create mode 100644 examples/logo/src/ie.scss delete mode 100644 examples/logo/src/print.sass create mode 100644 examples/logo/src/print.scss delete mode 100644 examples/logo/src/screen.sass create mode 100644 examples/logo/src/screen.scss delete mode 100644 examples/ninesixty/src/grid.sass create mode 100644 examples/ninesixty/src/grid.scss delete mode 100644 examples/ninesixty/src/text.sass create mode 100644 examples/ninesixty/src/text.scss rename examples/susy/src/{_base.sass => _base.scss} (74%) delete mode 100644 examples/susy/src/_defaults.sass create mode 100644 examples/susy/src/_defaults.scss delete mode 100644 examples/susy/src/screen.sass create mode 100644 examples/susy/src/screen.scss create mode 100644 examples/yui/config.rb delete mode 100644 examples/yui/src/screen.sass create mode 100644 examples/yui/src/screen.scss diff --git a/examples/blueprint_default/src/ie.sass b/examples/blueprint_default/src/ie.sass deleted file mode 100644 index 7af9162b..00000000 --- a/examples/blueprint_default/src/ie.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import blueprint.sass - -+blueprint-ie \ No newline at end of file diff --git a/examples/blueprint_default/src/ie.scss b/examples/blueprint_default/src/ie.scss new file mode 100644 index 00000000..a5a0d158 --- /dev/null +++ b/examples/blueprint_default/src/ie.scss @@ -0,0 +1,3 @@ +@import "blueprint"; + +@include blueprint-ie; diff --git a/examples/blueprint_default/src/print.sass b/examples/blueprint_default/src/print.sass deleted file mode 100644 index 8e5d49d8..00000000 --- a/examples/blueprint_default/src/print.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import blueprint.sass - -+blueprint-print \ No newline at end of file diff --git a/examples/blueprint_default/src/print.scss b/examples/blueprint_default/src/print.scss new file mode 100644 index 00000000..78a5b3db --- /dev/null +++ b/examples/blueprint_default/src/print.scss @@ -0,0 +1,3 @@ +@import "blueprint"; + +@include blueprint-print; diff --git a/examples/blueprint_default/src/screen.sass b/examples/blueprint_default/src/screen.scss similarity index 53% rename from examples/blueprint_default/src/screen.sass rename to examples/blueprint_default/src/screen.scss index 9c336708..b7d6ded1 100644 --- a/examples/blueprint_default/src/screen.sass +++ b/examples/blueprint_default/src/screen.scss @@ -1,8 +1,9 @@ -@import blueprint.sass -@import blueprint/scaffolding.sass -@import compass/reset.sass +@import "blueprint"; +@import "blueprint/scaffolding"; +@import "compass/reset"; + +@include blueprint; -+blueprint // Remove the scaffolding when you're ready to start doing visual design. // Or leave it in if you're happy with how blueprint looks out-of-the-box -+blueprint-scaffolding +@include blueprint-scaffolding; diff --git a/examples/blueprint_plugins/src/buttons.sass b/examples/blueprint_plugins/src/buttons.sass deleted file mode 100644 index 9fdd8578..00000000 --- a/examples/blueprint_plugins/src/buttons.sass +++ /dev/null @@ -1,49 +0,0 @@ -@import compass/utilities/general/float.sass -@import blueprint/buttons.sass - -// - Use the following HTML code to place the buttons on your site: - - - - - Change Password - - - - Cancel - - -a.button - // you can pass "left" or "right" to +anchor-button to float it in that direction - // or you can pass no argument to leave it inline-block (cross browser safe!) within - // the flow of your page. - +anchor-button("left") - // All the button color mixins take 4 optional arguments: - // font color, background color, border color, border highlight color - // the first three default to constants set in blueprint/buttons.sass - // the last one defaults to a shade lighter than the border color. - +button-colors - +button-hover-colors - +button-active-colors - -button - // The +button-button mixin is just like the +anchor-button mixin, but for +// +// +// Change Password +// +// +// +// Cancel +// + +a.button { + // you can pass "left" or "right" to +anchor-button to float it in that direction + // or you can pass no argument to leave it inline-block (cross browser safe!) within + // the flow of your page. + @include anchor-button(left); + // All the button color mixins take 4 optional arguments: + // font color, background color, border color, border highlight color + // the first three default to constants set in blueprint/buttons + // the last one defaults to a shade lighter than the border color. + @include button-colors; + @include button-hover-colors; + @include button-active-colors; } + +button { + // The +button-button mixin is just like the +anchor-button mixin, but for