From 31394407dc8cff238f3601885a3a5c366488b408 Mon Sep 17 00:00:00 2001 From: hedgehog <> Date: Wed, 22 Apr 2020 07:36:54 +0000 Subject: [PATCH 1/2] prevent disabled buttons from sinking --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index d5cfe1e..404b4b8 100644 --- a/style.css +++ b/style.css @@ -100,7 +100,7 @@ button { padding: 0 12px; } -button:active { +button:not(:disabled):active { box-shadow: var(--border-sunken-outer), var(--border-sunken-inner); } From 6fdbfd2bab955f5bc12ee76cd709c467206e7de5 Mon Sep 17 00:00:00 2001 From: hedgehog <> Date: Wed, 22 Apr 2020 07:38:06 +0000 Subject: [PATCH 2/2] add build files --- build/98.css | 2 +- docs/98.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/98.css b/build/98.css index 0e5a2b4..097db64 100644 --- a/build/98.css +++ b/build/98.css @@ -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; diff --git a/docs/98.css b/docs/98.css index 0e5a2b4..097db64 100644 --- a/docs/98.css +++ b/docs/98.css @@ -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;