loulijun2021
2023-06-03 f1ee5a9bc88eff3a75245569e091fe352a452922
src/styles/variables.scss
@@ -1,15 +1,22 @@
// sidebar
$menuText:#bfcbd9;
$menuActiveText:#409EFF;
$subMenuActiveText:#f4f4f5; //https://github.com/ElemeFE/element/issues/12951
$menuText: #bfcbd9;
$menuActiveText: #409EFF;
$subMenuActiveText: #f4f4f5; //https://github.com/ElemeFE/element/issues/12951
$menuBg:#304156;
$menuHover:#263445;
$menuBg: #304156;
//$menuHover: #263445;
//$menuHover: rgba(44, 63, 68, 0.75);
$menuHover: rgba(105, 115, 130, 0.8);
$subMenuBg:#1f2d3d;
$subMenuHover:#001528;
$subMenuBg: #1f2d3d;
$subMenuHover: #001528;
$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
@@ -22,4 +29,6 @@
  subMenuBg: $subMenuBg;
  subMenuHover: $subMenuHover;
  sideBarWidth: $sideBarWidth;
  sideBarWidthIsMenuHorizontal:$sideBarWidthIsMenuHorizontal;
  menuBgLeftBackgroundColorValue:$menuBgLeftBackgroundColorValue;
}