Skip to content

Commit

Permalink
Merge pull request #471 from opentripplanner/october-contrast-fixes
Browse files Browse the repository at this point in the history
Replace Colors to Meet A11y Requirements
  • Loading branch information
miles-grant-ibigroup authored Oct 19, 2021
2 parents 8d7907f + f60e962 commit 76d0de2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/components/app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
border-radius: 15px;
}
.view-switcher button.btn-link.active {
background: rgba(255, 255, 255, 0.15);
background: rgba(0, 0, 0, 0.15);
}
.view-switcher button.btn-link:hover,
.view-switcher button.btn-link:focus {
Expand Down
2 changes: 1 addition & 1 deletion lib/components/form/batch-styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const StyledBatchPreferences = styled(SettingsSelectorPanel)`
${modeButtonButtonCss}
${TripFormClasses.SettingLabel} {
color: #808080;
color: #686868;
font-size: 14px;
font-weight: 100;
letter-spacing: 1px;
Expand Down
3 changes: 3 additions & 0 deletions lib/components/form/form.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
.otp .plan-trip-button, .view-results-button {
width: 100%;
}
.otp .plan-trip-button[disabled] {
opacity: 0.75;
}

.otp .bottom-fixed {
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion lib/components/form/styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const StyledSettingsSelectorPanel = styled(SettingsSelectorPanel)`
${modeButtonButtonCss}
${TripFormClasses.SettingLabel} {
color: #808080;
color: #686868;
font-size: 14px;
font-weight: 100;
letter-spacing: 1px;
Expand Down

0 comments on commit 76d0de2

Please sign in to comment.