Skip to content

Commit 00c81a6

Browse files
changes to CSS to Improve error message contrast for accessibility. (bcgov#1548)
Co-authored-by: RyanBirtch-aot <104386035+RyanBirtch-aot@users.noreply.github.com>
1 parent 78a103d commit 00c81a6

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

app/frontend/src/assets/scss/style.scss

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,16 @@ a,
210210
word-break: break-word;
211211
}
212212

213+
/**FORMS-1640 - Remove the pink background entirely or change its colour to transparent across the entire CHEFS product
214+
or specifically within the "form submitter" forms to Improve error message contrast for accessibility. **/
215+
.formio-error-wrapper {
216+
background-color: transparent;
217+
}
218+
.formio-error-wrapper,
219+
.formio-warning-wrapper {
220+
padding: 0;
221+
}
222+
213223
// tabs component
214224
.formio-component-simpletabs {
215225
& > .card {
@@ -554,7 +564,9 @@ a,
554564
background-color: #eee !important;
555565
}
556566

557-
.v-data-table, .v-data-table-server, .v-table {
567+
.v-data-table,
568+
.v-data-table-server,
569+
.v-table {
558570
font-size: 16px !important;
559571
}
560572

@@ -573,4 +585,5 @@ a,
573585
opacity: 1 !important;
574586
}
575587

576-
@import 'global-status-overlay.scss';
588+
589+
@import 'global-status-overlay.scss';

0 commit comments

Comments
 (0)