mirror of https://github.com/twbs/bootstrap.git
Fix use of declarations after nested rules (deprecated in Sass 1.77.7) (#40623)
This commit is contained in:
parent
f406388c1b
commit
7f8fed44fd
|
@ -59,8 +59,8 @@
|
||||||
|
|
||||||
// When fading in the modal, animate it to slide down
|
// When fading in the modal, animate it to slide down
|
||||||
.modal.fade & {
|
.modal.fade & {
|
||||||
@include transition($modal-transition);
|
|
||||||
transform: $modal-fade-transform;
|
transform: $modal-fade-transform;
|
||||||
|
@include transition($modal-transition);
|
||||||
}
|
}
|
||||||
.modal.show & {
|
.modal.show & {
|
||||||
transform: $modal-show-transform;
|
transform: $modal-show-transform;
|
||||||
|
|
|
@ -499,9 +499,9 @@ legend {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-bottom: $legend-margin-bottom;
|
margin-bottom: $legend-margin-bottom;
|
||||||
@include font-size($legend-font-size);
|
|
||||||
font-weight: $legend-font-weight;
|
font-weight: $legend-font-weight;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
|
@include font-size($legend-font-size);
|
||||||
|
|
||||||
+ * {
|
+ * {
|
||||||
clear: left; // 2
|
clear: left; // 2
|
||||||
|
|
|
@ -34,11 +34,11 @@
|
||||||
// Type display classes
|
// Type display classes
|
||||||
@each $display, $font-size in $display-font-sizes {
|
@each $display, $font-size in $display-font-sizes {
|
||||||
.display-#{$display} {
|
.display-#{$display} {
|
||||||
@include font-size($font-size);
|
|
||||||
font-family: $display-font-family;
|
font-family: $display-font-family;
|
||||||
font-style: $display-font-style;
|
font-style: $display-font-style;
|
||||||
font-weight: $display-font-weight;
|
font-weight: $display-font-weight;
|
||||||
line-height: $display-line-height;
|
line-height: $display-line-height;
|
||||||
|
@include font-size($font-size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue