mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Only use .danger for alerts, no more .error
This commit is contained in:
parent
0c9b161bb8
commit
dc4436dbc9
10
docs/assets/css/bootstrap.css
vendored
10
docs/assets/css/bootstrap.css
vendored
@ -4663,22 +4663,18 @@ button.close {
|
||||
color: #356635;
|
||||
}
|
||||
|
||||
.alert-danger,
|
||||
.alert-error {
|
||||
.alert-danger {
|
||||
color: #b94a48;
|
||||
background-color: #f2dede;
|
||||
border-color: #eed3d7;
|
||||
}
|
||||
|
||||
.alert-danger hr,
|
||||
.alert-error hr {
|
||||
.alert-danger hr {
|
||||
border-top-color: #e6c1c7;
|
||||
}
|
||||
|
||||
.alert-danger > a,
|
||||
.alert-error > a,
|
||||
.alert-danger > p > a,
|
||||
.alert-error > p > a {
|
||||
.alert-danger > p > a {
|
||||
color: #953b39;
|
||||
}
|
||||
|
||||
|
@ -4246,7 +4246,7 @@ body {
|
||||
<h3 id="alerts-alternatives">Contextual alternatives</h3>
|
||||
<p>Add optional classes to change an alert's connotation.</p>
|
||||
<div class="bs-docs-example">
|
||||
<div class="alert alert-error">
|
||||
<div class="alert alert-danger">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<strong>Oh snap!</strong> Change a few things up and try submitting again.
|
||||
</div>
|
||||
@ -4260,7 +4260,7 @@ body {
|
||||
</div>
|
||||
</div>
|
||||
{% highlight html linenos %}
|
||||
<div class="alert alert-error">...</div>
|
||||
<div class="alert alert-danger">...</div>
|
||||
<div class="alert alert-success">...</div>
|
||||
<div class="alert alert-info">...</div>
|
||||
{% endhighlight %}
|
||||
|
@ -55,8 +55,7 @@
|
||||
color: darken(@state-success-text, 10%);
|
||||
}
|
||||
}
|
||||
.alert-danger,
|
||||
.alert-error {
|
||||
.alert-danger {
|
||||
background-color: @state-danger-bg;
|
||||
border-color: @state-danger-border;
|
||||
color: @state-danger-text;
|
||||
|
Loading…
x
Reference in New Issue
Block a user