This commit is contained in:
@ -2635,3 +2635,423 @@ select:disabled {
|
||||
font-size: .85rem;
|
||||
font-style: italic;
|
||||
}
|
||||
.glass-score-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px dashed var(--border);
|
||||
}
|
||||
.glass-score-cell label {
|
||||
display: block;
|
||||
font-size: .7rem;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.glass-score-cell input {
|
||||
width: 100%;
|
||||
padding: 6px 8px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.value-score-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.value-score-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 8px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
font-size: .85rem;
|
||||
}
|
||||
.value-score-label {
|
||||
min-width: 2rem;
|
||||
font-weight: 600;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.value-score-pts {
|
||||
width: 4rem;
|
||||
padding: 4px 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.modal-dialog-wide {
|
||||
max-width: 640px;
|
||||
}
|
||||
|
||||
/* Scoring profiles on questionnaire dashboard */
|
||||
#scoringProfilesPanel {
|
||||
width: 100%;
|
||||
margin-top: 28px;
|
||||
}
|
||||
.scoring-profiles-section {
|
||||
margin-top: 0;
|
||||
}
|
||||
.scoring-profiles-card {
|
||||
padding: 24px;
|
||||
}
|
||||
.scoring-section-title {
|
||||
margin: 0 0 6px;
|
||||
font-size: 1.05rem;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
}
|
||||
.scoring-section-desc,
|
||||
.scoring-empty-hint {
|
||||
margin: 0;
|
||||
font-size: .875rem;
|
||||
line-height: 1.5;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.scoring-empty-hint {
|
||||
padding: 8px 0;
|
||||
}
|
||||
.scoring-profiles-list {
|
||||
margin-top: 18px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
.scoring-profile-card {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
padding: 16px 18px;
|
||||
background: var(--surface-muted);
|
||||
color: var(--text);
|
||||
}
|
||||
.scoring-profile-card-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
}
|
||||
.scoring-profile-card-main {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
.scoring-profile-name-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.scoring-profile-name-row strong {
|
||||
font-size: 1rem;
|
||||
color: var(--text);
|
||||
}
|
||||
.scoring-profile-desc {
|
||||
margin: 0 0 8px;
|
||||
font-size: .875rem;
|
||||
line-height: 1.45;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.scoring-profile-bands {
|
||||
margin: 0;
|
||||
font-size: .85rem;
|
||||
color: var(--primary-text);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
}
|
||||
.scoring-profile-member-count {
|
||||
margin: 12px 0 8px;
|
||||
font-size: .8rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .04em;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.scoring-profile-members {
|
||||
border-top: 1px solid var(--border);
|
||||
padding-top: 4px;
|
||||
}
|
||||
.scoring-profile-card-actions {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.scoring-profile-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
.scoring-modal-section-title {
|
||||
margin: 18px 0 0;
|
||||
font-size: .95rem;
|
||||
color: var(--text);
|
||||
}
|
||||
.scoring-profile-active-row {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.checkbox-inline {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: .9rem;
|
||||
color: var(--text);
|
||||
cursor: pointer;
|
||||
}
|
||||
.scoring-profile-picker {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
padding: 12px;
|
||||
background: var(--surface-muted);
|
||||
}
|
||||
.scoring-profile-picker input,
|
||||
.scoring-profile-picker select {
|
||||
padding: 6px 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
font-size: .875rem;
|
||||
font-family: var(--font);
|
||||
background: var(--surface);
|
||||
color: var(--text);
|
||||
}
|
||||
.scoring-profile-picker input:focus,
|
||||
.scoring-profile-picker select:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary);
|
||||
box-shadow: 0 0 0 3px var(--focus-ring);
|
||||
}
|
||||
.scoring-profile-add-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
.scoring-profile-add-row select {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.scoring-band-labels {
|
||||
margin: 4px 0 8px;
|
||||
min-height: 1.5rem;
|
||||
}
|
||||
.scoring-band-ranges-table {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.scoring-band-range-row {
|
||||
display: grid;
|
||||
grid-template-columns: 100px 1fr 1fr;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
.scoring-band-range-row.scoring-band-range-header {
|
||||
font-size: .75rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .04em;
|
||||
color: var(--text-secondary);
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.scoring-band-range-row input {
|
||||
width: 100%;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
font-size: .875rem;
|
||||
font-family: var(--font);
|
||||
background: var(--surface);
|
||||
color: var(--text);
|
||||
}
|
||||
.scoring-band-range-row input:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary);
|
||||
box-shadow: 0 0 0 3px var(--focus-ring);
|
||||
}
|
||||
.scoring-band-max-placeholder {
|
||||
color: var(--text-secondary);
|
||||
font-size: 1.1rem;
|
||||
padding: 8px 10px;
|
||||
}
|
||||
.scoring-band-strips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
.scoring-profile-q-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
color: var(--text);
|
||||
}
|
||||
.scoring-profile-q-row:last-child { border-bottom: none; }
|
||||
.scoring-profile-q-name {
|
||||
flex: 1;
|
||||
min-width: 120px;
|
||||
font-weight: 500;
|
||||
color: var(--text);
|
||||
}
|
||||
.scoring-profile-q-weight {
|
||||
color: var(--text-secondary);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.scoring-profile-q-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.sp-weight-wrap {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: .8rem;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.sp-weight-wrap input {
|
||||
width: 72px;
|
||||
}
|
||||
.band-badge {
|
||||
display: inline-block;
|
||||
padding: 4px 10px;
|
||||
border-radius: 999px;
|
||||
font-size: .75rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: .02em;
|
||||
}
|
||||
.band-badge.band-green { background: #14532d; color: #bbf7d0; border: 1px solid #166534; }
|
||||
.band-badge.band-yellow { background: #713f12; color: #fef08a; border: 1px solid #854d0e; }
|
||||
.band-badge.band-red { background: #7f1d1d; color: #fecaca; border: 1px solid #991b1b; }
|
||||
.band-badge.band-none { background: #334155; color: #cbd5e1; border: 1px solid #475569; }
|
||||
|
||||
/* Client list — scoring profiles */
|
||||
.client-scoring-legend {
|
||||
margin: 0 0 14px;
|
||||
padding: 12px 14px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--surface-elevated, rgba(0, 0, 0, 0.02));
|
||||
}
|
||||
.client-scoring-legend-title {
|
||||
margin: 0 0 6px;
|
||||
}
|
||||
.client-scoring-legend-body {
|
||||
margin: 0 0 10px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
.client-scoring-legend-body .band-badge {
|
||||
margin: 0 2px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.client-scoring-legend-dl {
|
||||
display: grid;
|
||||
gap: 8px 16px;
|
||||
margin: 0;
|
||||
font-size: .8125rem;
|
||||
}
|
||||
@media (min-width: 640px) {
|
||||
.client-scoring-legend-dl {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
.client-scoring-legend-dl dt {
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
margin: 0;
|
||||
}
|
||||
.client-scoring-legend-dl dd {
|
||||
margin: 2px 0 0;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.4;
|
||||
}
|
||||
.client-profile-scores {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 8px;
|
||||
}
|
||||
.client-profile-score-block {
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--surface-elevated, rgba(0, 0, 0, 0.02));
|
||||
font-size: .8125rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
.client-profile-score-block.is-incomplete {
|
||||
opacity: 0.85;
|
||||
}
|
||||
.client-profile-score-block.has-coach-override {
|
||||
border-color: rgba(251, 191, 36, 0.45);
|
||||
}
|
||||
.client-profile-score-block-title {
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.client-profile-score-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px 8px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.client-profile-score-row:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
.client-profile-score-label {
|
||||
flex: 0 0 4.75rem;
|
||||
color: var(--text-secondary);
|
||||
font-size: .75rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .03em;
|
||||
}
|
||||
.client-profile-score-total {
|
||||
color: var(--text-secondary);
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-size: .75rem;
|
||||
}
|
||||
.client-profile-score-total::before {
|
||||
content: "total ";
|
||||
opacity: 0.75;
|
||||
}
|
||||
.client-profile-override-hint {
|
||||
font-size: .7rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .04em;
|
||||
color: #ca8a04;
|
||||
}
|
||||
.client-profile-score-hint,
|
||||
.client-profile-score-meta {
|
||||
margin: 6px 0 0;
|
||||
font-size: .75rem;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.4;
|
||||
}
|
||||
.client-scoring-profiles-detail {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.scoring-profile-detail-card {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.client-profile-dots-cell {
|
||||
min-width: 200px;
|
||||
max-width: 320px;
|
||||
vertical-align: top;
|
||||
}
|
||||
.client-profile-dots-empty {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user