Files
youtube-studio-flow/frontend/src/app/(dashboard)/page.module.css
T

214 lines
3.6 KiB
CSS

.container {
display: flex;
flex-direction: column;
gap: var(--space-8);
max-width: 1400px;
margin: 0 auto;
}
.hero {
display: grid;
grid-template-columns: 1fr 340px;
gap: var(--space-6);
}
.heroCopy {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: var(--space-10);
display: flex;
flex-direction: column;
gap: var(--space-6);
box-shadow: var(--shadow-sm);
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: var(--space-2);
color: var(--color-primary);
font-size: var(--text-xs);
font-weight: 700;
text-transform: uppercase;
letter-spacing: .08em;
}
.heroCopy h2 {
font-family: var(--font-display);
font-size: var(--text-xl);
line-height: 1.2;
font-weight: 700;
max-width: 32ch;
}
.heroCopy p {
color: var(--color-text-muted);
font-size: var(--text-base);
max-width: 60ch;
}
.chipRow {
display: flex;
flex-wrap: wrap;
gap: var(--space-2);
}
.chip {
padding: 0.4rem 0.8rem;
background: var(--color-bg);
border: 1px solid var(--color-border);
border-radius: var(--radius-full);
font-size: var(--text-xs);
color: var(--color-text-muted);
}
.heroSide {
display: flex;
flex-direction: column;
gap: var(--space-4);
}
.miniCard {
background: var(--color-surface-2);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
padding: var(--space-5);
display: flex;
flex-direction: column;
gap: var(--space-2);
}
.miniCard h3 {
font-size: var(--text-sm);
font-weight: 700;
}
.tagRow {
display: flex;
flex-wrap: wrap;
gap: var(--space-2);
margin-top: var(--space-2);
}
.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: var(--space-5);
}
.statValue {
font-family: var(--font-display);
font-size: var(--text-2xl);
line-height: 1;
font-weight: 700;
margin-bottom: var(--space-1);
}
.statLabel {
font-size: var(--text-sm);
font-weight: 600;
color: var(--color-text);
margin-bottom: var(--space-1);
}
.trend {
font-size: var(--text-xs);
color: var(--color-text-muted);
}
.statBar {
height: 6px;
background: var(--color-divider);
border-radius: var(--radius-full);
margin-top: var(--space-4);
overflow: hidden;
}
.statBarFill {
height: 100%;
background: var(--color-primary);
}
.grid2 {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
gap: var(--space-6);
}
.sectionHead {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: var(--space-6);
}
.sectionTitle {
font-size: var(--text-lg);
font-weight: 700;
margin-bottom: var(--space-1);
}
.sectionSub {
font-size: var(--text-xs);
color: var(--color-text-muted);
}
.builder {
display: flex;
flex-direction: column;
gap: var(--space-4);
}
.blockList {
display: flex;
flex-direction: column;
gap: var(--space-3);
}
.block {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--space-4);
background: var(--color-surface-2);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
}
.block strong {
display: block;
font-size: var(--text-sm);
margin-bottom: 2px;
}
.block p {
font-size: var(--text-xs);
color: var(--color-text-muted);
}
.lintList {
list-style: none;
display: flex;
flex-direction: column;
gap: var(--space-4);
}
.lintList li {
display: flex;
gap: var(--space-4);
color: var(--color-warning);
}
.lintList strong {
display: block;
font-size: var(--text-sm);
color: var(--color-text);
margin-bottom: 2px;
}
.note {
font-size: var(--text-xs);
color: var(--color-text-muted);
}