23 lines
570 B
SCSS
23 lines
570 B
SCSS
.switcher {
|
|
.toggle-outside {
|
|
border: $input-border-width solid $input-border-color;
|
|
@include border-radius($input-border-radius, 0);
|
|
|
|
&:focus {
|
|
box-shadow: $input-box-shadow;
|
|
}
|
|
}
|
|
input:focus ~ .toggle-outside {
|
|
border-color: $input-focus-border-color;
|
|
@if $enable-shadows {
|
|
@include box-shadow($input-box-shadow, $input-focus-box-shadow);
|
|
} @else {
|
|
// Avoid using mixin so we can pass custom focus shadow properly
|
|
box-shadow: $input-focus-box-shadow;
|
|
}
|
|
}
|
|
}
|
|
.disabled {
|
|
opacity: $btn-disabled-opacity;
|
|
}
|