king
2023-05-09 7b0dbecd1d6155d26ec67be0a47a16264c738c85
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
.custom-tree-box {
  position: relative;
  background: #ffffff;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 50px;
 
  .tree-header {
    position: relative;
    height: 45px;
    padding-right: 8px;
    border-bottom: 1px solid #e8e8e8;
    overflow: hidden;
    letter-spacing: 0px;
  
    .title {
      text-decoration: inherit;
      font-weight: inherit;
      font-style: inherit;
      float: left;
      line-height: 45px;
      margin-left: 10px;
      position: relative;
      z-index: 1;
    }
    .title.search-unable {
      display: block;
      float: none;
    }
    .ant-input-search.ant-input-affix-wrapper {
      width: 50%;
      max-width: 150px;
      margin-top: 6px;
      float: right;
      height: 30px;
      border-radius: 20px;
      border: 1px solid #d9d9d9;
      opacity: 0.6;
      input {
        border: none;
        border-radius: 20px;
        height: 28px;
      }
    }
  }
  .tree-box {
    overflow: auto;
    padding-bottom: 10px;
 
    .ant-tree-node-content-wrapper-close > span > span > .anticon-folder-open {
      display: none;
    }
    .ant-tree-node-content-wrapper-open > span > span > .anticon-folder {
      display: none;
    }
    .ant-tree-node-content-wrapper {
      position: relative;
      .anticon-more {
        position: absolute;
        right: 0px;
        padding: 5px 10px;
        color: var(--mk-sys-color);
      }
    }
  }
 
  .tree-box::-webkit-scrollbar {
    width: 7px;
  }
  .tree-box::-webkit-scrollbar-thumb {
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
    background: rgba(0, 0, 0, 0.13);
  }
  .tree-box::-webkit-scrollbar-track {/*滚动条里面轨道*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(0, 0, 0, 0);
  }
  .ant-empty {
    position: absolute;
    top: calc(50% - 34px);
    left: calc(50% - 92px);
 
    .ant-empty-image {
      height: 60px;
    }
  }
  .tree-header + .ant-empty {
    position: static;
    margin-top: 20px;
  }
  .loading-mask {
    position: absolute;
    left: 0px;
    top: 0;
    right: 0px;
    bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    z-index: 1;
 
    .ant-spin-blur {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0.5;
      background: #ffffff;
    }
  }
}
 
.mk-tree-dropdown-wrap {
  box-shadow: 0 0 2px #bcbcbc;
  background: #ffffff;
  min-width: 85px;
  .button-list.toolbar-button {
    padding: 0px;
    button {
      display: block;
      margin: 0!important;
      width: 100%;
      border-radius: 0px;
      padding-left: 15px!important;
      .anticon {
        display: none;
      }
      .anticon + span {
        margin-left: 0px;
      }
    }
  }
}