Skip to content

Instantly share code, notes, and snippets.

@Phoen1x84

Phoen1x84/_web-forms.less Secret

Created Apr 4, 2016
Embed
What would you like to do?
_web-forms.less
.scfForm {
.scfSectionBorderAsFieldSet {
&:extend(fieldset);
}
.scfSectionLegend {
&:extend(legend);
}
.scfDropListLabel,
.scfEmailLabel,
.scfMultipleLineTextLabel,
.scfSingleLineTextLabel,
.scfPasswordLabel,
.scfNumberLabel,
.scfDatePickerLabel,
.scfDateLabel,
.scfRadioButtonListLabel,
.scfListBoxLabel,
.scfFileUploadLabel,
.scfDateSelectorLabel,
.scfCreditCardLabel,
.scfConfirmPasswordLabel,
.scfCaptchaLabel,
.scfTelephoneLabel,
.scfSmsTelephoneLabel {
&:extend(label);
order: 0;
}
.scfCheckBoxListLabel {
&:extend(label);
order: 0;
}
select {
&:extend(select);
}
textarea {
&:extend(textarea);
}
input {
&[type="text"],
&[type="date"],
&[type="email"],
&[type="month"],
&[type="number"],
&[type="password"],
&[type="tel"],
&[type="time"],
&[type="week"],
&[type="url"] {
&:extend(input[type="text"]);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.