Port of blueprint commit 889b8e51abaaba47ba8bda2d63450859ac9c725f

Author: Christian Montoya <sirokai@gmail.com>
Date:   Wed Sep 29 15:57:48 2010 -0400

    Added .alert as synonym for .error
This commit is contained in:
Chris Eppstein 2010-11-12 11:01:41 -08:00
parent b57e7cbd8b
commit 386910ea6c
3 changed files with 7 additions and 6 deletions

View File

@ -3,6 +3,7 @@
@mixin blueprint-interaction { @mixin blueprint-interaction {
.feedback { @include feedback-base; } .feedback { @include feedback-base; }
.error { @include error(feedback); } .error { @include error(feedback); }
.alert { @extend .error; }
.notice { @include notice(feedback); } .notice { @include notice(feedback); }
.success { @include success(feedback); } .success { @include success(feedback); }
.info { @include info(feedback); } .info { @include info(feedback); }

View File

@ -664,16 +664,16 @@ input.span-24, textarea.span-24, select.span-24 {
.showgrid { .showgrid {
background: url('/images/grid.png?busted=true'); } background: url('/images/grid.png?busted=true'); }
.feedback, .error, .notice, .success, .info { .feedback, .error, .alert, .notice, .success, .info {
padding: 0.8em; padding: 0.8em;
margin-bottom: 1em; margin-bottom: 1em;
border: 2px solid #dddddd; } border: 2px solid #dddddd; }
.error { .error, .alert {
background: #fbe3e4; background: #fbe3e4;
color: #8a1f11; color: #8a1f11;
border-color: #fbc2c4; } border-color: #fbc2c4; }
.error a { .error a, .alert a {
color: #8a1f11; } color: #8a1f11; }
.notice { .notice {

View File

@ -1,13 +1,13 @@
.feedback, .error, .notice, .success, .info { .feedback, .error, .alert, .notice, .success, .info {
padding: 0.8em; padding: 0.8em;
margin-bottom: 1em; margin-bottom: 1em;
border: 2px solid #dddddd; } border: 2px solid #dddddd; }
.error { .error, .alert {
background: #fbe3e4; background: #fbe3e4;
color: #8a1f11; color: #8a1f11;
border-color: #fbc2c4; } border-color: #fbc2c4; }
.error a { .error a, .alert a {
color: #8a1f11; } color: #8a1f11; }
.notice { .notice {