wiki-grav/plugins/admin/themes/grav/scss/template/modules/_toggle-switch.scss

21 lines
396 B
SCSS
Raw Normal View History

.switch-toggle {
display: inline-block;
display: inline-flex;
overflow: hidden;
border-radius: $form-border-radius;
line-height: 35px;
input[type=radio] {
position: absolute;
visibility: hidden;
display: none;
}
label {
display: inline-block;
cursor: pointer;
padding: 0 15px;
white-space: nowrap;
}
}