Skip to content

Commit 219f83e

Browse files
authored
Ada 232 (#56): Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds
* login, listed items updated * Improving the color contrast ratio of button links to meet WCAG 2AA * Improve the color contrast ration of span text to meet WCAG 2AA * Improve the color contrast ration in the ISO19139 metadata modal * Improve the color contrast ration of span number to meet WCAG 2AA
1 parent 4dc912b commit 219f83e

2 files changed

Lines changed: 38 additions & 5 deletions

File tree

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,46 @@
1-
2-
.ucb_container{
1+
.ucb_container {
32
min-height: 100%;
4-
width: 100%;
3+
width: 100%;
54
margin-bottom: 90px;
65
}
76

87
.spacer {
98
height: 90px;
109
}
1110

12-
.navbar {
13-
height: 6em;
11+
.navbar {
12+
height: 6em;
13+
}
14+
15+
.btn-primary {
16+
background-color: $link-color;
17+
color: #ffffff;
18+
}
19+
20+
ul.facet-values {
21+
span.selected {
22+
color: #208836 !important;
23+
}
1424
}
25+
26+
.nav-pills .nav-link.active,
27+
.nav-pills .show>.nav-link,
28+
.nav-pills .no-js .btn-group:focus-within .dropdown-menu>.nav-link,
29+
.nav-pills .no-js .btn-group:focus-within .twitter-typeahead .tt-menu>.nav-link,
30+
.twitter-typeahead .nav-pills .no-js .btn-group:focus-within .tt-menu>.nav-link,
31+
.no-js .btn-group:focus-within .nav-pills .dropdown-menu>.nav-link,
32+
.no-js .btn-group:focus-within .nav-pills .twitter-typeahead .tt-menu>.nav-link,
33+
.twitter-typeahead .no-js .btn-group:focus-within .nav-pills .tt-menu>.nav-link {
34+
background-color: $link-color;
35+
}
36+
37+
#metadata-container {
38+
a {
39+
color: #006FD6;
40+
41+
&:hover {
42+
color: #0044B3;
43+
text-decoration: underline;
44+
}
45+
}
46+
}

app/assets/stylesheets/application.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
$link-color: #0073EB;
12
@import 'bootstrap';
23
@import 'blacklight';
34
@import 'geoblacklight';

0 commit comments

Comments
 (0)