diff options
Diffstat (limited to 'web')
51 files changed, 90 insertions, 491 deletions
diff --git a/web/cobrands/angus/base.scss b/web/cobrands/angus/base.scss index efe540630..50f207058 100644 --- a/web/cobrands/angus/base.scss +++ b/web/cobrands/angus/base.scss @@ -2,7 +2,6 @@ @import "./_colours"; @import "./_fonts"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/angus/config.rb b/web/cobrands/angus/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/angus/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/arreglamibarrio/base.scss b/web/cobrands/arreglamibarrio/base.scss index 28fc5a940..d85ff1b85 100644 --- a/web/cobrands/arreglamibarrio/base.scss +++ b/web/cobrands/arreglamibarrio/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/arreglamibarrio/config.rb b/web/cobrands/arreglamibarrio/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/arreglamibarrio/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/bromley/base.scss b/web/cobrands/bromley/base.scss index 418958ab1..9f7c0e9ae 100644 --- a/web/cobrands/bromley/base.scss +++ b/web/cobrands/bromley/base.scss @@ -2,7 +2,6 @@ @import "./_colours"; @import "./_fonts"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/bromley/config.rb b/web/cobrands/bromley/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/bromley/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/default/base.scss b/web/cobrands/default/base.scss index 9fccf92db..84784d552 100644 --- a/web/cobrands/default/base.scss +++ b/web/cobrands/default/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/default/config.rb b/web/cobrands/default/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/default/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/eastsussex/base.scss b/web/cobrands/eastsussex/base.scss index dcf335824..30f3ba934 100644 --- a/web/cobrands/eastsussex/base.scss +++ b/web/cobrands/eastsussex/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; $heading-font: Arial, "Helvetica Neue", Helvetica, sans-serif !default; diff --git a/web/cobrands/eastsussex/config.rb b/web/cobrands/eastsussex/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/eastsussex/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/eastsussex/layout.scss b/web/cobrands/eastsussex/layout.scss index ec35f0082..f8836bd1f 100644 --- a/web/cobrands/eastsussex/layout.scss +++ b/web/cobrands/eastsussex/layout.scss @@ -3,12 +3,6 @@ $mappage-header-height: 16em; @import "_colours"; @import "../sass/layout"; -// from http://nicolasgallagher.com/micro-clearfix-hack/ -.clearfix:before, -.clearfix:after { content: " "; display: table; } -.clearfix:after { clear: both; } -.clearfix { *zoom: 1; } - #front-main { // Undo the top margin added in base.scss margin-top: 0; diff --git a/web/cobrands/fiksgatami/base.scss b/web/cobrands/fiksgatami/base.scss index 9fccf92db..84784d552 100644 --- a/web/cobrands/fiksgatami/base.scss +++ b/web/cobrands/fiksgatami/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/fiksgatami/config.rb b/web/cobrands/fiksgatami/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/fiksgatami/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/fixamingata/base.scss b/web/cobrands/fixamingata/base.scss index 6b8add5d7..99d1e99db 100644 --- a/web/cobrands/fixamingata/base.scss +++ b/web/cobrands/fixamingata/base.scss @@ -9,12 +9,11 @@ $image-sprite: '/cobrands/fixamingata/images/sprite.png'; @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; #site-header { - @include background(linear-gradient(#000, #ccc 10%, #ccc 90%, #000)); + @include linear-gradient(#000, #ccc 10%, #ccc 90%, #000); } #site-logo { diff --git a/web/cobrands/fixamingata/config.rb b/web/cobrands/fixamingata/config.rb deleted file mode 100644 index 471b4b008..000000000 --- a/web/cobrands/fixamingata/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app
\ No newline at end of file diff --git a/web/cobrands/fixamingata/images/itunes_store_logo.png b/web/cobrands/fixamingata/images/itunes_store_logo.png Binary files differnew file mode 100644 index 000000000..b37f4c230 --- /dev/null +++ b/web/cobrands/fixamingata/images/itunes_store_logo.png diff --git a/web/cobrands/fixmindelo/base.scss b/web/cobrands/fixmindelo/base.scss index 9a8ca9021..5fa4bb2d1 100644 --- a/web/cobrands/fixmindelo/base.scss +++ b/web/cobrands/fixmindelo/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; $image-sprite: 'images/sprite.png'; diff --git a/web/cobrands/fixmindelo/config.rb b/web/cobrands/fixmindelo/config.rb deleted file mode 100644 index 471b4b008..000000000 --- a/web/cobrands/fixmindelo/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app
\ No newline at end of file diff --git a/web/cobrands/fixmystreet.com/base.scss b/web/cobrands/fixmystreet.com/base.scss index 223669b6d..366ebc451 100644 --- a/web/cobrands/fixmystreet.com/base.scss +++ b/web/cobrands/fixmystreet.com/base.scss @@ -6,7 +6,6 @@ @import "../sass/h5bp"; @import "_colours"; -@import "compass"; @import "../sass/base"; .top_banner { @@ -74,7 +73,7 @@ } .next-steps__step__cta { - @include pie-clearfix; + @include clearfix; padding-top: 0.4em; // extra padding between buttons and previous paragraph a { @@ -98,7 +97,7 @@ } .next-steps__step--goodies { - @include pie-clearfix; + @include clearfix; .goodies-preview { float: $right; @@ -218,10 +217,10 @@ background: rgba(255,255,255,0.3); input#sub { - @include background(linear-gradient(#49c0ff, #1091d5)); + @include linear-gradient(#49c0ff, #1091d5); &:hover, &:focus { - @include background(linear-gradient(darken(#49c0ff, 10%), darken(#1091d5, 10%))); + @include linear-gradient(darken(#49c0ff, 10%), darken(#1091d5, 10%)); } } } @@ -287,7 +286,7 @@ $grid-breakpoint-sm: $mysoc-footer-breakpoint-sm; } .row { - @include clearfix(); + @include clearfix; margin-left: $grid-gutter / -2; margin-right: $grid-gutter / -2; } diff --git a/web/cobrands/fixmystreet.com/config.rb b/web/cobrands/fixmystreet.com/config.rb deleted file mode 100644 index 471b4b008..000000000 --- a/web/cobrands/fixmystreet.com/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app
\ No newline at end of file diff --git a/web/cobrands/fixmystreet.com/layout.scss b/web/cobrands/fixmystreet.com/layout.scss index 0ee21ecc7..848490e7a 100644 --- a/web/cobrands/fixmystreet.com/layout.scss +++ b/web/cobrands/fixmystreet.com/layout.scss @@ -74,7 +74,7 @@ h3, h4, .nav-menu--main { a:hover { - @include background(linear-gradient(#000, #444 10%, #444 95%, #111)); + @include linear-gradient(#000, #444 10%, #444 95%, #111); } } @@ -88,7 +88,7 @@ h3, h4, body.mappage { .nav-wrapper { .nav-wrapper-2 { - @include background(linear-gradient(#000, #222 10%, #222 90%, #000)); + @include linear-gradient(#000, #222 10%, #222 90%, #000); } } } diff --git a/web/cobrands/fixmystreet/images/chevron-grey-left.svg b/web/cobrands/fixmystreet/images/chevron-grey-left.svg index 78d2f8cd2..522a6f920 100644 --- a/web/cobrands/fixmystreet/images/chevron-grey-left.svg +++ b/web/cobrands/fixmystreet/images/chevron-grey-left.svg @@ -1 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" width="63" height="33"><path fill="#d1d1d1" d="M62 0H49L36 16l13 16h13L49 16"/></svg>
\ No newline at end of file +<svg xmlns="http://www.w3.org/2000/svg" width="27" height="33"><path fill="#d1d1d1" d="M26 0H13L0 16l13 16h13L13 16"/></svg> diff --git a/web/cobrands/fixmystreet/images/chevron-grey-right.svg b/web/cobrands/fixmystreet/images/chevron-grey-right.svg index f94d49b75..4715a03f8 100644 --- a/web/cobrands/fixmystreet/images/chevron-grey-right.svg +++ b/web/cobrands/fixmystreet/images/chevron-grey-right.svg @@ -1 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" width="63" height="33"><path fill="#d1d1d1" d="M0 0h13l13 16-13 16H0l13-16"/></svg>
\ No newline at end of file +<svg xmlns="http://www.w3.org/2000/svg" width="27" height="33"><path fill="#d1d1d1" d="M0 0h13l13 16-13 16H0l13-16"/></svg> diff --git a/web/cobrands/greenwich/base.scss b/web/cobrands/greenwich/base.scss index 8b665501c..517b16471 100644 --- a/web/cobrands/greenwich/base.scss +++ b/web/cobrands/greenwich/base.scss @@ -2,7 +2,6 @@ @import "./_colours"; @import "./_fonts"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/greenwich/config.rb b/web/cobrands/greenwich/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/greenwich/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/greenwich/layout.scss b/web/cobrands/greenwich/layout.scss index df572341e..ad31941f6 100644 --- a/web/cobrands/greenwich/layout.scss +++ b/web/cobrands/greenwich/layout.scss @@ -5,13 +5,6 @@ $fixed_page_width: 990px; -/* from http://nicolasgallagher.com/micro-clearfix-hack/ */ -.clearfix:before, .clearfix:after { content: " "; display: table; } -.clearfix:after { clear: both; } -/* For IE 6/7 only */ -.clearfix { *zoom: 1; } - - #site-logo, .ie6 #site-logo, body.frontpage #site-logo, diff --git a/web/cobrands/harrogate/base.scss b/web/cobrands/harrogate/base.scss index b546ae060..6c4a906f7 100644 --- a/web/cobrands/harrogate/base.scss +++ b/web/cobrands/harrogate/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/harrogate/config.rb b/web/cobrands/harrogate/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/harrogate/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/hart/base.scss b/web/cobrands/hart/base.scss index 306098056..7f7f7bd35 100644 --- a/web/cobrands/hart/base.scss +++ b/web/cobrands/hart/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/hart/config.rb b/web/cobrands/hart/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/hart/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/hart/hart.scss b/web/cobrands/hart/hart.scss index 039567f32..95607242c 100644 --- a/web/cobrands/hart/hart.scss +++ b/web/cobrands/hart/hart.scss @@ -4,17 +4,9 @@ */ -@import "compass"; +@import "../sass/mixins"; @import "_colours"; -/* from http://nicolasgallagher.com/micro-clearfix-hack/ */ -.clearfix:before, -.clearfix:after { content: " "; display: table; } -.clearfix:after { clear: both; } -/* For IE 6/7 only */ -.clearfix { *zoom: 1; } - - // Taken from Bromley's form css input[type=text], input[type=password], diff --git a/web/cobrands/oxfordshire/oxfordshire.scss b/web/cobrands/oxfordshire/_oxon.scss index 20a38ac7f..20a38ac7f 100644 --- a/web/cobrands/oxfordshire/oxfordshire.scss +++ b/web/cobrands/oxfordshire/_oxon.scss diff --git a/web/cobrands/oxfordshire/base.scss b/web/cobrands/oxfordshire/base.scss index 8f28905e2..7d4809ecd 100644 --- a/web/cobrands/oxfordshire/base.scss +++ b/web/cobrands/oxfordshire/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/oxfordshire/config.rb b/web/cobrands/oxfordshire/config.rb deleted file mode 100644 index 471b4b008..000000000 --- a/web/cobrands/oxfordshire/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app
\ No newline at end of file diff --git a/web/cobrands/oxfordshire/layout.scss b/web/cobrands/oxfordshire/layout.scss index bc78a8681..62b2598e8 100644 --- a/web/cobrands/oxfordshire/layout.scss +++ b/web/cobrands/oxfordshire/layout.scss @@ -367,4 +367,4 @@ input.green-btn{ margin-right: 1em; } -@import "oxfordshire"; +@import "oxon"; diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index 822739cda..15abd823f 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -444,7 +444,7 @@ p.label-valid { #site-header{ border-top: 0.25em solid $primary; height: 3em; - @include background(linear-gradient(#000, #222 10%, #222 90%, #000)); + @include linear-gradient(#000, #222 10%, #222 90%, #000); .container { min-height:4em; } diff --git a/web/cobrands/sass/_dropzone.scss b/web/cobrands/sass/_dropzone.scss index 8c482d0cf..3e5fc8058 100644 --- a/web/cobrands/sass/_dropzone.scss +++ b/web/cobrands/sass/_dropzone.scss @@ -9,7 +9,7 @@ $dropzone-background-color--awakened: mix($dropzone-link-color, $dropzone-backgr $dropzone-background-color--full: mix($dropzone-border-color--full, $dropzone-background-color, 10%); .dropzone { - @include clearfix(); + @include clearfix; border: 0.125em solid $dropzone-border-color; background-color: $dropzone-background-color; border-radius: $dropzone-border-radius; diff --git a/web/cobrands/sass/_h5bp.scss b/web/cobrands/sass/_h5bp.scss index f2074532c..b41effa1b 100644 --- a/web/cobrands/sass/_h5bp.scss +++ b/web/cobrands/sass/_h5bp.scss @@ -247,11 +247,9 @@ td { vertical-align: top; } .invisible { visibility: hidden; } /* Contain floats: h5bp.com/q */ -/* mySociety change: rename to cf */ -.cf:before, .cf:after { content: ""; display: table; } -.cf:after { clear: both; } -.cf { *zoom: 1; } - +.clearfix:before, .clearfix:after { content: " "; display: table; } +.clearfix:after { clear: both; } +.clearfix { *zoom: 1; } /* ==|== print styles ======================================================= diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss index c0c213be1..99e6d7761 100644 --- a/web/cobrands/sass/_layout.scss +++ b/web/cobrands/sass/_layout.scss @@ -1,4 +1,3 @@ -@import "compass"; @import "_mixins"; $image-sprite: '/cobrands/fixmystreet/images/sprite.png' !default; diff --git a/web/cobrands/sass/_mixins.scss b/web/cobrands/sass/_mixins.scss index 541ff0a33..71f9b95a3 100644 --- a/web/cobrands/sass/_mixins.scss +++ b/web/cobrands/sass/_mixins.scss @@ -16,12 +16,12 @@ $direction: 'left' !default; height: auto; @include border-radius(4px); background: $c1; - @include background (linear-gradient($c1, $c2)) ; + @include linear-gradient($c1, $c2); border:1px solid $c3; color:$c4; &:hover:enabled { background:$c5; - @include background (linear-gradient($c6, $c5)); + @include linear-gradient($c6, $c5); text-decoration: none; border:1px solid $c7; color:$c8; @@ -59,3 +59,68 @@ $right: right; @return $rtl; } } + +// Compass-like mixins + +@mixin box-sizing($bs) { + $bs: unquote($bs); + @include experimental(box-sizing, $bs, -moz, -webkit, not -o, not -ms, official); +} + +@mixin border-radius($radius: 5px) { + @include experimental(border-radius, $radius, -moz, -webkit, not -o, not -ms, official); +} + +@mixin box-shadow($shadow) { + @include experimental(box-shadow, $shadow, -moz, -webkit, not -o, not -ms, official); +} + +@mixin experimental($property, $value, $moz: true, $webkit: true, $o: true, $ms: true, $official: true) { + @if $webkit { -webkit-#{$property} : $value; } + @if $moz { -moz-#{$property} : $value; } + @if $ms { -ms-#{$property} : $value; } + @if $o { -o-#{$property} : $value; } + @if $official { #{$property} : $value; } +} + +@mixin inline-block($alignment: middle) { + display: inline-block; + vertical-align: middle; + *vertical-align: auto; + zoom: 1; + *display: inline; +} + +@mixin clearfix { + &:before, &:after { content: " "; display: table; } + &:after { clear: both; } + & { *zoom: 1; } +} + +@mixin linear-gradient($stops...) { + $webkit-gradient-stops: (); + $webkit-end-point: 100%; + @each $stop in $stops { + $pos: none; + @if length($stop) > 1 { + @if length($stops) == 2 && unit(nth($stop, 2)) == 'px' { + $webkit-end-point: nth($stop, 2); + $pos: 100%; + } @else { + $pos: nth($stop, 2); + } + } @else if (length($stop) == 1 && index($stops, $stop) == 1) { + $pos: 0%; + } @else { + $pos: 100%; + } + $webkit-gradient-stops: append($webkit-gradient-stops, + color-stop($pos, nth($stop, 1)), + comma); + } + + background: -webkit-gradient(linear, 0% 0%, 0% $webkit-end-point, $webkit-gradient-stops); + @each $prefix in -moz-, -o-, -webkit-, "" { + background: #{$prefix}linear-gradient($stops); + } +} diff --git a/web/cobrands/stevenage/_council_header_responsive.scss b/web/cobrands/stevenage/_council_header_responsive.scss index 60885f65f..e65f097d9 100644 --- a/web/cobrands/stevenage/_council_header_responsive.scss +++ b/web/cobrands/stevenage/_council_header_responsive.scss @@ -30,7 +30,7 @@ // Clear the floated search and "PARF" elements. .stv-inner { - @include clearfix(); + @include clearfix; } // Menu items should be one sixth of menu width. diff --git a/web/cobrands/stevenage/base.scss b/web/cobrands/stevenage/base.scss index ba08815ae..2bccdc377 100644 --- a/web/cobrands/stevenage/base.scss +++ b/web/cobrands/stevenage/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; $body-font: 'PTSansRegular', "PT Sans", Verdana, Arial, sans-serif; $meta-font: $body-font; diff --git a/web/cobrands/stevenage/config.rb b/web/cobrands/stevenage/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/stevenage/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/stevenage/layout.scss b/web/cobrands/stevenage/layout.scss index a2170f214..63de06652 100644 --- a/web/cobrands/stevenage/layout.scss +++ b/web/cobrands/stevenage/layout.scss @@ -11,7 +11,7 @@ padding-top: 0.5em; padding-bottom: 0.25em; background-color: #6b6969; - @include background(linear-gradient(#6b6969, #555454)); + @include linear-gradient(#6b6969, #555454); .iel8 & { background-color: #6b6969; @@ -40,7 +40,7 @@ } #main-nav { - @include clearfix(); + @include clearfix; width: auto; max-width: 984px; // match the Stevenage header width float: none; diff --git a/web/cobrands/trinidadtobago/base.scss b/web/cobrands/trinidadtobago/base.scss index c171e8333..f1fa7d659 100644 --- a/web/cobrands/trinidadtobago/base.scss +++ b/web/cobrands/trinidadtobago/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/trinidadtobago/config.rb b/web/cobrands/trinidadtobago/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/trinidadtobago/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/warwickshire/base.scss b/web/cobrands/warwickshire/base.scss index 682738a5e..0dcd85f53 100644 --- a/web/cobrands/warwickshire/base.scss +++ b/web/cobrands/warwickshire/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; diff --git a/web/cobrands/warwickshire/config.rb b/web/cobrands/warwickshire/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/warwickshire/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/zurich/base.scss b/web/cobrands/zurich/base.scss index e607f80a3..0308f5b43 100644 --- a/web/cobrands/zurich/base.scss +++ b/web/cobrands/zurich/base.scss @@ -1,7 +1,6 @@ @import "../sass/h5bp"; @import "./_colours"; @import "../sass/mixins"; -@import "compass"; @import "../sass/base"; @@ -128,7 +127,7 @@ h4.static-with-rule { .admin-nav { background: #f4f4f4; - @include background(linear-gradient(#fbfbfb, #efefef)); + @include linear-gradient(#fbfbfb, #efefef); border-bottom: 2px solid $table_border_color; ul { overflow:auto; diff --git a/web/cobrands/zurich/config.rb b/web/cobrands/zurich/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/zurich/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# Require any additional compass plugins here. - -# Set this to the root of your project when deployed: -http_path = "/" -css_dir = "" -sass_dir = "" -images_dir = "" -javascripts_dir = "" - -# 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 - -line_comments = false # by Compass.app diff --git a/web/cobrands/zurich/layout.scss b/web/cobrands/zurich/layout.scss index e80cdb468..7bb44c231 100644 --- a/web/cobrands/zurich/layout.scss +++ b/web/cobrands/zurich/layout.scss @@ -223,7 +223,7 @@ body.twothirdswidthpage { &#fixed { padding-top: 2em; background: $col_fixed_label; - @include background(linear-gradient(#769643, $col_fixed_label 4px)); + @include linear-gradient(#769643, $col_fixed_label 4px); } &#closed { padding-top: 2em; @@ -332,7 +332,7 @@ body.mappage.admin { margin: 2em 0; &:hover { - @include background(linear-gradient(#fcc, #daa 50%)); + @include linear-gradient(#fcc, #daa 50%); }; } } |