From 7187775c54baf4f1aa30c3cc5230b7656df1b495 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Fri, 14 Mar 2014 14:57:24 +0000 Subject: import base styles with colour changes Change colour scheme to black and white --- web/cobrands/zerotb/layout.scss | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 web/cobrands/zerotb/layout.scss (limited to 'web/cobrands/zerotb/layout.scss') diff --git a/web/cobrands/zerotb/layout.scss b/web/cobrands/zerotb/layout.scss new file mode 100644 index 000000000..69e455aa5 --- /dev/null +++ b/web/cobrands/zerotb/layout.scss @@ -0,0 +1,2 @@ +@import "_colours"; +@import "../sass/layout"; -- cgit v1.2.3 From e90cc2785ed1d2ee4b5a107337f9100f3815b884 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Fri, 14 Mar 2014 15:06:20 +0000 Subject: change site logo and add css for this --- web/cobrands/zerotb/layout.scss | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'web/cobrands/zerotb/layout.scss') diff --git a/web/cobrands/zerotb/layout.scss b/web/cobrands/zerotb/layout.scss index 69e455aa5..58b4d9279 100644 --- a/web/cobrands/zerotb/layout.scss +++ b/web/cobrands/zerotb/layout.scss @@ -1,2 +1,28 @@ @import "_colours"; @import "../sass/layout"; + +body { + &.frontpage { + #site-logo { + background: none; + color: black; + width: auto; + a { + color: black; + } + p { + font-size: 2em; + font-weight: 300; + } + #brought-to-you { + display: block; + font-size: 0.75em; + } + } + } +} + +.container { + padding: 0em 1em; +} + -- cgit v1.2.3 From 64f54e965254f2209488f3a7f98f0f792b852162 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Fri, 14 Mar 2014 15:07:25 +0000 Subject: top nav bar should always be black --- web/cobrands/zerotb/layout.scss | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'web/cobrands/zerotb/layout.scss') diff --git a/web/cobrands/zerotb/layout.scss b/web/cobrands/zerotb/layout.scss index 58b4d9279..c11594141 100644 --- a/web/cobrands/zerotb/layout.scss +++ b/web/cobrands/zerotb/layout.scss @@ -3,6 +3,16 @@ body { &.frontpage { + .nav-wrapper-2 { + background-color: $primary; + color: $primary_text; + height: auto; + } + + #site-header { + background-color: $base_bg; + } + #site-logo { background: none; color: black; @@ -22,6 +32,35 @@ body { } } +.nav-wrapper { + .nav-wrapper-2 { + border: none; + min-height: 0; + } +} + +#main-nav { + ul#mysoc-menu { + li { + a { + color: $primary_text; + } + } + } + ul#main-menu { + li { + span { + color: $primary_text; + } + } + } +} + +#site-header { + background: $primary; + height: auto; +} + .container { padding: 0em 1em; } -- cgit v1.2.3 From e74eff85b9e9fc809e96451c97e44a2095d86021 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Fri, 14 Mar 2014 15:09:43 +0000 Subject: Style front page location lookup button -> orange set background colour for input boxes make everything a bit wider and left aligned update the what is this for text --- web/cobrands/zerotb/layout.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'web/cobrands/zerotb/layout.scss') diff --git a/web/cobrands/zerotb/layout.scss b/web/cobrands/zerotb/layout.scss index c11594141..8bc314914 100644 --- a/web/cobrands/zerotb/layout.scss +++ b/web/cobrands/zerotb/layout.scss @@ -65,3 +65,20 @@ body { padding: 0em 1em; } +#front-main { + #front-main-container { + max-width: 40em; + h2 { + text-align: left; + } + } + #postcodeForm { + div { + width: 30em; + input#pc { + max-width: none; + width: 27em; + } + } + } +} -- cgit v1.2.3 From ea01f4ff8681284e8f5f1e45e4c6c61a14f11311 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Fri, 14 Mar 2014 15:13:08 +0000 Subject: update content and style for front page instructions remove photos etc update step text change background colour and remove crop shadow --- web/cobrands/zerotb/layout.scss | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web/cobrands/zerotb/layout.scss') diff --git a/web/cobrands/zerotb/layout.scss b/web/cobrands/zerotb/layout.scss index 8bc314914..91a3d7166 100644 --- a/web/cobrands/zerotb/layout.scss +++ b/web/cobrands/zerotb/layout.scss @@ -82,3 +82,8 @@ body { } } } + +.content { + background-color: $alt-background; + box-shadow: none; +} -- cgit v1.2.3 From b20cb6576485017970f025e6f294ac8c09f39e69 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Thu, 20 Mar 2014 17:27:00 +0000 Subject: Add a searchable dropdown of clinic names to postcode form uses select2 for the dropdown and a cobrand call to fetch the list of report titles as the clinic names. Relies on a redirect in httpd.conf to make the non JS version work. Still leaves the postcode search in place as select2 won't accept custom terms if you base it on a select box, which we want to do so it works if JavaScript is disabled Fixes #723 --- web/cobrands/zerotb/layout.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'web/cobrands/zerotb/layout.scss') diff --git a/web/cobrands/zerotb/layout.scss b/web/cobrands/zerotb/layout.scss index 91a3d7166..7c12ab6ba 100644 --- a/web/cobrands/zerotb/layout.scss +++ b/web/cobrands/zerotb/layout.scss @@ -75,10 +75,25 @@ body { #postcodeForm { div { width: 30em; + .select2-container, + select#clinic, input#pc { max-width: none; width: 27em; } + input#show_report { + display: block; + float: right; + width: 3em; + } + } + } + + .select2-container { + a { + color: #444; + text-align: left; + text-decoration: none; } } } -- cgit v1.2.3 From 647412d2fc0213c5871fe300d1f2c7c32037da20 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Tue, 25 Mar 2014 15:49:11 +0000 Subject: fix banner height and menu placement on map pages make links same height as on other pages increase height of banner to be the same as other pages --- web/cobrands/zerotb/layout.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'web/cobrands/zerotb/layout.scss') diff --git a/web/cobrands/zerotb/layout.scss b/web/cobrands/zerotb/layout.scss index 7c12ab6ba..ea8102ded 100644 --- a/web/cobrands/zerotb/layout.scss +++ b/web/cobrands/zerotb/layout.scss @@ -30,6 +30,23 @@ body { } } } + &.mappage { + #main-nav { + ul#main-menu { + li { + a, + a.report-a-problem-btn, + span { + padding: 0.25em; + margin: 0.5em; + } + } + } + } + .nav-wrapper-2 { + min-height: 4em; + } + } } .nav-wrapper { -- cgit v1.2.3