diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/oxfordshire/layout.scss | 11 | ||||
-rw-r--r-- | web/cobrands/sass/_base.scss | 25 |
2 files changed, 34 insertions, 2 deletions
diff --git a/web/cobrands/oxfordshire/layout.scss b/web/cobrands/oxfordshire/layout.scss index 7417b7081..c44e91586 100644 --- a/web/cobrands/oxfordshire/layout.scss +++ b/web/cobrands/oxfordshire/layout.scss @@ -171,7 +171,6 @@ body.mappage { .full-width { width: auto; - margin: 0 -1em; } input[type="file"] { @@ -267,7 +266,15 @@ h4.static-with-rule { } .form-box { - background-color: darken($oxfordshire_very_light_green, 5%); + background-color: #e3f1d5; // darker version of $oxfordshire_very_light_green +} + +.extra-category-questions { + background-color: #e3f1d5; // darker version of $oxfordshire_very_light_green + + &:before { + border-bottom-color: #e3f1d5; // darker version of $oxfordshire_very_light_green + } } .shadow-wrap { diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index b0a9ac2ab..20aeed2b6 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -1401,6 +1401,31 @@ label .muted { margin-top: 0; } +.extra-category-questions { + background-color: #eee; + padding: 1em; + margin-top: 1.5em; // make room for the triangle + position: relative; + + // An upwards pointing triangle + &:before { + content: ""; + display: block; + width: 0; + height: 0; + border-style: solid; + border-width: 0 1em 1em 1em; + border-color: transparent transparent #eee transparent; + position: absolute; + top: -0.9em; // avoid hairline gap between triangle and parent + #{$left}: 1.5em; + } + + & > :first-child { + margin-top: 0; + } +} + table.nicetable { width:100%; |