28 lines
622 B
SCSS
28 lines
622 B
SCSS
|
@import './skin';
|
||
|
@import './layout';
|
||
|
/* TODO: This is positioning the element */
|
||
|
/* probably should be in a special %form class*/
|
||
|
%form-element {
|
||
|
@extend %form-row;
|
||
|
}
|
||
|
%form-element > span {
|
||
|
@extend %form-element-label;
|
||
|
}
|
||
|
%form-element > em {
|
||
|
@extend %form-element-note;
|
||
|
}
|
||
|
%form-element-error > strong {
|
||
|
@extend %inline-alert-error;
|
||
|
}
|
||
|
%form-element [type='text'],
|
||
|
%form-element [type='password'],
|
||
|
%form-element textarea {
|
||
|
@extend %form-element-text-input;
|
||
|
}
|
||
|
%form-element-text-input:hover {
|
||
|
@extend %form-element-text-input-hover;
|
||
|
}
|
||
|
%form-element-text-input:focus {
|
||
|
@extend %form-element-text-input-focus;
|
||
|
}
|