2019-11-25 17:43:25 +00:00
|
|
|
@import './skin';
|
|
|
|
@import './layout';
|
2021-04-22 11:16:56 +00:00
|
|
|
%form h2 {
|
|
|
|
@extend %h200;
|
|
|
|
}
|
2019-11-25 17:43:25 +00:00
|
|
|
/* 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;
|
|
|
|
}
|
2020-05-11 15:37:11 +00:00
|
|
|
%form button + em,
|
2019-11-25 17:43:25 +00:00
|
|
|
%form-element > em {
|
|
|
|
@extend %form-element-note;
|
|
|
|
}
|
2021-04-22 11:16:56 +00:00
|
|
|
%form-element-note > code {
|
|
|
|
@extend %inline-code;
|
|
|
|
}
|
2019-11-25 17:43:25 +00:00
|
|
|
%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;
|
|
|
|
}
|