Files
wordpress-theme-aksrt/assets/css/routes/user-center/level.css
T
kate522andClaude Opus 5 35bb96e82f refactor: rename the theme brand and every identifier from AKSRT to Jio
Full-project rename. `git grep -i aksrt` is now empty apart from the
DBMigrator 3.3.0 changelog note that documents the rename itself.

Code identifiers
- PHP namespace AKSRT\ -> Jio\ (composer PSR-4 + 378 declarations)
- global constants AKSRT_* -> JIO_* (VERSION/DIR/URI, PAY_TYPE_*, CAPTCHA_*)
- procedural functions, hooks, options, meta keys, table names,
  cookies, query vars, ajax actions and nonces: aksrt_ -> jio_
- text domain aksrt -> jio; Theme Name -> Jio
- JS globals: aksrtData/aksrtAdminData/... -> jioData/jioAdminData/...,
  window.AKSRTCaptcha & friends -> window.JioCaptcha, Aksrt* -> Jio*
- Vue components Aks*.vue -> Jio*.vue (15 files renamed + imports)
- CSS classes/data-attrs/custom properties: aksrt- -> jio-
- REST namespace aksrt/v1 -> jio/v1 (incl. payment gateway callbacks)

Storage layer
- DB tables {prefix}aksrt_* -> {prefix}jio_*; SCHEMA_VERSION 3.2.0 -> 3.3.0
  so dbDelta creates the new names on install
- widget id_base aksrt_widget_* -> jio_widget_*
- uninstall.php drop list rebuilt from the actual migrator tables
  (dropped 3 stale entries, added the 17 missing ones)

Removed
- hardcoded https://api.aksrt.com/version.json default update endpoint;
  get_endpoint() now reads the 「更新端点」 setting and do_check() no-ops
  when it is empty

Files renamed: inc/helpers/aksrt-*.php -> jio-*.php (54),
assets/admin/src/components/form/Aks*.vue -> Jio*.vue (15).
Build artifacts regenerated: assets/css/build, assets/js/runtime,
assets/admin/build.

Verified: audit-psr4-paths errors=0, audit-admin-contracts errors=0
(warnings=56, unchanged baseline), 813/813 widget-system tests,
44/44 phpunit, php -l clean across all PHP.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-11-01 20:05:04 +08:00

440 lines
7.8 KiB
CSS

/* User level panel — zibll-aligned 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 zibll .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;
}
}