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

53 lines
922 B
SCSS
Raw Normal View History

.notification-list {
2022-03-21 11:09:01 -07:00
@apply w-full flex flex-col items-center space-y-2 sm:items-end;
}
2022-03-21 11:09:01 -07:00
.notification-bar {
@apply max-w-sm w-full flex flex-row items-center bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden;
2020-09-28 16:41:35 -07:00
&::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;
}
2022-03-21 11:09:01 -07:00
}
2020-09-28 16:41:35 -07:00
2022-03-21 11:09:01 -07:00
.notification-bar-success {
@apply text-success-500;
2020-09-28 16:41:35 -07:00
2022-03-21 11:09:01 -07:00
&::before {
@apply ml-4;
content: '\f058';
}
2022-03-21 11:09:01 -07:00
}
2022-03-21 11:09:01 -07:00
.notification-bar-error {
@apply text-danger-500 ml-4;
2020-09-28 16:41:35 -07:00
2022-03-21 11:09:01 -07:00
&::before {
@apply ml-4;
content: '\f057';
2020-09-28 16:41:35 -07:00
}
2022-03-21 11:09:01 -07:00
}
2020-09-28 16:41:35 -07:00
2022-03-21 11:09:01 -07:00
.notification-bar-info {
@apply text-primary-500 ml-4;
2020-09-28 16:41:35 -07:00
2022-03-21 11:09:01 -07:00
&::before {
@apply ml-4;
content: '\f05a';
2020-09-28 16:41:35 -07:00
}
2022-03-21 11:09:01 -07:00
}
2020-09-28 16:41:35 -07:00
2022-03-21 11:09:01 -07:00
.notification-bar-wrapper {
@apply p-4 flex items-start;
}
2022-03-21 11:09:01 -07:00
.notification-bar-title {
@apply mb-1 text-sm font-medium text-gray-900;
}
2022-03-21 11:09:01 -07:00
.notification-bar-message {
@apply text-sm text-gray-700;
2020-09-21 20:56:15 -07:00
}