mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-29 16:19:53 +02:00
Replace grunt-postcss with postcss-cli (#20140)
Refs #19990 Continues the degruntification process. Also removes mq4-hover-shim for now, since it doesn't yet implement the standard PostCSS plugin interface.
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
@mixin hover {
|
||||
@if $enable-hover-media-query {
|
||||
// See Media Queries Level 4: http://drafts.csswg.org/mediaqueries/#hover
|
||||
// Currently shimmed by https://github.com/twbs/mq4-hover-shim
|
||||
@media (hover: hover) {
|
||||
&:hover { @content }
|
||||
}
|
||||
}
|
||||
@else {
|
||||
// TODO: re-enable along with mq4-hover-shim
|
||||
// @if $enable-hover-media-query {
|
||||
// // See Media Queries Level 4: http://drafts.csswg.org/mediaqueries/#hover
|
||||
// // Currently shimmed by https://github.com/twbs/mq4-hover-shim
|
||||
// @media (hover: hover) {
|
||||
// &:hover { @content }
|
||||
// }
|
||||
// }
|
||||
// @else {
|
||||
&:hover { @content }
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
@mixin hover-focus {
|
||||
|
Reference in New Issue
Block a user