cartodb-4.42/app/assets/stylesheets/old_elements/flash.css.scss

38 lines
657 B
SCSS
Raw Normal View History

2024-04-06 13:25:13 +08:00
/*
* Flash message after a confirmation action
*/
@import "../old_common/common-sprite";
@import "../old_common/mixins";
.flash {
position: relative;
padding: 22px 40px;
border-bottom: 1px solid rgba(#CCC, 0.5);
background: rgba(#FA9494, 0.15);
&.success {
background: rgba(green, 0.1);
}
a.close {
@include common-sprite(close_grey);
@include text-indent();
position: absolute;
top: 24px;
right: 40px;
width: 13px;
height: 13px;
&:hover {
@include common-sprite(close_grey, $offset-y: -13px);
}
&:active {
@include common-sprite(close_grey, $offset-y: -26px);
}
}
}