Goondex/internal/web/static/css/gx/GX_SegmentedControl.css
Stu Leak 16fb407a3c v0.1.0-dev4: Add web frontend with UI component library
- Implement full web interface with Go html/template server
- Add GX component library (buttons, dialogs, tables, forms, etc.)
- Create scene/performer/studio/movie detail and listing pages
- Add Adult Empire scraper for additional metadata sources
- Implement movie support with database schema
- Add import and sync services for data management
- Include comprehensive API and frontend documentation
- Add custom color scheme and responsive layout

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 10:47:30 -05:00

55 lines
1.1 KiB
CSS

/*
* GX SEGMENTED CONTROL
* Dark mode only, Flamingo Pink neon accents, subtle glow
*/
.gx-segmented {
display: inline-flex;
background: var(--color-bg-card);
padding: 4px;
border-radius: var(--radius-soft);
border: 1px solid var(--color-border-soft);
box-shadow: inset 0 0 18px rgba(255, 79, 163, 0.06);
position: relative;
gap: 4px;
}
.gx-segmented button {
flex: 1;
background: transparent;
border: none;
padding: 0.65rem 1.2rem;
color: var(--color-text-secondary);
font-size: 0.95rem;
font-weight: 500;
border-radius: var(--radius);
cursor: pointer;
transition:
color var(--transition-fast),
background var(--transition-fast),
box-shadow var(--transition-fast);
}
/* ACTIVE STATE */
.gx-segmented button.active {
background: rgba(255, 79, 163, 0.15);
color: var(--color-brand);
box-shadow: var(--shadow-glow-pink-soft);
}
/* HOVER */
.gx-segmented button:hover {
color: var(--color-brand-hover);
}
/* DISABLED */
.gx-segmented button.disabled {
opacity: 0.4;
cursor: not-allowed;
}
/* FULL WIDTH OPTION */
.gx-segmented.full {
width: 100%;
}