fleet/frontend/components/FlashMessage/_styles.scss
2016-11-03 14:40:54 -05:00

50 lines
809 B
SCSS

.flash-message {
@include display(flex);
@include align-items(center);
@include justify-content(space-between);
@include position(fixed, 0 0 null 223px);
color: $white;
height: 50px;
padding: 0 $pad-half;
z-index: 2;
@media (max-width: 760px) {
left: 54px;
}
&--success {
background-color: $success;
}
&--error {
background-color: $alert;
}
&__action {
@include display(flex);
@include justify-content(space-between);
width: 96px;
}
&__remove {
@include size(30px);
border-radius: 50%;
color: $white;
cursor: pointer;
text-align: center;
&--success {
background-color: $success-light;
}
&--error {
background-color: $alert-light;
}
}
&__undo {
color: $white;
cursor: pointer;
}
}