diff options
author | Steven Day <steve@mysociety.org> | 2015-09-30 12:12:48 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-10-01 13:51:05 +0100 |
commit | 918908feca5a33f3b070cd03b71383efb3fbe9c8 (patch) | |
tree | 0edc748eef00248d09ede785011504a235608fcb /web | |
parent | a0e94c64bf0e92583aab947507e7a60c5ebc3919 (diff) |
Don't set whole background style in issue-list css
The use of the background shorthand was causing cobrands which
override this to have unexpected styling issues because it
only set a colour, not the other background properties.
This commit makes it more specific to just use background-color.
Also fixes a case in Greenwich's css where this was being overriden
in a similar way to just use background-color as well.
Fixes #1238
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/greenwich/base.scss | 2 | ||||
-rw-r--r-- | web/cobrands/sass/_base.scss | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/web/cobrands/greenwich/base.scss b/web/cobrands/greenwich/base.scss index 2e886c492..844cf2762 100644 --- a/web/cobrands/greenwich/base.scss +++ b/web/cobrands/greenwich/base.scss @@ -30,7 +30,7 @@ body.frontpage #site-logo, } .issue-list-a li, .list-a li, #user-meta p, #front-main #postcodeForm { - background: $greenwich_light_grey; + background-color: $greenwich_light_grey; } label[for=pc] { diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index fe4e15bcd..9aa079b1f 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -843,7 +843,7 @@ input.final-submit { border-bottom: 0.25em solid $primary; li{ list-style: none; - background: #f6f6f6; + background-color: #f6f6f6; margin: 0.25em 0 0; padding: 0.5em 1em; display:block; @@ -871,20 +871,20 @@ input.final-submit { margin: 0.25em 0 0; /* see note below about this */ display:table; - background: #f6f6f6; + background-color: #f6f6f6; color:#222222; width:100%; &:hover { text-decoration:none; color:#222222; - background:#e6e6e6; + background-color:#e6e6e6; } a { color:#222222; } a:hover { color:#222222; - background:#e6e6e6; + background-color:#e6e6e6; text-decoration: none; } .text { @@ -915,7 +915,7 @@ input.final-submit { >p { margin: 0.25em 0 0; padding: 0.5em 1em; - background: #f6f6f6; + background-color: #f6f6f6; } } } |