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>
132 lines
2.9 KiB
CSS
132 lines
2.9 KiB
CSS
/**
|
|
* Jio Site Notice — Popup notice styles
|
|
*/
|
|
|
|
.jio-site-notice {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 99998;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.jio-site-notice__overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.jio-site-notice__dialog {
|
|
position: relative;
|
|
background: var(--surface-1, #fff);
|
|
border-radius: var(--radius-lg, 12px);
|
|
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
|
|
width: 100%;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.jio-site-notice__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px 24px 0;
|
|
}
|
|
|
|
.jio-site-notice__title {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--color-ink, #333);
|
|
}
|
|
|
|
.jio-site-notice__close {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
border-radius: 50%;
|
|
background: var(--surface-2, #eee);
|
|
color: var(--color-ink-3, #777);
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.jio-site-notice__close:hover {
|
|
background: var(--surface-3, #ddd);
|
|
}
|
|
|
|
.jio-site-notice__body {
|
|
padding: 16px 24px;
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
color: var(--color-ink-2, #4e5358);
|
|
}
|
|
|
|
.jio-site-notice__body a {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.jio-site-notice__foot {
|
|
padding: 0 24px 20px;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Button base — shared by both <button> and <a> */
|
|
.jio-site-notice__btn,
|
|
.jio-site-notice__confirm {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 100px;
|
|
height: 40px;
|
|
padding: 0 24px;
|
|
border: none;
|
|
border-radius: var(--radius, 8px);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: filter 0.15s;
|
|
text-decoration: none;
|
|
color: #fff;
|
|
}
|
|
|
|
.jio-site-notice__btn:hover,
|
|
.jio-site-notice__confirm:hover {
|
|
filter: brightness(1.08);
|
|
}
|
|
|
|
/* Button color variants */
|
|
.jio-site-notice__btn--primary { background: var(--color-primary); }
|
|
.jio-site-notice__btn--success { background: #10b981; }
|
|
.jio-site-notice__btn--warning { background: #f59e0b; color: #1a1a1a; }
|
|
.jio-site-notice__btn--danger { background: #ef4444; }
|
|
.jio-site-notice__btn--info { background: #3b82f6; }
|
|
.jio-site-notice__btn--purple { background: #8b5cf6; }
|
|
.jio-site-notice__btn--dark { background: #374151; }
|
|
|
|
/* Modal size variants */
|
|
.jio-site-notice__dialog.modal-mini { max-width: 320px; }
|
|
.jio-site-notice__dialog.modal-sm { max-width: 420px; }
|
|
.jio-site-notice__dialog.modal-lg { max-width: 720px; }
|
|
/* Default dialog (no size class) */
|
|
.jio-site-notice__dialog:not(.modal-mini):not(.modal-sm):not(.modal-lg) { max-width: 540px; }
|
|
|
|
/* Dark mode */
|
|
html.dark .jio-site-notice__dialog {
|
|
background: var(--surface-1, #323335);
|
|
}
|
|
|
|
html.dark .jio-site-notice__close {
|
|
background: var(--surface-3, #3a3b3e);
|
|
}
|