Skip to content

Commit 66cee75

Browse files
committed
[4.0] [a11y] Modal button colour
Make sure the secondary button passes the color contrast check ### Before ### After (Does not need npm to test)
1 parent 1381651 commit 66cee75

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

administrator/templates/atum/css/template-rtl.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,10 +655,12 @@ iframe {
655655
margin-right: .5rem; }
656656

657657
.modal .btn-primary:not([href]),
658-
.modal .btn-success:not([href]) {
658+
.modal .btn-success:not([href]),
659+
.modal .btn-secondary:not([href]) {
659660
color: #fff; }
660661
.modal .btn-primary:not([href]):hover,
661-
.modal .btn-success:not([href]):hover {
662+
.modal .btn-success:not([href]):hover,
663+
.modal .btn-secondary:not([href]):hover {
662664
color: #fff; }
663665

664666
.modal-header {

administrator/templates/atum/css/template-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

administrator/templates/atum/css/template.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,10 +655,12 @@ iframe {
655655
margin-right: .5rem; }
656656

657657
.modal .btn-primary:not([href]),
658-
.modal .btn-success:not([href]) {
658+
.modal .btn-success:not([href]),
659+
.modal .btn-secondary:not([href]) {
659660
color: #fff; }
660661
.modal .btn-primary:not([href]):hover,
661-
.modal .btn-success:not([href]):hover {
662+
.modal .btn-success:not([href]):hover,
663+
.modal .btn-secondary:not([href]):hover {
662664
color: #fff; }
663665

664666
.modal-header {

administrator/templates/atum/css/template.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

administrator/templates/atum/scss/blocks/_modals.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
}
88

99
.btn-primary:not([href]),
10-
.btn-success:not([href]) {
10+
.btn-success:not([href]),
11+
.btn-secondary:not([href]), {
1112
color: #fff;
1213

1314
&:hover {

0 commit comments

Comments
 (0)