tabby/tabby-core/src/components/toggle.component.scss
2021-06-29 23:57:04 +02:00

26 lines
445 B
SCSS

:host {
flex: none;
$toggle-size: 18px;
$height: 30px;
$padding: 2px;
display: inline-flex;
overflow: visible;
border-radius: 3px;
line-height: $height;
height: $height;
transition: 0.25s opacity;
align-items: center;
overflow: hidden;
padding-right: 10px;
padding-left: 10px;
margin-left: -10px;
&.disabled {
opacity: 0.5;
}
* {
cursor: pointer;
}
}