aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-06-12 13:52:13 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-06-12 13:52:13 +0100
commit0a675d24f0210a97018c96b47504d1b346f74f75 (patch)
treea8646625bd71328f77a4c7d20beeb2e946b700ce
parent1640af532683ef1c698c96c80c642fbcfe76b022 (diff)
parent4d0a57b172c44d4f880bb560f7a876aff3ccae27 (diff)
Merge branch 'issues/freshdesk-470-bexley-redesign'
-rw-r--r--web/cobrands/bexley/_colours.scss6
-rw-r--r--web/cobrands/bexley/layout.scss47
2 files changed, 47 insertions, 6 deletions
diff --git a/web/cobrands/bexley/_colours.scss b/web/cobrands/bexley/_colours.scss
index 615ef65a4..453623fb5 100644
--- a/web/cobrands/bexley/_colours.scss
+++ b/web/cobrands/bexley/_colours.scss
@@ -40,9 +40,9 @@ $primary_text: $text_black;
$base_bg: $white;
$base_fg: $text_black;
-$nav_background_colour: $fuchsia;
-$nav_colour: $white;
-$nav_hover_background_colour: darken($fuchsia, 10%);
+$nav_background_colour: $white;
+$nav_colour: $text_black;
+$nav_hover_background_colour: $fuchsia_lt;
$col_click_map: $aqua;
diff --git a/web/cobrands/bexley/layout.scss b/web/cobrands/bexley/layout.scss
index 948b01443..c18574bd5 100644
--- a/web/cobrands/bexley/layout.scss
+++ b/web/cobrands/bexley/layout.scss
@@ -6,6 +6,10 @@ body.twothirdswidthpage .content .sticky-sidebar aside {
top: 10em;
}
+#site-header {
+ border-top: 7px solid $fuchsia;
+}
+
#site-logo {
width: 208px;
height: 80px;
@@ -18,10 +22,47 @@ body.twothirdswidthpage .content .sticky-sidebar aside {
color: $fuchsia_lt;
}
+.frontpage {
+ .nav-menu--main {
+ margin: 3em 0 0 0;
+ }
+}
+
.nav-menu--main {
- span {
- background-color: $nav_hover_background_colour;
- }
+ a {
+ &:hover,
+ &:active,
+ &:focus {
+ color: $text_black;
+ }
+ }
+ a.report-a-problem-btn,
+ span.report-a-problem-btn,
+ span {
+ background-color: $nav_hover_background_colour;
+ color: $text_black;
+ border-radius: 0;
+ &:hover {
+ color: $fuchsia;
+ cursor: pointer;
+ }
+ }
+ a[href='/auth'] {
+ position: absolute;
+ top: 0;
+ right: 1em;
+ .frontpage & {
+ right: 0;
+ }
+ background-color: $fuchsia;
+ color: $white;
+ padding: 0 0.75em;
+ &:hover,
+ &:active,
+ &:focus {
+ color: $white;
+ }
+ }
}
.general-notes {