Polish dashboard layout and use German number formats
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e86518cab1
commit
8eeb7894a3
10 files changed
+131
-59
No files matched your search
@@ -42,7 +42,7 @@ h1:focus {
|
||||
}
|
||||
|
||||
.page {
|
||||
max-width: 1280px;
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
padding: 24px 16px 48px;
|
||||
}
|
||||
@@ -58,7 +58,7 @@ h2 {
|
||||
|
||||
.metrics {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1.4fr)) repeat(3, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
@@ -85,33 +85,32 @@ h2 {
|
||||
}
|
||||
|
||||
.metric .value {
|
||||
margin-top: 4px;
|
||||
font-size: 22px;
|
||||
margin: 6px 0 2px;
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
line-height: 1.15;
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.metric .sub {
|
||||
overflow: hidden;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.metric-hero .value {
|
||||
font-size: 32px;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.metric-hero.live {
|
||||
.metric.live {
|
||||
border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
|
||||
background: color-mix(in srgb, var(--accent) 8%, var(--surface));
|
||||
}
|
||||
|
||||
.metric-hero.live .value {
|
||||
.metric.live .value {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.metric-hero.live .label::before,
|
||||
.metric.live .label::before,
|
||||
.live-dot {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
@@ -135,7 +134,7 @@ h2 {
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.metric-hero.live .label::before,
|
||||
.metric.live .label::before,
|
||||
.live-dot {
|
||||
animation: none;
|
||||
}
|
||||
@@ -182,9 +181,18 @@ code {
|
||||
|
||||
.origin {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
|
||||
grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
|
||||
gap: 16px;
|
||||
align-items: start;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.origin > .card {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.map-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.origin > * {
|
||||
@@ -236,12 +244,33 @@ code {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.top-table .count {
|
||||
.top-table .share {
|
||||
width: 64px;
|
||||
}
|
||||
|
||||
.top-table .count {
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.top-table .hold {
|
||||
width: 104px;
|
||||
width: 96px;
|
||||
}
|
||||
|
||||
.top-table .flag {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.top-key {
|
||||
margin-left: 6px;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.share-bar {
|
||||
display: block;
|
||||
height: 6px;
|
||||
border-radius: 3px;
|
||||
background: linear-gradient(to right, var(--accent) var(--share), color-mix(in srgb, var(--text) 8%, transparent) var(--share));
|
||||
}
|
||||
|
||||
.top-table .clip {
|
||||
@@ -669,8 +698,9 @@ tbody th {
|
||||
}
|
||||
|
||||
.world-map .marker .dot {
|
||||
stroke: var(--surface);
|
||||
stroke: var(--text);
|
||||
stroke-width: 1.5;
|
||||
stroke-opacity: 0.85;
|
||||
}
|
||||
|
||||
.world-map .marker:hover .dot {
|
||||
@@ -715,9 +745,10 @@ tbody th {
|
||||
.map-legend {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
gap: 5px;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-size: 13px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.map-legend .level-0 {
|
||||
@@ -726,6 +757,9 @@ tbody th {
|
||||
|
||||
.map-wrap {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.map-empty {
|
||||
@@ -743,17 +777,10 @@ tbody th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
td.bar {
|
||||
background-image: linear-gradient(to right, color-mix(in srgb, var(--accent) 70%, transparent) var(--share), transparent var(--share));
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 3px;
|
||||
background-position: 0 calc(100% - 3px);
|
||||
}
|
||||
|
||||
.map-legend .swatch {
|
||||
width: 18px;
|
||||
height: 10px;
|
||||
border-radius: 2px;
|
||||
width: 22px;
|
||||
height: 12px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.detail {
|
||||
@@ -789,7 +816,7 @@ button.danger {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.metric-hero {
|
||||
.metric:nth-child(n + 4) {
|
||||
grid-column: span 3;
|
||||
}
|
||||
|
||||
@@ -804,7 +831,7 @@ button.danger {
|
||||
}
|
||||
|
||||
.metric,
|
||||
.metric-hero {
|
||||
.metric:nth-child(n + 4) {
|
||||
grid-column: span 1;
|
||||
}
|
||||
|
||||
@@ -812,8 +839,19 @@ button.danger {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.metric-hero .value {
|
||||
font-size: 26px;
|
||||
.metric .value {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.top-table .share,
|
||||
.top-table th:nth-child(2),
|
||||
.top-table td:nth-child(2),
|
||||
.top-key {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.top-table .hold {
|
||||
width: 84px;
|
||||
}
|
||||
|
||||
.nav .brand {
|
||||
@@ -1379,3 +1417,12 @@ button.danger-text {
|
||||
gap: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
Reference in new issue
Block a user