From fe2658ed6154b7b2be71f6582671ee13ebb59dc5 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 16 Mar 2013 15:31:03 -0700 Subject: Fixes #7150: colorize links in alerts --- less/alerts.less | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'less') 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 -- cgit v1.2.3