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>
85 lines
6.5 KiB
CSS
85 lines
6.5 KiB
CSS
/* 付费文章(jio_pay_products):列表 + 快速设置弹窗。复用 native-ui.css 的 --an-* 令牌,规则限定在本页类名下。 */
|
|
.jio-products-page [hidden],
|
|
.jio-product-dialog [hidden] { display: none !important; }
|
|
|
|
/* ---------- 工具栏:类型视图 + 搜索 ---------- */
|
|
.jio-products-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px 20px; border-bottom: 1px solid var(--an-border-soft); }
|
|
.jio-products-toolbar .subsubsub { margin: 0; padding: 0; box-shadow: none; }
|
|
.jio-products-toolbar .jio-native-filters { margin: 0; }
|
|
|
|
/* ---------- 商品表 ---------- */
|
|
.jio-products-page .jio-products-table { min-width: 960px; table-layout: fixed; }
|
|
.jio-products-table .column-product { width: 32%; }
|
|
.jio-products-table .column-type { width: 13%; }
|
|
.jio-products-table .column-price { width: 17%; }
|
|
.jio-products-table .column-sales { width: 11%; }
|
|
.jio-products-table .column-revenue { width: 12%; }
|
|
.jio-products-table .column-actions { width: 15%; }
|
|
.jio-products-page .jio-products-table td { vertical-align: top; overflow-wrap: anywhere; }
|
|
.jio-products-table .row-title { font-weight: 600; }
|
|
.jio-products-sub { margin-top: 4px; color: var(--an-muted); font-size: 12px; line-height: 1.5; }
|
|
.jio-products-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; }
|
|
.jio-products-links a { text-decoration: none; }
|
|
.jio-products-table tr.is-highlight > td { background: var(--an-primary-soft); }
|
|
|
|
/* ---------- 快速设置弹窗 ---------- */
|
|
html.jio-products-modal-open { overflow: hidden; }
|
|
.jio-product-dialog { width: min(760px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: hidden; color: var(--an-text-2); background: var(--an-card); border: 0; border-radius: var(--an-radius); box-shadow: 0 16px 64px rgba(15, 23, 42, .2); }
|
|
.jio-product-dialog::backdrop { background: rgba(15, 23, 42, .45); }
|
|
.jio-product-dialog__frame { display: flex; flex-direction: column; max-height: inherit; margin: 0; }
|
|
.jio-product-dialog__head { display: flex; flex: none; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 18px; border-bottom: 1px solid var(--an-border-soft); }
|
|
.jio-product-dialog .jio-product-dialog__head h2 { margin: 0; padding: 0; color: var(--an-text); font-size: 18px; font-weight: 600; line-height: 1.5; }
|
|
.jio-product-dialog__head p { margin: 5px 0 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
|
|
.jio-product-dialog__close { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; color: var(--an-text-2); background: transparent; border: 0; border-radius: var(--an-radius-sm); cursor: pointer; }
|
|
.jio-product-dialog__close:hover { color: var(--an-text); background: var(--an-bg-soft); }
|
|
.jio-product-dialog__body { min-height: 0; padding: 4px 24px 20px; overflow-y: auto; overscroll-behavior: contain; }
|
|
.jio-product-dialog__foot { display: flex; flex: none; justify-content: flex-end; gap: 8px; padding: 14px 24px; background: var(--an-card); border-top: 1px solid var(--an-border-soft); }
|
|
.jio-product-dialog__foot .button { min-width: 110px; }
|
|
.jio-product-dialog .button:disabled { opacity: .65; cursor: not-allowed; }
|
|
.jio-product-dialog :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--an-primary); outline-offset: 2px; }
|
|
|
|
.jio-product-section { padding: 18px 0; border-bottom: 1px solid var(--an-border-soft); }
|
|
.jio-product-section:last-child { border-bottom: 0; }
|
|
.jio-product-dialog .jio-product-section h3 { margin: 0 0 12px; color: var(--an-text); font-size: 14px; font-weight: 600; line-height: 1.5; }
|
|
.jio-product-section__hint { margin: -6px 0 12px; color: var(--an-muted); font-size: 12px; }
|
|
.jio-product-section .jio-native-callout { margin: 14px 0 0; }
|
|
.jio-product-dialog .jio-native-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.jio-product-pane { min-width: 0; margin: 0; padding: 0; border: 0; }
|
|
.jio-product-pane + .jio-product-pane { margin-top: 0; }
|
|
.jio-product-dialog textarea { resize: vertical; }
|
|
|
|
.jio-product-radios { margin: 0; padding: 0; border: 0; }
|
|
.jio-product-radios legend { margin-bottom: 6px; padding: 0; }
|
|
.jio-product-radios > div { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.jio-product-radios label { position: relative; cursor: pointer; }
|
|
.jio-product-radios input[type="radio"] { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
|
|
.jio-product-radios label > span { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; color: var(--an-text-2); background: var(--an-card); border: 1px solid var(--an-border); border-radius: var(--an-radius-sm); }
|
|
.jio-product-radios label:hover > span { border-color: var(--an-primary); }
|
|
.jio-product-radios input:checked + span { color: var(--an-primary); background: var(--an-primary-soft); border-color: var(--an-primary); font-weight: 600; }
|
|
.jio-product-radios input:focus-visible + span { outline: 2px solid var(--an-primary); outline-offset: 2px; }
|
|
.jio-product-section > [data-jio-product-pane="enabled"] { margin-top: 14px; }
|
|
|
|
.jio-product-inline { display: flex; align-items: center; gap: 6px; }
|
|
.jio-product-inline input { flex: 1 1 auto; min-width: 0; }
|
|
.jio-product-inline select { flex: none; width: auto; }
|
|
.jio-product-unit { flex: none; color: var(--an-muted); }
|
|
.jio-product-switches { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
|
|
.jio-product-check { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--an-text); cursor: pointer; }
|
|
.jio-product-dialog .jio-product-check input[type="checkbox"] { flex: none; width: 16px; height: 16px; min-width: 0; min-height: 0; margin: 0; }
|
|
.jio-product-expire { max-width: 50%; margin-top: 14px; }
|
|
.jio-product-note { margin: 4px 0 0; font-size: 12px; }
|
|
|
|
@media (max-width: 782px) {
|
|
.jio-products-toolbar { padding: 12px 14px; }
|
|
.jio-products-toolbar .jio-native-filters { width: 100%; }
|
|
}
|
|
@media (max-width: 600px) {
|
|
.jio-product-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
|
|
.jio-product-dialog__head,
|
|
.jio-product-dialog__body,
|
|
.jio-product-dialog__foot { padding-left: 16px; padding-right: 16px; }
|
|
.jio-product-dialog .jio-native-form-grid { grid-template-columns: 1fr; }
|
|
.jio-product-expire { max-width: none; }
|
|
.jio-product-dialog__foot .button { flex: 1; min-width: 0; }
|
|
}
|