loopable / web /src /styles /wave55 /connectors.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
a83fcff verified
Raw History Blame Contribute Delete
4.19 kB
/* Wave 55 T18. Connector settings remains the existing centered modal species, with the
viewport itself as its vertical boundary. The header and tabs stay fixed while the body owns
the scroll, so long discovered-model catalogs never depend on document scrolling or clip the
active tab. */
.conn-modal-backdrop {
padding: 16px;
}
.conn-modal {
width: min(1200px, calc(100vw - 32px));
height: calc(100dvh - 32px);
max-height: calc(100dvh - 32px);
}
.conn-modal-body {
overscroll-behavior: contain;
scrollbar-gutter: stable;
}
/* The graph stage is still computed solely from the server DTO. Its measured container width is
now a lower bound, allowing newly materialized model cards to wrap into the available room
while oversized relation bands retain their local horizontal scroll. */
.conn-rd-scroll {
width: 100%;
max-width: 100%;
overscroll-behavior: contain;
scrollbar-gutter: stable;
}
.conn-rd-stage {
min-width: 100%;
}
/* Credential replacement is one compact write-only form. Nothing nests it in another card and
the status slot reserves its line so an error does not move the action row. */
.conn-kc-replace {
width: min(720px, 100%);
}
.conn-kc-replace h3 {
margin: 0 0 8px;
color: var(--lp-ink);
font-size: var(--lp-fs-sm);
font-weight: 600;
}
.conn-kc-message-slot {
min-height: 1lh;
margin-bottom: 8px;
}
.conn-kc-message-slot .conn-kc-error {
margin-bottom: 0;
}
/* Amazon's provider-owned database controls sit above the existing disclosure without nesting a
second card. They reuse the established connector switch; this file only supplies the compact
list rhythm and the reserved response line. */
.conn-provider-enable {
margin-bottom: 16px;
}
.conn-provider-enable-head {
display: grid;
gap: 4px;
margin-bottom: 8px;
}
.conn-provider-enable-head h3,
.conn-provider-enable-head p {
margin: 0;
}
.conn-provider-enable-head h3 {
color: var(--lp-ink);
font-size: var(--lp-fs-sm);
font-weight: 600;
}
.conn-provider-enable-head p {
color: var(--lp-muted);
font-size: var(--lp-fs-2xs);
}
.conn-provider-enable-list {
margin: 0;
padding: 0;
list-style: none;
border-top: 1px solid var(--lp-line);
border-bottom: 1px solid var(--lp-line);
}
.conn-provider-enable-list li {
display: flex;
min-height: 40px;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 0;
border-bottom: 1px solid var(--lp-line);
color: var(--lp-ink);
font-size: var(--lp-fs-2xs);
}
.conn-provider-enable-list li:last-child {
border-bottom: 0;
}
.conn-provider-enable-control {
display: inline-flex;
align-items: center;
gap: 8px;
}
.conn-provider-enable .conn-db-switch:disabled {
cursor: not-allowed;
}
.conn-provider-enable-status {
min-height: 1lh;
margin-top: 4px;
color: var(--lp-red-deep);
font-size: var(--lp-fs-3xs);
}
.conn-kc-field input:disabled,
.conn-kc-field select:disabled,
.conn-kc-btn:disabled {
opacity: 0.55;
cursor: not-allowed;
}
/* Cadence is a single aligned row: label, preset and the server-declared floor. Connection facts
above it use a wider shared label column so Credential and Account do not wrap into values. */
.conn-odoo-row {
grid-template-columns: 96px minmax(0, 1fr);
}
.conn-cadence-row {
display: grid;
grid-template-columns: 96px minmax(220px, 320px) minmax(0, 1fr);
align-items: center;
gap: 8px;
padding: 8px 0;
border-top: 1px solid var(--lp-line);
border-bottom: 1px solid var(--lp-line);
}
.conn-cadence-row label {
color: var(--lp-ink);
font-size: var(--lp-fs-2xs);
font-weight: 600;
}
.conn-cadence-row .conn-odoo-every {
width: 100%;
min-height: 32px;
}
.conn-cadence-floor {
color: var(--lp-muted);
font-size: var(--lp-fs-3xs);
}
.conn-odoo-grids {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
@media (max-width: 720px) {
.conn-modal-backdrop {
padding: 8px;
}
.conn-modal {
width: calc(100vw - 16px);
height: calc(100dvh - 16px);
max-height: calc(100dvh - 16px);
}
.conn-cadence-row {
grid-template-columns: 88px minmax(0, 1fr);
}
.conn-cadence-floor {
grid-column: 2;
}
}