diff options
| author | Mark Otto <[email protected]> | 2013-08-12 01:20:22 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-12 01:20:22 -0700 |
| commit | 6dbf588237529fc8909bf65caa103fd4fc224fbc (patch) | |
| tree | 76f7c11e880f04570483764f57f5e1c218c90415 /dist/css/bootstrap.css | |
| parent | aefed0ada9791338be11dd5318b24f17f517d51a (diff) | |
| download | bootstrap-6dbf588237529fc8909bf65caa103fd4fc224fbc.tar.xz bootstrap-6dbf588237529fc8909bf65caa103fd4fc224fbc.zip | |
fixes #9310: alerts aren't dismissable by default, now requires .alert-dismissable if you need a close button
Diffstat (limited to 'dist/css/bootstrap.css')
| -rw-r--r-- | dist/css/bootstrap.css | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 8cb3ff74e..128e3ac2b 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -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; |
