Files
wordpress-theme-aksrt/assets/css/frontend/single-post/hidden-content.css
T
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

151 lines
3.6 KiB
CSS

/* ---- Yiyan inline blocks (single post) ---- */
.yiyan--header,
.yiyan--footer {
margin: 16px 0;
padding: 12px 16px;
}
.yiyan--box {
margin: 24px 0;
padding: 20px;
border-radius: 8px;
background: var(--card-bg, #fff);
box-shadow: var(--card-shadow, 0 2px 8px rgba(0, 0, 0, .06));
}
.jio-yiyan[data-jio-yiyan] {
cursor: pointer;
transition: box-shadow .2s ease, opacity .2s ease;
}
.jio-yiyan[data-jio-yiyan]:hover,
.jio-yiyan[data-jio-yiyan]:focus-visible {
box-shadow: inset 0 0 5px 0 var(--focus-shadow-color, rgba(253, 83, 161, .3));
}
.jio-yiyan .yiyan {
line-height: 1.8;
}
.jio-yiyan .yiyan .en {
font-size: .9em;
opacity: .8;
}
.jio-yiyan.is-loading {
opacity: .65;
}
.jio-yiyan.is-error .cn {
color: var(--muted-color, #777);
}
/* ---- Front / After content insertion ---- */
.article-front-content,
.article-after-content {
padding: 12px 0;
font-size: 14px;
line-height: 1.8;
color: var(--text-secondary, #666);
border-bottom: 1px dashed var(--border-color, #eee);
margin-bottom: 12px;
}
.article-after-content {
border-bottom: none;
border-top: 1px dashed var(--border-color, #eee);
margin-bottom: 0;
margin-top: 12px;
}
/* ---- Hidden Content Shortcodes ---- */
.jio-hidden-content {
position: relative;
margin: 16px 0;
padding: 16px;
border-radius: var(--border-radius, 8px);
font-size: 14px;
line-height: 1.8;
}
.jio-hidden-content--unlocked {
background: var(--bg-secondary, #f8f9fa);
border: 1px solid var(--border-color, #e5e7eb);
}
.jio-hidden-content--locked {
background: linear-gradient(135deg, var(--bg-secondary, #f8f9fa) 0%, var(--bg-tertiary, #f1f3f5) 100%);
border: 1px dashed var(--border-color, #d1d5db);
text-align: center;
padding: 24px 16px;
}
.jio-hidden-content__message {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
font-size: 15px;
color: var(--text-secondary, #6b7280);
margin-bottom: 12px;
}
.jio-hidden-content__message i {
font-size: 18px;
color: var(--text-muted, #9ca3af);
}
.jio-hidden-content--vip .jio-hidden-content__message i {
color: var(--vip-color, #f59e0b);
}
.jio-hidden-content--payshow .jio-hidden-content__message i {
color: var(--primary-color, #3b82f6);
}
.jio-hidden-content__form {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 8px;
}
.jio-hidden-content__password-input {
width: 200px;
max-width: 60%;
padding: 6px 12px;
border: 1px solid var(--border-color, #d1d5db);
border-radius: var(--border-radius, 6px);
font-size: 14px;
background: var(--bg-primary, #fff);
color: var(--text-primary, #1f2937);
outline: none;
transition: border-color .2s;
}
.jio-hidden-content__password-input:focus {
border-color: var(--primary-color, #3b82f6);
}
.jio-hidden-content__submit-btn,
.jio-hidden-content__login-btn {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 6px 16px;
font-size: 13px;
border-radius: var(--border-radius, 6px);
cursor: pointer;
text-decoration: none;
transition: opacity .2s;
}
.jio-hidden-content__submit-btn:hover,
.jio-hidden-content__login-btn:hover {
opacity: .85;
}
.jio-paywall-preview { margin: 0 0 16px; padding: 14px 16px; border-left: 3px solid var(--color-primary, #f04494); background: var(--surface-2, #f8fafc); border-radius: 0 10px 10px 0; color: var(--color-ink-2, #374151); line-height: 1.7; }
.jio-paywall-preview p:last-child { margin-bottom: 0; }