From d2f6549f5bffbf0d91c6286399842dddbc28bfea Mon Sep 17 00:00:00 2001 From: Derek Lawrie Date: Wed, 18 Apr 2012 14:55:26 +0100 Subject: [PATCH] Adding Econex sass --- econex/config.rb | 25 +++++++++++++ econex/sass/ie.scss | 5 +++ econex/sass/print.scss | 3 ++ econex/sass/screen.scss | 6 ++++ econex/sass/style.scss | 0 econex/stylesheets/ie.css | 5 +++ econex/stylesheets/print.css | 3 ++ econex/stylesheets/screen.css | 68 +++++++++++++++++++++++++++++++++++ 8 files changed, 115 insertions(+) create mode 100644 econex/config.rb create mode 100644 econex/sass/ie.scss create mode 100644 econex/sass/print.scss create mode 100644 econex/sass/screen.scss create mode 100644 econex/sass/style.scss create mode 100644 econex/stylesheets/ie.css create mode 100644 econex/stylesheets/print.css create mode 100644 econex/stylesheets/screen.css diff --git a/econex/config.rb b/econex/config.rb new file mode 100644 index 0000000..1a0ff5d --- /dev/null +++ b/econex/config.rb @@ -0,0 +1,25 @@ +# Require any additional compass plugins here. + +# Set this to the root of your project when deployed: +http_path = "../../Sites/econex/wp-content/themes/econex/" +css_dir = "../../Sites/econex/wp-content/themes/econex/" +sass_dir = "sass" +images_dir = "../../Sites/econex/wp-content/themes/econex/inc/images" +javascripts_dir = "../../Sites/econex/wp-content/themes/econex/js" +project_type = :stand_alone +output_style = :nested +# You can select your preferred output style here (can be overridden via the command line): +# output_style = :expanded or :nested or :compact or :compressed + +# To enable relative paths to assets via compass helper functions. Uncomment: +# relative_assets = true + +# To disable debugging comments that display the original location of your selectors. Uncomment: +line_comments = false + + +# If you prefer the indented syntax, you might want to regenerate this +# project again passing --syntax sass, or you can uncomment this: +# preferred_syntax = :sass +# and then run: +# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass diff --git a/econex/sass/ie.scss b/econex/sass/ie.scss new file mode 100644 index 0000000..5cd5b6c --- /dev/null +++ b/econex/sass/ie.scss @@ -0,0 +1,5 @@ +/* Welcome to Compass. Use this file to write IE specific override styles. + * Import this file using the following HTML or equivalent: + * */ diff --git a/econex/sass/print.scss b/econex/sass/print.scss new file mode 100644 index 0000000..b0e9e45 --- /dev/null +++ b/econex/sass/print.scss @@ -0,0 +1,3 @@ +/* Welcome to Compass. Use this file to define print styles. + * Import this file using the following HTML or equivalent: + * */ diff --git a/econex/sass/screen.scss b/econex/sass/screen.scss new file mode 100644 index 0000000..81de847 --- /dev/null +++ b/econex/sass/screen.scss @@ -0,0 +1,6 @@ +/* Welcome to Compass. + * In this file you should write your main styles. (or centralize your imports) + * Import this file using the following HTML or equivalent: + * */ + +@import "compass/reset"; diff --git a/econex/sass/style.scss b/econex/sass/style.scss new file mode 100644 index 0000000..e69de29 diff --git a/econex/stylesheets/ie.css b/econex/stylesheets/ie.css new file mode 100644 index 0000000..5cd5b6c --- /dev/null +++ b/econex/stylesheets/ie.css @@ -0,0 +1,5 @@ +/* Welcome to Compass. Use this file to write IE specific override styles. + * Import this file using the following HTML or equivalent: + * */ diff --git a/econex/stylesheets/print.css b/econex/stylesheets/print.css new file mode 100644 index 0000000..b0e9e45 --- /dev/null +++ b/econex/stylesheets/print.css @@ -0,0 +1,3 @@ +/* Welcome to Compass. Use this file to define print styles. + * Import this file using the following HTML or equivalent: + * */ diff --git a/econex/stylesheets/screen.css b/econex/stylesheets/screen.css new file mode 100644 index 0000000..d4b1544 --- /dev/null +++ b/econex/stylesheets/screen.css @@ -0,0 +1,68 @@ +/* Welcome to Compass. + * In this file you should write your main styles. (or centralize your imports) + * Import this file using the following HTML or equivalent: + * */ +/* line 17, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} + +/* line 20, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +body { + line-height: 1; +} + +/* line 22, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +ol, ul { + list-style: none; +} + +/* line 24, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +table { + border-collapse: collapse; + border-spacing: 0; +} + +/* line 26, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +caption, th, td { + text-align: left; + font-weight: normal; + vertical-align: middle; +} + +/* line 28, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +q, blockquote { + quotes: none; +} +/* line 101, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +q:before, q:after, blockquote:before, blockquote:after { + content: ""; + content: none; +} + +/* line 30, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +a img { + border: none; +} + +/* line 114, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { + display: block; +}