Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2020-09-02 01:16:50 +0300
committerMark Otto <otto@github.com>2020-09-23 02:49:02 +0300
commit99777662c678341b0220630c05a9526faab36c95 (patch)
tree3788fd92044ed929fcf2e5f4a74e6a9c961fe5de /scss/_alert.scss
parentfe77208a01b9b41ce13a9c68139d9f1618c48ec9 (diff)
Rename .close to .btn-close, replace times sign with background SVG, update focus state
Diffstat (limited to 'scss/_alert.scss')
-rw-r--r--scss/_alert.scss7
1 files changed, 3 insertions, 4 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss
index 19157b2981..078aaaa68b 100644
--- a/scss/_alert.scss
+++ b/scss/_alert.scss
@@ -27,15 +27,14 @@
// Expand the right padding and account for the close button's positioning.
.alert-dismissible {
- padding-right: $close-font-size + $alert-padding-x * 2;
+ padding-right: $alert-padding-x * 3.5;
// Adjust close link position
- .close {
+ .btn-close {
position: absolute;
top: 0;
right: 0;
- padding: $alert-padding-y $alert-padding-x;
- color: inherit;
+ padding: $alert-padding-y * 1.25 $alert-padding-x;
}
}