signal-desktop/stylesheets/components/Checkbox.scss

45 lines
723 B
SCSS
Raw Normal View History

2021-08-18 20:08:14 +00:00
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.Checkbox {
&__container {
align-items: center;
display: flex;
input {
height: 18px;
width: 18px;
2023-04-22 00:37:48 +00:00
@include mouse-mode {
&:focus,
&:active {
outline: none;
}
}
@include keyboard-mode {
&:focus,
&:active {
outline: 1px solid $color-ultramarine;
}
}
2021-08-18 20:08:14 +00:00
}
}
&__checkbox {
height: 18px;
2023-04-20 17:03:43 +00:00
margin-inline-end: 20px;
2021-08-18 20:08:14 +00:00
width: 18px;
}
&__description {
@include font-subtitle;
@include light-theme {
color: $color-gray-60;
}
@include dark-theme {
color: $color-gray-25;
}
}
}