aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-03-16 15:31:03 -0700
committerMark Otto <[email protected]>2013-03-16 15:31:03 -0700
commitfe2658ed6154b7b2be71f6582671ee13ebb59dc5 (patch)
treefa503691d8f3478020f9c2e4e2d2631d6a7b2e30 /less
parent7e933db2dd3409f2107518d8700581a0be1c9392 (diff)
downloadbootstrap-fe2658ed6154b7b2be71f6582671ee13ebb59dc5.tar.xz
bootstrap-fe2658ed6154b7b2be71f6582671ee13ebb59dc5.zip
Fixes #7150: colorize links in alerts
Diffstat (limited to 'less')
-rw-r--r--less/alerts.less18
1 files changed, 18 insertions, 0 deletions
diff --git a/less/alerts.less b/less/alerts.less
index 04b3f46b4..7f627fadf 100644
--- a/less/alerts.less
+++ b/less/alerts.less
@@ -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