mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 00:29:52 +02:00
fixes #9310: alerts aren't dismissable by default, now requires .alert-dismissable if you need a close button
This commit is contained in:
20
dist/css/bootstrap.css
vendored
20
dist/css/bootstrap.css
vendored
@@ -4117,7 +4117,7 @@ button.close {
|
||||
}
|
||||
|
||||
.alert {
|
||||
padding: 15px 35px 15px 15px;
|
||||
padding: 15px;
|
||||
margin-bottom: 20px;
|
||||
color: #c09853;
|
||||
background-color: #fcf8e3;
|
||||
@@ -4139,13 +4139,6 @@ button.close {
|
||||
color: #a47e3c;
|
||||
}
|
||||
|
||||
.alert .close {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
right: -21px;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.alert > p,
|
||||
.alert > ul {
|
||||
margin-bottom: 0;
|
||||
@@ -4155,6 +4148,17 @@ button.close {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.alert-dismissable {
|
||||
padding-right: 35px;
|
||||
}
|
||||
|
||||
.alert-dismissable .close {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
right: -21px;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
color: #468847;
|
||||
background-color: #dff0d8;
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user