mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-23 18:16:14 +02:00
web/SettingsToggle: make border shine when pressed
This commit is contained in:
parent
3651b98b2d
commit
96142a3a0c
@ -81,5 +81,11 @@
|
||||
padding: calc(var(--switcher-padding) * 2) 16px;
|
||||
border-radius: var(--border-radius);
|
||||
overflow: scroll;
|
||||
|
||||
transition: background 0.1s, box-shadow 0.1s;
|
||||
}
|
||||
|
||||
.toggle-container:active {
|
||||
box-shadow: var(--button-box-shadow), 0 0 0 1.5px var(--button-stroke) inset;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user