The theme was renamed Zibll/子比 → AKSRT → Jio, but upstream branding survived the sweeps in CSS classes, the SVG sprite prefix, a persisted widget field ID, JS events, admin Vue class names, test infrastructure and docblocks. Renames: - zib-widget / zib-widget-wrap / zib-slider → jio-widget-box / jio-widget-box-wrap / jio-slider-box (jio-widget is taken by the modern widget shell, jio-box-* by the card primitives) - zib-partners-scroll + zps-* → jio-partners-scroll + jps-* - zib-combo-info-card + zci-* → jio-combo-info-card + jci-* - zibsvg- → jiosvg-, including the exported picker helpers and the fa-zibsvg- family-prefix guard - zibpay_type → pay_type; the dual-read fallback in PostQuery collapses to a single key - [zibajax="submit"] dropped (no PHP emitter); zib_ajax.success → jio_ajax.success - aks-* admin Vue classes → jio-* - zib_palette() → palette() User-facing vendor traces are gone: the floating "more" button default no longer ships a zibll.com link or 子比主题 marketing copy, the notice widget ships no preset promo entries, and the four 官网教程 links are removed from the post-list admin schema. Test infrastructure renamed to neutral names (docker-compose.reference.yml, Caddyfile, article-baseline.json, modern-widgets-contract.test.cjs) with their DB/volume/env/slug identifiers following. Kept intentionally, documented in tests/fixtures/README.md: the golden fixture reference fingerprint (a SHA-256 record of an external directory, read by validate-widget-golden / generate-widget-golden-fixture / audit-widget-system), the doesNotMatch guards that prove the old tokens are gone, and the reference theme's own meta key in the visual fixtures. No backward-compat or data migration: saved widget configs holding old icon keys or the old field ID silently lose them, per the project's rewrite-over-compatibility rule. Verified: 132/132 node contract tests, php tests/widget-system/run.php (146 assertions), audit-admin-contracts, audit-psr4-paths and validate-widget-golden all green; tracked bundles regenerated and in sync. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
440 lines
7.8 KiB
CSS
440 lines
7.8 KiB
CSS
/* User level panel — single-path layout. */
|
|
.jio-user-level-icon--admin { height: 22px; }
|
|
|
|
/* The level page owns its cards; do not wrap it in the generic dashboard card. */
|
|
.uc-content #panel-level.dashboard-panel {
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.jio-level-page {
|
|
color: var(--color-ink, #4e5358);
|
|
}
|
|
|
|
.jio-level-page .row {
|
|
margin-right: -10px;
|
|
margin-left: -10px;
|
|
}
|
|
|
|
.jio-level-page .row > [class*="col-"] {
|
|
padding-right: 10px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.jio-level-page__summary {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.jio-level-page__summary > [class*="col-"] {
|
|
display: flex;
|
|
}
|
|
|
|
.jio-level-card {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 176px;
|
|
min-height: 176px;
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
border: 0;
|
|
border-radius: var(--main-radius, 8px);
|
|
box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, .08));
|
|
}
|
|
|
|
.jio-level-card .colorful-make {
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Match .colorful-bg / .jb-vip1, scoped to the level summary card. */
|
|
.jio-level-card--summary.colorful-bg {
|
|
background: var(--this-bg);
|
|
background-size: 120%;
|
|
color: var(--this-color);
|
|
}
|
|
|
|
.jio-level-card--summary.colorful-bg > .colorful-make,
|
|
.jio-level-card--summary.colorful-bg > .colorful-make::before,
|
|
.jio-level-card--summary.colorful-bg > .colorful-make::after {
|
|
position: absolute;
|
|
color: var(--this-color);
|
|
background: var(--this-bg);
|
|
border-radius: 100%;
|
|
content: ' ';
|
|
}
|
|
|
|
.jio-level-card--summary.colorful-bg > .colorful-make {
|
|
top: 60%;
|
|
right: auto;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 323px;
|
|
height: 290px;
|
|
}
|
|
|
|
.jio-level-card--summary.colorful-bg > .colorful-make::before {
|
|
top: -325px;
|
|
right: -558px;
|
|
bottom: 0;
|
|
width: 677px;
|
|
height: 300px;
|
|
transform: rotate(341deg);
|
|
opacity: .6;
|
|
}
|
|
|
|
.jio-level-card--summary.colorful-bg > .colorful-make::after {
|
|
top: -170px;
|
|
right: auto;
|
|
bottom: 0;
|
|
left: -262px;
|
|
width: 402px;
|
|
height: 214px;
|
|
transform: rotate(326deg);
|
|
opacity: .4;
|
|
}
|
|
|
|
.jio-level-card__summary-inner,
|
|
.jio-level-card__growth-inner {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
min-height: 146px;
|
|
}
|
|
|
|
.jio-level-card--summary {
|
|
--this-color: #866127;
|
|
--this-bg: linear-gradient(25deg, #eabe7b 10%, #f5e3c7 70%, #edc788 100%);
|
|
color: var(--this-color);
|
|
}
|
|
|
|
.jio-level-card--growth {
|
|
--this-color: #888;
|
|
--this-bg: rgba(136, 136, 136, .1);
|
|
color: var(--this-color);
|
|
}
|
|
|
|
.jio-level-card__identity,
|
|
.jio-level-card__current,
|
|
.jio-level-card__growth-head {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.jio-level-card__identity {
|
|
gap: 6px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.jio-level-card__avatar {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
margin-top: -4px;
|
|
overflow: hidden;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, .45);
|
|
}
|
|
|
|
.jio-level-card__avatar img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.jio-level-card__current {
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: -27px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.jio-level-card__badge {
|
|
display: inline-block;
|
|
width: auto;
|
|
max-width: 72px;
|
|
height: 26px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.jio-level-card__badge-text {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 34px;
|
|
height: 26px;
|
|
padding: 0 6px;
|
|
border-radius: 4px;
|
|
background: rgba(255, 255, 255, .38);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.jio-level-card__progress-copy {
|
|
margin-top: auto;
|
|
}
|
|
|
|
.jio-level-card__progress-copy .flex {
|
|
gap: 10px;
|
|
}
|
|
|
|
.jio-level-card__progress-copy strong {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.jio-level-card__progress-copy span {
|
|
font-size: 11px;
|
|
opacity: .8;
|
|
text-align: right;
|
|
}
|
|
|
|
.jio-level-progress {
|
|
height: 3px;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
border-radius: 4px;
|
|
background: rgba(155, 107, 78, .28);
|
|
}
|
|
|
|
.jio-level-progress > span {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: #9b6b4e;
|
|
}
|
|
|
|
.jio-level-card__growth-head {
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 28px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.jio-level-card__growth-head > div {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
gap: 12px;
|
|
}
|
|
|
|
.jio-level-card__growth-head strong,
|
|
.jio-level-card__growth-head a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.jio-level-card__growth-head strong {
|
|
color: inherit;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.jio-level-card__growth-head strong i {
|
|
margin-right: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.jio-level-card__growth-head a {
|
|
font-size: 11px;
|
|
text-decoration: none;
|
|
opacity: .8;
|
|
}
|
|
|
|
.jio-level-card__growth-head > a {
|
|
flex: 0 0 auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.jio-level-growth {
|
|
width: 100%;
|
|
min-height: 96px;
|
|
margin-top: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.jio-level-growth .swiper-wrapper {
|
|
align-items: flex-end;
|
|
min-height: 96px;
|
|
}
|
|
|
|
.jio-level-growth .pillar-item {
|
|
display: flex;
|
|
flex: 0 0 34px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
min-height: 96px;
|
|
color: inherit;
|
|
opacity: .9;
|
|
text-align: center;
|
|
transition: opacity .2s ease;
|
|
}
|
|
|
|
.jio-level-growth .pillar-item.is-future {
|
|
opacity: .5;
|
|
}
|
|
|
|
.jio-level-growth .pillar-item .value {
|
|
min-height: 15px;
|
|
font-size: 9px;
|
|
line-height: 15px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.jio-level-growth .pillar-item .pillar {
|
|
width: 6px;
|
|
min-height: 2px;
|
|
margin: 0 auto 3px;
|
|
border-radius: 6px;
|
|
background: linear-gradient(#707479, #bfc5cc);
|
|
}
|
|
|
|
.jio-level-growth .pillar-item.active {
|
|
color: #b97030;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.jio-level-growth .pillar-item.active .pillar {
|
|
background: linear-gradient(#c1764a, #e8c48e);
|
|
}
|
|
|
|
.jio-level-growth .level-name {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 22px;
|
|
}
|
|
|
|
.jio-level-growth .level-name img {
|
|
display: block;
|
|
width: auto;
|
|
max-width: 32px;
|
|
height: 18px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.jio-level-growth .level-name span {
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.jio-level-experience {
|
|
clear: both;
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
border: 0;
|
|
border-radius: var(--main-radius, 8px);
|
|
background: var(--main-bg-color, var(--surface-1, #fff));
|
|
box-shadow: 0 0 10px var(--main-shadow, rgba(116, 116, 116, .08));
|
|
}
|
|
|
|
.jio-level-experience .box-body {
|
|
padding: 15px;
|
|
}
|
|
|
|
.jio-level-tabs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.jio-level-tabs .but {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.jio-level-tabs .but.is-active {
|
|
color: var(--focus-color, #f04494);
|
|
}
|
|
|
|
.jio-level-experience .tab-content {
|
|
min-height: 80px;
|
|
}
|
|
|
|
.jio-level-experience .tab-pane[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.jio-level-list-row,
|
|
.jio-level-date-row {
|
|
border-color: var(--main-border-color, rgba(0, 0, 0, .06));
|
|
}
|
|
|
|
.jio-level-list-row .focus-color,
|
|
.jio-level-date-row .focus-color {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.jio-level-empty {
|
|
margin: 0;
|
|
padding: 24px 0;
|
|
color: var(--muted-2-color, #999);
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
.jio-level-card--summary,
|
|
.jio-level-card--growth {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.jio-level-page__summary {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.jio-level-page .row {
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.jio-level-page .row > [class*="col-"] {
|
|
padding-right: 0;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.jio-level-card {
|
|
min-height: 176px;
|
|
}
|
|
|
|
.jio-level-card__growth-head {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.jio-level-card__growth-head > a {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.jio-level-growth {
|
|
min-height: 92px;
|
|
}
|
|
|
|
.jio-level-growth .swiper-wrapper,
|
|
.jio-level-growth .pillar-item {
|
|
min-height: 92px;
|
|
}
|
|
|
|
.jio-level-experience {
|
|
padding: 10px;
|
|
}
|
|
|
|
.jio-level-experience .box-body {
|
|
padding: 10px 5px;
|
|
}
|
|
|
|
.jio-level-list-row .flex {
|
|
align-items: flex-start;
|
|
}
|
|
}
|