1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-03 02:13:01 +02:00

Minor Sass cleanup and consistency changes. (#23959)

This commit is contained in:
XhmikosR
2017-09-17 08:18:24 +03:00
committed by GitHub
parent 0705ee8070
commit 5cec8e0de6
6 changed files with 27 additions and 21 deletions

View File

@@ -9,7 +9,7 @@
// }
// @else {
// scss-lint:disable Indentation
&:hover { @content }
&:hover { @content; }
// scss-lint:enable Indentation
// }
}
@@ -17,12 +17,14 @@
@mixin hover-focus {
@if $enable-hover-media-query {
&:focus { @content }
@include hover { @content }
&:focus {
@content;
}
@include hover { @content; }
} @else {
&:focus,
&:hover {
@content
@content;
}
}
}
@@ -31,14 +33,14 @@
@if $enable-hover-media-query {
&,
&:focus {
@content
@content;
}
@include hover { @content }
@include hover { @content; }
} @else {
&,
&:focus,
&:hover {
@content
@content;
}
}
}
@@ -47,14 +49,14 @@
@if $enable-hover-media-query {
&:focus,
&:active {
@content
@content;
}
@include hover { @content }
@include hover { @content; }
} @else {
&:focus,
&:active,
&:hover {
@content
@content;
}
}
}