reset.less
1.06 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
@import '~@qx/ui/src/style/variable.less';
.qx-common__modal {
.ant-modal-content {
padding: 0;
}
.ant-modal-header .ant-modal-title {
padding: 24px 24px 0 24px;
color: @N9;
font-weight: 600;
font-size: 16px;
line-height: 24px;
}
.ant-modal-close {
top: 24px;
right: 24px;
width: 20px;
height: 24px;
&:hover {
background-color: #fff;
}
> .ant-modal-close-x {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
height: 24px;
padding: 0;
.qx-common__modal--close {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
height: 24px;
color: @N7;
font-size: 12px !important;
&:hover {
color: @N9;
}
}
}
}
.ant-modal-footer {
padding: 8px 24px;
}
.ant-modal-body {
max-height: 464px;
padding: 16px 18px 8px 24px;
overflow-y: hidden;
scrollbar-gutter: stable;
&:hover {
overflow-y: auto;
}
}
}