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

60 lines
1.2 KiB
SCSS
Raw Normal View History

.notification-list {
2022-03-28 07:36:43 -07:00
@apply w-full flex flex-col items-center space-y-2 sm:items-end z-[1001] relative;
}
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 {
2022-03-23 08:32:27 -07:00
@apply p-4 flex items-center justify-between w-full space-x-2;
2022-03-21 11:09:01 -07:00
}
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
}
2022-03-23 08:32:27 -07:00
.notification-bar-action a {
@apply inline-flex items-center px-2.5 py-1 border border-solid border-gray-300
shadow-sm text-xs font-medium rounded-full text-gray-700 bg-white
hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2
focus:ring-primary-500;
}