Skip to content

Commit 76d0de2

Browse files
Merge pull request #471 from opentripplanner/october-contrast-fixes
Replace Colors to Meet A11y Requirements
2 parents 8d7907f + f60e962 commit 76d0de2

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Diff for: lib/components/app/app.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
border-radius: 15px;
7878
}
7979
.view-switcher button.btn-link.active {
80-
background: rgba(255, 255, 255, 0.15);
80+
background: rgba(0, 0, 0, 0.15);
8181
}
8282
.view-switcher button.btn-link:hover,
8383
.view-switcher button.btn-link:focus {

Diff for: lib/components/form/batch-styled.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const StyledBatchPreferences = styled(SettingsSelectorPanel)`
9494
${modeButtonButtonCss}
9595
9696
${TripFormClasses.SettingLabel} {
97-
color: #808080;
97+
color: #686868;
9898
font-size: 14px;
9999
font-weight: 100;
100100
letter-spacing: 1px;

Diff for: lib/components/form/form.css

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
.otp .plan-trip-button, .view-results-button {
3838
width: 100%;
3939
}
40+
.otp .plan-trip-button[disabled] {
41+
opacity: 0.75;
42+
}
4043

4144
.otp .bottom-fixed {
4245
position: absolute;

Diff for: lib/components/form/styled.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const StyledSettingsSelectorPanel = styled(SettingsSelectorPanel)`
5757
${modeButtonButtonCss}
5858
5959
${TripFormClasses.SettingLabel} {
60-
color: #808080;
60+
color: #686868;
6161
font-size: 14px;
6262
font-weight: 100;
6363
letter-spacing: 1px;

0 commit comments

Comments
 (0)