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
@tree-line-height: 48px;
.wrap_page {
position: relative;
display: flex;
width: 100%;
height: 100%;
}
.scroll_card {
display: flex;
height: 90%;
min-height: 90vh;
}
.pattern_edit {
position: absolute;
top: 50%;
right: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transform: translateY(-50%);
visibility: hidden;
}
.pattern_action {
width: 45px;
height: 45px;
cursor: pointer;
}
.tree:hover .pattern_edit {
visibility: visible;
}
.inside_tree {
display: flex;
flex-direction: column;
width: 300px;
height: 100%;
:global {
.ant-tree {
flex: 1;
overflow: auto;
background: #F7F7F7;
}
.ant-tree.ant-tree-directory .ant-tree-treenode::before {
bottom: 0 !important;
}
.ant-tree .ant-tree-treenode {
height: @tree-line-height;
padding: 0;
border-bottom: 1px solid rgba(0, 0, 0, .05);
//border-bottom: 1px dashed #979797;
}
.ant-tree .ant-tree-node-content-wrapper,
.ant-tree-switcher {
line-height: @tree-line-height;
}
}
}
.tree {
position: relative;
display: flex;
flex: 0 0 350px;
flex-direction: column;
height: 100%;
margin-right: 10px;
}
.tree_action_line {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
padding: 10px;
:global {
.ant-btn-primary[disabled],
.ant-btn-primary[disabled]:hover,
.ant-btn-primary[disabled]:focus,
.ant-btn-primary[disabled]:active {
color: rgba(255, 255, 255, .55);
background: rgba(42, 126, 29, .55);
border-color: #d9d9d9;
box-shadow: none;
}
}
}
.tree_action {
width: 20px;
height: 20px;
cursor: pointer;
}
.search {
display: flex;
flex-direction: row;
align-items: center;
padding: 10px
}
.gray_line {
height: @tree-line-height;
line-height: @tree-line-height;
background: #F7F7F7;
}
.dashed_border {
border-bottom: 1px dashed #979797;
}
.solid_border {
border-bottom: 1px solid rgba(0, 0, 0, .05);
}