mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 08:43:07 +08:00
style: add opacity transition to buttons
This commit is contained in:
parent
b94935421f
commit
1d11616aef
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue