diff options
author | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-03-07 17:59:51 +0100 |
---|---|---|
committer | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-03-09 16:11:38 +0100 |
commit | d4822d8923c6e4535ee09eafb035f1b15742c637 (patch) | |
tree | a83d7b1c0032f2ce8377e19afc226fffc54b9259 /web-ui/app/scss/views | |
parent | 3994188a0e4d9468518132f179eb56fab7760fbe (diff) |
Issue #620: Spike growl CSS modularization
Diffstat (limited to 'web-ui/app/scss/views')
-rw-r--r-- | web-ui/app/scss/views/_message-panel.scss | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/web-ui/app/scss/views/_message-panel.scss b/web-ui/app/scss/views/_message-panel.scss new file mode 100644 index 00000000..4a0a7a6b --- /dev/null +++ b/web-ui/app/scss/views/_message-panel.scss @@ -0,0 +1,26 @@ +.message-panel { + width: 100%; + margin: 10px auto; + position: fixed; + z-index: 10000; + text-align: center; + + &__growl { + padding: 5px 60px; + + &--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%)); + } + } +} |