open-consul/ui-v2/app/styles/components/form-elements.scss

34 lines
612 B
SCSS

label span {
@extend %user-select-none;
}
.has-error {
@extend %form-element-error;
}
.type-toggle {
@extend %form-element, %sliding-toggle;
}
.checkbox-group {
@extend %checkbox-group;
}
%main-content form {
@extend %form;
}
%form table,
%radio-group,
%checkbox-group,
%main-content form dl {
@extend %form-row;
}
%radio-group label,
%main-content .type-password,
%main-content .type-text {
@extend %form-element;
}
%app-view-content form:not(.filter-bar) [role='radiogroup'],
%modal-window [role='radiogroup'] {
@extend %radio-group;
}
%sliding-toggle + .checkbox-group {
margin-top: -1em;
}