Skip to content

Commit b6fe8a3

Browse files
Default minor alter banner hide button hover background to black
Fix #238 Matches the localgov_base fix for other themes to fix accessibility contrast issue. Also adds pointer to hide button.
1 parent 183c2d9 commit b6fe8a3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

css/localgov-alert-banner.css

+8
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@
4343
background-color: #fff;
4444
border-color: #fff;
4545
color: #0b0c0c;
46+
cursor: pointer;
47+
}
48+
49+
.localgov-alert-banner--minor .localgov-alert-banner__close:focus,
50+
.localgov-alert-banner--minor .localgov-alert-banner__close:hover {
51+
background-color: #0b0c0c;
52+
border-color: #0b0c0c;
53+
color: #fff;
4654
}
4755

4856
/* Announcement */

0 commit comments

Comments
 (0)