From d3313c836dc7f2f620c0b207df5ae97f087c56de Mon Sep 17 00:00:00 2001 From: B Mathis Date: Sat, 21 Nov 2009 15:41:38 -0600 Subject: [PATCH] updated layout, page styles, fixed config paths for assets --- config.rb | 11 +++++------ stylesheets/_theme.sass | 2 +- stylesheets/library/_easy_box_shadow.sass | 10 +++++++--- stylesheets/partials/_page.sass | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/config.rb b/config.rb index aaf0042..39ca02f 100644 --- a/config.rb +++ b/config.rb @@ -1,11 +1,10 @@ # Require any additional compass plugins here. -#require 'compass-colors' +require 'compass-colors' project_type = :stand_alone # Set this to the root of your project when deployed: http_path = "/" css_dir = "site/stylesheets" -sass_dir = "/stylesheets" -images_dir = "images" - -# To enable relative paths to assets via compass helper functions. Uncomment: -# relative_assets = true +sass_dir = "stylesheets" +images_dir = "source/images" +images_dir = "source/images/" +http_images_path = "/images" \ No newline at end of file diff --git a/stylesheets/_theme.sass b/stylesheets/_theme.sass index 7e59e01..48a7b94 100644 --- a/stylesheets/_theme.sass +++ b/stylesheets/_theme.sass @@ -1,5 +1,5 @@ // Link Colors -!link_color = #165B94 +!link_color = lighten(#165B94, .30) // Main Section Colors !body_color = #333 diff --git a/stylesheets/library/_easy_box_shadow.sass b/stylesheets/library/_easy_box_shadow.sass index 437f187..b8b9fce 100644 --- a/stylesheets/library/_easy_box_shadow.sass +++ b/stylesheets/library/_easy_box_shadow.sass @@ -3,6 +3,10 @@ !default_box_shadow_y_offset = 1px !default_box_shadow_blur_radius = 8px -=easy-box-shadow(!color = !default_box_shadow_color, !x_offset = !default_box_shadow_x_offset, !y_offset = !default_box_shadow_y_offset, !blur_radius = !default_box_shadow_blur_radius) - +box-shadow(!x_offset, !y_offset, !blur_radius, !color) - \ No newline at end of file +=box-shadow(!color = !default_box_shadow_color, !blur_radius = !default_box_shadow_blur_radius, !x_offset = !default_box_shadow_x_offset, !y_offset = !default_box_shadow_y_offset, !inset = "") + box-shadow= !inset !x_offset !y_offset !blur_radius !color + -webkit-box-shadow= !inset !x_offset !y_offset !blur_radius !color + -moz-box-shadow= !inset !x_offset !y_offset !blur_radius !color + +=inset-box-shadow(!color = !default_box_shadow_color, !blur_radius = !default_box_shadow_blur_radius, !x_offset = !default_box_shadow_x_offset, !y_offset = !default_box_shadow_y_offset) + +box-shadow(!color, !blur_radius, !x_offset, !y_offset, "inset") \ No newline at end of file diff --git a/stylesheets/partials/_page.sass b/stylesheets/partials/_page.sass index f161adb..e17c8ac 100644 --- a/stylesheets/partials/_page.sass +++ b/stylesheets/partials/_page.sass @@ -8,7 +8,7 @@ top: 25px bottom: 25px background-color= !blog_bg - +easy-box-shadow(#ccc) + +box-shadow(#ccc) border: left= "1px solid" !page_border_sides right= "1px solid" !page_border_sides