Explorar o código

调整红色全屏风更多按钮悬停样式

在全屏风红色系栏目标题的更多链接上补充 hover 和键盘聚焦样式,使圆圈变为主题红实心、箭头文字变为白色。

同步更新红色主题 CSS 版本号,确保本地与浏览器加载新样式;其他主题仍使用原有版本。

Validation:

- git diff --check -- WebRoot/main/ffkj-portal/portal-source.css WebRoot/web/upload/ffkj-template/portal-source.css WebRoot/web/upload/ffkj-template/screen-index.jsp

- 本地预览已加载 portal-source.css?v=20260624-screen-red-more-hover
非繁 hai 5 meses
pai
achega
27bcaa1252

+ 12 - 0
WebRoot/main/ffkj-portal/portal-source.css

@@ -317,6 +317,18 @@ body.screen-red-theme .screen-shell .section-title {
   border-bottom: 0;
 }
 
+body.screen-red-theme .screen-shell .section-title a::after {
+  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
+}
+
+body.screen-red-theme .screen-shell .section-title:hover a::after,
+body.screen-red-theme .screen-shell .section-title a:hover::after,
+body.screen-red-theme .screen-shell .section-title a:focus-visible::after {
+  color: #ffffff;
+  border-color: var(--hx-red);
+  background: var(--hx-red);
+}
+
 body.screen-red-theme .screen-shell {
   --screen-red-section-title-size: clamp(22px, 1.5vw, 26px);
   --screen-red-section-subtitle-size: clamp(11px, 0.75vw, 13px);

+ 12 - 0
WebRoot/web/upload/ffkj-template/portal-source.css

@@ -317,6 +317,18 @@ body.screen-red-theme .screen-shell .section-title {
   border-bottom: 0;
 }
 
+body.screen-red-theme .screen-shell .section-title a::after {
+  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
+}
+
+body.screen-red-theme .screen-shell .section-title:hover a::after,
+body.screen-red-theme .screen-shell .section-title a:hover::after,
+body.screen-red-theme .screen-shell .section-title a:focus-visible::after {
+  color: #ffffff;
+  border-color: var(--hx-red);
+  background: var(--hx-red);
+}
+
 body.screen-red-theme .screen-shell {
   --screen-red-section-title-size: clamp(22px, 1.5vw, 26px);
   --screen-red-section-subtitle-size: clamp(11px, 0.75vw, 13px);

+ 1 - 1
WebRoot/web/upload/ffkj-template/screen-index.jsp

@@ -9,7 +9,7 @@
 <c:set var="screenPortalCssVersion" value="20260623-news-bg"/>
 <c:set var="screenPortalJsVersion" value="20260623-hero-wheel-return"/>
 <c:if test="${portalThemeClass eq 'screen-red-theme'}">
-	<c:set var="screenPortalCssVersion" value="20260624-screen-red-image-dots"/>
+	<c:set var="screenPortalCssVersion" value="20260624-screen-red-more-hover"/>
 	<c:set var="screenPortalJsVersion" value="20260624-screen-red-hero-zoom"/>
 </c:if>
 <!doctype html>