Files
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

126 lines
8.6 KiB
CSS

/* 举报与禁封申诉运营页。继承 native-ui.css 的后台颜色与表单令牌。 */
.jio-ban-page [hidden],
.jio-ban-dialog [hidden] { display: none !important; }
.jio-ban-toolbar { padding: 14px 20px; border-bottom: 1px solid var(--an-border-soft); }
.jio-ban-toolbar__top,
.jio-ban-toolbar__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.jio-ban-toolbar__bottom { margin-top: 14px; }
.jio-ban-types { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; background: var(--an-bg-soft); border-radius: var(--an-radius-sm); }
.jio-ban-types a { padding: 6px 12px; color: var(--an-text-2); border-radius: 5px; text-decoration: none; }
.jio-ban-types a:hover { color: var(--an-primary); }
.jio-ban-types a[aria-current="page"] { color: var(--an-primary); background: var(--an-card); box-shadow: 0 1px 3px rgba(15, 23, 42, .08); font-weight: 600; }
.jio-ban-toolbar .subsubsub { margin: 0; padding: 0; box-shadow: none; }
.jio-ban-toolbar .jio-native-filters { margin: 0; }
.jio-ban-toolbar .jio-native-filters input[type="search"] { min-width: 240px; }
.jio-ban-filter-hint { margin: 12px 0 0; color: var(--an-text-2); font-size: 12px; }
.jio-ban-page .jio-ban-table { min-width: 1160px; table-layout: fixed; }
.jio-ban-table .column-type { width: 11%; }
.jio-ban-table .column-user { width: 16%; }
.jio-ban-table .column-summary { width: 27%; }
.jio-ban-table .column-status { width: 10%; }
.jio-ban-table .column-time,
.jio-ban-table .column-updated { width: 13%; }
.jio-ban-table .column-actions { width: 10%; }
.jio-ban-page .jio-ban-table td { overflow-wrap: anywhere; }
.jio-ban-sort { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.jio-ban-sort span { font-size: 14px; }
.jio-ban-page .jio-ban-table th[aria-sort] a,
.jio-ban-page .jio-ban-table th a:hover { color: var(--an-primary); }
.jio-ban-sub { margin-top: 5px; color: var(--an-text-2); font-size: 12px; line-height: 1.6; }
.jio-ban-summary { display: -webkit-box; max-height: 3.1em; margin-top: 5px; color: var(--an-text-2); line-height: 1.55; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.jio-ban-user-filter { display: inline-block; margin: 5px 0 0 36px; font-size: 12px; }
.jio-ban-table .column-actions .button { white-space: nowrap; }
.jio-ban-page :is(a, button, input):focus-visible,
.jio-ban-dialog :is(a, button, input, textarea):focus-visible { outline: 2px solid var(--an-primary); outline-offset: 2px; }
html.jio-ban-modal-open { overflow: hidden; scrollbar-gutter: stable; }
.jio-ban-dialog {
width: min(780px, calc(100vw - 32px));
max-width: none;
max-height: calc(100vh - 40px);
max-height: calc(100dvh - 40px);
margin: auto;
padding: 0;
overflow: hidden;
color: var(--an-text-2);
background: var(--an-card);
border: 1px solid var(--an-border);
border-radius: var(--an-radius);
box-shadow: var(--an-shadow-hover);
}
.jio-ban-dialog::backdrop { background: rgba(15, 23, 42, .45); }
.jio-ban-dialog__frame { display: flex; flex-direction: column; min-height: 0; max-height: inherit; margin: 0; }
.jio-ban-dialog__head { display: flex; flex: none; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 19px 24px 17px; border-bottom: 1px solid var(--an-border-soft); }
.jio-ban-dialog .jio-ban-dialog__head h2 { margin: 0; padding: 0; color: var(--an-text); font-size: 18px; font-weight: 600; line-height: 1.45; }
.jio-ban-dialog__head p { max-width: 52ch; margin: 5px 0 0; font-size: 13px; line-height: 1.6; }
.jio-ban-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-ban-dialog__close:hover { color: var(--an-text); background: var(--an-bg-soft); }
.jio-ban-dialog__body { min-height: 0; padding: 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
.jio-ban-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-ban-dialog__foot .button { min-width: 120px; }
.jio-ban-dialog .jio-ban-dialog__foot .button.is-danger { color: var(--an-card); background: var(--an-danger); border-color: var(--an-danger); }
.jio-ban-dialog .button:disabled,
.jio-ban-dialog__close:disabled { opacity: .65; cursor: not-allowed; }
.jio-ban-applicant { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 18px; }
.jio-ban-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; margin: 0; padding: 14px 16px; background: var(--an-bg-soft); border-radius: var(--an-radius-sm); }
.jio-ban-meta > div,
.jio-ban-materials > div { min-width: 0; }
.jio-ban-meta dt,
.jio-ban-materials dt { color: var(--an-text-2); font-size: 12px; line-height: 1.6; }
.jio-ban-meta dd,
.jio-ban-materials dd { margin: 3px 0 0; color: var(--an-text); white-space: pre-wrap; overflow-wrap: anywhere; }
.jio-ban-section { margin-top: 20px; }
.jio-ban-dialog .jio-ban-section h3,
.jio-ban-dialog .jio-ban-review > h3 { margin: 0 0 9px; color: var(--an-text); font-size: 14px; font-weight: 600; line-height: 1.5; }
.jio-ban-copy { color: var(--an-text-2); line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.jio-ban-target { color: var(--an-text); font-weight: 600; overflow-wrap: anywhere; }
.jio-ban-materials { display: grid; gap: 12px; margin: 0; padding-left: 14px; border-left: 2px solid var(--an-border); }
.jio-ban-restrictions { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.jio-ban-restrictions li { margin: 0; padding: 12px 14px; background: var(--an-bg-soft); border-radius: var(--an-radius-sm); }
.jio-ban-restriction__title { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; font-size: 12px; }
.jio-ban-normal { margin: 0; color: var(--an-text-2); }
.jio-ban-profile-link { margin: 12px 0 18px; }
.jio-ban-history { margin: 0; padding-left: 14px; list-style: none; border-left: 2px solid var(--an-border); }
.jio-ban-history li { margin: 0 0 14px; }
.jio-ban-history li:last-child { margin-bottom: 0; }
.jio-ban-history__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 5px; font-size: 12px; }
.jio-ban-history__meta strong { color: var(--an-text); }
.jio-ban-dialog__body > .jio-native-callout { margin-top: 18px; }
.jio-ban-review { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--an-border); }
.jio-ban-decisions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 0; border: 0; }
.jio-ban-decisions legend { width: 100%; margin-bottom: 8px; padding: 0; color: var(--an-text); font-weight: 600; }
.jio-ban-decisions label { position: relative; flex: 1 1 180px; cursor: pointer; }
.jio-ban-decisions input[type="radio"] { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.jio-ban-decisions label > span { display: flex; align-items: center; min-height: 42px; padding: 9px 12px; color: var(--an-text-2); background: var(--an-card); border: 1px solid var(--an-border); border-radius: var(--an-radius-sm); }
.jio-ban-decisions label:hover > span { border-color: var(--an-primary); }
.jio-ban-decisions input:checked + span { color: var(--an-primary); background: var(--an-primary-soft); border-color: var(--an-primary); font-weight: 600; }
.jio-ban-decisions input:focus-visible + span { outline: 2px solid var(--an-primary); outline-offset: 2px; }
.jio-ban-review textarea { resize: vertical; }
.jio-ban-review .jio-native-field__hint { margin-bottom: 0; color: var(--an-text-2); }
@media (max-width: 782px) {
.jio-ban-toolbar { padding: 12px 14px; }
.jio-ban-toolbar__top,
.jio-ban-toolbar__bottom { align-items: flex-start; }
.jio-ban-toolbar .jio-native-filters { width: 100%; }
.jio-ban-toolbar .jio-native-filters input[type="search"] { min-width: 0; flex: 1 1 220px; }
}
@media (max-width: 600px) {
.jio-ban-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
.jio-ban-dialog__head,
.jio-ban-dialog__body,
.jio-ban-dialog__foot { padding-left: 16px; padding-right: 16px; }
.jio-ban-meta { grid-template-columns: 1fr; gap: 10px; }
.jio-ban-decisions { flex-direction: column; }
.jio-ban-decisions label { flex-basis: auto; }
.jio-ban-dialog__foot .button { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
.jio-ban-page *,
.jio-ban-dialog * { transition: none !important; }
}