Skip to content

Commit d35ffc5

Browse files
committed
New round of updated dashboard prototypes
1 parent 89e091e commit d35ffc5

File tree

9 files changed

+1854
-1836
lines changed

9 files changed

+1854
-1836
lines changed

src/prototypes/enterprise-dashboards/dashboards.css

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,23 @@
77
color: var(--color-gray-1);
88
}
99

10-
.target-legend {
10+
.target-legend, .actual-legend, .belowtarget-legend {
1111
display: inline-block;
12-
background-color: #e8f5e6;
12+
background-color: var(--color-mint);
1313
width: 2rem;
1414
height: 1rem;
1515
vertical-align: -4px;
1616
margin-right: 0.25rem;
1717
}
1818

19+
.actual-legend {
20+
background-color: var(--color-pine);
21+
}
22+
23+
.belowtarget-legend {
24+
background-color: var(--color-light-red);
25+
}
26+
1927
.sharpen-table-dosage-metrics .metric-status {
2028
width: 1rem;
2129
}
@@ -55,4 +63,74 @@
5563

5664
.sharpen-table--compact th, .sharpen-table--compact td {
5765
padding: var(--spacing-sm);
58-
}
66+
}
67+
68+
69+
70+
.level-continuum {
71+
width: 100%;
72+
font-family: var(--font-family-sans);
73+
border-collapse: collapse;
74+
border-top: 1px solid #ccc;
75+
color: var(--color-evergreen);
76+
}
77+
78+
.level-continuum td, .level-continuum th {
79+
padding: var(--spacing-sm);
80+
border-bottom: 1px solid #ccc;
81+
text-align: left;
82+
}
83+
84+
.level-continuum th {
85+
font-weight: var(--font-weight-semibold);
86+
padding-right: var(--spacing-md);
87+
white-space: nowrap;
88+
}
89+
90+
.level-continuum .current th, .level-continuum .current td {
91+
background-color: var(--color-mint);
92+
}
93+
94+
.level-continuum .current td {
95+
width: 2em;
96+
}
97+
98+
.level-continuum .sharpen-icon {
99+
vertical-align: -6px;
100+
}
101+
102+
.level-continuum .grade {
103+
font-size: var(--font-size-xs);
104+
font-weight: normal;
105+
padding-right: var(--spacing-md);
106+
color: #999;
107+
white-space: nowrap;
108+
}
109+
110+
111+
.sharpen-table--mastery td {
112+
width: 25%;
113+
white-space: nowrap;
114+
}
115+
116+
.sharpen-table--mastery tr > :not(:first-child) {
117+
text-align: center;
118+
}
119+
120+
.sharpen-table--mastery .value.high {
121+
background-color: var(--color-mint);
122+
}
123+
124+
.sharpen-table--mastery .value.medium {
125+
background-color: var(--color-light-orange);
126+
}
127+
128+
.sharpen-table--mastery .value.low {
129+
background-color: var(--color-light-red);
130+
}
131+
132+
/*.sharpen-table--mastery .value sharpen-progress-bar {
133+
display: inline-block;
134+
width: 8rem;
135+
margin-left: 0.5rem;
136+
}*/

src/prototypes/enterprise-dashboards/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ <h1 class="sharpen-heading-3xl">Enterprise Dashboards</h1>
6262
</td>
6363
</tr>
6464
</tbody>
65+
66+
<tbody>
67+
<tr>
68+
<td><i class="sharpen-icon">grid_view</i></td>
69+
<td>
70+
<a href="overview.html">Overview chart variations</a>
71+
</td>
72+
</tr>
73+
</tbody>
6574
</table>
6675

6776
</sharpen-card>

0 commit comments

Comments
 (0)