Add more variables, add a comment for the 3
This commit is contained in:
parent
e838accbc4
commit
c0fe38364a
|
@ -27,7 +27,7 @@
|
||||||
// Expand the right padding and account for the close button's positioning.
|
// Expand the right padding and account for the close button's positioning.
|
||||||
|
|
||||||
.alert-dismissible {
|
.alert-dismissible {
|
||||||
padding-right: $alert-padding-x * 3.5;
|
padding-right: $alert-dismissible-padding-r;
|
||||||
|
|
||||||
// Adjust close link position
|
// Adjust close link position
|
||||||
.btn-close {
|
.btn-close {
|
||||||
|
|
|
@ -37,5 +37,5 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-close-white {
|
.btn-close-white {
|
||||||
filter: invert(1) grayscale(100%) brightness(200%);
|
filter: $btn-close-white-filter;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1153,6 +1153,8 @@ $alert-bg-level: -10 !default;
|
||||||
$alert-border-level: -9 !default;
|
$alert-border-level: -9 !default;
|
||||||
$alert-color-level: 6 !default;
|
$alert-color-level: 6 !default;
|
||||||
|
|
||||||
|
$alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
|
||||||
|
|
||||||
|
|
||||||
// Progress bars
|
// Progress bars
|
||||||
|
|
||||||
|
@ -1280,6 +1282,7 @@ $btn-close-opacity: .5 !default;
|
||||||
$btn-close-hover-opacity: .75 !default;
|
$btn-close-hover-opacity: .75 !default;
|
||||||
$btn-close-focus-opacity: 1 !default;
|
$btn-close-focus-opacity: 1 !default;
|
||||||
$btn-close-disabled-opacity: .25 !default;
|
$btn-close-disabled-opacity: .25 !default;
|
||||||
|
$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
|
||||||
|
|
||||||
// Code
|
// Code
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue