张恒

修改ui问题

1 - //to reset element-ui default css 1 +@import './color.scss';
2 +//to reset element-ui default css
2 .el-upload { 3 .el-upload {
3 input[type="file"] { 4 input[type="file"] {
4 display: none !important; 5 display: none !important;
...@@ -27,3 +28,11 @@ ...@@ -27,3 +28,11 @@
27 } 28 }
28 } 29 }
29 } 30 }
31 +// 设置当选中时,popr的背景色被设置为白色的尴尬场景
32 +.el-menu--vertical{
33 + /deep/.el-menu--popup{
34 + /deep/ .el-menu-item.is-active{
35 + background-color: $Theme-color !important;
36 + }
37 + }
38 +}
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
3 @import './transition.scss'; 3 @import './transition.scss';
4 @import './element-ui.scss'; 4 @import './element-ui.scss';
5 @import './sidebar.scss'; 5 @import './sidebar.scss';
6 +@import './color.scss';
6 7
7 body { 8 body {
8 -moz-osx-font-smoothing: grayscale; 9 -moz-osx-font-smoothing: grayscale;
......