436 lines
10 KiB
CSS
436 lines
10 KiB
CSS
/* mianfeishoucang.html page styles */
|
|
/* === Stats Summary Bar === */
|
|
.sc-stats {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.sc-stat-card {
|
|
flex: 1;
|
|
background: var(--white);
|
|
border-radius: var(--radius-lg);
|
|
padding: 20px 24px;
|
|
box-shadow: var(--shadow-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
border: 1px solid var(--border-light);
|
|
transition: all 0.3s;
|
|
cursor: pointer;
|
|
}
|
|
.sc-stat-card:hover {
|
|
border-color: transparent;
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-2px);
|
|
}
|
|
.sc-stat-card.active {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 4px 20px rgba(16, 43, 106, 0.15);
|
|
}
|
|
.sc-stat-card.active .sc-stat-icon {
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--primary),
|
|
var(--primary-light)
|
|
);
|
|
color: var(--white);
|
|
}
|
|
.sc-stat-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 22px;
|
|
background: var(--bg-light);
|
|
color: var(--text-muted);
|
|
transition: all 0.3s;
|
|
flex-shrink: 0;
|
|
}
|
|
.sc-stat-icon.gold {
|
|
color: var(--gold-dark);
|
|
background: rgba(253, 185, 51, 0.12);
|
|
}
|
|
.sc-stat-icon.orange {
|
|
color: var(--orange);
|
|
background: rgba(241, 90, 34, 0.1);
|
|
}
|
|
.sc-stat-icon.blue {
|
|
color: var(--primary);
|
|
background: rgba(16, 43, 106, 0.08);
|
|
}
|
|
.sc-stat-card.active .sc-stat-icon.gold,
|
|
.sc-stat-card.active .sc-stat-icon.orange,
|
|
.sc-stat-card.active .sc-stat-icon.blue {
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--primary),
|
|
var(--primary-light)
|
|
);
|
|
color: var(--white);
|
|
}
|
|
.sc-stat-info {
|
|
flex: 1;
|
|
}
|
|
.sc-stat-value {
|
|
font-size: 26px;
|
|
font-weight: 800;
|
|
color: var(--text-dark);
|
|
line-height: 1.2;
|
|
}
|
|
.sc-stat-label {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* === Tab Content Panels === */
|
|
.sc-panel {
|
|
display: none;
|
|
}
|
|
.sc-panel.active {
|
|
display: block;
|
|
animation: fadeInUp 0.35s ease;
|
|
}
|
|
|
|
/* === Paid Article Table Enhancements === */
|
|
.sc-paid-table {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.sc-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 220px;
|
|
margin: 20px 0;
|
|
border: 1px dashed var(--border-light);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(255, 255, 255, 0.72);
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
.sc-paid-row {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 16px 24px;
|
|
background: var(--white);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
margin-bottom: 12px;
|
|
gap: 16px;
|
|
transition: all 0.3s;
|
|
border: 1px solid var(--border-light);
|
|
}
|
|
.sc-paid-row:hover {
|
|
border-color: transparent;
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateX(4px);
|
|
}
|
|
.sc-paid-row.removing {
|
|
animation: fadeOutRow 0.4s ease forwards;
|
|
}
|
|
@keyframes fadeOutRow {
|
|
0% {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
transform: translateX(40px);
|
|
}
|
|
}
|
|
.sc-expert-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-shrink: 0;
|
|
text-decoration: none;
|
|
}
|
|
.sc-expert-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 2px solid rgba(253, 185, 51, 0.4);
|
|
}
|
|
.sc-expert-avatar-fallback {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--primary),
|
|
var(--primary-light)
|
|
);
|
|
color: var(--white);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
}
|
|
.sc-expert-name {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-dark);
|
|
white-space: nowrap;
|
|
}
|
|
.sc-paid-period {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
.sc-paid-title {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
color: var(--text-dark);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
.sc-paid-rate {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--green);
|
|
flex-shrink: 0;
|
|
}
|
|
.sc-paid-price {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: var(--orange);
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
.sc-paid-view {
|
|
padding: 6px 18px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--primary);
|
|
background: rgba(16, 43, 106, 0.06);
|
|
border: 1px solid rgba(16, 43, 106, 0.15);
|
|
cursor: pointer;
|
|
transition: all 0.25s;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
.sc-paid-view:hover {
|
|
background: var(--primary);
|
|
color: var(--white);
|
|
border-color: var(--primary);
|
|
}
|
|
.sc-paid-remove {
|
|
padding: 6px 14px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
color: var(--orange);
|
|
background: transparent;
|
|
border: 1px solid var(--orange);
|
|
cursor: pointer;
|
|
transition: all 0.25s;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
.sc-paid-remove:hover {
|
|
background: var(--orange);
|
|
color: var(--white);
|
|
}
|
|
|
|
/* === Expert Collection Cards === */
|
|
.sc-expert-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
.sc-expert-card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
padding: 24px;
|
|
text-align: center;
|
|
border: 1px solid var(--border-light);
|
|
transition: all 0.3s;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.sc-expert-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, var(--primary), var(--gold));
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|
|
.sc-expert-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
.sc-expert-card:hover {
|
|
border-color: transparent;
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-3px);
|
|
}
|
|
.sc-expert-card.removing {
|
|
animation: fadeOutCard 0.4s ease forwards;
|
|
}
|
|
.sc-expert-card-avatar {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 3px solid rgba(253, 185, 51, 0.5);
|
|
margin: 0 auto 12px;
|
|
display: block;
|
|
}
|
|
.sc-expert-card-avatar-fallback {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--primary),
|
|
var(--primary-light)
|
|
);
|
|
color: var(--white);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin: 0 auto 12px;
|
|
}
|
|
.sc-expert-card-name {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--text-dark);
|
|
margin-bottom: 12px;
|
|
}
|
|
.sc-expert-card-stats {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 24px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.sc-expert-card-stat .val {
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
color: var(--primary);
|
|
}
|
|
.sc-expert-card-stat .lbl {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
margin-top: 2px;
|
|
}
|
|
.sc-expert-card-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: center;
|
|
}
|
|
.sc-expert-card-actions .sc-paid-view {
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
.sc-expert-card-actions .sc-paid-remove {
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
/* === Responsive === */
|
|
@media (max-width: 768px) {
|
|
.sc-stats {
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
.sc-stat-card {
|
|
padding: 16px 18px;
|
|
}
|
|
.sc-stat-value {
|
|
font-size: 22px;
|
|
}
|
|
.sc-paid-row {
|
|
flex-wrap: wrap;
|
|
padding: 14px 16px;
|
|
gap: 10px;
|
|
}
|
|
.sc-paid-title {
|
|
width: 100%;
|
|
flex: none;
|
|
order: 10;
|
|
}
|
|
.sc-expert-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.sc-expert-card {
|
|
padding: 18px;
|
|
}
|
|
}
|
|
@media (max-width: 480px) {
|
|
.sc-expert-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.sc-paid-row {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
.cxz-empty[hidden],
|
|
.cxz-pagination[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.sc-paid-title a {
|
|
color: var(--text-dark);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sc-paid-title a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.sc-paid-time {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sc-expert-card-type {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 24px;
|
|
padding: 0 10px;
|
|
margin-bottom: 14px;
|
|
border-radius: 999px;
|
|
background: rgba(253, 185, 51, 0.14);
|
|
color: var(--gold-dark);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.cxz-collect-card .cxz-card-meta {
|
|
gap: 12px;
|
|
}
|
|
|
|
.sc-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.sc-empty-icon-symbol {
|
|
font-size: 48px;
|
|
}
|
|
|
|
.site-footer__record {
|
|
font-size: 12px;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|