Просмотр исходного кода

统一组织结构页标准红样式

将全屏风红色系组织结构特殊页的页签、圆点和悬浮底线统一为项目标准红 #be2135。

调整组织结构列表圆点为垂直居中,避免与条目文字基线偏上不齐。

Validation:

- git diff --check -- WebRoot/web/upload/ffkj-template/school-list.jsp

- 本地页面 /zuzhijiegou/jiaoxuedanwei/ 返回的新 JSP 样式包含 #be2135 与圆点居中规则
非繁 3 месяцев назад
Родитель
Сommit
439f07a7ae
1 измененных файлов с 8 добавлено и 7 удалено
  1. 8 7
      WebRoot/web/upload/ffkj-template/school-list.jsp

+ 8 - 7
WebRoot/web/upload/ffkj-template/school-list.jsp

@@ -48,6 +48,7 @@
 	<c:if test="${isOrgStructurePage}">
 		<style>
 			body.screen-red-theme .screen-inner-shell.org-structure-page .inner-content {
+				--org-structure-red: #be2135;
 				padding-top: 0;
 			}
 
@@ -76,7 +77,7 @@
 				align-items: center;
 				min-height: 46px;
 				padding: 10px 18px;
-				color: var(--hx-red-dark);
+				color: var(--org-structure-red);
 				background: transparent;
 				border: 1px solid transparent;
 				border-bottom-width: 3px;
@@ -92,8 +93,8 @@
 			body.screen-red-theme .screen-inner-shell.org-structure-page .org-structure-tab:hover,
 			body.screen-red-theme .screen-inner-shell.org-structure-page .org-structure-tab:focus-visible {
 				color: #ffffff;
-				background: var(--hx-red-dark);
-				border-color: var(--hx-red-dark);
+				background-color: var(--org-structure-red);
+				border-color: var(--org-structure-red);
 			}
 
 			body.screen-red-theme .screen-inner-shell.org-structure-page .org-structure-panel {
@@ -121,12 +122,12 @@
 			body.screen-red-theme .screen-inner-shell.org-structure-page .org-structure-list li::before {
 				content: "";
 				position: absolute;
-				top: 1.05em;
+				top: 50%;
 				left: 0;
 				width: 8px;
 				height: 8px;
 				border-radius: 50%;
-				background: var(--hx-red-dark);
+				background: var(--org-structure-red);
 				transform: translateY(-50%);
 			}
 
@@ -152,7 +153,7 @@
 				left: 0;
 				width: 0;
 				height: 1px;
-				background: var(--hx-red-dark);
+				background: var(--org-structure-red);
 				opacity: 0.72;
 				transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
 				pointer-events: none;
@@ -175,7 +176,7 @@
 
 			body.screen-red-theme .screen-inner-shell.org-structure-page .org-structure-list a:hover strong,
 			body.screen-red-theme .screen-inner-shell.org-structure-page .org-structure-list a:focus-visible strong {
-				color: var(--hx-red-dark);
+				color: var(--org-structure-red);
 				transform: none;
 			}