Download app/static/css/dashboard/dashboard-base.css from paisaly/backend: direct link, hf CLI and curl.
- Browser
- Download file 20 kB
-
https://huggingface.co/spaces/paisaly/backend/resolve/main/app/static/css/dashboard/dashboard-base.css
- Command line
-
hf download hf://spaces/paisaly/backend/app/static/css/dashboard/dashboard-base.css
-
curl -L -o dashboard-base.css https://huggingface.co/spaces/paisaly/backend/resolve/main/app/static/css/dashboard/dashboard-base.css
20 kB
| @import url('https://fonts.googleapis.com/css2?family=Allerta+Stencil&display=swap'); | |
| :root { | |
| /* Z-Index Scale */ | |
| --z-dropdown: 100; | |
| --z-sticky: 200; | |
| --z-overlay: 1000; | |
| --z-modal: 2000; | |
| --z-notification: 3000; | |
| --z-max: 9999; | |
| /* Status Colors */ | |
| --color-danger: #ef4444; | |
| --color-danger-hover: #dc2626; | |
| --color-success: #22c55e; | |
| --color-warning: #f59e0b; | |
| --color-info: #6366f1; | |
| } | |
| body::-webkit-scrollbar { | |
| display: none; | |
| } | |
| body::-webkit-scrollbar-track { | |
| background-color: transparent; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| -webkit-tap-highlight-color: transparent; | |
| } | |
| body { | |
| font-family: 'Allerta Stencil', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| background-attachment: fixed; | |
| background-repeat: no-repeat; | |
| background-color: #333; | |
| -ms-overflow-style: none; | |
| } | |
| /* Dashboard Layout Variables */ | |
| :root { | |
| --sidebar-width: 260px; | |
| --sidebar-collapsed-width: 80px; | |
| --dashboard-bg: #090d1a; | |
| --sidebar-bg: rgba(15, 20, 40, 0.52); | |
| --border-color: rgba(255, 255, 255, 0.10); | |
| --text-primary: #ffffff; | |
| --text-secondary: rgba(255, 255, 255, 0.70); | |
| --accent-primary: #7c3aed; | |
| --accent-secondary: #2563eb; | |
| --hover-bg: rgba(255, 255, 255, 0.08); | |
| --active-bg: rgba(124, 58, 237, 0.15); | |
| --radius-lg: 16px; | |
| --radius-md: 12px; | |
| --radius-sm: 8px; | |
| --transition-speed: 0.2s; | |
| --transition-easing: cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| /* Reset body for dashboard */ | |
| body.dashboard-layout { | |
| margin: 0; | |
| padding: 0; | |
| font-family: 'Nata Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif; | |
| font-optical-sizing: auto; | |
| font-weight: 400; | |
| background: radial-gradient(1000px 600px at -10% -10%, rgba(124, 58, 237, 0.18), transparent 60%), | |
| radial-gradient(900px 600px at 110% 0%, rgba(37, 99, 235, 0.16), transparent 60%), | |
| linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)); | |
| background-color: var(--dashboard-bg); | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| /* Dashboard Wrapper */ | |
| .dashboard-wrapper { | |
| display: flex; | |
| min-height: 100vh; | |
| position: relative; | |
| } | |
| /* Sidebar Styles */ | |
| .dashboard-sidebar { | |
| width: var(--sidebar-width); | |
| height: 100vh; | |
| position: fixed; | |
| left: 0; | |
| top: 0; | |
| background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)); | |
| backdrop-filter: blur(20px) saturate(1.2); | |
| border-right: 1px solid var(--border-color); | |
| display: flex; | |
| flex-direction: column; | |
| transition: width var(--transition-speed) var(--transition-easing); | |
| z-index: var(--z-dropdown); | |
| } | |
| .dashboard-sidebar.collapsed { | |
| width: var(--sidebar-collapsed-width); | |
| } | |
| /* Sidebar Header */ | |
| .sidebar-header { | |
| padding: 20px; | |
| border-bottom: 1px solid var(--border-color); | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .sidebar-brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| text-decoration: none; | |
| color: var(--text-primary); | |
| transition: opacity 0.2s; | |
| } | |
| .sidebar-brand:hover { | |
| opacity: 0.8; | |
| } | |
| .brand-logo { | |
| transition: opacity var(--transition-speed) var(--transition-easing), width var(--transition-speed) var(--transition-easing); | |
| } | |
| .brand-logo img { | |
| height: 26px; | |
| margin-top: 5px; | |
| flex-shrink: 0; | |
| } | |
| /* Show the full logo-with-text when expanded, swap to the square favicon | |
| when collapsed. Both imgs are rendered so no flash on toggle. */ | |
| .brand-logo-icon { | |
| display: none; | |
| height: 28px ; | |
| width: 28px; | |
| margin-top: 0 ; | |
| } | |
| .collapsed .brand-logo-full { | |
| display: none; | |
| } | |
| .collapsed .brand-logo-icon { | |
| display: block; | |
| } | |
| .brand-text { | |
| font-size: 20px; | |
| font-weight: 700; | |
| letter-spacing: -0.5px; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| transition: opacity var(--transition-speed) var(--transition-easing), width var(--transition-speed) var(--transition-easing); | |
| } | |
| /* Collapsed: stack logo + toggle in the same slot and crossfade on hover. | |
| Logo is visible at rest; hovering the header reveals the expand button. | |
| `pointer-events: none` on the logo lets clicks on the logo-area pass | |
| through to the toggle button underneath, so clicking "the logo" expands | |
| the sidebar without needing to hover first. */ | |
| .collapsed .sidebar-header { | |
| position: relative; | |
| justify-content: center; | |
| } | |
| .collapsed .sidebar-brand { | |
| position: absolute; | |
| inset: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| opacity: 1; | |
| pointer-events: none; | |
| transition: opacity 0.15s ease; | |
| } | |
| .collapsed .sidebar-header:hover .sidebar-brand { | |
| opacity: 0; | |
| } | |
| .sidebar-toggle { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| padding: 8px; | |
| border-radius: var(--radius-sm); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: background 0.2s, color 0.2s; | |
| font-size: 20px; | |
| } | |
| .sidebar-toggle:hover { | |
| background: var(--hover-bg); | |
| color: var(--text-primary); | |
| } | |
| .sidebar-toggle i { | |
| transition: transform 0.3s; | |
| } | |
| /* When collapsed, center the toggle button */ | |
| .collapsed .sidebar-header { | |
| padding: 20px 15px; | |
| } | |
| /* Toggle is always rendered + clickable; opacity fades in on header hover. */ | |
| .collapsed .sidebar-toggle { | |
| flex-shrink: 0; | |
| margin: 0 auto; | |
| opacity: 0; | |
| transition: opacity 0.15s ease; | |
| } | |
| .collapsed .sidebar-header:hover .sidebar-toggle, | |
| .collapsed .sidebar-toggle:focus, | |
| .collapsed .sidebar-toggle:focus-visible { | |
| opacity: 1; | |
| } | |
| /* Sidebar Navigation */ | |
| .sidebar-nav { | |
| flex: 1; | |
| padding: 20px 12px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| overflow-y: auto; | |
| } | |
| .sidebar-bottom-links { | |
| padding: 0 12px 12px 12px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| } | |
| .nav-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 12px 16px; | |
| border-radius: var(--radius-sm); | |
| color: var(--text-secondary); | |
| text-decoration: none; | |
| transition: all 0.2s; | |
| position: relative; | |
| white-space: nowrap; | |
| } | |
| .nav-item i { | |
| width: 20px; | |
| height: 20px; | |
| flex-shrink: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 20px; | |
| } | |
| .nav-text { | |
| transition: opacity var(--transition-speed) var(--transition-easing); | |
| } | |
| .collapsed .nav-text { | |
| opacity: 0; | |
| width: 0; | |
| overflow: hidden; | |
| } | |
| .nav-item:hover { | |
| background: var(--hover-bg); | |
| color: var(--text-primary); | |
| } | |
| .nav-item.active { | |
| background: var(--active-bg); | |
| color: var(--accent-primary); | |
| } | |
| .nav-item.active::before { | |
| content: ''; | |
| position: absolute; | |
| left: 0; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| width: 3px; | |
| height: 24px; | |
| background: var(--accent-primary); | |
| border-radius: 0 3px 3px 0; | |
| } | |
| /* Collapsed sidebar tooltips - handled by Tippy.js */ | |
| .collapsed .nav-item { | |
| position: relative; | |
| } | |
| /* Custom Tippy.js theme for dashboard tooltips */ | |
| .tippy-box[data-theme~='dark'] { | |
| background: rgba(0, 0, 0, 0.8); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: var(--radius-sm); | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); | |
| font-size: 14px; | |
| backdrop-filter: blur(10px); | |
| } | |
| .tippy-box[data-theme~='dark'] .tippy-arrow { | |
| color: rgba(0, 0, 0, 0.8); | |
| } | |
| .tippy-box[data-theme~='dark'] .tippy-content { | |
| padding: 8px 12px; | |
| color: white; | |
| font-weight: 500; | |
| } | |
| /* Sidebar Footer */ | |
| .sidebar-footer { | |
| padding: 12px; | |
| border-top: 1px solid var(--border-color); | |
| margin-top: auto; | |
| } | |
| .profile-dropdown.dropdown { | |
| position: relative; | |
| display: block; | |
| } | |
| .profile-button { | |
| width: 100%; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 10px; | |
| background: transparent; | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--radius-md); | |
| color: var(--text-primary); | |
| cursor: pointer; | |
| transition: background 0.2s, border-color 0.2s, gap 0.2s; | |
| } | |
| .profile-button:hover { | |
| background: var(--hover-bg); | |
| border-color: rgba(255, 255, 255, 0.2); | |
| } | |
| .collapsed .profile-button { | |
| gap: 0; | |
| } | |
| .profile-avatar { | |
| width: 36px; | |
| height: 36px; | |
| border-radius: 50%; | |
| background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 600; | |
| font-size: 14px; | |
| flex-shrink: 0; | |
| overflow: hidden; | |
| position: relative; | |
| } | |
| .profile-image { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| border-radius: 50%; | |
| } | |
| .profile-initials { | |
| color: white; | |
| font-weight: 600; | |
| font-size: 14px; | |
| } | |
| .profile-info { | |
| flex: 1; | |
| min-width: 0; | |
| text-align: left; | |
| overflow: hidden; | |
| white-space: nowrap; | |
| transition: opacity var(--transition-speed) var(--transition-easing), flex var(--transition-speed) var(--transition-easing); | |
| } | |
| .collapsed .profile-info { | |
| opacity: 0; | |
| flex: 0; | |
| width: 0; | |
| margin: 0; | |
| } | |
| .profile-name { | |
| display: block; | |
| font-size: 14px; | |
| font-weight: 600; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .profile-plan { | |
| display: block; | |
| font-size: 12px; | |
| color: var(--text-secondary); | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .profile-chevron { | |
| transition: transform var(--transition-speed) var(--transition-easing), opacity var(--transition-speed) var(--transition-easing), width var(--transition-speed) var(--transition-easing); | |
| color: var(--text-secondary); | |
| font-size: 18px; | |
| width: 18px; | |
| overflow: hidden; | |
| } | |
| .collapsed .profile-chevron { | |
| opacity: 0; | |
| width: 0; | |
| } | |
| .profile-dropdown > .profile-menu { | |
| /* Opens upward — override primitive's default top placement. */ | |
| top: auto; | |
| bottom: 100%; | |
| left: 0; | |
| right: 0; | |
| margin-bottom: 8px; | |
| background: rgba(20, 25, 40, 0.98); | |
| padding: 8px; | |
| transform: translateY(10px); | |
| box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4); | |
| } | |
| .profile-dropdown.is-open > .profile-menu { | |
| transform: translateY(0); | |
| } | |
| .collapsed .profile-dropdown > .profile-menu { | |
| left: 100%; | |
| right: auto; | |
| bottom: 0; | |
| margin-left: 8px; | |
| margin-bottom: 0; | |
| width: 200px; | |
| } | |
| .menu-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 10px 12px; | |
| border-radius: var(--radius-sm); | |
| color: var(--text-secondary); | |
| text-decoration: none; | |
| background: none; | |
| border: none; | |
| width: 100%; | |
| text-align: left; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| font-size: 14px; | |
| } | |
| .menu-item:hover { | |
| background: var(--hover-bg); | |
| color: var(--text-primary); | |
| } | |
| .menu-item[onclick*="logout"]:hover { | |
| background: rgba(239, 68, 68, 0.1); | |
| color: #ef4444; | |
| } | |
| .menu-item i { | |
| width: 18px; | |
| height: 18px; | |
| flex-shrink: 0; | |
| font-size: 18px; | |
| } | |
| .menu-divider { | |
| height: 1px; | |
| background: var(--border-color); | |
| margin: 8px 0; | |
| } | |
| .profile-button.is-active .profile-chevron { | |
| transform: rotate(180deg); | |
| } | |
| /* Main Content Area */ | |
| .dashboard-main { | |
| flex: 1; | |
| margin-left: var(--sidebar-width); | |
| transition: margin-left var(--transition-speed) var(--transition-easing); | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .collapsed~.dashboard-main { | |
| margin-left: var(--sidebar-collapsed-width); | |
| } | |
| .dashboard-content { | |
| flex: 1; | |
| padding: 32px; | |
| max-width: 1400px; | |
| width: 100%; | |
| margin: 0 auto; | |
| } | |
| /* Page Header */ | |
| .page-header { | |
| margin-bottom: 32px; | |
| } | |
| .page-title { | |
| font-size: 32px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| margin: 0 0 8px 0; | |
| } | |
| .page-subtitle { | |
| font-size: 16px; | |
| color: var(--text-secondary); | |
| margin: 0; | |
| } | |
| /* Surface containers */ | |
| .surface { | |
| background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)); | |
| backdrop-filter: blur(20px); | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--radius-lg); | |
| padding: 24px; | |
| margin-bottom: 24px; | |
| } | |
| /* Mobile Header */ | |
| .mobile-header { | |
| display: none; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 60px; | |
| background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)); | |
| backdrop-filter: blur(20px) saturate(1.2); | |
| border-bottom: 1px solid var(--border-color); | |
| z-index: var(--z-sticky); | |
| padding: 0 16px; | |
| align-items: center; | |
| justify-content: space-between; | |
| transition: opacity 0.3s ease, visibility 0.3s ease; | |
| } | |
| /* Hide mobile header when sidebar is open */ | |
| .mobile-header.sidebar-open { | |
| opacity: 0; | |
| visibility: hidden; | |
| } | |
| .mobile-menu-toggle { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-primary); | |
| cursor: pointer; | |
| padding: 8px; | |
| border-radius: var(--radius-sm); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 24px; | |
| transition: background 0.2s, color 0.2s; | |
| } | |
| .mobile-menu-toggle:hover { | |
| background: var(--hover-bg); | |
| } | |
| .mobile-brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| text-decoration: none; | |
| color: var(--text-primary); | |
| font-size: 18px; | |
| font-weight: 700; | |
| letter-spacing: -0.5px; | |
| } | |
| .mobile-brand img { | |
| /* width: 28px; */ | |
| height: 26px; | |
| } | |
| /* Sidebar Overlay */ | |
| .sidebar-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: rgba(0, 0, 0, 0.6); | |
| opacity: 0; | |
| visibility: hidden; | |
| transition: all 0.3s ease; | |
| z-index: var(--z-sticky); | |
| backdrop-filter: blur(4px); | |
| } | |
| .sidebar-overlay.active { | |
| opacity: 1; | |
| visibility: visible; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| /* Show mobile header */ | |
| .mobile-header { | |
| display: flex; | |
| } | |
| /* Hide desktop sidebar toggle in mobile */ | |
| .sidebar-toggle { | |
| display: none; | |
| } | |
| /* Mobile sidebar positioning */ | |
| .dashboard-sidebar { | |
| position: fixed; | |
| left: 0; | |
| top: 0; | |
| height: 100vh; | |
| transform: translateX(-100%); | |
| transition: transform var(--transition-speed) var(--transition-easing); | |
| z-index: var(--z-sticky); | |
| /* Remove collapsed width behavior on mobile */ | |
| width: 280px ; | |
| } | |
| /* Never show collapsed state on mobile */ | |
| .dashboard-sidebar.collapsed { | |
| width: 280px ; | |
| transform: translateX(-100%); | |
| } | |
| /* Show sidebar when mobile-open — stack above the overlay so its | |
| backdrop-filter doesn't smear the sidebar content. */ | |
| .dashboard-sidebar.mobile-open { | |
| transform: translateX(0); | |
| z-index: calc(var(--z-sticky) + 1); | |
| } | |
| /* Always show nav text on mobile */ | |
| .dashboard-sidebar .nav-text, | |
| .dashboard-sidebar .brand-text, | |
| .dashboard-sidebar .profile-info, | |
| .dashboard-sidebar .profile-chevron { | |
| opacity: 1 ; | |
| width: auto ; | |
| overflow: visible ; | |
| } | |
| /* Always show sidebar brand on mobile */ | |
| .dashboard-sidebar .sidebar-brand { | |
| display: flex ; | |
| } | |
| /* Force the full logo even when the desktop-collapsed state is cached. */ | |
| .dashboard-sidebar.collapsed .brand-logo-full { | |
| display: block; | |
| } | |
| .dashboard-sidebar.collapsed .brand-logo-icon { | |
| display: none; | |
| } | |
| /* Main content adjustments */ | |
| .dashboard-main { | |
| margin-left: 0 ; | |
| /* Override collapsed state margin */ | |
| padding-top: 60px; | |
| /* Account for mobile header */ | |
| } | |
| /* Ensure collapsed sidebar doesn't affect main content on mobile */ | |
| .collapsed~.dashboard-main { | |
| margin-left: 0 ; | |
| } | |
| .dashboard-content { | |
| padding: 20px 16px; | |
| } | |
| /* Page header adjustments */ | |
| .page-title { | |
| font-size: 24px; | |
| } | |
| /* Profile menu positioning on mobile */ | |
| .profile-menu { | |
| position: absolute; | |
| bottom: 100%; | |
| left: 0; | |
| right: 0; | |
| margin-bottom: 8px; | |
| width: auto; | |
| /* Ensure it appears above the button on mobile */ | |
| z-index: var(--z-overlay); | |
| } | |
| /* Override collapsed positioning on mobile */ | |
| .collapsed .profile-menu { | |
| position: absolute; | |
| bottom: 100%; | |
| left: 0; | |
| right: 0; | |
| margin-bottom: 8px; | |
| margin-left: 0; | |
| width: auto; | |
| } | |
| } | |
| /* Loading states */ | |
| .loading { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 48px; | |
| color: var(--text-secondary); | |
| font-size: 14px; | |
| } | |
| .loading::after { | |
| content: ''; | |
| width: 20px; | |
| height: 20px; | |
| margin-left: 12px; | |
| border: 2px solid var(--border-color); | |
| border-top-color: var(--accent-primary); | |
| border-radius: 50%; | |
| animation: spin 0.8s linear infinite; | |
| } | |
| @keyframes spin { | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| .dropdown { | |
| position: relative; | |
| display: inline-flex; | |
| align-items: center; | |
| } | |
| .dropdown-trigger { | |
| cursor: pointer; | |
| transition: background-color 0.15s ease, color 0.15s ease; | |
| } | |
| .dropdown-trigger .ti-chevron-down { | |
| transition: transform 0.2s ease; | |
| } | |
| .dropdown-trigger.is-active .ti-chevron-down { | |
| transform: rotate(180deg); | |
| } | |
| .dropdown-menu { | |
| position: absolute; | |
| top: calc(100% + 8px); | |
| left: 0; | |
| min-width: 160px; | |
| background: rgba(15, 20, 35, 0.95); | |
| border: 1px solid rgba(255, 255, 255, 0.15); | |
| border-radius: 8px; | |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); | |
| backdrop-filter: blur(16px); | |
| z-index: var(--z-overlay); | |
| padding: 4px; | |
| overflow: hidden; | |
| visibility: hidden; | |
| opacity: 0; | |
| transform: translateY(-8px); | |
| transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0s linear 0.15s; | |
| } | |
| .dropdown.is-open > .dropdown-menu { | |
| visibility: visible; | |
| opacity: 1; | |
| transform: translateY(0); | |
| transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0s linear 0s; | |
| } | |
| .dropdown-menu--align-right { | |
| left: auto; | |
| right: 0; | |
| } | |
| .dropdown-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| width: 100%; | |
| padding: 8px 12px; | |
| background: transparent; | |
| border: none; | |
| border-radius: 6px; | |
| color: rgba(255, 255, 255, 0.8); | |
| font-size: 14px; | |
| font-weight: 500; | |
| text-align: left; | |
| cursor: pointer; | |
| transition: background-color 0.15s ease, color 0.15s ease; | |
| } | |
| .dropdown-item:hover, | |
| .dropdown-item:focus-visible { | |
| outline: none; | |
| background: rgba(255, 255, 255, 0.1); | |
| color: rgba(255, 255, 255, 0.95); | |
| } | |
| .dropdown-item.is-active { | |
| background: rgba(124, 58, 237, 0.18); | |
| color: #fff; | |
| } | |
| .dropdown-item[disabled] { | |
| opacity: 0.4; | |
| cursor: not-allowed; | |
| } | |
| .dropdown-divider { | |
| height: 1px; | |
| margin: 4px 0; | |
| background: rgba(255, 255, 255, 0.08); | |
| } | |