index.less
1.2 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
@import '~@qx/ui/src/style/variable.less';
.qx-base-condition-item {
margin-bottom: 16px;
flex-grow: 1;
&__header {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
color: @N9;
height: 22px;
margin-bottom: 4px;
overflow: hidden;
}
&__header-icon {
color: @N8;
margin-right: 4px;
flex-grow: 1;
}
&__header-filter {
display: inline-block;
width: 100px;
&__select {
width: 100%;
}
}
&__header-delete {
color: @N8;
&:hover {
color: @E3;
}
}
&__content {
position: relative;
&-suffix {
position: absolute;
right: 1px;
top: 1px;
background-color: #fff;
width: 32px;
height: calc(100% - 2px);
display: flex;
align-items: center;
justify-content: center;
color: @N7;
}
.qx-field-setter {
.ant-tag {
display: flex;
}
}
}
&__header-filter {
margin-right: 8px;
}
&__header-right {
transition: all 0.2s ease;
transform: translateX(20px);
text-align: right;
}
&:hover {
.qx-base-condition-item__header-right {
transform: translateX(0);
}
}
}