Add mentor match dashboard section
This commit is contained in:
1 parent
1d8037adf1
commit
741fce0adb
6 files changed
+396
-11
No files matched your search
+131
-1
@@ -107,6 +107,7 @@
|
||||
.chart-section,
|
||||
.champion-section,
|
||||
.insight-section,
|
||||
.mentor-section,
|
||||
.dashboard-summary {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
@@ -342,7 +343,8 @@
|
||||
|
||||
.chart-section,
|
||||
.champion-section,
|
||||
.insight-section {
|
||||
.insight-section,
|
||||
.mentor-section {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
@@ -435,6 +437,133 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.section-copy {
|
||||
margin: 8px 0 0;
|
||||
color: var(--text-muted);
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.mentor-message {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.mentor-table-wrap {
|
||||
margin-top: 18px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.mentor-table-wrap:focus-visible {
|
||||
outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.mentor-table {
|
||||
width: 100%;
|
||||
min-width: 780px;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0 10px;
|
||||
}
|
||||
|
||||
.mentor-table th {
|
||||
padding: 0 12px;
|
||||
color: var(--text-subtle);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.3;
|
||||
text-align: left;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mentor-table td {
|
||||
min-width: 0;
|
||||
padding: 14px 12px;
|
||||
border-block: 1px solid var(--border);
|
||||
background: var(--surface-soft);
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.mentor-table td:first-child {
|
||||
border-left: 1px solid var(--border);
|
||||
border-radius: 8px 0 0 8px;
|
||||
}
|
||||
|
||||
.mentor-table td:last-child {
|
||||
border-right: 1px solid var(--border);
|
||||
border-radius: 0 8px 8px 0;
|
||||
}
|
||||
|
||||
.mentor-player,
|
||||
.mentor-score,
|
||||
.mentor-metric-groups,
|
||||
.mentor-metric-group {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.mentor-player strong,
|
||||
.mentor-score strong,
|
||||
.mentor-chip strong {
|
||||
overflow: hidden;
|
||||
color: var(--text-strong);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mentor-player span,
|
||||
.mentor-score span,
|
||||
.mentor-chip span,
|
||||
.mentor-metric-group > span,
|
||||
.mentor-empty {
|
||||
color: var(--text-subtle);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.mentor-score strong {
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.mentor-chip-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.mentor-chip {
|
||||
max-width: 100%;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 999px;
|
||||
background: var(--surface);
|
||||
padding: 5px 8px;
|
||||
}
|
||||
|
||||
.mentor-chip strong {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.mentor-chip span {
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mentor-chip-accent {
|
||||
border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
|
||||
}
|
||||
|
||||
.mentor-chip-muted {
|
||||
background: color-mix(in srgb, var(--surface) 74%, var(--surface-soft));
|
||||
}
|
||||
|
||||
.empty-view {
|
||||
min-height: calc(100svh - 240px);
|
||||
display: grid;
|
||||
@@ -535,6 +664,7 @@
|
||||
.chart-section,
|
||||
.champion-section,
|
||||
.insight-section,
|
||||
.mentor-section,
|
||||
.dashboard-summary {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user