This commit is contained in:
@@ -31,11 +31,17 @@ body.auth-required .shell {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.danger-btn {
|
||||
background: #fff0ee;
|
||||
color: var(--danger);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.passport-panel {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
padding: 16px;
|
||||
margin-bottom: 14px;
|
||||
gap: 10px;
|
||||
padding: 12px;
|
||||
margin-bottom: 12px;
|
||||
color: #f4fbf8;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 8px;
|
||||
@@ -48,16 +54,21 @@ body.auth-required .shell {
|
||||
.passport-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.passport-head h2 {
|
||||
margin: 0;
|
||||
color: #fff;
|
||||
font-size: 20px;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.passport-head .eyebrow {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.passport-head small,
|
||||
.passport-metric span,
|
||||
.passport-action span,
|
||||
@@ -71,9 +82,9 @@ body.auth-required .shell {
|
||||
.score-ring {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
flex: 0 0 84px;
|
||||
width: 84px;
|
||||
height: 84px;
|
||||
flex: 0 0 72px;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
border-radius: 50%;
|
||||
background: conic-gradient(#5ee0bd 0deg, rgba(255, 255, 255, 0.12) 0deg);
|
||||
position: relative;
|
||||
@@ -82,7 +93,7 @@ body.auth-required .shell {
|
||||
.score-ring::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 8px;
|
||||
inset: 7px;
|
||||
border-radius: inherit;
|
||||
background: #121d20;
|
||||
}
|
||||
@@ -94,31 +105,28 @@ body.auth-required .shell {
|
||||
}
|
||||
|
||||
.score-ring strong {
|
||||
font-size: 24px;
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
.score-ring span {
|
||||
margin-top: 28px;
|
||||
margin-top: 24px;
|
||||
font-size: 11px;
|
||||
color: rgba(244, 251, 248, 0.62);
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.passport-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.passport-metric,
|
||||
.passport-action,
|
||||
.achievement-card {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
padding: 10px;
|
||||
min-width: min(42vw, 210px);
|
||||
min-height: 68px;
|
||||
padding: 9px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 8px;
|
||||
background: rgba(255, 255, 255, 0.055);
|
||||
scroll-snap-align: start;
|
||||
}
|
||||
|
||||
.passport-metric strong {
|
||||
@@ -126,31 +134,44 @@ body.auth-required .shell {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.passport-grid,
|
||||
.passport-actions,
|
||||
.achievement-strip {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
overflow-x: auto;
|
||||
overscroll-behavior-x: contain;
|
||||
padding-bottom: 3px;
|
||||
scroll-snap-type: x proximity;
|
||||
}
|
||||
|
||||
.achievement-strip {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
.achievement-card {
|
||||
position: relative;
|
||||
padding-right: 38px;
|
||||
}
|
||||
|
||||
.achievement-card strong::before {
|
||||
.achievement-card.is-earned::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
margin-right: 6px;
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 50%;
|
||||
background: #5ee0bd;
|
||||
box-shadow: 0 0 16px rgba(94, 224, 189, 0.7);
|
||||
background: linear-gradient(145deg, #ffe8a3, #d79b24);
|
||||
border: 1px solid rgba(255, 255, 255, 0.42);
|
||||
box-shadow: 0 4px 12px rgba(215, 155, 36, 0.28);
|
||||
}
|
||||
|
||||
.achievement-card.muted strong::before {
|
||||
background: #91a39d;
|
||||
box-shadow: none;
|
||||
.achievement-card.is-earned::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 14px;
|
||||
right: 14px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
.vehicle-timeline {
|
||||
@@ -933,7 +954,7 @@ select:disabled {
|
||||
|
||||
.record {
|
||||
display: grid;
|
||||
grid-template-columns: 110px 1fr auto;
|
||||
grid-template-columns: 110px 1fr auto auto;
|
||||
gap: 12px;
|
||||
padding: 12px 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
@@ -941,6 +962,15 @@ select:disabled {
|
||||
animation: fade 220ms ease both;
|
||||
}
|
||||
|
||||
.record .icon-btn {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
min-height: 32px;
|
||||
color: var(--danger);
|
||||
background: #fff0ee;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.record small {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user