Files
2026-09-04 22:38:16 +08:00

269 lines
6.8 KiB
CSS

.page-header {
position: relative;
overflow: hidden;
margin-bottom: 24px;
padding: 28px 32px;
border: 1px solid rgba(138, 161, 255, 0.22);
border-radius: 18px;
background:
linear-gradient(
135deg,
rgba(45, 59, 94, 0.92),
rgba(29, 37, 62, 0.92)
);
box-shadow:
0 18px 40px rgba(0, 0, 0, 0.25),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.page-header::before {
content: "";
position: absolute;
top: -80px;
right: -40px;
width: 260px;
height: 260px;
border-radius: 50%;
background: rgba(107, 126, 255, 0.12);
filter: blur(2px);
}
.page-header::after {
content: "";
position: absolute;
right: 36px;
bottom: -65px;
width: 150px;
height: 150px;
border: 1px solid rgba(177, 132, 255, 0.14);
border-radius: 50%;
}
.header-content {
position: relative;
z-index: 1;
}
.header-label {
margin-bottom: 9px;
color: var(--jx3-text-muted);
font-size: 18px;
font-weight: 600;
letter-spacing: 3px;
}
.role-name {
margin: 0;
color: var(--jx3-text);
font-size: 42px;
font-weight: 800;
line-height: 1.3;
letter-spacing: 1px;
text-shadow: none;
}
.header-line {
width: 58px;
height: 4px;
margin-top: 17px;
border-radius: 999px;
background: linear-gradient(
90deg,
#6d8cff,
#ae72ff
);
box-shadow: 0 0 14px rgba(112, 137, 255, 0.5);
}
.achievement-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
.achievement-card {
position: relative;
overflow: hidden;
min-width: 0;
padding: 21px 22px;
border: 1px solid rgba(130, 149, 207, 0.18);
border-radius: 16px;
background:
linear-gradient(
145deg,
rgba(32, 40, 65, 0.97),
rgba(24, 30, 50, 0.97)
);
box-shadow:
0 12px 28px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.035);
break-inside: avoid;
}
.achievement-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: linear-gradient(
180deg,
#6c89ff,
#a66dff
);
}
.achievement-card.finished::before {
background: linear-gradient(
180deg,
#4be0ad,
#44a9ff
);
}
.card-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 15px;
}
.title-area {
min-width: 0;
}
.achievement-name {
margin: 0 0 8px 0;
color: var(--jx3-text);
font-size: 25px;
font-weight: 750;
line-height: 1.45;
word-break: break-word;
}
.category-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.category-tag {
display: inline-flex;
align-items: center;
min-height: 26px;
padding: 4px 10px;
border: 1px solid rgba(114, 139, 230, 0.24);
border-radius: 999px;
color: #345a85;
background: #eaf1fa;
font-size: 18px;
font-weight: 600;
line-height: 1.3;
}
.category-tag.detail {
color: #694297;
border-color: rgba(168, 114, 230, 0.24);
background: rgba(156, 92, 203, 0.1);
}
.status-area {
display: flex;
flex-shrink: 0;
flex-direction: column;
align-items: flex-end;
gap: 8px;
}
.status-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 72px;
padding: 6px 11px;
border-radius: 999px;
font-size: 18px;
font-weight: 700;
white-space: nowrap;
}
.status-finished {
color: #176541;
border: 1px solid rgba(71, 219, 166, 0.28);
background: rgba(53, 190, 143, 0.12);
}
.status-unfinished {
color: #9b2f2f;
border: 1px solid rgba(255, 116, 116, 0.25);
background: rgba(218, 75, 75, 0.11);
}
.favorite-badge {
display: inline-flex;
align-items: center;
gap: 5px;
color: var(--jx3-gold-bright);
font-size: 18px;
font-weight: 650;
white-space: nowrap;
}
.not-favorite {
color: var(--jx3-text-muted);
}
.description {
min-height: 46px;
margin: 0 0 18px 0;
color: var(--jx3-text-secondary);
font-size: 19px;
line-height: 1.75;
word-break: break-word;
}
.card-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding-top: 14px;
border-top: 1px solid rgba(130, 149, 207, 0.13);
}
.point-label {
color: var(--jx3-text-muted);
font-size: 18px;
}
.point-value {
display: flex;
align-items: baseline;
gap: 5px;
color: #f4ce73;
font-weight: 800;
}
.point-number {
font-size: 25px;
line-height: 1;
}
.point-unit {
font-size: 18px;
font-weight: 600;
}
.empty-state {
grid-column: 1 / -1;
padding: 60px 20px;
border: 1px dashed rgba(135, 153, 207, 0.24);
border-radius: 16px;
color: var(--jx3-text-muted);
background: var(--jx3-surface);
text-align: center;
font-size: 20px;
}