Chatwoot/app/javascript/dashboard/assets/scss/widgets/_status-bar.scss

47 lines
912 B
SCSS
Raw Normal View History

.status-bar {
@include flex;
@include flex-align($x: center, $y: middle);
background: lighten($warning-color, 36%);
flex-direction: column;
margin: 0;
padding: $space-normal $space-smaller;
.message {
font-weight: $font-weight-medium;
margin-bottom: $zero;
}
.button {
margin: $space-smaller $zero $zero;
padding: $space-small $space-normal;
}
&.danger {
background: lighten($alert-color, 30%);
.button {
2019-11-01 08:14:03 +00:00
// Default and disabled states
&,
&.disabled,
&[disabled],
&.disabled:hover,
&[disabled]:hover,
&.disabled:focus,
&[disabled]:focus {
2019-11-01 08:14:03 +00:00
background-color: $alert-color;
color: $color-white;
}
&:hover,
&:focus {
2019-11-01 08:14:03 +00:00
background-color: darken($alert-color, 7%);
color: $color-white;
}
}
}
&.warning {
background: lighten($warning-color, 36%);
}
}