index.less
2.16 KB
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
.indexCard {
height: 100%;
:global {
.ant-card-body {
padding: 0;
height: calc(100% - 38px);
display: flex;
}
}
.instructionSet {
width: 200px;
height: 100%;
}
.instructionContent {
width: calc(100% - 400px);
height: 100%;
}
.draggableTree {
width: 100%;
overflow: auto;
}
.instructionResult {
width: 200px;
height: 100%;
}
.collapseItem {
margin-bottom: 0;
background: transparent;
border-radius: 0;
border: none;
:global {
.ant-collapse-content-box {
padding: 10px 10px 4px 16px !important;
}
.ant-form-item {
margin-bottom: 16px;
}
}
}
.draggableList {
width: 100%;
height: 100%;
overflow-y: auto;
:global {
.draggable-item {
width: 100%;
min-height: 50px;
border: 1px solid rgba(0, 0, 0, .125);
padding: 20px;
margin-bottom: 4px;
border-radius: 4px;
}
.draggable-item.lv1 {
background-color: #e6e6e6;
}
.draggable-item.lv2 {
background-color: #cccccc;
}
.draggable-item-title {
width: 100%;
height: 40px;
}
}
}
.settingBtn {
position: absolute;
top: 0;
right: 0;
display: flex;
flex-direction: column;
gap: 4px;
width: 25px;
height: auto;
}
}
.draggableItemSelected {
background: rgb(140, 204, 228) !important;
}
// 下拉颜色
.code1 {
background-color: rgba(34, 197, 94, 0.2) !important;
margin-bottom: 2px;
}
.code_1 {
background-color: rgba(239, 68, 68, 0.2) !important;
margin-bottom: 2px;
}
.code_8 {
background-color: rgba(220, 38, 38, 0.3) !important;
margin-bottom: 2px;
}
.code2 {
background-color: rgba(234, 179, 8, 0.2) !important;
margin-bottom: 2px;
}
.code_7 {
background-color: rgba(59, 130, 246, 0.2) !important;
}
.settingModal {
top: 20px;
left: 10px;
width: auto !important;
:global {
.ant-modal-content {
margin: 0;
width: calc(100vw - 50px);
height: calc(100vh - 50px);
}
}
}
// .settingModal {
// width: calc(100vw - 20px);
// height: calc(100vh - 100px);
// }