86 lines
1.7 KiB
SCSS
86 lines
1.7 KiB
SCSS
.topBar {
|
|
--topbar-control-size: 2.5rem;
|
|
min-height: 4rem;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
padding: var(--space-3) var(--space-4) var(--space-3);
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
.identity {
|
|
min-width: 0;
|
|
display: grid;
|
|
justify-items: start;
|
|
gap: 0;
|
|
}
|
|
|
|
.eyebrow {
|
|
@include text-caption;
|
|
color: var(--color-text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.controls,
|
|
.actions {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.controls {
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.actions {
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.actionButton {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: var(--topbar-control-size);
|
|
height: var(--topbar-control-size);
|
|
aspect-ratio: 1;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
flex-shrink: 0;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
color: var(--color-text-muted);
|
|
transition:
|
|
background-color 220ms var(--easing-standard),
|
|
color 220ms var(--easing-standard),
|
|
transform 180ms var(--easing-standard);
|
|
}
|
|
|
|
.actionButton:hover {
|
|
background: color-mix(in srgb, var(--color-text) 8%, transparent);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.actionButton:focus-visible {
|
|
outline: none;
|
|
background: color-mix(in srgb, var(--color-accent-strong) 12%, transparent);
|
|
box-shadow: 0 0 0 0.12rem color-mix(in srgb, var(--color-accent-strong) 28%, transparent);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
@include respond-down(mobile) {
|
|
.topBar {
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
padding: var(--space-2) var(--space-3) var(--space-3);
|
|
}
|
|
|
|
.actions {
|
|
display: none;
|
|
}
|
|
|
|
.controls {
|
|
gap: 0;
|
|
}
|
|
}
|