bigbuffet-rw/app/styles/components/snackbar.scss

55 lines
896 B
SCSS
Raw Normal View History

.notification-list {
position: fixed;
bottom: var(--thumb-navigation-height);
z-index: 1000; /* Above ThumbNavigation */
width: 100%;
@media (min-width: 895px) {
bottom: 0;
}
}
2020-09-21 20:56:15 -07:00
.snackbar {
2020-09-28 16:41:35 -07:00
font-size: 16px !important;
padding: 10px 20px 10px 14px !important;
position: absolute !important;
2020-09-28 16:41:35 -07:00
display: flex;
align-items: center;
justify-content: center;
&::before {
2021-09-27 14:45:34 -07:00
font-family: 'Font Awesome 5 Free';
2021-09-29 14:14:29 -07:00
font-weight: 900;
2020-09-28 16:41:35 -07:00
font-size: 20px;
margin-right: 8px;
}
&--info {
background-color: #19759e !important;
2020-09-28 16:41:35 -07:00
&::before {
2021-09-27 14:45:34 -07:00
content: '\f05a';
2020-09-28 16:41:35 -07:00
}
}
2020-09-21 20:56:15 -07:00
&--success {
2020-09-28 16:41:35 -07:00
background-color: #199e5a !important;
&::before {
2021-09-27 14:45:34 -07:00
content: '\f00c';
2020-09-28 16:41:35 -07:00
}
}
&--error {
background-color: #9e1919 !important;
2020-09-28 16:41:35 -07:00
&::before {
2021-09-27 14:45:34 -07:00
content: '\f05e';
2020-09-28 16:41:35 -07:00
}
}
.notification-bar-wrapper {
transform: translateY(1px);
2020-09-21 20:56:15 -07:00
}
}