1
0
mirror of https://github.com/jdan/98.css.git synced 2025-09-01 09:53:12 +02:00

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
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);
}