MetricWidget bigger
This commit is contained in:
@@ -4,6 +4,53 @@
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.metric-widgets-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.metric-widget {
|
||||
min-width: 0;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding: 12px;
|
||||
border: 1px solid rgba(88, 103, 121, 0.42);
|
||||
border-radius: 8px;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
|
||||
linear-gradient(145deg, rgba(6, 9, 14, 0.98), rgba(2, 4, 8, 0.96));
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.05),
|
||||
0 6px 14px rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
|
||||
.metric-widget__tag {
|
||||
flex: 0 0 auto;
|
||||
min-width: 0;
|
||||
color: #cbd5e1;
|
||||
font-size: 0.74rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.35;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.metric-widget__value {
|
||||
margin-top: auto;
|
||||
align-self: flex-end;
|
||||
min-width: 0;
|
||||
color: #f8fafc;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
line-height: 1.2;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.metric-mosaic {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
|
||||
|
||||
Reference in New Issue
Block a user