xiaoxian521 vor 3 Jahren
Ursprung
Commit
8a14519467

+ 1 - 1
src/layout/components/panel/index.vue

@@ -37,7 +37,7 @@ defineExpose({
       <div class="right-panel-items">
         <div class="project-configuration">
           <h3>项目配置</h3>
-          <el-icon class="el-icon-close" @click="show = !show">
+          <el-icon title="关闭配置" class="el-icon-close" @click="show = !show">
             <Close />
           </el-icon>
         </div>

+ 3 - 3
src/layout/theme/auroraGreen-vars.scss

@@ -1,11 +1,11 @@
 // 极光绿
 
-$subMenuActiveText: #409eff;
+$subMenuActiveText: #fff;
 $menuBg: #0b1e15;
 $menuHover: #60ac80;
-$subMenuBg: #fff;
+$subMenuBg: #000;
 $subMenuHover: #60ac80;
 $navTextColor: #7a80b4;
 $menuText: #7a80b4;
-$sidebarLogo: #192e22;
+$sidebarLogo: #112f21;
 $menuTitleHover: #fff;

+ 1 - 1
src/layout/theme/dusk-vars.scss

@@ -7,5 +7,5 @@ $subMenuBg: #000;
 $subMenuHover: #e13c39;
 $navTextColor: red;
 $menuText: rgba(254, 254, 254, 0.651);
-$sidebarLogo: #3c0e0e;
+$sidebarLogo: #42090c;
 $menuTitleHover: #fff;

+ 3 - 3
src/layout/theme/mingQing-vars.scss

@@ -1,11 +1,11 @@
 // 明青
 
-$subMenuActiveText: #409eff;
+$subMenuActiveText: #fff;
 $menuBg: #032121;
 $menuHover: #59bfc1;
-$subMenuBg: #fff;
+$subMenuBg: #000;
 $subMenuHover: #59bfc1;
 $navTextColor: #7a80b4;
 $menuText: #7a80b4;
-$sidebarLogo: #153334;
+$sidebarLogo: #053434;
 $menuTitleHover: #fff;

+ 3 - 3
src/layout/theme/pink-vars.scss

@@ -1,11 +1,11 @@
 // 粉红
 
-$subMenuActiveText: #409eff;
+$subMenuActiveText: #fff;
 $menuBg: #28081a;
 $menuHover: #d84493;
-$subMenuBg: #fff;
+$subMenuBg: #000;
 $subMenuHover: #d84493;
 $navTextColor: #7a80b4;
 $menuText: #7a80b4;
-$sidebarLogo: #391228;
+$sidebarLogo: #3f0d29;
 $menuTitleHover: #fff;

+ 3 - 3
src/layout/theme/saucePurple-vars.scss

@@ -1,11 +1,11 @@
 // 酱紫
 
-$subMenuActiveText: #409eff;
+$subMenuActiveText: #fff;
 $menuBg: #130824;
 $menuHover: #693ac9;
-$subMenuBg: #fff;
+$subMenuBg: #000;
 $subMenuHover: #693ac9;
 $navTextColor: #7a80b4;
 $menuText: #7a80b4;
-$sidebarLogo: #1c0f35;
+$sidebarLogo: #1f0c38;
 $menuTitleHover: #fff;

+ 1 - 1
src/layout/theme/volcano-vars.scss

@@ -7,5 +7,5 @@ $subMenuBg: #0f0603;
 $subMenuHover: #e85f33;
 $navTextColor: #fff;
 $menuText: rgba(254, 254, 254, 0.65);
-$sidebarLogo: #3f1a0c;
+$sidebarLogo: #441708;
 $menuTitleHover: #fff;

+ 2 - 2
src/plugins/i18n/config.ts

@@ -99,7 +99,7 @@ export const buttonConfig = {
       hssearch: "搜索",
       hsexpendAll: "全部展开",
       hscollapseAll: "全部折叠",
-      hssystemSet: "系统设置",
+      hssystemSet: "打开项目配置",
       hsdelete: "删除",
       hsreload: "重新加载",
       hscloseCurrentTab: "关闭当前标签页",
@@ -123,7 +123,7 @@ export const buttonConfig = {
       hssearch: "Search",
       hsexpendAll: "Expand All",
       hscollapseAll: "Collapse All",
-      hssystemSet: "System Set",
+      hssystemSet: "Open ProjectConfig",
       hsdelete: "Delete",
       hsreload: "Reload",
       hscloseCurrentTab: "Close CurrentTab",

+ 11 - 7
src/style/sidebar.scss

@@ -17,13 +17,6 @@
     }
   }
 
-  .el-menu-item,
-  .el-sub-menu__title {
-    &:hover {
-      color: $menuTitleHover !important;
-    }
-  }
-
   .el-sub-menu__icon-arrow {
     position: absolute;
   }
@@ -129,6 +122,10 @@
     .el-menu-item,
     .el-sub-menu__title {
       color: $menuText;
+
+      &:hover {
+        color: $menuTitleHover !important;
+      }
     }
 
     // menu hover
@@ -367,6 +364,13 @@
       }
     }
 
+    .el-menu-item,
+    .el-sub-menu__title {
+      &:hover {
+        color: $menuTitleHover !important;
+      }
+    }
+
     .is-active {
       transition: color 0.3s;
       color: $subMenuActiveText !important;