109 lines
2.4 KiB
CSS
109 lines
2.4 KiB
CSS
@import "./styles/globals.css";
|
|
|
|
@layer base {
|
|
:root {
|
|
@apply font-sans;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
@apply h-full;
|
|
}
|
|
|
|
body {
|
|
@apply m-0 min-w-[320px] bg-background text-foreground;
|
|
}
|
|
|
|
:where(button, a, input, textarea, select, [tabindex]):focus-visible {
|
|
outline: 2px solid rgb(125 211 252 / 0.95);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
.bottom-control-slider {
|
|
@apply h-8 cursor-pointer appearance-none bg-transparent outline-none;
|
|
}
|
|
|
|
.bottom-control-slider::-webkit-slider-runnable-track {
|
|
height: 0.25rem;
|
|
border-radius: 0;
|
|
background: linear-gradient(to right, rgb(255 255 255 / 0.9) var(--slider-progress), rgb(255 255 255 / 0.22) var(--slider-progress));
|
|
}
|
|
|
|
.bottom-control-slider::-webkit-slider-thumb {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
margin-top: -0.5rem;
|
|
appearance: none;
|
|
border: 1px solid rgb(255 255 255 / 0.9);
|
|
border-radius: 9999px;
|
|
background: rgb(255 255 255);
|
|
}
|
|
|
|
.bottom-control-slider::-moz-range-track {
|
|
height: 0.25rem;
|
|
border-radius: 0;
|
|
background: rgb(255 255 255 / 0.22);
|
|
}
|
|
|
|
.bottom-control-slider::-moz-range-progress {
|
|
height: 0.25rem;
|
|
border-radius: 0;
|
|
background: rgb(255 255 255 / 0.9);
|
|
}
|
|
|
|
.bottom-control-slider::-moz-range-thumb {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border: 1px solid rgb(255 255 255 / 0.9);
|
|
border-radius: 9999px;
|
|
background: rgb(255 255 255);
|
|
}
|
|
|
|
.bottom-control-slider:focus-visible::-webkit-slider-thumb {
|
|
outline: 1px solid rgb(255 255 255);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.bottom-control-slider:focus-visible::-moz-range-thumb {
|
|
outline: 1px solid rgb(255 255 255);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.subtle-scrollbar {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgb(255 255 255 / 0.16) transparent;
|
|
}
|
|
|
|
.subtle-scrollbar::-webkit-scrollbar {
|
|
width: 0.375rem;
|
|
height: 0.375rem;
|
|
}
|
|
|
|
.subtle-scrollbar::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.subtle-scrollbar::-webkit-scrollbar-thumb {
|
|
border-radius: 9999px;
|
|
background: rgb(255 255 255 / 0.12);
|
|
}
|
|
|
|
.subtle-scrollbar:hover::-webkit-scrollbar-thumb {
|
|
background: rgb(255 255 255 / 0.22);
|
|
}
|
|
}
|