app/assets/stylesheets/alchemy/flash.scss in alchemy_cms-2.5.0.b9 vs app/assets/stylesheets/alchemy/flash.scss in alchemy_cms-2.5.0.rc3
- old
+ new
@@ -2,10 +2,25 @@
position: fixed;
right: 0;
z-index: 400000;
width: 348px;
top: 0;
+
+ .flash.error {
+ cursor: pointer;
+ padding-right: 24px;
+
+ &:after {
+ content: '';
+ position: absolute;
+ right: 2*$default-padding;
+ top: 2*$default-padding;
+ width: 16px;
+ height: 16px;
+ background: url(ui-icons_666666_256x240.png) -96px -128px no-repeat;
+ }
+ }
}
div.flash {
@include rounded-corner;
@include opacity(0.95);
@@ -32,29 +47,18 @@
&.error {
border-color: $error_border_color;
color: $error_text_color;
background-color: $error_background_color;
- cursor: pointer;
-
- &:after {
- content: '';
- position: absolute;
- right: 2*$default-padding;
- top: 2*$default-padding;
- width: 16px;
- height: 16px;
- background: url(ui-icons_666666_256x240.png) -96px -128px no-repeat;
- }
}
&.info {
border-color: #8392b5;
color: #233772;
background-color: #cadbf3;
}
- &.warn, &.warning {
+ &.warn, &.warning, &.alert {
border-color: #c4c19c;
color: #726d23;
background-color: #f3f0c1;
}
}