2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-27 14:46:01 +03:00

Change up link alerts

* No more children selectors to set all links in alerts as a special color because buttons and more wrongly inherited color
* Adds .alert-link for easy styling in any alert
This commit is contained in:
Mark Otto
2013-05-16 20:53:59 -07:00
parent 0f4b4acce1
commit 9762f95bde
5 changed files with 39 additions and 18 deletions
+4 -8
View File
@@ -4410,8 +4410,7 @@ button.close {
border-top-color: #f8e5be;
}
.alert > a,
.alert > p > a {
.alert .alert-link {
font-weight: 500;
color: #a47e3c;
}
@@ -4433,8 +4432,7 @@ button.close {
border-top-color: #c9e2b3;
}
.alert-success > a,
.alert-success > p > a {
.alert-success .alert-link {
color: #356635;
}
@@ -4448,8 +4446,7 @@ button.close {
border-top-color: #e6c1c7;
}
.alert-danger > a,
.alert-danger > p > a {
.alert-danger .alert-link {
color: #953b39;
}
@@ -4463,8 +4460,7 @@ button.close {
border-top-color: #a6e1ec;
}
.alert-info > a,
.alert-info > p > a {
.alert-info .alert-link {
color: #2d6987;
}