Remove less hover generators

This commit is contained in:
Adam Wathan 2017-08-28 09:23:48 -04:00
parent 44ea8fdbe2
commit 650cf99474
4 changed files with 0 additions and 83 deletions

View file

@ -1,18 +0,0 @@
.define-bg-hover-colors(@variants) {
.generate-utility-variants('\@bg'; @variants; {
&:hover, &:focus { background-color: extract(@__variant-value, 2); }
});
}
.define-bg-hover-colors(@variants; none) {
.define-bg-hover-colors(@variants);
}
.define-bg-hover-colors(@variants; @screens) when not (@screens = none) {
.define-bg-hover-colors(@variants);
.generate-responsive-utility-variants('\@bg'; @variants; @screens; {
&:hover, &:focus { background-color: extract(@__variant-value, 2); }
});
}

View file

@ -1,18 +0,0 @@
.define-border-hover-colors(@variants) {
.generate-utility-variants('\@border'; @variants; {
border-color: extract(@__variant-value, 2);
});
}
.define-border-hover-colors(@variants; none) {
.define-border-hover-colors(@variants);
}
.define-border-hover-colors(@variants; @screens) when not (@screens = none) {
.define-border-hover-colors(@variants);
.generate-responsive-utility-variants('\@border'; @variants; @screens; {
border-color: extract(@__variant-value, 2);
});
}

View file

@ -1,17 +0,0 @@
.define-text-hover-colors(@variants) {
.generate-utility-variants('\@text'; @variants; {
&:hover, &:focus { color: extract(@__variant-value, 2); }
});
}
.define-text-hover-colors(@variants; none) {
.define-text-hover-colors(@variants);
}
.define-text-hover-colors(@variants; @screens) when not (@screens = none) {
.define-text-hover-colors(@variants);
.generate-responsive-utility-variants('\@text'; @variants; @screens; {
&:hover, &:focus { color: extract(@__variant-value, 2); }
});
}

View file

@ -1,30 +0,0 @@
// Default line height
@line-height: 1.5;
.define-text-hover-colors(@text-colors; @screens);
.responsive({
&sans { .sans; }
&serif { .serif; }
&mono { .mono; }
&text-center { .text-center; }
&text-left { .text-left; }
&text-right { .text-right; }
&text-justify { .text-justify; }
&align-baseline { .align-baseline; }
&align-top { .align-top; }
&align-middle { .align-middle; }
&align-bottom { .align-bottom; }
&align-text-top { .align-text-top; }
&align-text-bottom { .align-text-bottom; }
&text-em { .text-em; }
&text-uppercase { .text-uppercase; }
&text-underline { .text-underline; }
&text-break { .text-break; }
&text-no-wrap { .text-no-wrap; }
&text-force-wrap { .text-force-wrap; }
&text-smooth { .text-smooth; }
&text-strike { .text-strike; }
&text-shadow-solid { .text-shadow-solid; }
&text-ellipsis { .text-ellipsis; }
});