41 lines
969 B
SCSS
41 lines
969 B
SCSS
/*TODO: This remains a mix of form-elements */
|
|
/* form-elements should probably be a collection of these */
|
|
@import '../base/components/inline-alert/index';
|
|
@import '../base/components/form-elements/index';
|
|
@import '../base/components/sliding-toggle/index';
|
|
@import '../base/components/radio-group/index';
|
|
@import '../base/components/checkbox-group/index';
|
|
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;
|
|
}
|