Chatwoot/app/javascript/dashboard/assets/scss/widgets/_snackbar.scss

46 lines
864 B
SCSS
Raw Normal View History

.ui-snackbar-container {
left: 0;
margin: 0 auto;
max-width: 40rem;
overflow: hidden;
position: absolute;
right: 0;
text-align: center;
top: $space-normal;
z-index: 9999;
}
.ui-snackbar {
@include padding($space-slab $space-medium);
@include shadow;
background-color: $woot-snackbar-bg;
border-radius: $space-smaller;
display: inline-block;
margin-bottom: $space-small;
max-width: 40rem;
min-height: 3rem;
min-width: 24rem;
text-align: left;
}
.ui-snackbar-text {
color: $color-white;
font-size: $font-size-small;
font-weight: $font-weight-medium;
}
.ui-snackbar-action {
margin-left: auto;
padding-left: 3rem;
button {
@include margin(0);
@include padding(0);
background: none;
2019-10-27 13:58:02 +00:00
border: 0;
color: $woot-snackbar-button;
font-size: $font-size-small;
text-transform: uppercase;
}
}