diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-07-13 21:57:10 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-07-13 21:57:10 +0100 |
commit | 0a512ce7d620a403a081b0bed500272e4ed55cf7 (patch) | |
tree | 8c924fe23f683cfb1f7de3e50642fed090a53b68 /web/cobrands/default/layout.scss | |
parent | 52a27eb4589102f373dd4835a231301ad6060908 (diff) |
Move default cobrand to new design.
Due to old cobrands, this involves the subclasses implementing the
web templates dir to ignore what the default is doing.
A vaguely garish yet pleasing colour scheme has been chosen so that
the site is both usable and suggests you may want to change it.
Diffstat (limited to 'web/cobrands/default/layout.scss')
-rw-r--r-- | web/cobrands/default/layout.scss | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/web/cobrands/default/layout.scss b/web/cobrands/default/layout.scss new file mode 100644 index 000000000..93a3f7120 --- /dev/null +++ b/web/cobrands/default/layout.scss @@ -0,0 +1,60 @@ +@import "_colours"; +@import "../fixmystreet/_layout"; + +/* +Note: The fact that the below has to override the CSS, though it is for the +default template, is a sign that the CSS is not best organised. It needs +refactoring, and making more maintainable through the use of SMACSS, OOCSS +and similar. +*/ + +body { + background: #6688ff; +} + +#front-main { + color: $primary_text; + background: $primary; + // layout sets this because base has it slightly lighter + h2 { + color: $primary_text; + } + a#geolocate_link { + color: $primary_text; + } +} + +.nav-wrapper { + .nav-wrapper-2 { + border-top: 4px solid $primary; + @include border-image(none); + } +} +body.mappage { + .nav-wrapper { + .nav-wrapper-2 { + background: $contrast1; + } + } +} + +#main-nav { + ul { + li { + a, span { + color: #000; + } + } + &#main-menu { + li { + a:hover { + background: $primary; + } + } + } + &#mysoc-menu { + background: $primary; + } + } +} + |