diff options
| author | Artur Kwiatkowski <[email protected]> | 2013-04-22 15:21:55 +0200 |
|---|---|---|
| committer | Artur Kwiatkowski <[email protected]> | 2013-04-22 15:21:55 +0200 |
| commit | b7dcefea83d6aa92c6f78d5fb84fa9a032bc3c7f (patch) | |
| tree | c4787c817b0d8555ab02be5b5d08cb51b6505576 /less/alerts.less | |
| parent | 3861e3f5d5c0a579b1a77dc0f45131dd2499ff8b (diff) | |
| parent | e0d60b1325591a347d9e49e44be6d77401b07749 (diff) | |
| download | bootstrap-b7dcefea83d6aa92c6f78d5fb84fa9a032bc3c7f.tar.xz bootstrap-b7dcefea83d6aa92c6f78d5fb84fa9a032bc3c7f.zip | |
Merge branch '3.0.0-wip' of https://github.com/twitter/bootstrap into 3.0.0-wip
Diffstat (limited to 'less/alerts.less')
| -rw-r--r-- | less/alerts.less | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/less/alerts.less b/less/alerts.less index e3637ead9..882b25bef 100644 --- a/less/alerts.less +++ b/less/alerts.less @@ -9,10 +9,10 @@ .alert { padding: 8px 35px 8px 14px; margin-bottom: @line-height-base; - color: @state-warning-text; - background-color: @state-warning-bg; - border: 1px solid @state-warning-border; - border-radius: @border-radius-base; + color: @alert-text; + background-color: @alert-bg; + border: 1px solid @alert-border; + border-radius: @alert-border-radius; // Headings for larger alerts h4 { @@ -22,13 +22,13 @@ } // Match the hr to the border of the alert hr { - border-top-color: darken(@state-warning-border, 5%); + border-top-color: darken(@alert-border, 5%); } // Inherit color for immediate links and bolden them some > a, > p > a { font-weight: 500; - color: darken(@state-warning-text, 10%); + color: darken(@alert-text, 10%); } // Adjust close link position @@ -44,40 +44,39 @@ // ------------------------- .alert-success { - background-color: @state-success-bg; - border-color: @state-success-border; - color: @state-success-text; + background-color: @alert-success-bg; + border-color: @alert-success-border; + color: @alert-success-text; hr { - border-top-color: darken(@state-success-border, 5%); + border-top-color: darken(@alert-success-border, 5%); } > a, > p > a { - color: darken(@state-success-text, 10%); + color: darken(@alert-success-text, 10%); } } -.alert-danger, -.alert-error { - background-color: @state-danger-bg; - border-color: @state-danger-border; - color: @state-danger-text; +.alert-danger { + background-color: @alert-danger-bg; + border-color: @alert-danger-border; + color: @alert-danger-text; hr { - border-top-color: darken(@state-danger-border, 5%); + border-top-color: darken(@alert-danger-border, 5%); } > a, > p > a { - color: darken(@state-danger-text, 10%); + color: darken(@alert-danger-text, 10%); } } .alert-info { - background-color: @state-info-bg; - border-color: @state-info-border; - color: @state-info-text; + background-color: @alert-info-bg; + border-color: @alert-info-border; + color: @alert-info-text; hr { - border-top-color: darken(@state-info-border, 5%); + border-top-color: darken(@alert-info-border, 5%); } > a, > p > a { - color: darken(@state-info-text, 10%); + color: darken(@alert-info-text, 10%); } } |
