king
2019-10-12 c7f79abded9ad2e29f297da4a04a641b96b61c5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
@import '../../assets/css/iconfont.css';
@import '../../assets/css/minkeicon.css';
@import '../../assets/css/global.scss';
 
.side-menu {
  flex: 0 0 235px;
  width: 235px;
  padding: 48px 0 20px;
  transition: width 0.2s, flex 0.2s;
  .ant-menu-item {
    padding-left: 0!important;
    cursor: default;
    a {
      padding-left: 48px;
    }
  }
  .ant-menu-sub.ant-menu-inline > .ant-menu-item { // 重置三级菜单行高
    height: 30px;
    line-height: 30px;
  }
  .ant-menu-inline .ant-menu-item {
    font-size: 1.5rem;
  }
}
.side-menu.iframe { // tab页中为iframe时
  max-height: 100vh;
  overflow-y: scroll;
  &::-webkit-scrollbar {
    display: none;
  }
}
.side-menu.side-menu-collapsed { // 左侧菜单合并时
  flex: 0 0 80px;
  width: 80px;
}
.ant-menu-submenu.ant-menu-submenu-popup {
  max-height: 80vh;
  overflow-y: scroll;
  &::-webkit-scrollbar {
    display: none;
  }
}
 
.ant-menu-vertical .ant-menu-item {
  cursor: default;
  height: 30px;
  line-height: 30px;
  a {
    cursor: pointer;
  }
}