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>
190 lines
4.6 KiB
CSS
190 lines
4.6 KiB
CSS
/* ---- 文章打赏:内容使用 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);
|
|
}
|
|
|
|
.jio-modal-runtime.jio-reward-modal .jio-modal-runtime__content {
|
|
padding: 0;
|
|
}
|
|
|
|
.jio-reward-modal .modal-colorful-header + .jio-reward__body {
|
|
margin-top: 0;
|
|
padding: 135px 15px 15px;
|
|
color: var(--main-color, var(--color-ink, #333));
|
|
}
|
|
|
|
.jio-reward__desc {
|
|
margin: 0 0 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.jio-modal-runtime.jio-reward-modal .jio-reward__amounts {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin: 16px 0;
|
|
}
|
|
|
|
.jio-modal-runtime.jio-reward-modal .jio-reward__amount {
|
|
display: inline-flex;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 46px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
margin: 0;
|
|
padding: 8px 6px;
|
|
border: 1px solid var(--color-line-stronger, rgba(50, 50, 50, 0.12));
|
|
border-radius: var(--radius, 8px);
|
|
background: var(--surface-2, #f5f6f7);
|
|
color: var(--color-ink-2, #4e5358);
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
box-shadow: none;
|
|
transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.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));
|
|
opacity: 1;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.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));
|
|
}
|
|
|
|
.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;
|
|
box-shadow: 0 3px 10px var(--color-primary-soft, rgba(240, 68, 148, 0.2));
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
|
|
.jio-reward__currency {
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.jio-reward__value {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.jio-modal-runtime.jio-reward-modal .jio-reward__custom {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin: 0 0 16px;
|
|
color: var(--color-ink-2, #4e5358);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.jio-reward__custom-label {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.jio-modal-runtime.jio-reward-modal .jio-reward__input-wrap {
|
|
display: flex;
|
|
width: min(190px, 62%);
|
|
min-height: 44px;
|
|
align-items: center;
|
|
padding: 0 10px 0 12px;
|
|
border: 1px solid var(--color-line-stronger, rgba(50, 50, 50, 0.12));
|
|
border-radius: var(--radius, 8px);
|
|
background: var(--surface-1, #fff);
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.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));
|
|
}
|
|
|
|
.jio-reward__input-currency {
|
|
flex: 0 0 auto;
|
|
margin-right: 6px;
|
|
color: var(--muted-color, var(--color-ink-3, #777));
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.jio-modal-runtime.jio-reward-modal .jio-reward__input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 42px;
|
|
padding: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: var(--color-ink, #333);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
text-align: right;
|
|
-moz-appearance: textfield;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.jio-reward__input::-webkit-inner-spin-button,
|
|
.jio-reward__input::-webkit-outer-spin-button {
|
|
margin: 0;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.jio-reward__input::placeholder {
|
|
color: var(--muted-color, var(--color-ink-4, #999));
|
|
opacity: 1;
|
|
}
|
|
|
|
.jio-reward__input:disabled,
|
|
.jio-reward__amount:disabled {
|
|
cursor: wait;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.jio-reward__submit {
|
|
min-height: 42px;
|
|
}
|
|
|
|
.jio-reward__submit:disabled {
|
|
cursor: wait;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.jio-reward__message {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.jio-reward__captcha {
|
|
margin: 0 0 14px;
|
|
}
|
|
|
|
.jio-modal-runtime--bottom.jio-reward-modal .jio-modal-runtime__dialog {
|
|
border-radius: 16px 16px 0 0;
|
|
}
|
|
|
|
.jio-modal-runtime--bottom.jio-reward-modal .modal-colorful-header {
|
|
border-radius: 16px 16px 0 0;
|
|
}
|