style: add opacity transition to buttons

This commit is contained in:
Miodec 2023-09-19 22:47:18 +01:00
parent b94935421f
commit 1d11616aef

View file

@ -27,7 +27,7 @@ input[type="submit"] {
text-align: center;
color: var(--text-color);
cursor: pointer;
transition: background 0.125s, color 0.125s;
transition: background 0.125s, color 0.125s, opacity 0.125s;
padding: 0.5em;
border-radius: var(--roundness);
background: var(--sub-alt-color);
@ -98,7 +98,7 @@ button.text,
.textButton {
color: var(--sub-color);
cursor: pointer;
transition: background 0.125s, color 0.125s;
transition: background 0.125s, color 0.125s, opacity 0.125s;
padding: 0.5em;
border-radius: var(--roundness);
background: none;