|
|
@@ -63,9 +63,17 @@
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
}
|
|
|
-/* hover 不改变图标颜色 by xu 20251215 */
|
|
|
+
|
|
|
|
|
|
/* v3.0 菜单图标类 - 文件夹和首页 by xu 20251215 */
|
|
|
+.menu-base-icon {
|
|
|
+ font-family: "icon-base" !important;
|
|
|
+ font-size: 22px;
|
|
|
+ font-style: normal;
|
|
|
+ color: #565d6d;
|
|
|
+ -webkit-font-smoothing: antialiased;
|
|
|
+ -moz-osx-font-smoothing: grayscale;
|
|
|
+}
|
|
|
/* 文件夹图标 - 使用旧图标库 iconfont(新库暂无文件夹图标) */
|
|
|
.icon-folder-open::before {
|
|
|
content: "\e60c";
|
|
|
@@ -75,11 +83,7 @@
|
|
|
content: "\e60b";
|
|
|
font-family: "iconfont" !important;
|
|
|
}
|
|
|
-/* 首页图标 - 使用基础图标库 icon-base */
|
|
|
-.icon-shouye::before {
|
|
|
- content: "\e619" !important;
|
|
|
- font-family: "icon-base" !important;
|
|
|
-}
|
|
|
+
|
|
|
|
|
|
/* 通用icon */
|
|
|
.common-icon{
|
|
|
@@ -777,9 +781,22 @@ input::placeholder ,textarea::placeholder{
|
|
|
left: 0;
|
|
|
width: var(--left-size-width);
|
|
|
transition: width 0.2s;
|
|
|
- display: flex; /* 添加 flex 布局 */
|
|
|
- flex-direction: column; /* 垂直排列 */
|
|
|
- /* 移除容器边框,改为菜单项边框 by xu 20251212 */
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ /* v3.0 移除容器边框,改为伪元素边框 by xu 20251212 */
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 右侧边框线,覆盖整个左侧高度 by xu 20251216 */
|
|
|
+.layout-container .left-side-container::after {
|
|
|
+ content: "";
|
|
|
+ height: 100%;
|
|
|
+ width: 1px;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: 0;
|
|
|
+ background: #dadee2;
|
|
|
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.24);
|
|
|
+ z-index: 0;
|
|
|
}
|
|
|
|
|
|
.layout-container .left-side-container[size="max"] {
|
|
|
@@ -834,15 +851,9 @@ input::placeholder ,textarea::placeholder{
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
- z-index: 100;
|
|
|
+ z-index: 1;
|
|
|
overflow: hidden;
|
|
|
background: #fafbfe;
|
|
|
-
|
|
|
- /* display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: flex-start;
|
|
|
- align-items: center; */
|
|
|
-
|
|
|
}
|
|
|
|
|
|
.layout-container .left-side-content:hover {
|
|
|
@@ -850,17 +861,6 @@ input::placeholder ,textarea::placeholder{
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
|
|
|
-.layout-container .left-side-content:after {
|
|
|
- content: "";
|
|
|
- height: 100%;
|
|
|
- width: 1px;
|
|
|
- position: absolute;
|
|
|
- left: 100%;
|
|
|
- top: 0;
|
|
|
- background: #dadee2;
|
|
|
- box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.24);
|
|
|
-}
|
|
|
-
|
|
|
/* ===== 新菜单样式 =====*/
|
|
|
/* 三种模式控制 */
|
|
|
.layout-container .left-side-container[data-mode="expand"] {
|
|
|
@@ -888,9 +888,10 @@ input::placeholder ,textarea::placeholder{
|
|
|
/* 固定区域:顶部(首页) */
|
|
|
.layout-container .fixed-top {
|
|
|
flex-shrink: 0;
|
|
|
- border-bottom: none; /* 移除直接的 border */
|
|
|
+ border-bottom: none;
|
|
|
background: #fafbfe;
|
|
|
position: relative;
|
|
|
+ z-index: 1;
|
|
|
}
|
|
|
|
|
|
.layout-container .fixed-top::after {
|
|
|
@@ -909,7 +910,9 @@ input::placeholder ,textarea::placeholder{
|
|
|
flex: 1;
|
|
|
overflow-y: auto;
|
|
|
overflow-x: hidden;
|
|
|
- background: #fafbfe;
|
|
|
+ /* background: #fafbfe; */
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
}
|
|
|
|
|
|
/* 滚动条样式 */
|
|
|
@@ -929,9 +932,11 @@ input::placeholder ,textarea::placeholder{
|
|
|
/* 固定区域:底部(模式按钮) */
|
|
|
.layout-container .fixed-bottom {
|
|
|
flex-shrink: 0;
|
|
|
- border-top: none; /* 移除上边框 */
|
|
|
- background: #edf1f5; /* 背景色 */
|
|
|
+ border-top: none;
|
|
|
+ background: #edf1f5;
|
|
|
height: 40px;
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
}
|
|
|
|
|
|
/* 一级菜单分隔线(使用:after伪类,90%宽度居中) */
|
|
|
@@ -1006,6 +1011,7 @@ input::placeholder ,textarea::placeholder{
|
|
|
color: #666;
|
|
|
transition: all 0.3s;
|
|
|
min-height: 40px;
|
|
|
+ border-right: 2px solid #dadee2;
|
|
|
}
|
|
|
|
|
|
.layout-container .menu-mode-btn:hover {
|
|
|
@@ -1348,6 +1354,9 @@ input::placeholder ,textarea::placeholder{
|
|
|
align-items: center;
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
+.left-side-container .icon-container.icon-qiehuan{
|
|
|
+ padding: 0 !important;
|
|
|
+}
|
|
|
/* 选中菜单项隐藏右边框 by xu 20251212 */
|
|
|
.left-side-container .menu-item.active .menu-item-content{
|
|
|
background: #edf1f5;
|
|
|
@@ -4774,6 +4783,7 @@ input::placeholder ,textarea::placeholder{
|
|
|
/* 跨对象弹窗结束 */
|
|
|
|
|
|
/* 项目基本信息开始 */
|
|
|
+/* v3.0 SsSubTab组件改造:去掉顶部图片,改为图标+悬浮模式 by xu 20251216 */
|
|
|
.project-edit-container {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
@@ -4788,23 +4798,52 @@ input::placeholder ,textarea::placeholder{
|
|
|
height: 100%;
|
|
|
}
|
|
|
|
|
|
+/* v3.0 左侧菜单默认60px收起 by xu 20251216 */
|
|
|
.project-edit-container .left-side {
|
|
|
- width: 180px !important;
|
|
|
- border-right: 1px solid #e2e4ec;
|
|
|
- background-color: #edf1f5;
|
|
|
+ width: 60px;
|
|
|
+ background-color: #fafbfe;
|
|
|
+ transition: width 0.2s ease;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ overflow: hidden;
|
|
|
+ flex-shrink: 0;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
-.project-edit-container .left-side>div {
|
|
|
- width: 100%;
|
|
|
+/* v3.0 右侧边框线,覆盖整个左侧高度 by xu 20251216 */
|
|
|
+.project-edit-container .left-side::after {
|
|
|
+ content: "";
|
|
|
+ height: 100%;
|
|
|
+ width: 1px;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: 0;
|
|
|
+ background: #dadee2;
|
|
|
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.24);
|
|
|
+ z-index: 0;
|
|
|
}
|
|
|
|
|
|
-.project-edit-container .menu-header {
|
|
|
- height: 120px;
|
|
|
- border-bottom: 1px solid #d8dae3;
|
|
|
+/* v3.0 展开状态200px by xu 20251216 */
|
|
|
+.project-edit-container .left-side.is-expanded {
|
|
|
+ width: 200px;
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 固定模式:始终收起 by xu 20251216 */
|
|
|
+.project-edit-container .left-side[data-mode="fixed"] {
|
|
|
+ width: 60px !important;
|
|
|
+}
|
|
|
+
|
|
|
+.project-edit-container .left-side>div {
|
|
|
+ width: 100%;
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
}
|
|
|
|
|
|
+/* v3.0 菜单内容区 by xu 20251216 */
|
|
|
.project-edit-container .menu-content {
|
|
|
- height: calc(100% - 60px);
|
|
|
+ flex: 1;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
.project-edit-container .menu-content .scroll-view {
|
|
|
@@ -4814,19 +4853,115 @@ input::placeholder ,textarea::placeholder{
|
|
|
font-size: 18px;
|
|
|
}
|
|
|
|
|
|
+/* v3.0 菜单项样式,参考GlobalMenu by xu 20251216 */
|
|
|
.project-edit-container .menu-item,
|
|
|
.project-edit-container .group .menu-item {
|
|
|
- padding: 20px 12px 20px 30px;
|
|
|
+ height: 60px;
|
|
|
+ width: 100%;
|
|
|
+ box-sizing: border-box;
|
|
|
cursor: pointer;
|
|
|
position: relative;
|
|
|
- color: #333333;
|
|
|
+ color: #565d6d;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 5px;
|
|
|
+ padding: 0 8px;
|
|
|
+ border-right: 2px solid #dadee2;
|
|
|
+}
|
|
|
+
|
|
|
+/* 展开时左对齐 */
|
|
|
+.project-edit-container .left-side.is-expanded .menu-item {
|
|
|
+ justify-content: flex-start;
|
|
|
+}
|
|
|
+
|
|
|
+/* hover效果 */
|
|
|
+.project-edit-container .menu-item:hover {
|
|
|
+ background: #edf1f5;
|
|
|
}
|
|
|
|
|
|
-.project-edit-container .menu-item .arrow{
|
|
|
+/* active效果,隐藏右边框 */
|
|
|
+.project-edit-container .menu-item.active {
|
|
|
+ background: #edf1f5;
|
|
|
+ border-right-color: #edf1f5;
|
|
|
+}
|
|
|
+
|
|
|
+.project-edit-container .menu-item .arrow {
|
|
|
+ margin-left: auto;
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 展开时显示箭头 by xu 20251216 */
|
|
|
+.project-edit-container .left-side.is-expanded .menu-item .arrow {
|
|
|
+ display: block;
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 图标容器样式,参考GlobalMenu by xu 20251216 */
|
|
|
+.project-edit-container .icon-container {
|
|
|
+ position: relative;
|
|
|
+ padding: 10px;
|
|
|
+ box-sizing: content-box;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ flex-shrink: 0;
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 新增:文字标签,收起时隐藏 by xu 20251216 */
|
|
|
+.project-edit-container .menu-label {
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #565d6d;
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 展开时显示文字 by xu 20251216 */
|
|
|
+.project-edit-container .left-side.is-expanded .menu-label {
|
|
|
+ display: block;
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 新增:悬浮提示(收起时显示) by xu 20251216 */
|
|
|
+.project-edit-container .menu-tooltip {
|
|
|
position: absolute;
|
|
|
- left: 180px;
|
|
|
+ left: calc(100% + 10px);
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ background: #393d51;
|
|
|
+ color: #fff;
|
|
|
+ padding: 8px 16px;
|
|
|
+ border-radius: 4px;
|
|
|
+ white-space: nowrap;
|
|
|
+ z-index: 1000;
|
|
|
+ opacity: 0;
|
|
|
+ pointer-events: none;
|
|
|
+ transition: opacity 0.15s ease;
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 tooltip小三角 by xu 20251216 */
|
|
|
+.project-edit-container .menu-tooltip::before {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ left: -6px;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ border: 6px solid transparent;
|
|
|
+ border-right-color: #393d51;
|
|
|
+ border-left: none;
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 悬浮显示tooltip by xu 20251216 */
|
|
|
+.project-edit-container .left-side:not(.is-expanded) .menu-item:hover .menu-tooltip {
|
|
|
+ opacity: 1;
|
|
|
+}
|
|
|
+
|
|
|
+/* v3.0 展开时隐藏tooltip by xu 20251216 */
|
|
|
+.project-edit-container .left-side.is-expanded .menu-tooltip {
|
|
|
+ display: none;
|
|
|
}
|
|
|
|
|
|
.menu-item-point{
|
|
|
@@ -4835,60 +4970,57 @@ input::placeholder ,textarea::placeholder{
|
|
|
display: block;
|
|
|
border-radius: 50%;
|
|
|
background: #666;
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
-.project-edit-container .menu-item>.icon-container,
|
|
|
-.project-edit-container .group .menu-item>.icon-container {
|
|
|
- margin-left: 10px;
|
|
|
}
|
|
|
|
|
|
+/* 删除旧的底部分割线样式 */
|
|
|
.project-edit-container .menu-item::after,
|
|
|
.project-edit-container .group .menu-item::after {
|
|
|
- content: "";
|
|
|
- width: calc(100% - 10px * 2);
|
|
|
- height: 0;
|
|
|
- display: block;
|
|
|
- position: absolute;
|
|
|
- bottom: -1px;
|
|
|
- left: 10px;
|
|
|
- border-bottom: 1px solid #d8dae3;
|
|
|
+ display: none;
|
|
|
}
|
|
|
|
|
|
-.project-edit-container .menu-item.active,
|
|
|
-.project-edit-container .group .menu-item.active {
|
|
|
- background: #fff;
|
|
|
+.project-edit-container .group {
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
|
|
|
-.project-edit-container .menu-item.active::after,
|
|
|
-.project-edit-container .group .menu-item.active::after {
|
|
|
- border-bottom-color: transparent;
|
|
|
+.project-edit-container .group-detail {
|
|
|
+ background: rgba(0, 0, 0, 0.03);
|
|
|
}
|
|
|
|
|
|
-.project-edit-container .group {
|
|
|
- width: 100%;
|
|
|
+/* v3.0 子菜单样式 by xu 20251216 */
|
|
|
+.project-edit-container .group-detail .menu-item {
|
|
|
+ padding-left: 20px;
|
|
|
}
|
|
|
|
|
|
-/* .project-edit-container .group-detail {
|
|
|
- padding-left: 10px;
|
|
|
-} */
|
|
|
+.project-edit-container .left-side.is-expanded .group-detail .menu-item {
|
|
|
+ padding-left: 50px;
|
|
|
+}
|
|
|
|
|
|
-.project-edit-container .group-detail .menu-item {
|
|
|
- padding-left: 44px;
|
|
|
+/* v3.0 收起时隐藏子菜单 by xu 20251216 */
|
|
|
+.project-edit-container .left-side:not(.is-expanded) .group-detail {
|
|
|
+ display: none;
|
|
|
}
|
|
|
|
|
|
-/* .project-edit-container .group-detail .menu-item::before {
|
|
|
- content: "";
|
|
|
- height: 6px;
|
|
|
- width: 6px;
|
|
|
- border-radius: 50%;
|
|
|
- position: absolute;
|
|
|
- top: 50%;
|
|
|
- left: 30px;
|
|
|
- background: #666;
|
|
|
- transform: translateY(-50%);
|
|
|
- position: relative;
|
|
|
-} */
|
|
|
+/* v3.0 新增:模式切换按钮,参考GlobalMenu by xu 20251216 */
|
|
|
+.project-edit-container .menu-mode-toggle {
|
|
|
+ min-height: 40px;
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ padding: 12px 8px;
|
|
|
+ cursor: pointer;
|
|
|
+ border-top: 1px solid #d8dae3;
|
|
|
+ border-right: 2px solid #dadee2;
|
|
|
+ flex-shrink: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.project-edit-container .menu-mode-toggle:hover {
|
|
|
+ background: rgba(0, 0, 0, 0.05);
|
|
|
+}
|
|
|
+
|
|
|
+.project-edit-container .menu-mode-toggle .icon-container {
|
|
|
+ padding: 0 !important;
|
|
|
+}
|
|
|
|
|
|
.sub-tab-menu-footer {
|
|
|
height: 60px;
|
|
|
@@ -4954,8 +5086,9 @@ input::placeholder ,textarea::placeholder{
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
+/* v3.0 右侧内容区改为flex:1自适应 by xu 20251216 */
|
|
|
.project-edit-container>div.content-area {
|
|
|
- width: calc(100% - 180px);
|
|
|
+ flex: 1;
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
|