summaryrefslogtreecommitdiff
path: root/web-ui/app/scss
diff options
context:
space:
mode:
authorGislene Pereira <gislene01@gmail.com>2016-02-19 14:56:09 -0300
committerNavaL <ayoyo@thoughtworks.com>2016-02-19 15:40:54 -0300
commit940df3e2e12ff862c9e190fdfcd9a0278164a318 (patch)
tree327c126f1ba7251854006e43380e3eba6122d0d1 /web-ui/app/scss
parenta6202acbb44162e867f107a9cf262d95a41e4347 (diff)
Close the compose/inline box right after user clicks Send button and
show message later when the email is sent or not. The Growl will be yellow if success and red if the email failed to be sent. Issue #609
Diffstat (limited to 'web-ui/app/scss')
-rw-r--r--web-ui/app/scss/_alerts.scss19
1 files changed, 14 insertions, 5 deletions
diff --git a/web-ui/app/scss/_alerts.scss b/web-ui/app/scss/_alerts.scss
index bd1210df..cfb31cbe 100644
--- a/web-ui/app/scss/_alerts.scss
+++ b/web-ui/app/scss/_alerts.scss
@@ -4,11 +4,20 @@
position: fixed;
z-index: 10000;
text-align: center;
- span {
- background: $warning;
+ span{
padding: 5px 60px;
- border: 1px solid darken($warning, 10%);
- color: darken($warning, 50%);
- @include box-shadow(1px 1px 3px darken($warning, 60%));
+ &.success {
+ background: $warning;
+ color: darken($warning, 50%);
+ border: 1px solid darken($warning, 10%);
+ @include box-shadow(1px 1px 3px darken($warning, 60%));
+ }
+ &.error {
+ font-weight: bold;
+ color: white;
+ background: $error;
+ border: 1px solid darken($error, 10%);
+ @include box-shadow(1px 1px 3px darken($error, 60%));
+ }
}
}