loulijun2021
2023-03-24 d2fb861c08c060c722253daf659f1e5d4cfe4607
src/styles/variables.scss
@@ -4,7 +4,9 @@
$subMenuActiveText: #f4f4f5; //https://github.com/ElemeFE/element/issues/12951
$menuBg: #304156;
$menuHover: #263445;
//$menuHover: #263445;
//$menuHover: rgba(44, 63, 68, 0.75);
$menuHover: rgba(105, 115, 130, 0.8);
$subMenuBg: #1f2d3d;
$subMenuHover: #001528;
@@ -12,6 +14,9 @@
$sideBarWidth: 210px;
$sideBarWidthIsMenuHorizontal: 0; //当菜单横屏时的侧边栏高度
$menuBgLeftBackgroundColorValue: #f8f8fa; //当菜单横屏时的侧边栏高度
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
@@ -25,4 +30,5 @@
  subMenuHover: $subMenuHover;
  sideBarWidth: $sideBarWidth;
  sideBarWidthIsMenuHorizontal:$sideBarWidthIsMenuHorizontal;
  menuBgLeftBackgroundColorValue:$menuBgLeftBackgroundColorValue;
}