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>
This commit is contained in:
1 parent
5b16bc6e15
commit
35bb96e82f
997 files changed
+28216
-28188
No files matched your search
@@ -1,7 +1,7 @@
|
||||
/* ============================================================
|
||||
* 9. 公告跑马灯 Widget
|
||||
* ============================================================ */
|
||||
.aksrt-announcement {
|
||||
.jio-announcement {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: 10px 12px;
|
||||
@@ -9,7 +9,7 @@
|
||||
border-radius: var(--radius, 10px);
|
||||
}
|
||||
|
||||
.aksrt-announcement__icon {
|
||||
.jio-announcement__icon {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
top: 50%;
|
||||
@@ -19,20 +19,20 @@
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.aksrt-announcement__track {
|
||||
.jio-announcement__track {
|
||||
margin-left: 24px;
|
||||
overflow: hidden;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.aksrt-announcement__list {
|
||||
.jio-announcement__list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
animation: aksrt-marquee 10s linear infinite;
|
||||
animation: jio-marquee 10s linear infinite;
|
||||
}
|
||||
|
||||
.aksrt-announcement__item {
|
||||
.jio-announcement__item {
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
font-size: 13px;
|
||||
@@ -41,48 +41,48 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.aksrt-announcement__item a {
|
||||
.jio-announcement__item a {
|
||||
color: var(--color-ink-2);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.aksrt-announcement__item a:hover {
|
||||
.jio-announcement__item a:hover {
|
||||
color: var(--color-primary, var(--color-primary));
|
||||
}
|
||||
|
||||
@keyframes aksrt-marquee {
|
||||
@keyframes jio-marquee {
|
||||
0% { transform: translateY(0); }
|
||||
100% { transform: translateY(-100%); }
|
||||
}
|
||||
|
||||
.aksrt-announcement:hover .aksrt-announcement__list {
|
||||
.jio-announcement:hover .jio-announcement__list {
|
||||
animation-play-state: paused;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* 11. 滚动触发动画初始状态
|
||||
* ============================================================ */
|
||||
[data-aksrt-animate] {
|
||||
[data-jio-animate] {
|
||||
will-change: opacity, transform;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* 12. 粘性侧栏
|
||||
* ============================================================ */
|
||||
[data-aksrt-sticky] {
|
||||
[data-jio-sticky] {
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* 13. 用户排行榜 Widget
|
||||
* ============================================================ */
|
||||
.aksrt-user-ranking {
|
||||
.jio-user-ranking {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__item {
|
||||
.jio-user-ranking__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
@@ -90,11 +90,11 @@
|
||||
border-bottom: 1px solid var(--color-line-soft, #F0F1F3);
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__item:last-child {
|
||||
.jio-user-ranking__item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__rank {
|
||||
.jio-user-ranking__rank {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -108,33 +108,33 @@
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__item--top:nth-child(1) .aksrt-user-ranking__rank {
|
||||
.jio-user-ranking__item--top:nth-child(1) .jio-user-ranking__rank {
|
||||
background: #FFD700;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__item--top:nth-child(2) .aksrt-user-ranking__rank {
|
||||
.jio-user-ranking__item--top:nth-child(2) .jio-user-ranking__rank {
|
||||
background: #C0C0C0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__item--top:nth-child(3) .aksrt-user-ranking__rank {
|
||||
.jio-user-ranking__item--top:nth-child(3) .jio-user-ranking__rank {
|
||||
background: #CD7F32;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__avatar {
|
||||
.jio-user-ranking__avatar {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__avatar img {
|
||||
.jio-user-ranking__avatar img {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__name {
|
||||
.jio-user-ranking__name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 14px;
|
||||
@@ -145,11 +145,11 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__name:hover {
|
||||
.jio-user-ranking__name:hover {
|
||||
color: var(--color-primary, var(--color-primary));
|
||||
}
|
||||
|
||||
.aksrt-user-ranking__value {
|
||||
.jio-user-ranking__value {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4, #8A8F98);
|
||||
white-space: nowrap;
|
||||
@@ -158,13 +158,13 @@
|
||||
/* ============================================================
|
||||
* 14. 图文封面卡片 Widget
|
||||
* ============================================================ */
|
||||
.aksrt-cover-cards {
|
||||
.jio-cover-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--cols, 2), 1fr);
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.aksrt-cover-card {
|
||||
.jio-cover-card {
|
||||
position: relative;
|
||||
border-radius: var(--radius-lg, 8px);
|
||||
overflow: hidden;
|
||||
@@ -174,47 +174,47 @@
|
||||
transition: transform 0.3s, box-shadow 0.3s;
|
||||
}
|
||||
|
||||
.aksrt-cover-card:hover {
|
||||
.jio-cover-card:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.aksrt-cover-card__bg {
|
||||
.jio-cover-card__bg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
.aksrt-cover-card__bg img {
|
||||
.jio-cover-card__bg img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.5s;
|
||||
}
|
||||
|
||||
.aksrt-cover-card:hover .aksrt-cover-card__bg img {
|
||||
.jio-cover-card:hover .jio-cover-card__bg img {
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
.aksrt-cover-card__overlay {
|
||||
.jio-cover-card__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%);
|
||||
}
|
||||
|
||||
.aksrt-cover-card__content {
|
||||
.jio-cover-card__content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 16px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.aksrt-cover-card__link {
|
||||
.jio-cover-card__link {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.aksrt-cover-card__title {
|
||||
.jio-cover-card__title {
|
||||
margin: 0 0 4px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
@@ -222,7 +222,7 @@
|
||||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.aksrt-cover-card__desc {
|
||||
.jio-cover-card__desc {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
@@ -236,7 +236,7 @@
|
||||
/* ============================================================
|
||||
* 15. 视频播放器 Widget
|
||||
* ============================================================ */
|
||||
.aksrt-video-widget {
|
||||
.jio-video-widget {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
@@ -244,8 +244,8 @@
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.aksrt-video-widget iframe,
|
||||
.aksrt-video-widget video {
|
||||
.jio-video-widget iframe,
|
||||
.jio-video-widget video {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
@@ -257,11 +257,11 @@
|
||||
/* ============================================================
|
||||
* 16. 表单输入浮动标签
|
||||
* ============================================================ */
|
||||
.aksrt-float-label {
|
||||
.jio-float-label {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.aksrt-float-label__input {
|
||||
.jio-float-label__input {
|
||||
width: 100%;
|
||||
padding: 14px 12px 6px;
|
||||
font-size: 14px;
|
||||
@@ -272,12 +272,12 @@
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
|
||||
.aksrt-float-label__input:focus {
|
||||
.jio-float-label__input:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-primary, var(--color-primary));
|
||||
}
|
||||
|
||||
.aksrt-float-label__label {
|
||||
.jio-float-label__label {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
top: 50%;
|
||||
@@ -288,8 +288,8 @@
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.aksrt-float-label__input:focus + .aksrt-float-label__label,
|
||||
.aksrt-float-label__input:not(:placeholder-shown) + .aksrt-float-label__label {
|
||||
.jio-float-label__input:focus + .jio-float-label__label,
|
||||
.jio-float-label__input:not(:placeholder-shown) + .jio-float-label__label {
|
||||
top: 8px;
|
||||
transform: translateY(0);
|
||||
font-size: 11px;
|
||||
@@ -299,7 +299,7 @@
|
||||
/* ============================================================
|
||||
* 17. 视差滚动层
|
||||
* ============================================================ */
|
||||
[data-aksrt-parallax] {
|
||||
[data-jio-parallax] {
|
||||
will-change: transform;
|
||||
transition: transform 0.1s linear;
|
||||
}
|
||||
@@ -307,7 +307,7 @@
|
||||
/* ============================================================
|
||||
* 20. 用户等级进度条
|
||||
* ============================================================ */
|
||||
.aksrt-level-bar {
|
||||
.jio-level-bar {
|
||||
position: relative;
|
||||
height: 8px;
|
||||
background: var(--surface-2, #F4F5F7);
|
||||
@@ -315,14 +315,14 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.aksrt-level-bar__fill {
|
||||
.jio-level-bar__fill {
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, var(--color-primary, var(--color-primary)), var(--color-primary-active, #5A85BD));
|
||||
border-radius: 4px;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.aksrt-level-bar__label {
|
||||
.jio-level-bar__label {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: -18px;
|
||||
|
||||
Reference in new issue
Block a user