- add section icons to all breadcrumbs across every page - fix breadcrumb nav display:flex so icons align vertically with buttons - wrap all page breadcrumbs in pageToolbar div for consistent layout - add Breadcrumbs to AllRunsPage which previously used a plain h1 - fix envCardHeader flex:1 so settings button hugs the right edge - remove card header from environment create/edit forms (duplicated breadcrumb)
104 lines
2.4 KiB
CSS
104 lines
2.4 KiB
CSS
.root {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: var(--font-size-xs);
|
|
font-family: var(--font-family);
|
|
user-select: none;
|
|
}
|
|
|
|
/* ── Dot ──────────────────────────────────────────────────── */
|
|
|
|
.dot {
|
|
position: relative;
|
|
width: 10px;
|
|
height: 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dot::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
transition: background var(--transition);
|
|
}
|
|
|
|
/* ── Pulse ring ───────────────────────────────────────────── */
|
|
|
|
.ring {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
animation: pulse 0.8s ease-out 1;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 70%, transparent);
|
|
}
|
|
70% {
|
|
box-shadow: 0 0 0 7px color-mix(in srgb, var(--color-primary) 0%, transparent);
|
|
}
|
|
100% {
|
|
box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 0%, transparent);
|
|
}
|
|
}
|
|
|
|
/* ── Clickable / hover ────────────────────────────────────── */
|
|
|
|
.clickable {
|
|
cursor: pointer;
|
|
border-radius: 99px;
|
|
padding: 2px 6px;
|
|
margin: -2px -6px;
|
|
transition: background var(--transition);
|
|
}
|
|
|
|
.clickable:hover {
|
|
background: color-mix(in srgb, var(--color-text) 8%, transparent);
|
|
}
|
|
|
|
.clickable:focus-visible {
|
|
outline: 2px solid var(--color-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* ── Active state ─────────────────────────────────────────── */
|
|
|
|
.active .dot::before {
|
|
background: var(--color-primary);
|
|
}
|
|
|
|
.active .label {
|
|
color: var(--color-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ── Inactive / disabled state ────────────────────────────── */
|
|
|
|
.inactive .dot::before {
|
|
background: var(--color-text-muted);
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.inactive .label {
|
|
color: var(--color-text-muted);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* ── Error state ──────────────────────────────────────────── */
|
|
|
|
.error .dot::before {
|
|
background: var(--color-error-fg);
|
|
}
|
|
|
|
.error .ring {
|
|
animation: none;
|
|
}
|
|
|
|
.error .label {
|
|
color: var(--color-error-fg);
|
|
font-weight: 600;
|
|
}
|