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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user