Skip to content

Accessibility: improve contrast tweaks #34143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 8, 2021
15 changes: 7 additions & 8 deletions src/Identity/UI/src/wwwroot/V4/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ a.navbar-brand {
word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
color: #0366d6;
color: #0077cc;
}

.form-control:focus {
border-color: #0077cc;
box-shadow: 0 0 0 0.2rem #0077cc;
}

.btn-primary {
Expand All @@ -28,8 +32,6 @@ a {
outline: black auto 1px;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
font-size: 14px;
}
Expand Down Expand Up @@ -63,15 +65,12 @@ button.accept-policy {
line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}

body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
Expand All @@ -80,5 +79,5 @@ body {
width: 100%;
overflow: scroll;
white-space: nowrap;
line-height: 60px; /* Vertically center the text there */
line-height: 60px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ html, body {
}

a, .btn-link {
color: #0366d6;
color: #0077cc;
}

.btn-primary {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ html, body {
}

a, .btn-link {
color: #0366d6;
color: #0077cc;
}

.btn-primary {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ a.navbar-brand {
word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
color: #0366d6;
color: #0077cc;
}

.btn-primary {
Expand All @@ -24,8 +23,6 @@ a {
border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
font-size: 14px;
}
Expand All @@ -51,21 +48,18 @@ button.accept-policy {
line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}

body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
white-space: nowrap;
line-height: 60px; /* Vertically center the text there */
line-height: 60px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ a.navbar-brand {
word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
color: #0366d6;
color: #0077cc;
}

.btn-primary {
Expand All @@ -24,8 +23,6 @@ a {
border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
font-size: 14px;
}
Expand All @@ -51,21 +48,18 @@ button.accept-policy {
line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}

body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
white-space: nowrap;
line-height: 60px; /* Vertically center the text there */
line-height: 60px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ a.navbar-brand {
word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
color: #0366d6;
color: #0077cc;
}

.btn-primary {
Expand All @@ -24,8 +23,6 @@ a {
border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
font-size: 14px;
}
Expand All @@ -51,21 +48,18 @@ button.accept-policy {
line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}

body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
white-space: nowrap;
line-height: 60px; /* Vertically center the text there */
line-height: 60px;
}