Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Commit

Permalink
change buttons contrast for a11y
Browse files Browse the repository at this point in the history
see issue295
#295
  • Loading branch information
nadjak77 committed Jul 6, 2019
1 parent 3c46ec6 commit 7acc413
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/templates/atum/scss/blocks/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
background-color: transparent;
color: var(--atum-special-color);
box-shadow: none;
opacity: $btn-disabled-opacity;

}
}
.dropdown-toggle {
Expand Down
8 changes: 8 additions & 0 deletions administrator/templates/atum/scss/blocks/_searchtools.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@
color: var(--atum-text-light);
border:1px solid var(--border);
border-left: 0;

&.disabled,
&:disabled{
background-color: rgba($gray-300, 0.8);
border-color: rgba($gray-500, 0.8);
opacity:1;
color:var(--atum-text-dark);
}
}

.form-control{
Expand Down
5 changes: 5 additions & 0 deletions administrator/templates/atum/scss/blocks/_toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ joomla-toolbar-button {
}

}

&.disabled,
&:disabled{
opacity:1;
}
}

.dropdown-item {
Expand Down

0 comments on commit 7acc413

Please sign in to comment.