Files
Admin_dash/app/globals.css
Shivam Patel 4ee365cfc0 Fix RSS time filters and add draggable grid layout
Normalize pub_date to ISO 8601 on insert so SQLite datetime comparisons
work correctly. Migrate existing RFC 2822 dates. Change 1h filter to 12h.
Add react-grid-layout with persistent drag/resize and reset button.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 17:51:06 -05:00

72 lines
1.5 KiB
CSS

@import "react-grid-layout/css/styles.css";
@import "react-resizable/css/styles.css";
@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;
}