king
2022-07-20 ed7d889f7d9dfca77fd7f055ad8d6ec6ad85ae91
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
@import '../../../assets/css/iconfont.css';
 
.mk-sys-side-menu {
  flex: 0 0 235px;
  width: 235px;
  padding: 48px 0 40px;
  transition: width 0.2s, flex 0.2s;
  .ant-menu-item {
    padding-left: 0!important;
    cursor: default;
    a {
      padding-left: 48px;
    }
    .editable-menu-item {
      display: block;
      padding-left: 48px;
    }
  }
  .ant-menu-sub.ant-menu-inline {
    position: relative;
  }
  .ant-menu-sub.ant-menu-inline > .ant-menu-item {
    height: 38px;
    line-height: 38px;
    margin: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    a {
      display: inline-block;
    }
    .edit-check {
      top: -5px;
    }
  }
  .ant-menu-sub.ant-menu-inline > .ant-menu-item.ant-menu-item-active {
    background: #06b4f7;
  }
  .ant-menu-sub.ant-menu-inline > .ant-menu-item.ant-menu-item-selected {
    background: #06b4f7;
  }
  .ant-menu-inline .ant-menu-item {
    font-size: 1.1rem;
  }
  .ant-menu-dark.ant-menu-inline .ant-menu-submenu-title {
    margin: 0;
    height: 48px;
    line-height: 48px;
  }
  .ant-menu-dark.ant-menu-inline .ant-menu-submenu-open .ant-menu-submenu-title {
    background: #364150;
  }
  .edit-check {
    font-size: 18px;
    position: absolute;
    cursor: pointer;
    padding: 10px 15px;
    margin-right: 0px;
    right: 0px;
    top: 0px;
    :hover {
      color: #ffffff;
    }
  }
  
  .edit-control + .ant-menu-submenu-arrow {
    display: none;
  }
  .menu-add {
    position: relative;
    border: 1px dashed gray;
    margin: 8px 0px;
    height: 40px;
    line-height: 40px;
    width: 98%;
    clear: both;
    text-align: center;
    cursor: pointer;
    .anticon {
      font-size: 20px;
    }
  }
  .menu-btn {
    .ant-btn {
      padding: 0 10px;
      margin-left: 5px;
    }
  }
  .sup-menu {
    position: relative;
    z-index: 1;
  }
  .ant-menu-sub.ant-menu-inline .sub-menu {
    position: absolute;
    z-index: 1;
    width: 48px;
    left: 187px;
  }
}
.mk-sys-side-menu.mk-edit { // 编辑时控制菜单底色
  .ant-menu-sub.ant-menu-inline {
    > .ant-menu-item.ant-menu-item-selected {
      background: unset;
    }
    > .ant-menu-item.ant-menu-item-active {
      background: unset;
    }
  }
}
.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;
  }
}
.mk-popover-control-wrap {
  .mk-edit-menu {
    font-size: 18px;
    cursor: pointer;
    padding: 10px 15px;
  }
  .anticon-plus.mk-edit-menu {
    color: #26C281;
  }
  .mk-edit-menu.mk-swap {
    color: #1890ff;
    transform: rotate(90deg);
  }
  .anticon-unlock.mk-edit-menu {
    color: orange;
  }
}
.mk-menu-control.mk-popover-control-wrap {
  padding-bottom: 0px;
}