refactor: remove forum and topic feature chains
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user