refactor: remove forum and topic feature chains
This commit is contained in:
1 parent
698e3750f9
commit
6c6c462df8
69 files changed
+339
-2057
No files matched your search
@@ -106,16 +106,6 @@ export const pageDisplaySection = {
|
||||
canonicalDomain: 'page_display',
|
||||
section: 'tag',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'page-display-special',
|
||||
name: 'PageDisplaySpecial',
|
||||
label: '专题页面',
|
||||
route: '/page-display/special',
|
||||
title: '专题页面',
|
||||
desc: '配置专题聚合页的封面、摘要、布局、聚合规则和子页面展示策略。',
|
||||
canonicalDomain: 'page_display',
|
||||
section: 'special',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'page-display-user-home',
|
||||
name: 'PageDisplayUserHome',
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
</n-form>
|
||||
|
||||
<div v-if="form.home_lists.length === 0" class="homepage-settings__empty-tabs">
|
||||
<n-text depth="3">暂无更多栏目,点击“添加栏目”创建分类/专题 Tab。</n-text>
|
||||
<n-text depth="3">暂无更多栏目,点击“添加栏目”创建分类 Tab。</n-text>
|
||||
</div>
|
||||
|
||||
<div v-for="(tab, index) in form.home_lists" :key="index" class="homepage-settings__tab-row">
|
||||
@@ -267,7 +267,7 @@ async function loadCategories() {
|
||||
const res = await api.getHomepageCategories()
|
||||
const cats = res?.data || []
|
||||
categoryOptions.value = cats.map(c => ({
|
||||
label: `${c.taxonomy === 'topics' ? '[专题] ' : ''}${c.name} (${c.count})`,
|
||||
label: `${c.name} (${c.count})`,
|
||||
value: c.term_id || c.id,
|
||||
}))
|
||||
} catch {
|
||||
|
||||
@@ -659,7 +659,6 @@ export const pageDisplaySchemas = {
|
||||
{ key: 'header_components_cards_enabled', label: '启用图标卡片', type: 'switch', default: false, help: '在顶部组件区域显示图标卡片入口' },
|
||||
{ key: 'header_components_show_on', label: '按页面类型启用', type: 'checkbox', default: ['home'], options: [
|
||||
{ label: '首页', value: 'home' },
|
||||
{ label: '专题页', value: 'topics' },
|
||||
{ label: '分类页', value: 'category' },
|
||||
{ label: '标签页', value: 'tag' },
|
||||
{ label: '用户页', value: 'author' },
|
||||
@@ -1022,135 +1021,4 @@ export const pageDisplaySchemas = {
|
||||
],
|
||||
},
|
||||
|
||||
/**
|
||||
* Special/topic page settings
|
||||
*/
|
||||
special: {
|
||||
key: 'page_display.special',
|
||||
title: '专题页面',
|
||||
icon: 'fas fa-layer-group',
|
||||
description: '配置专题聚合页的封面、摘要、布局、聚合规则和子页面展示策略。',
|
||||
defaults: {
|
||||
special_cover_enabled: true,
|
||||
special_summary_enabled: true,
|
||||
special_summary_length: 200,
|
||||
special_default_cover: '',
|
||||
special_layout: 'grid',
|
||||
special_columns: 2,
|
||||
special_source_type: 'category',
|
||||
special_source_ids: '',
|
||||
special_subpage_display: 'cards',
|
||||
special_subpage_count: 6,
|
||||
special_sidebar: true,
|
||||
special_pagination: 'numeric',
|
||||
special_per_page: 12,
|
||||
special_post_count: false,
|
||||
special_orderby: 'date',
|
||||
},
|
||||
groups: [
|
||||
{
|
||||
key: 'header',
|
||||
title: '专题头部',
|
||||
icon: 'fas fa-image',
|
||||
fields: [
|
||||
{ key: 'special_cover_enabled', label: '显示专题封面', type: 'switch', default: true, help: '在专题页顶部展示封面图' },
|
||||
{ key: 'special_summary_enabled', label: '显示专题摘要', type: 'switch', default: true },
|
||||
{ key: 'special_summary_length', label: '摘要最大长度', type: 'number', default: 200, min: 50, max: 500, dependsOn: { key: 'special_summary_enabled', value: true } },
|
||||
{ key: 'special_default_cover', label: '默认封面图', type: 'upload', default: '', help: '未设置专题封面时使用的默认图片' },
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'layout',
|
||||
title: '布局设置',
|
||||
icon: 'fas fa-th-large',
|
||||
fields: [
|
||||
{
|
||||
key: 'special_layout',
|
||||
label: '内容布局',
|
||||
type: 'radio',
|
||||
default: 'grid',
|
||||
options: [
|
||||
{ label: '网格', value: 'grid' },
|
||||
{ label: '列表', value: 'list' },
|
||||
{ label: '瀑布流', value: 'masonry' },
|
||||
],
|
||||
},
|
||||
{ key: 'special_columns', label: '网格列数', type: 'number', default: 2, min: 1, max: 4, dependsOn: { key: 'special_layout', value: 'grid' } },
|
||||
{ key: 'special_sidebar', label: '侧边栏', type: 'switch', default: true },
|
||||
{ key: 'special_post_count', label: '显示文章数', type: 'switch', default: false, help: '在专题列表中显示每篇文章的浏览次数' },
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'aggregation',
|
||||
title: '聚合规则',
|
||||
icon: 'fas fa-database',
|
||||
fields: [
|
||||
{
|
||||
key: 'special_source_type',
|
||||
label: '内容来源',
|
||||
type: 'radio',
|
||||
default: 'category',
|
||||
options: [
|
||||
{ label: '分类', value: 'category' },
|
||||
{ label: '标签', value: 'tag' },
|
||||
{ label: '手动选择', value: 'manual' },
|
||||
{ label: '最新文章', value: 'latest' },
|
||||
],
|
||||
},
|
||||
{ key: 'special_source_ids', label: '来源 ID 列表', type: 'input', default: '', placeholder: '逗号分隔分类/标签 ID', help: '填写分类或标签的 ID,逗号分隔' },
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'subpage',
|
||||
title: '子页面展示',
|
||||
icon: 'fas fa-clone',
|
||||
fields: [
|
||||
{
|
||||
key: 'special_subpage_display',
|
||||
label: '子页面样式',
|
||||
type: 'radio',
|
||||
default: 'cards',
|
||||
options: [
|
||||
{ label: '卡片', value: 'cards' },
|
||||
{ label: '列表', value: 'list' },
|
||||
{ label: '时间线', value: 'timeline' },
|
||||
],
|
||||
},
|
||||
{ key: 'special_subpage_count', label: '每页子页面数', type: 'number', default: 6, min: 1, max: 24 },
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'pagination',
|
||||
title: '分页设置',
|
||||
icon: 'fas fa-ellipsis-h',
|
||||
fields: [
|
||||
{
|
||||
key: 'special_pagination',
|
||||
label: '分页模式',
|
||||
type: 'radio',
|
||||
default: 'numeric',
|
||||
options: [
|
||||
{ label: '数字分页', value: 'numeric' },
|
||||
{ label: '加载更多', value: 'load_more' },
|
||||
{ label: '无限滚动', value: 'infinite' },
|
||||
],
|
||||
},
|
||||
{ key: 'special_per_page', label: '每页文章数', type: 'number', default: 12, min: 4, max: 48 },
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'orderby',
|
||||
title: '排序设置',
|
||||
icon: 'fas fa-sort',
|
||||
fields: [
|
||||
{ key: 'special_orderby', label: '默认排序', type: 'select', default: 'date', options: [
|
||||
{ label: '发布时间', value: 'date' },
|
||||
{ label: '最近更新', value: 'modified' },
|
||||
{ label: '浏览数', value: 'views' },
|
||||
{ label: '评论数', value: 'comments' },
|
||||
]},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
@@ -13,8 +13,6 @@ export const filterSchema = {
|
||||
filter_cat_show_tag: false,
|
||||
filter_tag_show_cat: true,
|
||||
filter_tag_show_tag: false,
|
||||
filter_topics_show_cat: true,
|
||||
filter_topics_show_tag: false,
|
||||
custom_filter_show: ['cat', 'tag'],
|
||||
custom_filter: [],
|
||||
cat_custom_filter: [],
|
||||
@@ -26,7 +24,7 @@ export const filterSchema = {
|
||||
icon: 'fas fa-filter',
|
||||
fields: [
|
||||
{ key: 'filter_enabled', label: '启用筛选栏', type: 'switch', default: false },
|
||||
{ key: 'custom_filter_show', label: '筛选显示页面', type: 'checkbox', default: ['cat', 'tag'], options: [{ label: '分类页', value: 'cat' }, { label: '标签页', value: 'tag' }, { label: '专题页', value: 'topics' }], help: '选择在哪些页面显示筛选栏', dependsOn: { key: 'filter_enabled', value: true } },
|
||||
{ key: 'custom_filter_show', label: '筛选显示页面', type: 'checkbox', default: ['cat', 'tag'], options: [{ label: '分类页', value: 'cat' }, { label: '标签页', value: 'tag' }], help: '选择在哪些页面显示筛选栏', dependsOn: { key: 'filter_enabled', value: true } },
|
||||
{ key: 'filter_categories', label: '分类筛选', type: 'switch', default: true, dependsOn: { key: 'filter_enabled', value: true } },
|
||||
{ key: 'filter_tags', label: '标签筛选', type: 'switch', default: false, dependsOn: { key: 'filter_enabled', value: true } },
|
||||
{ key: 'filter_sort', label: '排序选项', type: 'switch', default: true, dependsOn: { key: 'filter_enabled', value: true } },
|
||||
@@ -42,8 +40,6 @@ export const filterSchema = {
|
||||
{ key: 'filter_cat_show_tag', label: '分类页:显示标签筛选', type: 'switch', default: false },
|
||||
{ key: 'filter_tag_show_cat', label: '标签页:显示分类筛选', type: 'switch', default: true },
|
||||
{ key: 'filter_tag_show_tag', label: '标签页:显示标签筛选', type: 'switch', default: false },
|
||||
{ key: 'filter_topics_show_cat', label: '专题页:显示分类筛选', type: 'switch', default: true },
|
||||
{ key: 'filter_topics_show_tag', label: '专题页:显示标签筛选', type: 'switch', default: false },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -92,7 +88,6 @@ export const filterSchema = {
|
||||
{ key: 'cats', label: '绑定分类', type: 'taxonomy_select', taxonomy: 'category', multiple: true, default: [] },
|
||||
{ key: 'cat_s', label: '显示分类筛选', type: 'switch', default: false },
|
||||
{ key: 'tag_s', label: '显示标签筛选', type: 'switch', default: false },
|
||||
{ key: 'topics_s', label: '显示专题筛选', type: 'switch', default: false },
|
||||
{ key: 'orderby_s', label: '显示排序按钮', type: 'switch', default: true },
|
||||
{
|
||||
key: 'custom_filters',
|
||||
|
||||
@@ -16,7 +16,7 @@ export const listSchema = {
|
||||
post_list_author: true,
|
||||
post_list_time: true,
|
||||
list_meta_show: 'like',
|
||||
list_badge_show: ['pay', 'tag', 'topics', 'cat'],
|
||||
list_badge_show: ['pay', 'tag', 'cat'],
|
||||
paging_ajax_s: '1',
|
||||
paging_ajax_ias_s: true,
|
||||
ias_max: 3,
|
||||
@@ -34,7 +34,6 @@ export const listSchema = {
|
||||
list_card_home: false,
|
||||
list_card_cat: [],
|
||||
list_card_tag: false,
|
||||
list_card_topics: false,
|
||||
list_card_author: false,
|
||||
},
|
||||
groups: [
|
||||
@@ -64,7 +63,6 @@ export const listSchema = {
|
||||
{ label: '首页', value: 'home' },
|
||||
{ label: '分类页', value: 'cat' },
|
||||
{ label: '标签页', value: 'tag' },
|
||||
{ label: '专题页', value: 'topics' },
|
||||
],
|
||||
},
|
||||
],
|
||||
@@ -99,11 +97,10 @@ export const listSchema = {
|
||||
key: 'list_badge_show',
|
||||
label: '列表徽章',
|
||||
type: 'checkbox',
|
||||
default: ['pay', 'tag', 'topics', 'cat'],
|
||||
default: ['pay', 'tag', 'cat'],
|
||||
options: [
|
||||
{ label: '付费', value: 'pay' },
|
||||
{ label: '分类', value: 'cat' },
|
||||
{ label: '专题', value: 'topics' },
|
||||
{ label: '标签', value: 'tag' },
|
||||
],
|
||||
},
|
||||
@@ -234,7 +231,6 @@ export const listSchema = {
|
||||
default: [],
|
||||
},
|
||||
{ key: 'list_card_tag', label: '标签页卡片模式', type: 'switch', default: false },
|
||||
{ key: 'list_card_topics', label: '专题页卡片模式', type: 'switch', default: false },
|
||||
{ key: 'list_card_author', label: '用户页卡片模式', type: 'switch', default: false },
|
||||
],
|
||||
},
|
||||
|
||||
@@ -124,7 +124,7 @@ export const pageSchema = {
|
||||
{ label: '纯文字', value: 'text' },
|
||||
], dependsOn: { key: 'post_related_enabled', value: true }, help: '对齐 Zibll 相关文章三种样式' },
|
||||
{ key: 'post_related_source', label: '推荐来源', type: 'radio', default: 'category', options: [
|
||||
{ label: '同分类/标签/专题', value: 'category' },
|
||||
{ label: '同分类/标签', value: 'category' },
|
||||
{ label: '同标签', value: 'tag' },
|
||||
{ label: '随机', value: 'random' },
|
||||
], dependsOn: { key: 'post_related_enabled', value: true } },
|
||||
|
||||
@@ -13,7 +13,6 @@ export const submitSchema = {
|
||||
front_submit_category: true,
|
||||
post_article_cat: [],
|
||||
front_submit_tags: true,
|
||||
post_article_topics_s: false,
|
||||
post_article_custom_filter_s: true,
|
||||
front_submit_custom_fields: '',
|
||||
front_submit_review_mode: 'pending',
|
||||
@@ -63,7 +62,6 @@ export const submitSchema = {
|
||||
{ key: 'front_submit_guest_enabled', label: '允许免登录投稿', type: 'switch', default: false, help: '开启后访客可投稿;文章归属到下方用户', dependsOn: { key: 'front_submit_enabled', value: true } },
|
||||
{ key: 'post_article_user', label: '免登录归属用户', type: 'user_select', default: 0, help: '免登录投稿时文章归属的用户,搜索选择', dependsOn: { key: 'front_submit_guest_enabled', value: true } },
|
||||
{ key: 'front_submit_tags', label: '标签输入', type: 'switch', default: true, dependsOn: { key: 'front_submit_enabled', value: true } },
|
||||
{ key: 'post_article_topics_s', label: '专题选择', type: 'switch', default: false, help: '投稿时可选择专题分类', dependsOn: { key: 'front_submit_enabled', value: true } },
|
||||
{ key: 'post_article_custom_filter_s', label: '高级筛选选择', type: 'switch', default: true, help: '投稿时可选择自定义筛选维度值', dependsOn: { key: 'front_submit_enabled', value: true } },
|
||||
{ key: 'front_submit_custom_fields', label: '自定义字段', type: 'textarea', default: '', placeholder: '每行一个:field_key|字段名称|类型(input/textarea/select)', dependsOn: { key: 'front_submit_enabled', value: true } },
|
||||
],
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
@import url("pages/base.css");
|
||||
@import url("pages/sidebar.css");
|
||||
@import url("pages/empty-state.css");
|
||||
@import url("pages/submit.css");
|
||||
@@ -122,72 +122,3 @@
|
||||
color: var(--color-ink-3);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* Forum Page
|
||||
* ============================================================ */
|
||||
|
||||
.aksrt-forum-header {
|
||||
padding: clamp(32px, 5vw, 64px) 0 clamp(16px, 3vw, 32px);
|
||||
background: linear-gradient(135deg, var(--color-primary-soft, #e6f4ff) 0%, var(--surface-2, #f5f7fa) 100%);
|
||||
margin-bottom: 32px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__title {
|
||||
font: 700 clamp(28px, 4vw, 40px)/1.15 var(--font-display, inherit);
|
||||
margin: 0 0 8px;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-forum-header__desc {
|
||||
margin: 0 0 24px;
|
||||
color: var(--color-ink-2, #666);
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__stats {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__stat-num {
|
||||
display: block;
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-forum-header__stat-label {
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-3, #999);
|
||||
}
|
||||
|
||||
.aksrt-forum__layout {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 280px;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
@media (max-width: 1023px) {
|
||||
.aksrt-forum__layout {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.aksrt-forum-section__title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
margin: 0 0 16px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid var(--color-line, #e8e8e8);
|
||||
}
|
||||
|
||||
.aksrt-forum-section__title i {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
@@ -1,167 +1,3 @@
|
||||
/* Empty state */
|
||||
.aksrt-forum__empty {
|
||||
text-align: center;
|
||||
padding: 48px 24px;
|
||||
color: var(--color-ink-3, #999);
|
||||
}
|
||||
|
||||
.aksrt-forum__empty i {
|
||||
font-size: 48px;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.aksrt-forum-header {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__content {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
width: min(1200px, calc(100% - 32px));
|
||||
margin: 0 auto 20px;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__action {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 16px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid var(--color-line, #d9e2f2);
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
color: var(--color-ink);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__action--primary {
|
||||
border-color: var(--color-primary);
|
||||
background: var(--color-primary);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__stats {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__stat {
|
||||
min-width: 92px;
|
||||
}
|
||||
|
||||
.aksrt-forum-ops {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.aksrt-forum-ops__card {
|
||||
padding: 20px;
|
||||
background: var(--surface-1, #fff);
|
||||
border: 1px solid var(--color-line, #e8e8e8);
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.aksrt-forum-ops__list {
|
||||
margin: 0;
|
||||
padding-left: 18px;
|
||||
color: var(--color-ink-2, #666);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.aksrt-forum-board-card__link {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.aksrt-forum-board-card__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.aksrt-forum-board-card__status {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
background: var(--surface-2, #f0f5ff);
|
||||
color: var(--color-primary);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.aksrt-forum-topic-row__title-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.aksrt-forum-topic-row__badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.aksrt-forum-topic-row__badge--sticky {
|
||||
background: #e6f4ff;
|
||||
color: #1677ff;
|
||||
}
|
||||
|
||||
.aksrt-forum-topic-row__badge--featured {
|
||||
background: #f6ffed;
|
||||
color: #389e0d;
|
||||
}
|
||||
|
||||
.aksrt-forum-topic-row__board {
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__empty {
|
||||
margin: 0;
|
||||
color: var(--color-ink-3, #999);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__item--stack {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__item--stack strong,
|
||||
.aksrt-forum-sidebar-card__item--stack span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.aksrt-forum-header__content {
|
||||
width: calc(100% - 24px);
|
||||
}
|
||||
|
||||
.aksrt-forum-header__actions {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.aksrt-forum-header__action {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* 文章归档(page-archives.php + [aksrt_archive] 短代码)
|
||||
* Phase 10 视觉收口:此前 .aksrt-archives 无样式。
|
||||
@@ -289,4 +125,3 @@
|
||||
color: var(--color-ink);
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
@@ -1,98 +0,0 @@
|
||||
/* Sidebar */
|
||||
.aksrt-forum-sidebar-card {
|
||||
background: var(--surface-1, #fff);
|
||||
border: 1px solid var(--color-line, #e8e8e8);
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin: 0 0 12px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__title i {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px solid var(--color-line, #f0f0f0);
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__rank {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
background: var(--surface-2, #f5f7fa);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink-3, #999);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__item:nth-child(1) .aksrt-forum-sidebar-card__rank { background: #fff1f0; color: #f5222d; }
|
||||
.aksrt-forum-sidebar-card__item:nth-child(2) .aksrt-forum-sidebar-card__rank { background: #fff7e6; color: #fa8c16; }
|
||||
.aksrt-forum-sidebar-card__item:nth-child(3) .aksrt-forum-sidebar-card__rank { background: var(--color-primary-soft); color: var(--color-primary); }
|
||||
|
||||
.aksrt-forum-sidebar-card__link {
|
||||
flex: 1;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-2, #666);
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__link:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__views {
|
||||
font-size: 11px;
|
||||
color: var(--color-ink-3, #999);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__content ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__content li {
|
||||
padding: 4px 0;
|
||||
font-size: 13px;
|
||||
color: var(--color-ink-2, #666);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.aksrt-forum-sidebar-card__content li::before {
|
||||
content: '•';
|
||||
color: var(--color-primary);
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Batch3 widgets: iframe, combo info, text title, user lists, plate widgets.
|
||||
* Batch3 widgets: iframe, combo info, text title, and user lists.
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
@@ -206,186 +206,6 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* ---- Forum plate lists ---- */
|
||||
.aksrt-plate-lists {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
.aksrt-plate-item {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: flex-start;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
padding: 6px 0;
|
||||
border-bottom: 1px dashed var(--color-line, #e5e7eb);
|
||||
}
|
||||
.aksrt-plate-item:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.aksrt-plate-item__thumb {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-primary, #3b82f6);
|
||||
font-size: 18px;
|
||||
}
|
||||
.aksrt-plate-item__thumb img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.aksrt-plate-item__body {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
.aksrt-plate-item__title {
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.aksrt-plate-item__desc {
|
||||
font-size: 12px;
|
||||
color: var(--muted-2-color, #888);
|
||||
margin-top: 3px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.aksrt-plate-item__meta {
|
||||
font-size: 11px;
|
||||
color: var(--color-ink-4, #999);
|
||||
margin-top: 4px;
|
||||
}
|
||||
.aksrt-plate-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
@media (max-width: 575.98px) {
|
||||
.aksrt-plate-cards {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
.aksrt-plate-card {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
background: var(--surface-1, #fff);
|
||||
}
|
||||
.aksrt-plate-card__cover {
|
||||
height: 88px;
|
||||
background: var(--surface-2, #f3f4f6) center/cover no-repeat;
|
||||
}
|
||||
.aksrt-plate-card__title {
|
||||
font-weight: 700;
|
||||
font-size: 13px;
|
||||
padding: 10px 10px 4px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.aksrt-plate-card__meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 11px;
|
||||
color: var(--muted-2-color, #888);
|
||||
padding: 0 10px 10px;
|
||||
}
|
||||
|
||||
/* ---- Plate info ---- */
|
||||
.aksrt-plate-info {
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-line, #e5e7eb);
|
||||
background: var(--surface-1, #fff);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.aksrt-plate-info__cover {
|
||||
height: 90px;
|
||||
background: var(--surface-2, #f3f4f6) center/cover no-repeat;
|
||||
}
|
||||
.aksrt-plate-info__body {
|
||||
padding: 12px 14px 14px;
|
||||
}
|
||||
.aksrt-plate-info__title {
|
||||
display: block;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.aksrt-plate-info__desc {
|
||||
font-size: 12px;
|
||||
color: var(--muted-2-color, #888);
|
||||
line-height: 1.5;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.aksrt-plate-info__stats {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-3, #666);
|
||||
}
|
||||
.aksrt-plate-info__stats i {
|
||||
margin-right: 4px;
|
||||
opacity: .75;
|
||||
}
|
||||
|
||||
/* ---- Plate moderators ---- */
|
||||
.aksrt-plate-mods {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.aksrt-plate-mods__head {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.aksrt-plate-mods__list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
.aksrt-plate-mods__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
.aksrt-plate-mods__avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.aksrt-plate-mods__name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.aksrt-plate-mods__role {
|
||||
font-size: 11px;
|
||||
color: var(--color-primary, #3b82f6);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
/* ---- FAQ ---- */
|
||||
.aksrt-faq { margin-bottom: 16px; }
|
||||
.aksrt-faq__search { display: flex; gap: 8px; margin-bottom: 14px; }
|
||||
@@ -455,38 +275,3 @@
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* ---- Forum topic lists ---- */
|
||||
.aksrt-ftopic-list { list-style: none; margin: 0; padding: 0; }
|
||||
.aksrt-ftopic-list__item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px dashed var(--color-line, #e5e7eb);
|
||||
}
|
||||
.aksrt-ftopic-list__item:last-child { border-bottom: 0; }
|
||||
.aksrt-ftopic-list__link {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
.aksrt-ftopic-list__views {
|
||||
flex-shrink: 0;
|
||||
font-size: 11px;
|
||||
color: var(--muted-2-color, #999);
|
||||
}
|
||||
.aksrt-ftopic-list.is-detail .aksrt-ftopic-list__item { flex-direction: column; gap: 4px; }
|
||||
.aksrt-ftopic-list__meta {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
font-size: 11px;
|
||||
color: var(--muted-2-color, #999);
|
||||
}
|
||||
|
||||
/* Forum widget sidebar shell */
|
||||
.aksrt-forum-widget-zone { margin-top: 12px; }
|
||||
.aksrt-forum-widget-zone .zib-widget { margin-bottom: 14px; }
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Batch3e: author card, forum topic terms, forum tab topics.
|
||||
* Batch3e: author card.
|
||||
*/
|
||||
|
||||
.aksrt-author-card {
|
||||
@@ -76,48 +76,3 @@
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.aksrt-ftag-list { display: flex; flex-direction: column; gap: 6px; }
|
||||
.aksrt-ftag-list.is-card {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
.aksrt-ftag-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
background: var(--surface-2, #f8fafc);
|
||||
font-size: 13px;
|
||||
}
|
||||
.aksrt-ftag-item__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.aksrt-ftag-item__count { font-size: 11px; color: var(--muted-2-color, #999); }
|
||||
|
||||
.aksrt-ftab { margin-bottom: 10px; }
|
||||
.aksrt-ftab__nav {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin: 0 0 10px;
|
||||
padding: 0;
|
||||
}
|
||||
.aksrt-ftab__btn {
|
||||
border: 0;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
border-radius: 999px;
|
||||
padding: 5px 12px;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.aksrt-ftab__btn.is-active {
|
||||
background: var(--color-primary, #3b82f6);
|
||||
color: #fff;
|
||||
}
|
||||
.aksrt-ftab__panel { display: none; }
|
||||
.aksrt-ftab__panel.is-active { display: block; }
|
||||
.aksrt-ftab__empty { font-size: 12px; color: var(--muted-2-color, #999); margin: 0; }
|
||||
@@ -810,64 +810,6 @@
|
||||
|
||||
/* 徽章入口与弹窗样式统一由 assets/css/frontend/medal.css 提供。 */
|
||||
|
||||
/* Forum tab topics (batch6) */
|
||||
.aksrt-ftab__nav {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
list-style: none;
|
||||
margin: 0 0 10px;
|
||||
padding: 0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.aksrt-ftab__btn {
|
||||
border: 0;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
border-radius: 999px;
|
||||
padding: 5px 12px;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
color: inherit;
|
||||
}
|
||||
.aksrt-ftab__btn.is-active {
|
||||
background: var(--color-primary, #3b82f6);
|
||||
color: #fff;
|
||||
}
|
||||
.aksrt-ftab__panel { display: none; }
|
||||
.aksrt-ftab__panel.is-active { display: block; }
|
||||
.aksrt-ftab__empty { font-size: 13px; color: var(--muted-2-color, #999); padding: 8px 0; }
|
||||
.aksrt-ftopic-list { list-style: none; margin: 0; padding: 0; }
|
||||
.aksrt-ftopic-list__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
padding: 7px 0;
|
||||
border-bottom: 1px dashed var(--color-line, #eee);
|
||||
font-size: 13px;
|
||||
}
|
||||
.aksrt-ftopic-list__item:last-child { border-bottom: 0; }
|
||||
.aksrt-ftopic-list__link {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.aksrt-ftopic-list__views { color: var(--muted-2-color, #999); font-size: 12px; flex-shrink: 0; }
|
||||
.aksrt-ftopic-list__meta {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
font-size: 11px;
|
||||
color: var(--muted-2-color, #999);
|
||||
margin-top: 4px;
|
||||
}
|
||||
.aksrt-ftopic-list.is-detail .aksrt-ftopic-list__item {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
/* User ranking extras (batch8) */
|
||||
.aksrt-user-ranking__item { align-items: center; }
|
||||
.aksrt-user-ranking__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
||||
@@ -879,94 +821,6 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* ---- batch9: plate info actions / mods grid / board list / term polish ---- */
|
||||
.aksrt-plate-info__cover.is-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 32px;
|
||||
color: var(--color-primary, #3b82f6);
|
||||
background: linear-gradient(135deg, #eff6ff, #f5f3ff);
|
||||
}
|
||||
.aksrt-plate-info__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
.aksrt-plate-info__btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.aksrt-plate-info__follow {
|
||||
background: #ef4444;
|
||||
color: #fff !important;
|
||||
}
|
||||
.aksrt-plate-info__follow.is-followed {
|
||||
background: var(--surface-2, #e5e7eb);
|
||||
color: inherit !important;
|
||||
}
|
||||
.aksrt-plate-info__compose {
|
||||
background: var(--color-primary, #3b82f6);
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.aksrt-plate-mods.style-grid .aksrt-plate-mods__list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
.aksrt-plate-mods.style-grid .aksrt-plate-mods__item {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
gap: 4px;
|
||||
}
|
||||
.aksrt-plate-mods.style-grid .aksrt-plate-mods__name {
|
||||
font-size: 12px;
|
||||
width: 100%;
|
||||
}
|
||||
.aksrt-plate-mods.style-grid .aksrt-plate-mods__role {
|
||||
font-size: 10px;
|
||||
}
|
||||
.aksrt-plate-mods__item.role-author .aksrt-plate-mods__role,
|
||||
.aksrt-plate-mods__item.role-super .aksrt-plate-mods__role {
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.aksrt-forum-widget__boards .aksrt-forum-widget__name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.aksrt-forum-widget__boards .aksrt-forum-widget__count {
|
||||
margin-left: 8px;
|
||||
color: var(--muted-2-color, #999);
|
||||
font-size: 12px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.aksrt-forum-widget__boards.style-mini .aksrt-forum-widget__board a {
|
||||
gap: 8px;
|
||||
}
|
||||
.aksrt-forum-widget__thumb {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 6px;
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.aksrt-tag-cloud .c-blue-2 { background: #bfdbfe; color: #1e40af; }
|
||||
.aksrt-tag-cloud .c-green-2 { background: #bbf7d0; color: #166534; }
|
||||
.aksrt-tag-cloud .c-yellow-2 { background: #fde68a; color: #92400e; }
|
||||
@@ -2255,77 +2109,10 @@ html.dark .zib-widget.widget_aksrt_announcement,
|
||||
padding: 1px 8px;
|
||||
}
|
||||
|
||||
.aksrt-forum-widget__item.is-top .aksrt-forum-widget__rank {
|
||||
background: var(--theme-color, #f04494);
|
||||
color: #fff;
|
||||
}
|
||||
.tag-cloud.aksrt-tag-cloud a { transition: transform .15s ease; }
|
||||
.tag-cloud.aksrt-tag-cloud a:hover { transform: translateY(-1px); }
|
||||
|
||||
|
||||
/* batch22-24 forum/user residual */
|
||||
.forum-posts.mini.aksrt-ftopic-mini,
|
||||
.forum-posts.detail.aksrt-ftopic-detail {
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 12px 0;
|
||||
border-bottom: 1px solid var(--color-line-soft, #f0f1f3);
|
||||
}
|
||||
.forum-posts.mini.aksrt-ftopic-mini:last-child,
|
||||
.forum-posts.detail.aksrt-ftopic-detail:last-child { border-bottom: 0; }
|
||||
.forum-posts .forum-posts-header .avatar-img img,
|
||||
.forum-posts .avatar-img img {
|
||||
width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block;
|
||||
}
|
||||
.forum-posts.detail .avatar-img img { width: 40px; height: 40px; }
|
||||
.forum-posts .forum-title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
|
||||
.forum-posts .forum-title a { color: inherit; text-decoration: none; }
|
||||
.forum-posts .forum-title a:hover { color: var(--theme-color, #f04494); }
|
||||
.forum-posts .item-meta { gap: 2px; }
|
||||
.forum-posts .forum-excerpt { line-height: 1.5; }
|
||||
.forum-posts badge.img-badge { z-index: 2; }
|
||||
|
||||
.plate-lists .plate-item,
|
||||
.aksrt-plate-lists .plate-item {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: flex-start;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid var(--color-line-soft, #f0f1f3);
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.plate-lists .plate-item:last-child { border-bottom: 0; }
|
||||
.plate-thumb,
|
||||
.aksrt-plate-item__thumb {
|
||||
width: 48px; height: 48px; border-radius: 10px; overflow: hidden;
|
||||
flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
|
||||
background: var(--surface-2, #f3f4f6); color: #999;
|
||||
}
|
||||
.plate-thumb img, .aksrt-plate-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.panel-plate.scroll-plate,
|
||||
.aksrt-plate-cards {
|
||||
display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin;
|
||||
}
|
||||
.plate-card, .aksrt-plate-card {
|
||||
flex: 0 0 160px; width: 160px; text-decoration: none; color: inherit;
|
||||
}
|
||||
.plate-card .plate-thumb, .aksrt-plate-card__cover {
|
||||
width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
|
||||
background: var(--surface-2, #f3f4f6); display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.plate-card .plate-thumb img, .aksrt-plate-card__cover img { width: 100%; height: 100%; object-fit: cover; }
|
||||
|
||||
.moderator-box.aksrt-plate-mods__list,
|
||||
.aksrt-plate-mods__list { display: flex; flex-direction: column; gap: 12px; }
|
||||
.aksrt-plate-mods.style-grid .aksrt-plate-mods__list {
|
||||
display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px;
|
||||
}
|
||||
.aksrt-plate-mods__item { gap: 4px; }
|
||||
.aksrt-plate-mods__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
|
||||
.aksrt-plate-mods.style-grid .aksrt-plate-mods__item { text-align: center; }
|
||||
.aksrt-plate-mods.style-grid .aksrt-plate-mods__avatar { width: 48px; height: 48px; margin: 0 auto 6px; }
|
||||
|
||||
.user-ranking-box .user-ranking-item,
|
||||
.aksrt-user-ranking-box .user-ranking-item { position: relative; }
|
||||
.user-ranking-item .avatar-img img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; }
|
||||
@@ -2334,60 +2121,6 @@ html.dark .zib-widget.widget_aksrt_announcement,
|
||||
.aksrt-category-recommend__card[data-aksrt-animate] { will-change: transform, opacity; }
|
||||
.aksrt-category-recommend__posts.posts-mini-wrap { margin-top: 8px; }
|
||||
|
||||
.aksrt-plate-info.plate-info-sidebar { overflow: hidden; }
|
||||
.aksrt-plate-info__cover.plate-thumb {
|
||||
width: 100%; height: 110px; border-radius: 12px; overflow: hidden;
|
||||
background: var(--surface-2, #f3f4f6); display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.aksrt-plate-info__cover.plate-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.aksrt-plate-info__stats.count-mates { gap: 8px; flex-wrap: wrap; }
|
||||
|
||||
.aksrt-ftag-list { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.aksrt-ftag-item.is-card { min-width: 120px; justify-content: space-between; }
|
||||
|
||||
|
||||
/* batch25-27 residual */
|
||||
.aksrt-forum-widget__list.is-mini .forum-posts.mini { border-bottom: 1px solid var(--color-line-soft, #f0f1f3); }
|
||||
.aksrt-forum-widget__list.is-mini .forum-posts.mini:last-child { border-bottom: 0; }
|
||||
.aksrt-forum-widget__rank-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px solid var(--color-line-soft, #f0f1f3);
|
||||
}
|
||||
.aksrt-forum-widget__rank-row:last-child { border-bottom: 0; }
|
||||
.aksrt-forum-widget__rank-row .forum-posts.mini {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
.aksrt-forum-widget__rank {
|
||||
flex: 0 0 24px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-top: 4px;
|
||||
border-radius: 6px;
|
||||
background: var(--surface-2, #f3f4f6);
|
||||
color: var(--muted-2-color, #999);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.aksrt-forum-widget__rank-row badge.img-badge { position: static; flex: 0 0 auto; margin-top: 4px; }
|
||||
|
||||
/* batch28-30 residual */
|
||||
.aksrt-ftab.widget-tab-posts .aksrt-ftab__nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 12px; padding: 0; }
|
||||
.aksrt-ftab__btn.widget-tab-posts__tab {
|
||||
border: 0; background: var(--surface-2, #f3f4f6); color: inherit;
|
||||
border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 13px;
|
||||
}
|
||||
.aksrt-ftab__btn.is-active { background: var(--theme-color, #f04494); color: #fff; }
|
||||
.aksrt-ftab__panel[hidden] { display: none !important; }
|
||||
.aksrt-ftab__panel.is-ajax-loading { opacity: .65; pointer-events: none; }
|
||||
/* batch34-36 residual */
|
||||
.widget-hot-posts--graphic .hot-posts-graphic { margin-bottom: 12px; border-radius: 8px; overflow: hidden; }
|
||||
.widget-hot-posts--graphic .hot-posts-graphic .graphic { position: relative; overflow: hidden; border-radius: 8px; background: var(--surface-2, #f3f4f6); }
|
||||
@@ -2504,18 +2237,6 @@ html.dark .zib-widget.widget_aksrt_announcement,
|
||||
.widget-search-box.is-affix { position: sticky; top: 72px; }
|
||||
|
||||
|
||||
/* batch40-42 residual */
|
||||
.aksrt-plate-info .count-mates {
|
||||
gap: 8px; margin-top: 12px; padding-top: 10px;
|
||||
border-top: 1px solid var(--color-line, rgba(0,0,0,.06));
|
||||
}
|
||||
.aksrt-plate-info .count-mates item,
|
||||
.aksrt-plate-info .count-mates .mate-views,
|
||||
.aksrt-plate-info .count-mates .mate-reply,
|
||||
.aksrt-plate-info .count-mates .mate-follow {
|
||||
flex: 1 1 0; min-width: 0; text-align: center;
|
||||
}
|
||||
.aksrt-plate-info .count-mates .em14 { font-weight: 700; line-height: 1.2; }
|
||||
/* batch43-45 residual */
|
||||
.aksrt-product-widget__item--mini {
|
||||
gap: 10px; padding: 8px 0;
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
@import url("docs/depth-based-indentation.css");
|
||||
@import url("docs/collapsible-state.css");
|
||||
@import url("docs/active-item-highlight-bar.css");
|
||||
@import url("docs/special-page-grid.css");
|
||||
@import url("docs/special-cover-enhancements.css");
|
||||
@import url("docs/toolbar-search-enhancements.css");
|
||||
@import url("docs/pagination-inside-search-results.css");
|
||||
@import url("docs/empty-state-enhancement.css");
|
||||
@@ -0,0 +1,215 @@
|
||||
/* ── AJAX Search Results ── */
|
||||
|
||||
.aksrt-doc-search__results {
|
||||
max-width: 680px;
|
||||
margin: -8px auto 16px;
|
||||
background: var(--surface-1, #fff);
|
||||
border: 1px solid var(--color-line, #e3e8ef);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__result {
|
||||
display: block;
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid var(--color-line, #f0f2f5);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__result:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__result:hover {
|
||||
background: var(--surface-2, #f8fafc);
|
||||
}
|
||||
|
||||
.aksrt-doc-search__result strong {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
color: var(--color-ink);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__result p {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4, #8690a0);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__empty {
|
||||
padding: 20px 16px;
|
||||
text-align: center;
|
||||
color: var(--color-ink-4);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* Document Toolbar — category chips + sort
|
||||
* ============================================================ */
|
||||
.aksrt-doc-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 20px;
|
||||
padding: 12px 16px;
|
||||
background: var(--surface-2);
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid var(--color-line-soft);
|
||||
}
|
||||
|
||||
.aksrt-doc-toolbar__chips {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.aksrt-doc-toolbar__chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 32px;
|
||||
padding: 0 14px;
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--surface-1);
|
||||
color: var(--color-ink-2);
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
border: 1px solid var(--color-line);
|
||||
cursor: pointer;
|
||||
transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-doc-toolbar__chip:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-doc-toolbar__chip.is-active {
|
||||
background: var(--color-primary);
|
||||
color: var(--color-on-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
.aksrt-doc-toolbar__meta {
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* Loading State
|
||||
* ============================================================ */
|
||||
.aksrt-doc-loading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
padding: 48px 20px;
|
||||
color: var(--color-ink-4);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.aksrt-doc-loading__spinner {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid var(--color-line);
|
||||
border-top-color: var(--color-primary);
|
||||
border-radius: 50%;
|
||||
animation: aksrt-doc-spin 0.6s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes aksrt-doc-spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* Search Results Takeover — when search replaces main list
|
||||
* ============================================================ */
|
||||
.aksrt-doc-nav__main.is-search-active .aksrt-doc-nav__grid {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aksrt-doc-nav__main.is-search-active .aksrt-doc-nav__empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__takeover {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__takeover-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
padding: 14px 0;
|
||||
border-bottom: 1px solid var(--color-line-soft);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: background var(--dur-fast) var(--ease);
|
||||
}
|
||||
|
||||
.aksrt-doc-search__takeover-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__takeover-item:hover {
|
||||
background: var(--surface-2);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.aksrt-doc-search__takeover-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-primary-softer);
|
||||
color: var(--color-primary);
|
||||
font-size: 14px;
|
||||
flex-shrink: 0;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__takeover-body {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__takeover-title {
|
||||
margin: 0 0 4px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__takeover-excerpt {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--color-ink-4);
|
||||
line-height: 1.5;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.aksrt-doc-search__takeover-meta {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin-top: 4px;
|
||||
font-size: 11px;
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
@@ -1,237 +0,0 @@
|
||||
/**
|
||||
* AKSRT Special Page — 专题聚合页样式
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
.special-page {
|
||||
max-width: var(--container);
|
||||
margin: 0 auto;
|
||||
padding: 0 var(--space-4);
|
||||
}
|
||||
|
||||
/* Cover section */
|
||||
.special-cover {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 320px;
|
||||
border-radius: var(--radius-xl);
|
||||
overflow: hidden;
|
||||
margin-bottom: var(--space-8);
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.special-cover__image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.special-cover__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
padding: var(--space-8);
|
||||
}
|
||||
|
||||
.special-cover__title {
|
||||
font-size: var(--text-3xl);
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
margin: 0 0 var(--space-2);
|
||||
}
|
||||
|
||||
.special-cover__summary {
|
||||
font-size: var(--text-base);
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
margin: 0;
|
||||
max-width: 600px;
|
||||
line-height: var(--leading-normal);
|
||||
}
|
||||
|
||||
/* Content layout */
|
||||
.special-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 311px;
|
||||
gap: var(--space-8);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.special-content--no-sidebar {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
/* Subpage cards */
|
||||
.special-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.special-card {
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
|
||||
}
|
||||
|
||||
.special-card:hover {
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.special-card__thumbnail {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
object-fit: cover;
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.special-card__body {
|
||||
padding: var(--card-padding);
|
||||
}
|
||||
|
||||
.special-card__title {
|
||||
font-size: var(--text-lg);
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
margin: 0 0 var(--space-2);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.special-card__excerpt {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-ink-3);
|
||||
margin: 0;
|
||||
line-height: var(--leading-normal);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.special-card__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
margin-top: var(--space-3);
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
/* List layout */
|
||||
.special-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.special-list-item {
|
||||
display: flex;
|
||||
gap: var(--space-4);
|
||||
padding: var(--card-padding);
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
transition: box-shadow var(--dur) var(--ease);
|
||||
}
|
||||
|
||||
.special-list-item:hover {
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.special-list-item__thumbnail {
|
||||
width: 200px;
|
||||
height: 130px;
|
||||
object-fit: cover;
|
||||
border-radius: var(--radius);
|
||||
flex-shrink: 0;
|
||||
background: var(--surface-2);
|
||||
}
|
||||
|
||||
.special-list-item__body {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.special-list-item__title {
|
||||
font-size: var(--text-lg);
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
margin: 0 0 var(--space-2);
|
||||
}
|
||||
|
||||
.special-list-item__excerpt {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-ink-3);
|
||||
margin: 0;
|
||||
line-height: var(--leading-normal);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Sidebar */
|
||||
.special-sidebar {
|
||||
position: sticky;
|
||||
top: calc(var(--nav-height) + var(--space-4));
|
||||
}
|
||||
|
||||
.special-sidebar__section {
|
||||
background: var(--surface-1);
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: var(--card-padding);
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.special-sidebar__title {
|
||||
font-size: var(--text-base);
|
||||
font-weight: 600;
|
||||
color: var(--color-ink);
|
||||
margin: 0 0 var(--space-3);
|
||||
padding-bottom: var(--space-3);
|
||||
border-bottom: 1px solid var(--color-line-soft);
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 991px) {
|
||||
.special-content {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.special-sidebar {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.special-cover {
|
||||
height: 220px;
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.special-cover__title {
|
||||
font-size: var(--text-2xl);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.special-cards {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.special-list-item {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.special-list-item__thumbnail {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
}
|
||||
}
|
||||
@@ -445,8 +445,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* User-home forum tab (owned by public user home route) */
|
||||
.aksrt-user-home .uh-forum__subtabs {
|
||||
/* User-home follow tab */
|
||||
.aksrt-user-home .uh-follow__subtabs {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
margin-bottom: 16px;
|
||||
@@ -454,7 +454,7 @@
|
||||
border-bottom: 1px solid var(--c-border, #e8e8e8);
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__subtab {
|
||||
.aksrt-user-home .uh-follow__subtab {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
@@ -466,109 +466,22 @@
|
||||
transition: all .2s;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__subtab:hover {
|
||||
.aksrt-user-home .uh-follow__subtab:hover {
|
||||
color: var(--c-text-1, #333);
|
||||
background: var(--c-fill-1, #f5f5f5);
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__subtab.is-active {
|
||||
.aksrt-user-home .uh-follow__subtab.is-active {
|
||||
background: var(--c-primary, #1890ff);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__subtab-count {
|
||||
.aksrt-user-home .uh-follow__subtab-count {
|
||||
font-size: 11px;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__item {
|
||||
padding: 12px 0;
|
||||
border-bottom: 1px solid var(--c-border-light, #f5f5f5);
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__item-title {
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: var(--c-text-1, #333);
|
||||
text-decoration: none;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__item-title:hover {
|
||||
color: var(--c-primary, #1890ff);
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__item-meta {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
font-size: 12px;
|
||||
color: var(--c-text-3, #999);
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__item-meta i {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__section-title {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--c-text-2, #666);
|
||||
margin: 16px 0 10px;
|
||||
padding-bottom: 6px;
|
||||
border-bottom: 1px solid var(--c-border-light, #f5f5f5);
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__section-title i {
|
||||
margin-right: 4px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__plate-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: 10px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__plate-card {
|
||||
display: block;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--c-border, #e8e8e8);
|
||||
border-radius: var(--radius, 6px);
|
||||
text-decoration: none;
|
||||
transition: border-color .2s, box-shadow .2s;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__plate-card:hover {
|
||||
border-color: var(--c-primary, #1890ff);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__plate-name {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--c-text-1, #333);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__plate-stats {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
font-size: 12px;
|
||||
color: var(--c-text-3, #999);
|
||||
}
|
||||
|
||||
.aksrt-user-home .uh-forum__pagination {
|
||||
.aksrt-user-home .uh-follow__pagination {
|
||||
margin-top: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
tab_count: tabCount,
|
||||
style: style,
|
||||
paginate: paginate,
|
||||
topics: tab.getAttribute('data-topics') || '',
|
||||
limit_day: tab.getAttribute('data-limit-day') || '0',
|
||||
pay_type: tab.getAttribute('data-pay-type') || '',
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user