@import "tailwindcss" source(none); @source "../public/index.html"; :root { --font-sans: "Overpass", sans-serif; --immich-dark-primary: rgb(172 203 250); --immich-dark-secondary: rgb(33 33 33); --immich-dark-secondary-border: rgb(33 33 33 / .1); --selected-bg: rgb(172 203 250 / .1); --selected-border: rgb(172 203 250 / .1); --immich-dark-hover-bg: rgb(17 24 39); --immich-dark-hover-border: rgb(31 41 55); } main, #slideshow { height: 100%; display: flex; flex-direction: column; overflow: hidden; } .svgbtn { @apply bg-none border-0 p-0 cursor-pointer; } /* slideshow */ .carousel-cell { @apply h-full w-[70vw] m-3 md:w-[80vw] md:m-6; img { @apply align-middle h-full max-w-full object-contain; } } #slideshow-share, #slideshow-bottom-controls { display: flex; width: 80vw; margin: auto; justify-content: right; } #slideshow-bottom-controls { margin: 48px auto; button { width: 48px; height: 48px; margin: auto; } } /* albums */ #albums { height: 100%; overflow: scroll; margin-inline: 1rem; } #album-search { display: block; padding: 1rem; border: 0; margin: 1rem auto; width: 100%; max-width: 768px; background-color: var(--immich-dark-secondary); &:focus { outline: 2px solid rgb(55, 65, 81) } } #albums-container { grid-template-columns: repeat(auto-fill, minmax(var(--breakpoint-md), 1fr)); @apply grid w-max m-auto p-8; } #albums-container .album { border: 1px solid transparent; border-bottom: 1px solid var(--selected-border); border-top: 1px solid var(--selected-border); @apply flex relative h-40 gap-6 p-3 cursor-pointer data-selected:bg-slate-950 data-selected:hover:bg-slate-900 hover:bg-gray-900 ; } #menu a { @apply flex items-center justify-center no-underline w-full gap-4 p-3 rounded-full hover:text-blue-300 hover:fill-blue-300 data-selected:text-blue-300 data-selected:fill-blue-300 data-selected:bg-gray-900 ; }