Files
crank/apps/ui/css/workspace-setup.css
T
github-ops ba29ac7b94
Deploy / deploy (push) Successful in 2m44s
CI / Rust Checks (push) Successful in 5m31s
CI / UI Checks (push) Successful in 5s
CI / Deployment Manifests (push) Successful in 2s
CI / Frontend E2E (push) Successful in 4m24s
chore: publish clean community baseline
2026-06-19 16:45:51 +00:00

229 lines
5.3 KiB
CSS

.ws-setup-page {
min-height: 100vh;
background: var(--bg-canvas);
display: flex;
flex-direction: column;
}
.ws-setup-topbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 32px;
border-bottom: 1px solid var(--border-subtle);
}
.ws-setup-logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: var(--text-primary);
font-size: 15px;
font-weight: 600;
}
.ws-setup-logo-mark {
width: 30px;
height: 30px;
background: #0d9488;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
}
.ws-setup-back {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: var(--text-muted);
text-decoration: none;
padding: 6px 10px;
border-radius: 6px;
transition: color 0.15s, background 0.15s;
}
.ws-setup-back:hover { color: var(--text-secondary); background: rgba(255,255,255,0.04); }
.ws-setup-body {
flex: 1;
display: flex;
justify-content: center;
padding: 48px 24px 80px;
}
.ws-setup-container {
width: 100%;
max-width: 600px;
}
.ws-setup-header { margin-bottom: 32px; }
.ws-setup-title {
font-size: 24px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 6px;
}
.ws-setup-subtitle {
font-size: 14px;
color: var(--text-muted);
line-height: 1.5;
}
.ws-form-section {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 24px;
margin-bottom: 16px;
}
.ws-form-section-title {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 18px;
}
/* Avatar */
.ws-avatar-row {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 20px;
}
.ws-avatar-preview {
width: 52px;
height: 52px;
border-radius: 12px;
background: #0d9488;
color: #fff;
font-size: 22px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: background 0.2s;
}
.ws-avatar-hint { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.ws-color-swatches { display: flex; gap: 6px; margin-top: 6px; }
.ws-color-swatch {
width: 20px;
height: 20px;
border-radius: 5px;
cursor: pointer;
border: 2px solid transparent;
transition: transform 0.1s, border-color 0.1s;
}
.ws-color-swatch:hover { transform: scale(1.15); }
.ws-color-swatch.active { border-color: var(--text-primary); }
/* Invite rows */
.invite-rows { display: flex; flex-direction: column; gap: 8px; }
.invite-row { display: flex; align-items: center; gap: 8px; }
.invite-row .form-input { margin-bottom: 0; }
.invite-row-remove {
background: none;
border: none;
padding: 6px;
cursor: pointer;
color: var(--text-muted);
border-radius: 5px;
display: flex;
align-items: center;
transition: color 0.1s, background 0.1s;
flex-shrink: 0;
}
.invite-row-remove:hover { color: var(--error, #f87171); background: rgba(248,113,113,0.08); }
/* Members */
.member-row {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 0;
border-bottom: 1px solid var(--border-subtle);
}
.member-row:last-child { border-bottom: none; }
.member-avatar {
width: 30px;
height: 30px;
border-radius: 50%;
background: var(--bg-muted);
border: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 700;
color: var(--text-secondary);
flex-shrink: 0;
}
.member-info { flex: 1; }
.member-name { font-size: 13.5px; color: var(--text-primary); font-weight: 500; }
.member-email { font-size: 12px; color: var(--text-muted); }
.member-last-active { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
/* Danger zone */
.danger-zone-action {
display: flex;
align-items: flex-start;
gap: 16px;
padding: 16px 24px;
border-bottom: 1px solid var(--border-subtle);
}
.danger-zone-action:last-child { border-bottom: none; }
.danger-zone-text { flex: 1; }
.danger-zone-title { font-size: 13.5px; font-weight: 500; color: var(--text-primary); margin-bottom: 3px; }
.danger-zone-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
/* Lang switcher */
.lang-switcher { display: flex; gap: 6px; margin-top: 6px; }
.lang-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--bg-canvas);
color: var(--text-secondary);
font-size: 13px;
cursor: pointer;
transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.lang-btn.active {
background: rgba(13,148,136,0.1);
border-color: rgba(13,148,136,0.35);
color: var(--accent);
}
.lang-btn:hover:not(.active) { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.lang-flag { font-size: 14px; }
/* Actions row */
.ws-setup-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
margin-top: 24px;
}
.ws-submit-btn {
padding: 9px 22px;
font-size: 13px;
}
.ws-setup-footer-note {
font-size: 12px;
color: var(--text-muted);
text-align: center;
margin-top: 20px;
line-height: 1.5;
}
/* Roles reference */
.role-def-row {
display: flex;
align-items: flex-start;
gap: 16px;
padding: 11px 0;
border-bottom: 1px solid var(--border-subtle);
}
.role-def-row:last-child { border-bottom: none; }
.role-def-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }