mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 14:46:34 +02:00
Add more variables, add a comment for the 3
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
// Expand the right padding and account for the close button's positioning.
|
||||
|
||||
.alert-dismissible {
|
||||
padding-right: $alert-padding-x * 3.5;
|
||||
padding-right: $alert-dismissible-padding-r;
|
||||
|
||||
// Adjust close link position
|
||||
.btn-close {
|
||||
|
@@ -37,5 +37,5 @@
|
||||
}
|
||||
|
||||
.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-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
|
||||
|
||||
@@ -1280,6 +1282,7 @@ $btn-close-opacity: .5 !default;
|
||||
$btn-close-hover-opacity: .75 !default;
|
||||
$btn-close-focus-opacity: 1 !default;
|
||||
$btn-close-disabled-opacity: .25 !default;
|
||||
$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
|
||||
|
||||
// Code
|
||||
|
||||
|
Reference in New Issue
Block a user