diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-10-01 15:46:22 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-10-01 20:59:33 +0100 |
commit | a4d0db790c46ae55edd75bb719e62dee7d0e5a7f (patch) | |
tree | b1a3a155bd668d4e97729af75b2402724d41c7f0 | |
parent | daada5411eb2edcd27111abadbd66c9b368c65b0 (diff) |
Remove unneeded report-list and list-a classes.
-rw-r--r-- | templates/web/greenwich/around/tabbed_lists.html | 2 | ||||
-rw-r--r-- | templates/web/oxfordshire/around/tabbed_lists.html | 2 | ||||
-rw-r--r-- | web/cobrands/greenwich/base.scss | 2 | ||||
-rw-r--r-- | web/cobrands/oxfordshire/layout.scss | 4 | ||||
-rw-r--r-- | web/cobrands/sass/_base.scss | 8 | ||||
-rw-r--r-- | web/cobrands/sass/_report_list.scss | 4 |
6 files changed, 8 insertions, 14 deletions
diff --git a/templates/web/greenwich/around/tabbed_lists.html b/templates/web/greenwich/around/tabbed_lists.html index 0d7dfddfc..ab95ec828 100644 --- a/templates/web/greenwich/around/tabbed_lists.html +++ b/templates/web/greenwich/around/tabbed_lists.html @@ -1,5 +1,5 @@ [% INCLUDE "reports/_list-filters.html" %] -<ul class="report-list" id="current"> +<ul class="issue-list-a" id="current"> [% INCLUDE "around/on_map_list_items.html" %] </ul> diff --git a/templates/web/oxfordshire/around/tabbed_lists.html b/templates/web/oxfordshire/around/tabbed_lists.html index 0d7dfddfc..ab95ec828 100644 --- a/templates/web/oxfordshire/around/tabbed_lists.html +++ b/templates/web/oxfordshire/around/tabbed_lists.html @@ -1,5 +1,5 @@ [% INCLUDE "reports/_list-filters.html" %] -<ul class="report-list" id="current"> +<ul class="issue-list-a" id="current"> [% INCLUDE "around/on_map_list_items.html" %] </ul> diff --git a/web/cobrands/greenwich/base.scss b/web/cobrands/greenwich/base.scss index 844cf2762..3d8dc29ba 100644 --- a/web/cobrands/greenwich/base.scss +++ b/web/cobrands/greenwich/base.scss @@ -29,7 +29,7 @@ body.frontpage #site-logo, background-size: cover; } -.issue-list-a li, .list-a li, #user-meta p, #front-main #postcodeForm { +.issue-list-a li, #user-meta p, #front-main #postcodeForm { background-color: $greenwich_light_grey; } diff --git a/web/cobrands/oxfordshire/layout.scss b/web/cobrands/oxfordshire/layout.scss index 75a31e461..4dc3efe4e 100644 --- a/web/cobrands/oxfordshire/layout.scss +++ b/web/cobrands/oxfordshire/layout.scss @@ -266,7 +266,7 @@ body.mappage { } } -.report-list, .issue-list-a { +.issue-list-a { li:after { background-color: $oxfordshire_mid_grey_green; } @@ -287,7 +287,7 @@ h4.static-with-rule { background: transparent; margin-top: 0; // no space between list items - // Replicate .report-list styling, a bit + // Replicate .issue-list-a styling, a bit border-top: 1px solid $oxfordshire_mid_grey_green; padding: 1em 1em 1em 0; margin-left: 1em; diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index 9aa079b1f..7bb6a96cb 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -919,13 +919,7 @@ input.final-submit { } } } -.list-a { - @extend .issue-list-a; - a { - padding:0.5em 1em; - font-weight:bold; - } -} + //display:table fixes .ie6, .ie7 { .issue-list-a { diff --git a/web/cobrands/sass/_report_list.scss b/web/cobrands/sass/_report_list.scss index 0ba69fd4b..442072083 100644 --- a/web/cobrands/sass/_report_list.scss +++ b/web/cobrands/sass/_report_list.scss @@ -34,7 +34,7 @@ } } -.report-list, .issue-list-a { +.issue-list-a { margin-#{$left}: 0; li { @@ -153,7 +153,7 @@ } body.frontpage { - .issue-list-a, .list-a { + .issue-list-a { li .text { padding-#{$left}: 3em; } |