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

143 lines
2.8 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* Jio Forms — 1:1 legacy Alignment
*
* 对齐 legacy .form-control:
* - 灰色背景 (#f5f6f7)
* - 透明边框
* - 34px 高度
* - 8px 圆角
* - focus 时粉色边框 + 光晕
*/
/* ===== Field Wrapper ===== */
.field {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: var(--space-4);
}
.field-label {
font-size: var(--text-sm);
font-weight: 600;
color: var(--color-ink);
}
.field-help {
font-size: var(--text-xs);
color: var(--color-ink-3);
}
.field-error {
font-size: var(--text-xs);
color: var(--color-error);
}
/* ===== Input / Textarea / Select — 对齐 legacy .form-control ===== */
.input,
.textarea,
.select,
input[type="text"].form-input,
input[type="email"].form-input,
input[type="password"].form-input,
input[type="search"].form-input,
input[type="url"].form-input,
input[type="tel"].form-input,
textarea.form-textarea,
select.form-select {
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
color: var(--color-ink);
background: var(--surface-page);
border: 1px solid transparent;
border-radius: var(--radius);
transition: border-color var(--dur-fast) var(--ease),
box-shadow var(--dur-fast) var(--ease);
}
.textarea,
textarea.form-textarea {
height: auto;
min-height: 120px;
padding: 12px;
line-height: var(--leading-snug);
resize: vertical;
}
.input:hover,
.textarea:hover,
.select:hover {
border-color: var(--color-primary);
}
.input:focus,
.textarea:focus,
.select:focus {
outline: none;
border-color: var(--color-primary);
box-shadow: 0 0 2px 3px rgba(253, 83, 161, 0.4);
}
.input::placeholder,
.textarea::placeholder {
color: var(--color-ink-4);
}
/* ===== Select ===== */
.select,
select.form-select {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
padding-right: 32px;
}
/* ===== Checkbox / Radio ===== */
.checkbox,
.radio {
display: inline-flex;
align-items: center;
gap: 8px;
cursor: pointer;
font-size: var(--text-sm);
color: var(--color-ink-2);
}
.checkbox input,
.radio input {
width: 16px;
height: 16px;
accent-color: var(--color-primary);
cursor: pointer;
}
/* ===== Input Group ===== */
.input-group {
display: flex;
align-items: stretch;
}
.input-group .input {
border-radius: var(--radius) 0 0 var(--radius);
}
.input-group .btn {
border-radius: 0 var(--radius) var(--radius) 0;
}
/* ===== Form Layout ===== */
.form-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: var(--space-4);
}
.form-actions {
display: flex;
gap: var(--space-3);
margin-top: var(--space-5);
}