Merge pull request #7 from hedgehog-online/fix-disabled-buttons
Prevent disabled buttons from sinking
This commit is contained in:
commit
91f3799eae
3 changed files with 3 additions and 3 deletions
|
|
@ -98,7 +98,7 @@ button {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active {
|
button:not(:disabled):active {
|
||||||
box-shadow: inset -1px -1px #ffffff,
|
box-shadow: inset -1px -1px #ffffff,
|
||||||
inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf,
|
inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf,
|
||||||
inset 2px 2px #808080;
|
inset 2px 2px #808080;
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ button {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active {
|
button:not(:disabled):active {
|
||||||
box-shadow: inset -1px -1px #ffffff,
|
box-shadow: inset -1px -1px #ffffff,
|
||||||
inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf,
|
inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf,
|
||||||
inset 2px 2px #808080;
|
inset 2px 2px #808080;
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ button {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active {
|
button:not(:disabled):active {
|
||||||
box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
|
box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue