fix 更多栏目

This commit is contained in:
2026-09-05 17:32:18 +08:00
parent 5b89fc200b
commit 05a6b6fc54
28 changed files with 440 additions and 2295 deletions
+6 -581
View File
@@ -900,17 +900,11 @@ ul.breadcrumb > li:last-child,
* - scale(1.02) thumbnail hover
* - Lazy-load animations (blur/fade/scale)
* - Full responsive: 1200/991/767/640px breakpoints
*
* Tab nav / tab panes / sort menu use the legacy class contract
* (.index-tab, .ajax-option, .ajaxpager) styled by assets/css/main.css.
*/
/* ================================================================
0. ANIMATIONS
================================================================ */
@keyframes aksrt-skeleton-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
/* ================================================================
1. HOMEPAGE CONTAINER & TYPOGRAPHY
================================================================ */
@@ -931,10 +925,6 @@ ul.breadcrumb > li:last-child,
transition: color 0.2s, background 0.3s, opacity 0.3s, box-shadow 0.3s, transform 0.3s;
}
.aksrt-homepage .aksrt-skeleton {
animation: aksrt-skeleton-pulse 1.5s ease-in-out infinite;
}
/* ================================================================
2. LAYOUT SHELL
================================================================ */
@@ -949,16 +939,6 @@ ul.breadcrumb > li:last-child,
padding-bottom: 0;
}
.aksrt-homepage__hero {
width: 100vw;
max-width: 100vw;
margin: 0 calc(-50vw + 50%) 24px;
}
.aksrt-homepage__hero .header-components-container {
margin-bottom: 0;
}
.aksrt-homepage__shell.content-shell {
padding-top: 0;
/* 36px + a bit more breathing room before footer */
@@ -999,29 +979,6 @@ ul.breadcrumb > li:last-child,
display: block;
}
.aksrt-homepage__system-modules {
gap: 0;
padding-bottom: 0;
}
.aksrt-homepage__content-zone.aksrt-homepage__system-modules {
margin-bottom: 20px;
}
.aksrt-homepage__content-zone--featured {
margin-bottom: 20px;
}
.aksrt-homepage__content-zone--operated,
.aksrt-homepage__content-zone--mid,
.aksrt-homepage__content-zone--supplement {
margin-bottom: 20px;
}
.aksrt-homepage__content-zone--supplement {
padding-top: 4px;
}
.aksrt-homepage__content-zone .widget-card:last-child,
.aksrt-homepage__aside .widget:last-child,
.aksrt-homepage__fluid-zone .widget-fluid:last-child {
@@ -1061,269 +1018,9 @@ ul.breadcrumb > li:last-child,
}
/* ================================================================
4. STREAM CONTAINER
4. STREAM TITLE BOX (legacy title-theme / 第N页)
================================================================ */
.aksrt-homepage__stream-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
padding: 0;
}
.aksrt-homepage__stream-intro {
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.aksrt-homepage__stream-title {
margin: 0;
color: var(--color-ink);
font-size: 20px;
font-weight: 700;
line-height: 1.25;
}
.aksrt-homepage__stream-subtitle {
margin: 0;
color: var(--color-ink-3, #777);
font-size: 13px;
line-height: 1.5;
}
.aksrt-homepage__stream,
.aksrt-homepage__stream.widget-card {
overflow: visible;
padding: 0;
background: transparent;
border: 0;
border-radius: 0;
box-shadow: none;
margin-bottom: 0;
}
/* ================================================================
5. TABS
================================================================ */
.aksrt-homepage__tabs,
.aksrt-homepage__titlebox {
margin-bottom: 6px;
padding-bottom: 0;
border-bottom: 0;
}
.aksrt-homepage__tabs.box-body,
.aksrt-homepage__titlebox.box-body {
padding: 0;
}
.aksrt-homepage__tabs-sentinel {
width: 100%;
height: 1px;
margin: 0;
pointer-events: none;
}
.aksrt-homepage__tabs.home-tab-nav-box {
position: static;
z-index: auto;
background: transparent;
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"] {
position: sticky;
top: var(--nav-height, 60px);
z-index: 995;
background: transparent;
transition: background-color 0.2s ease,
box-shadow 0.2s ease,
border-radius 0.2s ease,
padding 0.2s ease,
margin 0.2s ease,
backdrop-filter 0.2s ease,
-webkit-backdrop-filter 0.2s ease;
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
margin-bottom: 14px;
padding: 10px 16px;
background: rgba(255, 255, 255, 0.92);
border: none;
border-radius: var(--radius-2xl, 16px);
box-shadow: var(--shadow);
backdrop-filter: saturate(1.6) blur(20px);
-webkit-backdrop-filter: saturate(1.6) blur(20px);
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
position: fixed;
}
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed,
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
background: rgba(24, 24, 24, 0.82);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}
.aksrt-homepage__tab-list {
list-style: none;
display: flex;
align-items: center;
gap: 4px;
margin: 0;
padding: 0;
}
.aksrt-homepage__admin-link {
margin-left: auto;
}
.scroll-x {
overflow-x: auto;
overflow-y: hidden;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.aksrt-homepage__tab-item {
display: inline-flex;
flex: 0 0 auto;
padding: 0;
margin: 0;
border-radius: 20px;
font-weight: 500;
transition: background 0.2s ease, color 0.2s ease;
}
.aksrt-homepage__tab-button {
padding: 6px 14px;
border: 0;
background: transparent;
color: var(--color-ink);
font-family: inherit;
font-size: 14px;
font-weight: inherit;
line-height: 1.2;
white-space: nowrap;
border-radius: inherit;
cursor: pointer;
}
.aksrt-homepage__tab-button:hover {
color: var(--color-primary, var(--color-primary));
}
.aksrt-homepage__tab-item.is-active {
background: var(--color-primary, var(--color-primary));
}
.aksrt-homepage__tab-item.is-active .aksrt-homepage__tab-button,
.aksrt-homepage__tab-button[aria-selected="true"] {
color: #fff !important;
}
/* ================================================================
6. SORTBAR + VIEW TOGGLE
================================================================ */
.aksrt-homepage__sortbar {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
padding: 0 0 8px;
border-bottom: 1px solid var(--color-line, rgba(50, 50, 50, 0.06));
color: var(--color-ink-3, #777);
font-size: 13px;
}
.aksrt-homepage__sortbar-links {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0;
flex: 1 1 auto;
}
.aksrt-homepage__sortbar-link {
position: relative;
display: inline-flex;
align-items: center;
padding: 0 12px;
color: var(--color-ink-3, #777);
text-decoration: none;
line-height: 1.4;
}
.aksrt-homepage__sortbar-link:first-child {
padding-left: 0;
}
.aksrt-homepage__sortbar-link + .aksrt-homepage__sortbar-link::before {
content: "\00b7";
position: absolute;
left: -2px;
color: var(--color-ink-4, #b1b1b1);
}
.aksrt-homepage__sortbar-link:hover,
.aksrt-homepage__sortbar-link.is-active {
color: var(--color-ink);
}
.aksrt-homepage__view-toggle {
display: inline-flex;
align-items: center;
gap: 6px;
margin-left: auto;
flex: 0 0 auto;
}
.aksrt-homepage__view-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
border: 0;
background: transparent;
color: var(--color-ink-4, #999);
border-radius: 4px;
cursor: pointer;
transition: color 0.2s, background 0.2s;
}
.aksrt-homepage__view-btn:hover {
color: var(--color-ink);
background: var(--surface-2, #eee);
}
.aksrt-homepage__view-btn.is-active {
color: var(--color-primary);
}
.aksrt-homepage__view-btn svg {
width: 16px;
height: 16px;
fill: currentColor;
}
.title-theme {
position: relative;
padding-left: 1.2em;
@@ -1344,54 +1041,6 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
box-shadow: 1px 1px 3px -1px var(--color-primary);
}
.aksrt-homepage__page-indicator {
margin-left: 10px;
font-size: 80%;
font-weight: 400;
opacity: 0.7;
}
.aksrt-homepage__panel[hidden],
.index-tab-main .tab-pane[hidden],
.home-tab-content .tab-pane[hidden] {
display: none !important;
}
.aksrt-homepage__panels,
.home-tab-content {
display: block;
}
.aksrt-homepage__panel {
opacity: 0;
transition: opacity 0.3s ease;
}
.aksrt-homepage__panel.is-active,
.aksrt-homepage__panel.active,
.aksrt-homepage__panel.fade.in,
.aksrt-homepage__panel.tab-pane.active,
#index-tab-main.aksrt-homepage__panel,
.home-tab-content .tab-pane.is-active,
.home-tab-content .tab-pane.show,
.home-tab-content .tab-pane.active,
.aksrt-homepage__panel.show {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}
.home-tab-content .tab-pane.fade.is-active,
.home-tab-content .tab-pane.fade.show,
.home-tab-content .tab-pane.fade.active,
#index-tab-main.fade {
opacity: 1 !important;
}
.aksrt-homepage__panel-contract {
display: none;
}
.flex {
/* No !important: the site-layout-1 / fluid-widget-wrap wide-mode rule
(.posts-item:not(.card) { display: inline-flex }) must out-rank this
@@ -1421,47 +1070,9 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
}
/* ================================================================
11. PAGINATION
5. PAGINATION
================================================================ */
.aksrt-homepage__panel-footer {
display: flex;
justify-content: center;
margin-top: 18px;
}
.aksrt-homepage__more,
.aksrt-homepage .aksrt-load-more-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
padding: 0 14px;
border: 1px solid var(--color-line, rgba(50, 50, 50, 0.06));
border-radius: var(--radius, 8px);
background: var(--surface-1, #fff);
color: var(--color-ink-3, #777);
font-size: 13px;
font-weight: 500;
transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.aksrt-homepage__more:hover,
.aksrt-homepage .aksrt-load-more-btn:hover {
color: var(--color-primary, var(--color-primary));
border-color: var(--color-primary, var(--color-primary));
box-shadow: none;
transform: none;
}
.aksrt-homepage .ajax-pagination {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-top: 20px;
}
.aksrt-homepage .navigation.pagination .nav-links,
.aksrt-homepage .pagination {
gap: 0;
@@ -1496,7 +1107,7 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
}
/* ================================================================
12. SIDEBAR
6. SIDEBAR
================================================================ */
.aksrt-homepage__aside > .aksrt-panel,
@@ -1611,189 +1222,3 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
box-shadow: none;
border-radius: 0;
}
/* ================================================================
13. LOADING & EMPTY STATES
================================================================ */
.aksrt-homepage .aksrt-loading-indicator {
display: flex;
align-items: center;
gap: 8px;
color: var(--color-ink-3, #777);
font-size: 13px;
}
.aksrt-homepage__stream .no-results {
padding: 32px 16px;
text-align: center;
color: var(--color-ink-4, #999);
}
/* source: assets/css/frontend/homepage-fixed/ajax-tab-skeleton-placeholder.css */
/* AJAX tab skeleton placeholder */
.aksrt-homepage__tab-skeleton {
display: flex;
flex-direction: column;
gap: 15px;
padding: 10px 0;
}
.aksrt-homepage__tab-skeleton-item {
display: flex;
gap: 16px;
padding: 20px;
background: var(--surface-1, #fff);
border: none;
border-radius: var(--main-radius, var(--radius, 8px));
box-shadow: var(--shadow-sm);
animation: aksrt-skeleton-pulse 1.5s ease-in-out infinite;
}
.aksrt-homepage__tab-skeleton-thumb {
width: 190px;
min-width: 190px;
height: 133px;
background: var(--surface-2, #eee);
border-radius: var(--radius, 8px);
}
.aksrt-homepage__tab-skeleton-body {
flex: 1;
display: flex;
flex-direction: column;
gap: 10px;
}
.aksrt-homepage__tab-skeleton-line {
height: 14px;
background: var(--surface-2, #eee);
border-radius: 4px;
}
.aksrt-homepage__tab-skeleton-line:first-child {
width: 70%;
height: 18px;
}
.aksrt-homepage__tab-skeleton-line:nth-child(2) {
width: 100%;
}
.aksrt-homepage__tab-skeleton-line:nth-child(3) {
width: 40%;
}
/* source: assets/css/frontend/homepage-fixed/ajax-tab-error-state.css */
/* AJAX tab error state */
.aksrt-homepage__tab-error {
padding: 32px 16px;
text-align: center;
color: var(--color-ink-4, #999);
font-size: 14px;
background: var(--surface-1);
border: none;
border-radius: var(--main-radius, var(--radius, 8px));
box-shadow: var(--shadow-sm);
}
.aksrt-homepage__tab-retry {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 12px;
padding: 8px 16px;
border: 1px solid var(--color-line);
border-radius: var(--radius-btn, 4px);
background: var(--surface-4, #fff);
color: var(--color-ink-3, #777);
font-size: 13px;
cursor: pointer;
transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.aksrt-homepage__tab-retry:hover {
color: var(--color-primary, var(--color-primary));
border-color: var(--color-primary, var(--color-primary));
background: var(--color-primary-soft);
}
/* ================================================================
14. RESPONSIVE — TABLET (max-width: 991px)
================================================================ */
@media (max-width: 991.98px) {
.aksrt-homepage__shell.content-shell,
.aksrt-homepage__fluid-zone.content-shell {
padding-top: 16px;
}
}
/* ================================================================
15. RESPONSIVE — MOBILE (max-width: 767px)
================================================================ */
@media (max-width: 767px) {
.aksrt-homepage__shell.content-shell {
padding-left: 10px;
padding-right: 10px;
}
/* Tab skeleton: smaller thumb */
.aksrt-homepage__tab-skeleton-thumb {
width: 120px;
min-width: 120px;
height: 84px;
}
}
/* ================================================================
16. RESPONSIVE — SMALL MOBILE (max-width: 640px)
================================================================ */
@media (max-width: 640px) {
.aksrt-homepage__stream-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.aksrt-homepage__stream-title {
font-size: 20px;
}
.aksrt-homepage__stream-subtitle {
font-size: 13px;
}
.aksrt-homepage__tabs,
.aksrt-homepage__titlebox {
margin-bottom: 8px;
}
.aksrt-homepage__admin-link {
margin-left: 0;
margin-top: 12px;
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
padding: 8px 10px;
border-radius: 10px;
}
.aksrt-homepage__sortbar {
gap: 10px;
margin-bottom: 12px;
padding-bottom: 12px;
font-size: 13px;
}
/* Tab skeleton: adapt */
.aksrt-homepage__tab-skeleton-thumb {
width: 96px;
min-width: 96px;
height: 67px;
}
}
+1 -1
View File
File diff suppressed because one or more lines are too long
-20
View File
@@ -3924,15 +3924,6 @@ body.site-layout-3 .sidebar,
width: 100%;
}
.content-stream__footer {
margin-top: 4px;
}
.content-stream__footer > .content-stream__footer-nav,
.archive__ajax-wrap > .content-stream__footer-nav {
margin-top: 0;
}
.content-stream__empty {
padding: 28px 24px;
border-radius: var(--radius-lg);
@@ -6745,17 +6736,6 @@ body.aksrt-body-scroll .aksrt-show-on-scroll {
/* source: assets/css/frontend/pagination.css */
/* ========== 分页 — 对齐 legacy pagination ========== */
.content-stream__footer-nav {
width: 100%;
}
.content-stream__footer-nav.aksrt-pagination,
.content-stream__footer-nav.aksrt-pagination-ajax,
.content-stream__footer .aksrt-pagination,
.content-stream__footer .aksrt-pagination-ajax {
margin: 0;
}
.pagination,
.aksrt-pagination,
.navigation.pagination .nav-links,
+1 -1
View File
File diff suppressed because one or more lines are too long
-2
View File
@@ -1,3 +1 @@
@import url("homepage-fixed/base.css");
@import url("homepage-fixed/ajax-tab-skeleton-placeholder.css");
@import url("homepage-fixed/ajax-tab-error-state.css");
@@ -1,113 +0,0 @@
/* AJAX tab error state */
.aksrt-homepage__tab-error {
padding: 32px 16px;
text-align: center;
color: var(--color-ink-4, #999);
font-size: 14px;
background: var(--surface-1);
border: none;
border-radius: var(--main-radius, var(--radius, 8px));
box-shadow: var(--shadow-sm);
}
.aksrt-homepage__tab-retry {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 12px;
padding: 8px 16px;
border: 1px solid var(--color-line);
border-radius: var(--radius-btn, 4px);
background: var(--surface-4, #fff);
color: var(--color-ink-3, #777);
font-size: 13px;
cursor: pointer;
transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.aksrt-homepage__tab-retry:hover {
color: var(--color-primary, var(--color-primary));
border-color: var(--color-primary, var(--color-primary));
background: var(--color-primary-soft);
}
/* ================================================================
14. RESPONSIVE — TABLET (max-width: 991px)
================================================================ */
@media (max-width: 991.98px) {
.aksrt-homepage__shell.content-shell,
.aksrt-homepage__fluid-zone.content-shell {
padding-top: 16px;
}
}
/* ================================================================
15. RESPONSIVE — MOBILE (max-width: 767px)
================================================================ */
@media (max-width: 767px) {
.aksrt-homepage__shell.content-shell {
padding-left: 10px;
padding-right: 10px;
}
/* Tab skeleton: smaller thumb */
.aksrt-homepage__tab-skeleton-thumb {
width: 120px;
min-width: 120px;
height: 84px;
}
}
/* ================================================================
16. RESPONSIVE — SMALL MOBILE (max-width: 640px)
================================================================ */
@media (max-width: 640px) {
.aksrt-homepage__stream-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.aksrt-homepage__stream-title {
font-size: 20px;
}
.aksrt-homepage__stream-subtitle {
font-size: 13px;
}
.aksrt-homepage__tabs,
.aksrt-homepage__titlebox {
margin-bottom: 8px;
}
.aksrt-homepage__admin-link {
margin-left: 0;
margin-top: 12px;
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
padding: 8px 10px;
border-radius: 10px;
}
.aksrt-homepage__sortbar {
gap: 10px;
margin-bottom: 12px;
padding-bottom: 12px;
font-size: 13px;
}
/* Tab skeleton: adapt */
.aksrt-homepage__tab-skeleton-thumb {
width: 96px;
min-width: 96px;
height: 67px;
}
}
@@ -1,53 +0,0 @@
/* AJAX tab skeleton placeholder */
.aksrt-homepage__tab-skeleton {
display: flex;
flex-direction: column;
gap: 15px;
padding: 10px 0;
}
.aksrt-homepage__tab-skeleton-item {
display: flex;
gap: 16px;
padding: 20px;
background: var(--surface-1, #fff);
border: none;
border-radius: var(--main-radius, var(--radius, 8px));
box-shadow: var(--shadow-sm);
animation: aksrt-skeleton-pulse 1.5s ease-in-out infinite;
}
.aksrt-homepage__tab-skeleton-thumb {
width: 190px;
min-width: 190px;
height: 133px;
background: var(--surface-2, #eee);
border-radius: var(--radius, 8px);
}
.aksrt-homepage__tab-skeleton-body {
flex: 1;
display: flex;
flex-direction: column;
gap: 10px;
}
.aksrt-homepage__tab-skeleton-line {
height: 14px;
background: var(--surface-2, #eee);
border-radius: 4px;
}
.aksrt-homepage__tab-skeleton-line:first-child {
width: 70%;
height: 18px;
}
.aksrt-homepage__tab-skeleton-line:nth-child(2) {
width: 100%;
}
.aksrt-homepage__tab-skeleton-line:nth-child(3) {
width: 40%;
}
+6 -413
View File
@@ -9,17 +9,11 @@
* - scale(1.02) thumbnail hover
* - Lazy-load animations (blur/fade/scale)
* - Full responsive: 1200/991/767/640px breakpoints
*
* Tab nav / tab panes / sort menu use the legacy class contract
* (.index-tab, .ajax-option, .ajaxpager) styled by assets/css/main.css.
*/
/* ================================================================
0. ANIMATIONS
================================================================ */
@keyframes aksrt-skeleton-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
/* ================================================================
1. HOMEPAGE CONTAINER & TYPOGRAPHY
================================================================ */
@@ -40,10 +34,6 @@
transition: color 0.2s, background 0.3s, opacity 0.3s, box-shadow 0.3s, transform 0.3s;
}
.aksrt-homepage .aksrt-skeleton {
animation: aksrt-skeleton-pulse 1.5s ease-in-out infinite;
}
/* ================================================================
2. LAYOUT SHELL
================================================================ */
@@ -58,16 +48,6 @@
padding-bottom: 0;
}
.aksrt-homepage__hero {
width: 100vw;
max-width: 100vw;
margin: 0 calc(-50vw + 50%) 24px;
}
.aksrt-homepage__hero .header-components-container {
margin-bottom: 0;
}
.aksrt-homepage__shell.content-shell {
padding-top: 0;
/* 36px + a bit more breathing room before footer */
@@ -108,29 +88,6 @@
display: block;
}
.aksrt-homepage__system-modules {
gap: 0;
padding-bottom: 0;
}
.aksrt-homepage__content-zone.aksrt-homepage__system-modules {
margin-bottom: 20px;
}
.aksrt-homepage__content-zone--featured {
margin-bottom: 20px;
}
.aksrt-homepage__content-zone--operated,
.aksrt-homepage__content-zone--mid,
.aksrt-homepage__content-zone--supplement {
margin-bottom: 20px;
}
.aksrt-homepage__content-zone--supplement {
padding-top: 4px;
}
.aksrt-homepage__content-zone .widget-card:last-child,
.aksrt-homepage__aside .widget:last-child,
.aksrt-homepage__fluid-zone .widget-fluid:last-child {
@@ -170,269 +127,9 @@
}
/* ================================================================
4. STREAM CONTAINER
4. STREAM TITLE BOX (legacy title-theme / 第N页)
================================================================ */
.aksrt-homepage__stream-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
padding: 0;
}
.aksrt-homepage__stream-intro {
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.aksrt-homepage__stream-title {
margin: 0;
color: var(--color-ink);
font-size: 20px;
font-weight: 700;
line-height: 1.25;
}
.aksrt-homepage__stream-subtitle {
margin: 0;
color: var(--color-ink-3, #777);
font-size: 13px;
line-height: 1.5;
}
.aksrt-homepage__stream,
.aksrt-homepage__stream.widget-card {
overflow: visible;
padding: 0;
background: transparent;
border: 0;
border-radius: 0;
box-shadow: none;
margin-bottom: 0;
}
/* ================================================================
5. TABS
================================================================ */
.aksrt-homepage__tabs,
.aksrt-homepage__titlebox {
margin-bottom: 6px;
padding-bottom: 0;
border-bottom: 0;
}
.aksrt-homepage__tabs.box-body,
.aksrt-homepage__titlebox.box-body {
padding: 0;
}
.aksrt-homepage__tabs-sentinel {
width: 100%;
height: 1px;
margin: 0;
pointer-events: none;
}
.aksrt-homepage__tabs.home-tab-nav-box {
position: static;
z-index: auto;
background: transparent;
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"] {
position: sticky;
top: var(--nav-height, 60px);
z-index: 995;
background: transparent;
transition: background-color 0.2s ease,
box-shadow 0.2s ease,
border-radius 0.2s ease,
padding 0.2s ease,
margin 0.2s ease,
backdrop-filter 0.2s ease,
-webkit-backdrop-filter 0.2s ease;
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
margin-bottom: 14px;
padding: 10px 16px;
background: rgba(255, 255, 255, 0.92);
border: none;
border-radius: var(--radius-2xl, 16px);
box-shadow: var(--shadow);
backdrop-filter: saturate(1.6) blur(20px);
-webkit-backdrop-filter: saturate(1.6) blur(20px);
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
position: fixed;
}
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed,
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
background: rgba(24, 24, 24, 0.82);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}
.aksrt-homepage__tab-list {
list-style: none;
display: flex;
align-items: center;
gap: 4px;
margin: 0;
padding: 0;
}
.aksrt-homepage__admin-link {
margin-left: auto;
}
.scroll-x {
overflow-x: auto;
overflow-y: hidden;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.aksrt-homepage__tab-item {
display: inline-flex;
flex: 0 0 auto;
padding: 0;
margin: 0;
border-radius: 20px;
font-weight: 500;
transition: background 0.2s ease, color 0.2s ease;
}
.aksrt-homepage__tab-button {
padding: 6px 14px;
border: 0;
background: transparent;
color: var(--color-ink);
font-family: inherit;
font-size: 14px;
font-weight: inherit;
line-height: 1.2;
white-space: nowrap;
border-radius: inherit;
cursor: pointer;
}
.aksrt-homepage__tab-button:hover {
color: var(--color-primary, var(--color-primary));
}
.aksrt-homepage__tab-item.is-active {
background: var(--color-primary, var(--color-primary));
}
.aksrt-homepage__tab-item.is-active .aksrt-homepage__tab-button,
.aksrt-homepage__tab-button[aria-selected="true"] {
color: #fff !important;
}
/* ================================================================
6. SORTBAR + VIEW TOGGLE
================================================================ */
.aksrt-homepage__sortbar {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
padding: 0 0 8px;
border-bottom: 1px solid var(--color-line, rgba(50, 50, 50, 0.06));
color: var(--color-ink-3, #777);
font-size: 13px;
}
.aksrt-homepage__sortbar-links {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0;
flex: 1 1 auto;
}
.aksrt-homepage__sortbar-link {
position: relative;
display: inline-flex;
align-items: center;
padding: 0 12px;
color: var(--color-ink-3, #777);
text-decoration: none;
line-height: 1.4;
}
.aksrt-homepage__sortbar-link:first-child {
padding-left: 0;
}
.aksrt-homepage__sortbar-link + .aksrt-homepage__sortbar-link::before {
content: "\00b7";
position: absolute;
left: -2px;
color: var(--color-ink-4, #b1b1b1);
}
.aksrt-homepage__sortbar-link:hover,
.aksrt-homepage__sortbar-link.is-active {
color: var(--color-ink);
}
.aksrt-homepage__view-toggle {
display: inline-flex;
align-items: center;
gap: 6px;
margin-left: auto;
flex: 0 0 auto;
}
.aksrt-homepage__view-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
border: 0;
background: transparent;
color: var(--color-ink-4, #999);
border-radius: 4px;
cursor: pointer;
transition: color 0.2s, background 0.2s;
}
.aksrt-homepage__view-btn:hover {
color: var(--color-ink);
background: var(--surface-2, #eee);
}
.aksrt-homepage__view-btn.is-active {
color: var(--color-primary);
}
.aksrt-homepage__view-btn svg {
width: 16px;
height: 16px;
fill: currentColor;
}
.title-theme {
position: relative;
padding-left: 1.2em;
@@ -453,54 +150,6 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
box-shadow: 1px 1px 3px -1px var(--color-primary);
}
.aksrt-homepage__page-indicator {
margin-left: 10px;
font-size: 80%;
font-weight: 400;
opacity: 0.7;
}
.aksrt-homepage__panel[hidden],
.index-tab-main .tab-pane[hidden],
.home-tab-content .tab-pane[hidden] {
display: none !important;
}
.aksrt-homepage__panels,
.home-tab-content {
display: block;
}
.aksrt-homepage__panel {
opacity: 0;
transition: opacity 0.3s ease;
}
.aksrt-homepage__panel.is-active,
.aksrt-homepage__panel.active,
.aksrt-homepage__panel.fade.in,
.aksrt-homepage__panel.tab-pane.active,
#index-tab-main.aksrt-homepage__panel,
.home-tab-content .tab-pane.is-active,
.home-tab-content .tab-pane.show,
.home-tab-content .tab-pane.active,
.aksrt-homepage__panel.show {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}
.home-tab-content .tab-pane.fade.is-active,
.home-tab-content .tab-pane.fade.show,
.home-tab-content .tab-pane.fade.active,
#index-tab-main.fade {
opacity: 1 !important;
}
.aksrt-homepage__panel-contract {
display: none;
}
.flex {
/* No !important: the site-layout-1 / fluid-widget-wrap wide-mode rule
(.posts-item:not(.card) { display: inline-flex }) must out-rank this
@@ -530,47 +179,9 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
}
/* ================================================================
11. PAGINATION
5. PAGINATION
================================================================ */
.aksrt-homepage__panel-footer {
display: flex;
justify-content: center;
margin-top: 18px;
}
.aksrt-homepage__more,
.aksrt-homepage .aksrt-load-more-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
padding: 0 14px;
border: 1px solid var(--color-line, rgba(50, 50, 50, 0.06));
border-radius: var(--radius, 8px);
background: var(--surface-1, #fff);
color: var(--color-ink-3, #777);
font-size: 13px;
font-weight: 500;
transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.aksrt-homepage__more:hover,
.aksrt-homepage .aksrt-load-more-btn:hover {
color: var(--color-primary, var(--color-primary));
border-color: var(--color-primary, var(--color-primary));
box-shadow: none;
transform: none;
}
.aksrt-homepage .ajax-pagination {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-top: 20px;
}
.aksrt-homepage .navigation.pagination .nav-links,
.aksrt-homepage .pagination {
gap: 0;
@@ -605,7 +216,7 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
}
/* ================================================================
12. SIDEBAR
6. SIDEBAR
================================================================ */
.aksrt-homepage__aside > .aksrt-panel,
@@ -720,21 +331,3 @@ html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-aff
box-shadow: none;
border-radius: 0;
}
/* ================================================================
13. LOADING & EMPTY STATES
================================================================ */
.aksrt-homepage .aksrt-loading-indicator {
display: flex;
align-items: center;
gap: 8px;
color: var(--color-ink-3, #777);
font-size: 13px;
}
.aksrt-homepage__stream .no-results {
padding: 32px 16px;
text-align: center;
color: var(--color-ink-4, #999);
}
-9
View File
@@ -455,15 +455,6 @@ body.site-layout-3 .sidebar,
width: 100%;
}
.content-stream__footer {
margin-top: 4px;
}
.content-stream__footer > .content-stream__footer-nav,
.archive__ajax-wrap > .content-stream__footer-nav {
margin-top: 0;
}
.content-stream__empty {
padding: 28px 24px;
border-radius: var(--radius-lg);
-11
View File
@@ -1,15 +1,4 @@
/* ========== 分页 — 对齐 legacy pagination ========== */
.content-stream__footer-nav {
width: 100%;
}
.content-stream__footer-nav.aksrt-pagination,
.content-stream__footer-nav.aksrt-pagination-ajax,
.content-stream__footer .aksrt-pagination,
.content-stream__footer .aksrt-pagination-ajax {
margin: 0;
}
.pagination,
.aksrt-pagination,
.navigation.pagination .nav-links,