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
@@ -138,10 +138,10 @@
|
||||
line-height: 1.1;
|
||||
}
|
||||
.article-avatar name.flex > .img-icon,
|
||||
.article-avatar name.flex > .aksrt-identity-certification-icon,
|
||||
.article-avatar name.flex > .aksrt-identity-medal,
|
||||
.article-avatar name.flex > .aksrt-user-level-icon,
|
||||
.article-avatar name.flex > .aksrt-user-level-badge {
|
||||
.article-avatar name.flex > .jio-identity-certification-icon,
|
||||
.article-avatar name.flex > .jio-identity-medal,
|
||||
.article-avatar name.flex > .jio-user-level-icon,
|
||||
.article-avatar name.flex > .jio-user-level-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -158,29 +158,29 @@
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.article-avatar name.flex > .img-icon,
|
||||
.article-avatar name.flex > .aksrt-identity-certification-icon,
|
||||
.article-avatar name.flex > .aksrt-identity-medal,
|
||||
.article-avatar name.flex > .aksrt-user-level-icon {
|
||||
.article-avatar name.flex > .jio-identity-certification-icon,
|
||||
.article-avatar name.flex > .jio-identity-medal,
|
||||
.article-avatar name.flex > .jio-user-level-icon {
|
||||
object-fit: contain;
|
||||
}
|
||||
.article-avatar name.flex > .aksrt-user-level-badge {
|
||||
.article-avatar name.flex > .jio-user-level-badge {
|
||||
font-size: .78em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Slide cover overlay (injected by aksrt_render_slider overlay_html) */
|
||||
.aksrt-slider-wrapper--has-overlay,
|
||||
.aksrt-slider-wrapper--scale {
|
||||
/* Slide cover overlay (injected by jio_render_slider overlay_html) */
|
||||
.jio-slider-wrapper--has-overlay,
|
||||
.jio-slider-wrapper--scale {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: var(--main-radius, var(--radius, 8px));
|
||||
}
|
||||
.aksrt-slider-wrapper--scale .new-swiper { position: absolute; inset: 0; width: 100%; height: 100%; }
|
||||
.aksrt-slider-wrapper--scale .swiper-slide img.fit-cover { width: 100%; height: 100%; object-fit: cover; }
|
||||
.aksrt-slider-overlay { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
|
||||
.aksrt-slider-overlay .abs-center.left-bottom {
|
||||
.jio-slider-wrapper--scale .new-swiper { position: absolute; inset: 0; width: 100%; height: 100%; }
|
||||
.jio-slider-wrapper--scale .swiper-slide img.fit-cover { width: 100%; height: 100%; object-fit: cover; }
|
||||
.jio-slider-overlay { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
|
||||
.jio-slider-overlay .abs-center.left-bottom {
|
||||
pointer-events: none;
|
||||
padding: 15px 15px 10px 15px;
|
||||
color: #fff;
|
||||
@@ -189,7 +189,7 @@
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.aksrt-slider-overlay .article-title,
|
||||
.aksrt-slider-overlay .article-title.title-h-left { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
|
||||
.aksrt-slider-overlay .breadcrumb a,
|
||||
.aksrt-slider-overlay .breadcrumb li { color: rgba(255,255,255,.9); }
|
||||
.jio-slider-overlay .article-title,
|
||||
.jio-slider-overlay .article-title.title-h-left { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
|
||||
.jio-slider-overlay .breadcrumb a,
|
||||
.jio-slider-overlay .breadcrumb li { color: rgba(255,255,255,.9); }
|
||||
@@ -13,30 +13,30 @@
|
||||
box-shadow: var(--card-shadow, 0 2px 8px rgba(0, 0, 0, .06));
|
||||
}
|
||||
|
||||
.aksrt-yiyan[data-aksrt-yiyan] {
|
||||
.jio-yiyan[data-jio-yiyan] {
|
||||
cursor: pointer;
|
||||
transition: box-shadow .2s ease, opacity .2s ease;
|
||||
}
|
||||
|
||||
.aksrt-yiyan[data-aksrt-yiyan]:hover,
|
||||
.aksrt-yiyan[data-aksrt-yiyan]:focus-visible {
|
||||
.jio-yiyan[data-jio-yiyan]:hover,
|
||||
.jio-yiyan[data-jio-yiyan]:focus-visible {
|
||||
box-shadow: inset 0 0 5px 0 var(--focus-shadow-color, rgba(253, 83, 161, .3));
|
||||
}
|
||||
|
||||
.aksrt-yiyan .yiyan {
|
||||
.jio-yiyan .yiyan {
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.aksrt-yiyan .yiyan .en {
|
||||
.jio-yiyan .yiyan .en {
|
||||
font-size: .9em;
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
.aksrt-yiyan.is-loading {
|
||||
.jio-yiyan.is-loading {
|
||||
opacity: .65;
|
||||
}
|
||||
|
||||
.aksrt-yiyan.is-error .cn {
|
||||
.jio-yiyan.is-error .cn {
|
||||
color: var(--muted-color, #777);
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
}
|
||||
|
||||
/* ---- Hidden Content Shortcodes ---- */
|
||||
.aksrt-hidden-content {
|
||||
.jio-hidden-content {
|
||||
position: relative;
|
||||
margin: 16px 0;
|
||||
padding: 16px;
|
||||
@@ -68,19 +68,19 @@
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content--unlocked {
|
||||
.jio-hidden-content--unlocked {
|
||||
background: var(--bg-secondary, #f8f9fa);
|
||||
border: 1px solid var(--border-color, #e5e7eb);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content--locked {
|
||||
.jio-hidden-content--locked {
|
||||
background: linear-gradient(135deg, var(--bg-secondary, #f8f9fa) 0%, var(--bg-tertiary, #f1f3f5) 100%);
|
||||
border: 1px dashed var(--border-color, #d1d5db);
|
||||
text-align: center;
|
||||
padding: 24px 16px;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__message {
|
||||
.jio-hidden-content__message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -90,20 +90,20 @@
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__message i {
|
||||
.jio-hidden-content__message i {
|
||||
font-size: 18px;
|
||||
color: var(--text-muted, #9ca3af);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content--vip .aksrt-hidden-content__message i {
|
||||
.jio-hidden-content--vip .jio-hidden-content__message i {
|
||||
color: var(--vip-color, #f59e0b);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content--payshow .aksrt-hidden-content__message i {
|
||||
.jio-hidden-content--payshow .jio-hidden-content__message i {
|
||||
color: var(--primary-color, #3b82f6);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__form {
|
||||
.jio-hidden-content__form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -111,7 +111,7 @@
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__password-input {
|
||||
.jio-hidden-content__password-input {
|
||||
width: 200px;
|
||||
max-width: 60%;
|
||||
padding: 6px 12px;
|
||||
@@ -124,12 +124,12 @@
|
||||
transition: border-color .2s;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__password-input:focus {
|
||||
.jio-hidden-content__password-input:focus {
|
||||
border-color: var(--primary-color, #3b82f6);
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__submit-btn,
|
||||
.aksrt-hidden-content__login-btn {
|
||||
.jio-hidden-content__submit-btn,
|
||||
.jio-hidden-content__login-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
@@ -141,10 +141,10 @@
|
||||
transition: opacity .2s;
|
||||
}
|
||||
|
||||
.aksrt-hidden-content__submit-btn:hover,
|
||||
.aksrt-hidden-content__login-btn:hover {
|
||||
.jio-hidden-content__submit-btn:hover,
|
||||
.jio-hidden-content__login-btn:hover {
|
||||
opacity: .85;
|
||||
}
|
||||
|
||||
.aksrt-paywall-preview { margin: 0 0 16px; padding: 14px 16px; border-left: 3px solid var(--color-primary, #f04494); background: var(--surface-2, #f8fafc); border-radius: 0 10px 10px 0; color: var(--color-ink-2, #374151); line-height: 1.7; }
|
||||
.aksrt-paywall-preview p:last-child { margin-bottom: 0; }
|
||||
.jio-paywall-preview { margin: 0 0 16px; padding: 14px 16px; border-left: 3px solid var(--color-primary, #f04494); background: var(--surface-2, #f8fafc); border-radius: 0 10px 10px 0; color: var(--color-ink-2, #374151); line-height: 1.7; }
|
||||
.jio-paywall-preview p:last-child { margin-bottom: 0; }
|
||||
@@ -1,33 +1,33 @@
|
||||
/* ---- 文章打赏:内容使用 AksrtModalRuntime,几何对齐参考主题 modal-mini ---- */
|
||||
.aksrt-modal-runtime.aksrt-reward-modal:not(.aksrt-modal-runtime--bottom) .aksrt-modal-runtime__dialog {
|
||||
/* ---- 文章打赏:内容使用 JioModalRuntime,几何对齐参考主题 modal-mini ---- */
|
||||
.jio-modal-runtime.jio-reward-modal:not(.jio-modal-runtime--bottom) .jio-modal-runtime__dialog {
|
||||
width: min(400px, calc(100vw - 32px));
|
||||
border-radius: var(--main-radius, 8px);
|
||||
background: var(--main-bg-color, #fff);
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-modal-runtime__content {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-modal-runtime__content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.aksrt-reward-modal .modal-colorful-header + .aksrt-reward__body {
|
||||
.jio-reward-modal .modal-colorful-header + .jio-reward__body {
|
||||
margin-top: 0;
|
||||
padding: 135px 15px 15px;
|
||||
color: var(--main-color, var(--color-ink, #333));
|
||||
}
|
||||
|
||||
.aksrt-reward__desc {
|
||||
.jio-reward__desc {
|
||||
margin: 0 0 16px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amounts {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__amounts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__amount {
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
@@ -49,7 +49,7 @@
|
||||
transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount:hover {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__amount:hover {
|
||||
border-color: var(--focus-color, var(--color-primary, #f04494));
|
||||
background: var(--color-primary-soft, rgba(240, 68, 148, 0.1));
|
||||
color: var(--focus-color, var(--color-primary, #f04494));
|
||||
@@ -57,13 +57,13 @@
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount:focus-visible {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__amount:focus-visible {
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(240, 68, 148, 0.2));
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount.is-active,
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__amount.is-active:hover {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__amount.is-active,
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__amount.is-active:hover {
|
||||
border-color: var(--focus-color, var(--color-primary, #f04494));
|
||||
background: var(--focus-color, var(--color-primary, #f04494));
|
||||
color: #fff;
|
||||
@@ -72,16 +72,16 @@
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.aksrt-reward__currency {
|
||||
.jio-reward__currency {
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.aksrt-reward__value {
|
||||
.jio-reward__value {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__custom {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__custom {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
@@ -93,11 +93,11 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-reward__custom-label {
|
||||
.jio-reward__custom-label {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__input-wrap {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__input-wrap {
|
||||
display: flex;
|
||||
width: min(190px, 62%);
|
||||
min-height: 44px;
|
||||
@@ -109,12 +109,12 @@
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__input-wrap:focus-within {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__input-wrap:focus-within {
|
||||
border-color: var(--focus-color, var(--color-primary, #f04494));
|
||||
box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(240, 68, 148, 0.1));
|
||||
}
|
||||
|
||||
.aksrt-reward__input-currency {
|
||||
.jio-reward__input-currency {
|
||||
flex: 0 0 auto;
|
||||
margin-right: 6px;
|
||||
color: var(--muted-color, var(--color-ink-3, #777));
|
||||
@@ -122,7 +122,7 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime.aksrt-reward-modal .aksrt-reward__input {
|
||||
.jio-modal-runtime.jio-reward-modal .jio-reward__input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 42px;
|
||||
@@ -138,33 +138,33 @@
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.aksrt-reward__input::-webkit-inner-spin-button,
|
||||
.aksrt-reward__input::-webkit-outer-spin-button {
|
||||
.jio-reward__input::-webkit-inner-spin-button,
|
||||
.jio-reward__input::-webkit-outer-spin-button {
|
||||
margin: 0;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
.aksrt-reward__input::placeholder {
|
||||
.jio-reward__input::placeholder {
|
||||
color: var(--muted-color, var(--color-ink-4, #999));
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.aksrt-reward__input:disabled,
|
||||
.aksrt-reward__amount:disabled {
|
||||
.jio-reward__input:disabled,
|
||||
.jio-reward__amount:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.aksrt-reward__submit {
|
||||
.jio-reward__submit {
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
.aksrt-reward__submit:disabled {
|
||||
.jio-reward__submit:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.aksrt-reward__message {
|
||||
.jio-reward__message {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
@@ -176,14 +176,14 @@
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.aksrt-reward__captcha {
|
||||
.jio-reward__captcha {
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime--bottom.aksrt-reward-modal .aksrt-modal-runtime__dialog {
|
||||
.jio-modal-runtime--bottom.jio-reward-modal .jio-modal-runtime__dialog {
|
||||
border-radius: 16px 16px 0 0;
|
||||
}
|
||||
|
||||
.aksrt-modal-runtime--bottom.aksrt-reward-modal .modal-colorful-header {
|
||||
.jio-modal-runtime--bottom.jio-reward-modal .modal-colorful-header {
|
||||
border-radius: 16px 16px 0 0;
|
||||
}
|
||||
@@ -25,7 +25,7 @@ body.single main.container .content-layout > .breadcrumbs-wrap {
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
body.single .sidebar .aksrt-panel,
|
||||
body.single .sidebar .jio-panel,
|
||||
body.single .sidebar .widget {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user