Fixes #7150: colorize links in alerts

This commit is contained in:
Mark Otto
2013-03-16 15:31:03 -07:00
parent 7e933db2dd
commit fe2658ed61
2 changed files with 42 additions and 0 deletions

View File

@@ -24,6 +24,12 @@
hr {
border-top-color: darken(@state-warning-border, 5%);
}
// Inherit color for immediate links and bolden them some
> a,
> p > a {
font-weight: 500;
color: darken(@state-warning-text, 10%);
}
}
// Adjust close link position
@@ -45,6 +51,10 @@
hr {
border-top-color: darken(@state-success-border, 5%);
}
> a,
> p > a {
color: darken(@state-success-text, 10%);
}
}
.alert-danger,
.alert-error {
@@ -54,6 +64,10 @@
hr {
border-top-color: darken(@state-error-border, 5%);
}
> a,
> p > a {
color: darken(@state-error-text, 10%);
}
}
.alert-info {
background-color: @state-info-background;
@@ -62,6 +76,10 @@
hr {
border-top-color: darken(@state-info-border, 5%);
}
> a,
> p > a {
color: darken(@state-info-text, 10%);
}
}
// Block alerts