Goondex/internal/web/static/css/gx/GX_CardGrid.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

104 lines
2.2 KiB
CSS

/*
* GX CARD GRID — Performer / Studio / Scene cards
* Dark luxury aesthetic, Flamingo Pink medium glow, responsive columns
*/
/* WRAPPER */
.gx-card-grid {
display: grid;
gap: 1.6rem;
padding: 1rem 0;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
/* CARD */
.gx-card {
background: var(--color-bg-card);
border: 1px solid var(--color-border-soft);
border-radius: var(--radius-soft);
overflow: hidden;
box-shadow: var(--shadow-elevated);
transition: transform var(--transition),
box-shadow var(--transition),
border-color var(--transition);
cursor: pointer;
position: relative;
}
/* HOVER EFFECT */
.gx-card:hover {
transform: translateY(-4px);
border-color: var(--color-brand);
box-shadow: 0 0 18px rgba(255, 79, 163, 0.28),
0 6px 24px rgba(0, 0, 0, 0.55);
}
/* THUMBNAIL */
.gx-card-thumb {
width: 100%;
aspect-ratio: 3 / 4;
background-size: cover;
background-position: center;
filter: brightness(0.92);
transition: filter var(--transition-fast);
}
.gx-card:hover .gx-card-thumb {
filter: brightness(1);
}
/* CONTENT */
.gx-card-body {
padding: 1rem;
}
/* TITLE */
.gx-card-title {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.35rem;
background: linear-gradient(135deg, var(--color-text-primary), var(--color-header));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* SMALL META (scene count, category, etc.) */
.gx-card-meta {
font-size: 0.85rem;
color: var(--color-text-secondary);
opacity: 0.9;
}
/* TAGS inside cards (optional) */
.gx-card-tags {
margin-top: 0.8rem;
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.gx-card-tag {
padding: 0.2rem 0.55rem;
font-size: 0.75rem;
border-radius: var(--radius);
background: rgba(255, 79, 163, 0.08);
color: var(--color-brand);
border: 1px solid rgba(255, 79, 163, 0.25);
text-transform: uppercase;
letter-spacing: 0.03em;
}
/* MOBILE OPTIMISATION */
@media (max-width: 550px) {
.gx-card-grid {
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.gx-card-title {
font-size: 1rem;
}
}