Files
Admin_dash/app/globals.css

72 lines
1.5 KiB
CSS
Raw Normal View History

@import "react-grid-layout/css/styles.css";
@import "react-resizable/css/styles.css";
2026-02-08 02:32:45 -05:00
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #171717;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
}
/* Thin scrollbar for widget overflow areas */
.scrollbar-thin {
scrollbar-width: thin;
scrollbar-color: #404040 transparent;
}
.scrollbar-thin::-webkit-scrollbar {
width: 4px;
}
.scrollbar-thin::-webkit-scrollbar-track {
background: transparent;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
background: #404040;
border-radius: 2px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
background: #525252;
}
/* react-grid-layout dark theme overrides */
.react-grid-item > .react-resizable-handle::after {
border-right-color: #525252;
border-bottom-color: #525252;
}
.react-grid-item > .react-resizable-handle:hover::after {
border-right-color: #a1a1aa;
border-bottom-color: #a1a1aa;
}
.react-grid-item.react-grid-placeholder {
background: rgba(245, 158, 11, 0.15);
border: 1px dashed rgba(245, 158, 11, 0.4);
border-radius: 0.75rem;
}
.react-grid-item {
transition: all 200ms ease;
}
.widget-drag-handle {
cursor: grab;
}
.widget-drag-handle:active {
cursor: grabbing;
}