mirror of
https://github.com/owntracks/frontend.git
synced 2026-08-25 20:47:16 +00:00
Add custom checkbox focus style
This commit is contained in:
@@ -34,11 +34,17 @@ ul {
|
||||
input[type="checkbox"] {
|
||||
appearance: none;
|
||||
border: 0; // Remove the unchecked checkbox outline in Safari on iOS
|
||||
border-radius: 4px; // Round the focus box-shadow
|
||||
cursor: pointer;
|
||||
margin-right: 3px;
|
||||
position: relative;
|
||||
vertical-align: top;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
&::before {
|
||||
border: 2px solid var(--color-primary);
|
||||
border-radius: 4px;
|
||||
|
||||
Reference in New Issue
Block a user