mirror of
https://github.com/fleetdm/fleet
synced 2026-05-19 06:58:30 +00:00
50 lines
809 B
SCSS
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;
|
|
}
|
|
}
|
|
|