Skip to content

Commit

Permalink
fixup! Added GOVUK styling to 'View area reports' sections
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Oct 7, 2024
1 parent 2f42481 commit 479b0a3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 19 deletions.
2 changes: 1 addition & 1 deletion web/cobrands/brent/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ a {
@include brent-btn-secondary;
}

.item-list--wards__item a, .item-list--reports__item a {
.item-list--reports__item a {
text-decoration: none;

h3 {
Expand Down
3 changes: 0 additions & 3 deletions web/cobrands/bromley/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,8 @@ input.field, input.text,
}
}

.item-list--wards__item a:hover,
.item-list--reports__item a:hover,
.item-list--wards__item a:focus,
.item-list--reports__item a:focus,
.hovered.item-list--wards__item a,
.hovered.item-list--reports__item a {
background-color: mix($bromley_green, #fff, 30%);
}
Expand Down
2 changes: 1 addition & 1 deletion web/cobrands/camden/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ a {
@include cobrand-btn-secondary;
}

.item-list--wards__item a, .item-list--reports__item a {
.item-list--reports__item a {
text-decoration: none;
&:hover {
h3 {
Expand Down
3 changes: 1 addition & 2 deletions web/cobrands/kingston/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ a,
text-decoration: underline;
}

.item-list--reports__item a,
.item-list--wards__item a {
.item-list--reports__item a {
@extend .fake-link;
text-decoration: none;

Expand Down
1 change: 0 additions & 1 deletion web/cobrands/merton/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ h1, h2, h3 {
}
}

.item-list--wards__item a,
.item-list--reports__item a {
color: $link-color;

Expand Down
9 changes: 3 additions & 6 deletions web/cobrands/sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@ input.final-submit {
margin-bottom: 0.5em;
}

%item-list--link {
%item-list {
padding: 0;
a {
color: #222222;
Expand All @@ -1327,10 +1327,7 @@ input.final-submit {
}

.item-list--wards {
@extend %item-list--link;
label {
margin-top: inherit;
}
@extend %item-list;

&.govuk-checkboxes--small {
.govuk-checkboxes__item {
Expand All @@ -1347,7 +1344,7 @@ input.final-submit {
}

.item-list--reports__item {
@extend %item-list--link;
@extend %item-list;

a {
@include clearfix;
Expand Down
3 changes: 0 additions & 3 deletions web/cobrands/shropshire/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,8 @@ p.form-error {
color: #fff !important;
}

.item-list--wards__item a:hover,
.item-list--reports__item a:hover,
.item-list--wards__item a:focus,
.item-list--reports__item a:focus,
.hovered.item-list--wards__item a,
.hovered.item-list--reports__item a {
background-color: mix($shropshire-blue, #fff, 25%);
}
Expand Down
4 changes: 2 additions & 2 deletions web/cobrands/southwark/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ a#geolocate_link {
font-size: 0.875rem;
}

.item-list--wards__item, .item-list--reports__item {
.item-list--reports__item {
margin: 0;
border-top: 1px solid $secondary_button_border_color;
}

.item-list--wards__item a, .item-list--reports__item a {
.item-list--reports__item a {
color: $primary-b;
text-decoration: none;

Expand Down

0 comments on commit 479b0a3

Please sign in to comment.