Files
project-minnesota/resources/css/app.css

97 lines
2.0 KiB
CSS
Raw Normal View History

2024-05-23 16:51:55 +02:00
@import 'filepond/dist/filepond.min.css';
@import 'filepond-plugin-image-preview/dist/filepond-plugin-image-preview.css';
2024-06-07 16:26:15 +02:00
@import 'photoswipe/dist/photoswipe.css';
2024-05-23 16:51:55 +02:00
2024-05-15 12:28:03 +02:00
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer utilities {
.paused {
animation-play-state: paused;
}
}
2024-05-23 16:51:55 +02:00
@media screen(sm) {
.filepond--item {
width: calc(50% - 0.5em);
}
}
@media screen(md) {
.filepond--item {
width: calc(25% - 1em);
}
}
.filepond--panel-root {
@apply bg-gray-50 dark:bg-gray-700 !important;
}
.filepond--drop-label {
@apply text-gray-900 dark:text-white;
2024-06-01 03:10:30 +02:00
}
2024-06-07 16:26:15 +02:00
.pswp__bg {
2024-06-12 19:51:41 +02:00
@apply backdrop-blur-md bg-white/30 dark:bg-gray-800/50;
2024-06-07 16:26:15 +02:00
}
.pswp__top-bar {
2024-06-21 19:27:40 +02:00
@apply fixed bottom-2 top-auto w-auto left-1/2 -translate-x-1/2 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800 border border-gray-200 dark:border-gray-600;
2024-06-07 16:26:15 +02:00
}
.pswp__button {
width: 60px;
}
2024-06-12 19:51:41 +02:00
.pswp--zoomed-in .pswp__zoom-icn-bar-b {
display: block;
}
2024-06-21 19:27:40 +02:00
.pswp__preloader {
display: none;
}
.pswp__counter {
@apply text-base text-gray-900 dark:text-white content-center px-2;
text-shadow: none;
}
#toaster {
z-index: 100001;
}
#toaster[data-expanded="true"] {
height: var(--full-height);
}
#toaster>div {
--scale: var(--index) * 0.05 + 1;
transform: translate(var(--swipe-amount, 0px), calc(14px * var(--index) + var(--front-toast-height) - 100%)) scale(calc(-1 * var(--scale)));
touch-action: none;
will-change: transform, opacity;
cursor: grab;
}
#toaster>div[data-swiping="true"] {
cursor: grabbing;
}
#toaster>div[data-removed="true"],
#toaster>div[data-hidden="true"] {
opacity: 0;
}
#toaster[data-expanded="true"]>div[data-hidden="true"] {
opacity: 100;
}
#toaster[data-expanded="true"]>div[data-front="true"],
#toaster:hover>div[data-front="true"] {
transform: translate(var(--swipe-amount, 0px), 0);
}
#toaster[data-expanded="true"]>div,
#toaster:hover>div {
transform: translate(var(--swipe-amount, 0px), calc(var(--index) * 14px + var(--offset))) scale(1);
}