mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03:00
Only use .danger for alerts, no more .error
This commit is contained in:
Vendored
+3
-7
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -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 %}
|
||||
|
||||
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user