mirror of
https://github.com/immich-app/immich.git
synced 2025-03-18 02:31:28 -05:00
* stlye: forms * style: navigation bar * style: user profile popup * style: context menu * fix: prettier * style: manage account dark theme color * style: user profile image border; fix: profile panel z-index * style: border for profile image on hover and scrolling in administration page * style: font size * style: gap between day in a row
116 lines
3.1 KiB
CSS
116 lines
3.1 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@font-face {
|
|
font-family: 'Work Sans';
|
|
src: url('$lib/assets/fonts/WorkSans-VariableFont_wght.ttf') format('truetype-variations');
|
|
font-weight: 1 999;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Snowburst One';
|
|
src: url('$lib/assets/fonts/SnowburstOne-Regular.ttf') format('truetype');
|
|
}
|
|
|
|
:root {
|
|
font-family: 'Work Sans', sans-serif;
|
|
/* --immich-icon-button-hover-color: #d3d3d3; */
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
html::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
/* Track */
|
|
html::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
/* Handle */
|
|
html::-webkit-scrollbar-thumb {
|
|
background: rgba(85, 86, 87, 0.408);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
/* Handle on hover */
|
|
html::-webkit-scrollbar-thumb:hover {
|
|
background: #4250afad;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
color: #5f6368;
|
|
}
|
|
|
|
input:focus-visible {
|
|
outline-offset: 0px !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
@layer utilities {
|
|
.immich-form-input {
|
|
@apply bg-slate-200 p-4 rounded-xl focus:border-immich-primary text-sm dark:bg-gray-600 dark:text-immich-dark-fg disabled:bg-gray-400 dark:disabled:bg-gray-800 disabled:cursor-not-allowed disabled:text-gray-200;
|
|
}
|
|
|
|
.immich-form-label {
|
|
@apply font-medium text-gray-500 dark:text-gray-300;
|
|
}
|
|
|
|
.immich-btn-primary {
|
|
@apply bg-immich-primary dark:bg-immich-dark-primary dark:text-immich-dark-gray text-gray-100 border dark:border-immich-dark-gray rounded-xl py-2 px-4 transition-all duration-150 hover:bg-immich-primary dark:hover:bg-immich-dark-primary/90 hover:shadow-lg text-sm font-medium;
|
|
}
|
|
|
|
.immich-btn-primary-big {
|
|
@apply inline-flex justify-center items-center bg-immich-primary dark:bg-immich-dark-primary dark:text-immich-dark-gray text-white enabled:dark:hover:bg-immich-dark-primary/80 enabled:hover:bg-immich-primary/75 disabled:cursor-not-allowed px-6 py-4 rounded-3xl shadow-md w-full font-semibold;
|
|
}
|
|
|
|
.immich-btn-secondary-big {
|
|
@apply inline-flex justify-center items-center bg-gray-500 dark:bg-gray-200 text-white enabled:hover:bg-gray-500/75 enabled:dark:hover:bg-gray-200/80 dark:text-immich-dark-gray disabled:cursor-not-allowed px-6 py-4 rounded-3xl shadow-md w-full font-semibold;
|
|
}
|
|
|
|
.immich-text-button {
|
|
@apply flex place-items-center place-content-center gap-2 hover:bg-immich-primary/5 p-2 rounded-lg font-medium;
|
|
}
|
|
|
|
/* width */
|
|
.immich-scrollbar::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
/* Track */
|
|
.immich-scrollbar::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
/* Handle */
|
|
.immich-scrollbar::-webkit-scrollbar-thumb {
|
|
background: rgba(85, 86, 87, 0.408);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
/* Handle on hover */
|
|
.immich-scrollbar::-webkit-scrollbar-thumb:hover {
|
|
background: #4250afad;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
/* Hidden scrollbar */
|
|
/* width */
|
|
.scrollbar-hidden::-webkit-scrollbar {
|
|
display: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.job-play-button {
|
|
@apply h-full flex flex-col place-items-center place-content-center px-8 text-gray-600 transition-all hover:bg-immich-primary hover:text-white dark:text-gray-200 dark:hover:bg-immich-dark-primary text-sm dark:hover:text-black w-[120px] gap-2;
|
|
}
|
|
}
|