loopable / web /src /styles /wave59 /connectors.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
992a41f verified
Raw History Blame Contribute Delete
2.8 kB
/* W59-T15, DESIGN.md §§2,3,4,5: one error line and a quiet retry using existing tokens. */
.conn-modal-error {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 8px;
color: var(--lp-red-deep);
font-size: var(--lp-fs-2xs);
line-height: var(--lp-lh);
}
.conn-modal-error p { margin: 0; }
.conn-modal-retry {
appearance: none;
border: 0;
background: transparent;
font: inherit;
color: var(--lp-ink);
border-radius: var(--lp-r-sm);
padding: 4px 8px;
text-decoration: underline;
cursor: pointer;
}
.conn-modal-retry:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
.conn-modal-retry:hover { background: var(--lp-wash); }
}
/* W59-T16, R12 and DESIGN.md sections 2 to 5: the pen follows the name on its baseline. */
.conn-db-name-line {
display: flex;
align-items: baseline;
gap: 4px;
}
.conn-db-pen {
appearance: none;
flex: 0 0 auto;
border: 0;
background: transparent;
font: inherit;
color: var(--lp-muted);
height: 20px;
padding: 0 4px;
margin: 0;
border-radius: var(--lp-r-sm);
cursor: pointer;
}
.conn-db-pen:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
.conn-db-pen:hover { background: var(--lp-wash); color: var(--lp-ink); }
}
/* W59-T17, DESIGN.md section 4: keep the quiet action on the Count rows baseline. */
.conn-db-head:has(> .conn-db-count-action + .conn-db-link) { align-items: baseline; }
.conn-db-count-action + .conn-db-link {
flex-shrink: 0;
white-space: nowrap;
margin-top: 0;
line-height: 1.5;
}
/* W59-T23, DESIGN.md sections 2 to 5: attention until expiry, negative once expired. */
.conn-kc-rotation {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 8px;
margin-top: 4px;
padding: 8px;
border-radius: var(--lp-r-sm);
background: var(--lp-yellow-tint);
color: var(--lp-yellow-deep);
font-size: var(--lp-fs-2xs);
line-height: var(--lp-lh);
font-variant-numeric: tabular-nums;
}
.conn-kc-rotation.is-urgent { font-weight: 600; }
.conn-kc-rotation.is-expired,
.conn-modal-pill.is-expired {
background: var(--lp-red-tint);
color: var(--lp-red-deep);
}
.conn-kc-rotation-action {
appearance: none;
border: 0;
background: transparent;
font: inherit;
color: inherit;
border-radius: var(--lp-r-sm);
padding: 0 4px;
white-space: nowrap;
text-decoration: underline;
cursor: pointer;
}
.conn-kc-rotation-action:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: 2px;
}
.conn-kc-rotation-action:disabled { opacity: 0.5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
.conn-kc-rotation-action:hover:enabled { background: var(--lp-wash); }
}