mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 20:23:32 +08:00
improve (ui): hover state for buttons
This commit is contained in:
@ -17,10 +17,17 @@ button{
|
|||||||
}
|
}
|
||||||
&.emphasis{
|
&.emphasis{
|
||||||
background: var(--emphasis);
|
background: var(--emphasis);
|
||||||
color: white
|
color: white;
|
||||||
}
|
}
|
||||||
&.dark{
|
&.dark{
|
||||||
background: var(--dark);
|
background: var(--dark);
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.touch-no button {
|
||||||
|
&.dark:hover, &.emphasis:hover, &.primary:hover {
|
||||||
|
filter: brightness(95%);
|
||||||
|
transition: 0.2s ease all;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user