linkding/bookmarks/styles/theme/toasts.css

36 lines
553 B
CSS
Raw Normal View History

/* Toasts */
.toast {
2024-09-23 09:04:36 +00:00
background: var(--gray-600);
border-radius: var(--border-radius);
color: var(--contrast-text-color);
display: block;
padding: var(--layout-spacing);
width: 100%;
2024-09-23 09:04:36 +00:00
&.toast-primary {
background: var(--primary-color);
}
2024-09-23 09:04:36 +00:00
&.toast-success {
background: var(--success-color);
}
2024-09-23 09:04:36 +00:00
&.toast-warning {
background: var(--warning-color);
}
2024-09-23 09:04:36 +00:00
&.toast-error {
background: var(--error-color);
}
2024-09-23 09:04:36 +00:00
.btn-clear {
margin: var(--unit-h);
}
2024-09-23 09:04:36 +00:00
p {
&:last-child {
margin-bottom: 0;
}
2024-09-23 09:04:36 +00:00
}
}