Skip to content

Instantly share code, notes, and snippets.

@Phoen1x84
Created April 4, 2016 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Phoen1x84/e13a8ce2f528b66ea9d48baec9062322 to your computer and use it in GitHub Desktop.
Save Phoen1x84/e13a8ce2f528b66ea9d48baec9062322 to your computer and use it in GitHub Desktop.
_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