Merge pull request #7 from hedgehog-online/fix-disabled-buttons

Prevent disabled buttons from sinking
This commit is contained in:
Jordan Scales 2020-04-22 04:03:41 -04:00 committed by GitHub
commit 91f3799eae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -98,7 +98,7 @@ button {
padding: 0 12px;
}
button:active {
button:not(:disabled):active {
box-shadow: inset -1px -1px #ffffff,
inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf,
inset 2px 2px #808080;

View file

@ -98,7 +98,7 @@ button {
padding: 0 12px;
}
button:active {
button:not(:disabled):active {
box-shadow: inset -1px -1px #ffffff,
inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf,
inset 2px 2px #808080;

View file

@ -100,7 +100,7 @@ button {
padding: 0 12px;
}
button:active {
button:not(:disabled):active {
box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
}