@tailwind base;
@tailwind components;
@tailwind utilities;
:root { color-scheme: dark; }
:root:not(.dark) { color-scheme: light; }
input, select, textarea, button, [tabindex] {
outline: none !important;
}
input:focus, input:focus-visible,
select:focus, select:focus-visible,
textarea:focus, textarea:focus-visible,
button:focus, button:focus-visible {
outline: none !important;
}
input[type="date"],
input[type="datetime-local"],
input[type="time"] {
@apply bg-surface-container-low border border-outline-variant rounded-xl px-md py-sm text-on-surface w-full;
font-family: 'Inter', sans-serif;
font-size: 14px;
line-height: 1.5;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input[type="date"]:hover,
input[type="datetime-local"]:hover,
input[type="time"]:hover {
border-color: var(--outline);
}
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="time"]:focus {
border-color: var(--primary);
box-shadow: 0 0 0 1px var(--primary),
0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent);
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
filter: invert(0.5);
cursor: pointer;
opacity: 0.7;
transition: opacity 0.15s ease;
}
input[type="date"]:hover::-webkit-calendar-picker-indicator,
input[type="datetime-local"]:hover::-webkit-calendar-picker-indicator,
input[type="time"]:hover::-webkit-calendar-picker-indicator {
opacity: 1;
}
input:disabled,
select:disabled,
textarea:disabled {
outline: none !important;
box-shadow: none !important;
@apply cursor-not-allowed opacity-60;
}
#umbral-admin-content {
overflow-x: hidden;
}
html {
scrollbar-width: thin;
scrollbar-color: var(--outline-variant) var(--surface-container);
}
html ::-webkit-scrollbar,
.overflow-auto::-webkit-scrollbar,
.overflow-y-auto::-webkit-scrollbar,
.overflow-x-auto::-webkit-scrollbar,
.overflow-y-scroll::-webkit-scrollbar,
.overflow-x-scroll::-webkit-scrollbar {
width: 4px;
height: 4px;
}
html ::-webkit-scrollbar-track,
.overflow-auto::-webkit-scrollbar-track,
.overflow-y-auto::-webkit-scrollbar-track,
.overflow-x-auto::-webkit-scrollbar-track,
.overflow-y-scroll::-webkit-scrollbar-track,
.overflow-x-scroll::-webkit-scrollbar-track {
background: var(--surface-container);
}
html ::-webkit-scrollbar-thumb,
.overflow-auto::-webkit-scrollbar-thumb,
.overflow-y-auto::-webkit-scrollbar-thumb,
.overflow-x-auto::-webkit-scrollbar-thumb,
.overflow-y-scroll::-webkit-scrollbar-thumb,
.overflow-x-scroll::-webkit-scrollbar-thumb {
background: var(--outline-variant);
border-radius: 10px;
}
html ::-webkit-scrollbar-thumb:hover,
.overflow-auto::-webkit-scrollbar-thumb:hover,
.overflow-y-auto::-webkit-scrollbar-thumb:hover,
.overflow-x-auto::-webkit-scrollbar-thumb:hover {
background: var(--outline);
}
html ::-webkit-scrollbar-corner {
background: transparent;
}
.overflow-auto,
.overflow-y-auto,
.overflow-x-auto,
.overflow-y-scroll,
.overflow-x-scroll {
scrollbar-width: thin;
scrollbar-color: var(--outline-variant) var(--surface-container);
}