web/SettingsToggle: make border shine when pressed

This commit is contained in:
wukko 2025-02-27 20:40:13 +06:00
parent 3651b98b2d
commit 96142a3a0c
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -81,5 +81,11 @@
padding: calc(var(--switcher-padding) * 2) 16px; padding: calc(var(--switcher-padding) * 2) 16px;
border-radius: var(--border-radius); border-radius: var(--border-radius);
overflow: scroll; 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> </style>