Commit 37cf2eb691b19998b69b8ad9bf8489837d00c81a
1 parent
11ecf007
Exists in
master
and in
4 other branches
More readable notice/alert messages
Showing
2 changed files
with
21 additions
and
10 deletions
Show diff stats
app/assets/stylesheets/common.scss
@@ -46,15 +46,26 @@ table a code { | @@ -46,15 +46,26 @@ table a code { | ||
46 | /** FLASH message **/ | 46 | /** FLASH message **/ |
47 | .flash-container { | 47 | .flash-container { |
48 | display: none; | 48 | display: none; |
49 | - .alert { | ||
50 | - cursor: pointer; | ||
51 | - margin: 0; | ||
52 | - text-align: center; | ||
53 | - border-radius: 0; | 49 | + cursor: pointer; |
50 | + margin: 0; | ||
51 | + text-align: center; | ||
52 | + border-radius: 0; | ||
53 | + color: #fff; | ||
54 | 54 | ||
55 | - span { | ||
56 | - font-size: 14px; | ||
57 | - } | 55 | + span { |
56 | + font-size: 14px; | ||
57 | + } | ||
58 | + | ||
59 | + .flash-notice { | ||
60 | + background: #49C; | ||
61 | + padding: 10px; | ||
62 | + text-shadow: 0 1px 1px #178; | ||
63 | + } | ||
64 | + | ||
65 | + .flash-alert { | ||
66 | + background: #C67; | ||
67 | + text-shadow: 0 1px 1px #945; | ||
68 | + padding: 10px; | ||
58 | } | 69 | } |
59 | } | 70 | } |
60 | 71 |
app/views/layouts/_flash.html.haml