2022-05-21 09:23:55 +02:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
2022-09-17 00:23:31 +02:00
|
|
|
@font-face {
|
2023-07-01 06:50:47 +02:00
|
|
|
font-family: 'Work Sans';
|
|
|
|
src: url('$lib/assets/fonts/WorkSans-VariableFont_wght.ttf') format('truetype-variations');
|
|
|
|
font-weight: 1 999;
|
2022-09-17 00:23:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
2023-07-01 06:50:47 +02:00
|
|
|
font-family: 'Snowburst One';
|
|
|
|
src: url('$lib/assets/fonts/SnowburstOne-Regular.ttf') format('truetype');
|
2022-09-17 00:23:31 +02:00
|
|
|
}
|
|
|
|
|
2022-05-21 09:23:55 +02:00
|
|
|
:root {
|
2023-07-01 06:50:47 +02:00
|
|
|
font-family: 'Work Sans', sans-serif;
|
2023-08-05 15:58:52 +02:00
|
|
|
/* Used by layouts to ensure proper spacing between navbar and content */
|
|
|
|
--navbar-height: calc(theme(spacing.18) + 4px);
|
2022-07-23 20:08:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
2023-07-01 06:50:47 +02:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2022-07-23 20:08:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
html::-webkit-scrollbar {
|
2023-07-01 06:50:47 +02:00
|
|
|
width: 8px;
|
2022-07-23 20:08:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Track */
|
|
|
|
html::-webkit-scrollbar-track {
|
2023-07-01 06:50:47 +02:00
|
|
|
background: #f1f1f1;
|
|
|
|
border-radius: 16px;
|
2022-07-23 20:08:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Handle */
|
|
|
|
html::-webkit-scrollbar-thumb {
|
2023-07-01 06:50:47 +02:00
|
|
|
background: rgba(85, 86, 87, 0.408);
|
|
|
|
border-radius: 16px;
|
2022-07-23 20:08:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Handle on hover */
|
|
|
|
html::-webkit-scrollbar-thumb:hover {
|
2023-07-01 06:50:47 +02:00
|
|
|
background: #4250afad;
|
|
|
|
border-radius: 16px;
|
2022-05-21 09:23:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2023-07-01 06:50:47 +02:00
|
|
|
margin: 0;
|
|
|
|
color: #5f6368;
|
2022-05-21 09:23:55 +02:00
|
|
|
}
|
|
|
|
|
2022-07-26 22:13:08 +02:00
|
|
|
input:focus-visible {
|
2023-07-01 06:50:47 +02:00
|
|
|
outline-offset: 0px !important;
|
|
|
|
outline: none !important;
|
2022-07-26 22:13:08 +02:00
|
|
|
}
|
2022-08-12 21:25:19 +02:00
|
|
|
|
2023-08-21 01:36:31 +02:00
|
|
|
.text-white-shadow {
|
|
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-white-drop-shadow {
|
2023-08-23 07:20:50 +02:00
|
|
|
filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.8));
|
2023-08-21 01:36:31 +02:00
|
|
|
}
|
|
|
|
|
2022-05-21 09:23:55 +02:00
|
|
|
@layer utilities {
|
2023-07-01 06:50:47 +02:00
|
|
|
.immich-form-input {
|
2023-09-01 18:00:51 +02:00
|
|
|
@apply rounded-xl bg-slate-200 px-3 py-3 text-sm focus:border-immich-primary disabled:cursor-not-allowed disabled:bg-gray-400 disabled:text-gray-200 dark:bg-gray-600 dark:text-immich-dark-fg dark:disabled:bg-gray-800;
|
2023-07-01 06:50:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.immich-form-label {
|
|
|
|
@apply font-medium text-gray-500 dark:text-gray-300;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|
2022-07-22 16:44:22 +02:00
|
|
|
}
|