-
Notifications
You must be signed in to change notification settings - Fork 138
/
index.less
62 lines (50 loc) 路 1.19 KB
/
index.less
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
@import '../../style/mixins/reset.less';
@import '../../style/motion/fade.less';
.@{popconfirm-prefix} {
.reset-component();
.reset-font-size(@popconfirm-font-size);
color: @popconfirm-color;
background-color: @popconfirm-background-color;
border-radius: @popconfirm-border-radius;
box-shadow: @popconfirm-box-shadow;
z-index: 1000;
&-wrapper {
position: relative;
word-wrap: break-word;
min-width: @popconfirm-min-width;
z-index: 1;
}
&-title {
display: flex;
align-items: center;
min-height: var(--ix-height-lg);
.reset-font-size(@popconfirm-title-font-size);
padding: 16px 16px 8px;
.@{icon-prefix} {
font-size: @popconfirm-icon-size;
color: @popconfirm-icon-color;
margin-right: 8px;
}
}
&-content {
padding: 16px 16px 8px;
}
&-title + &-content {
padding-top: 0;
}
&-with-content &-title {
font-weight: @popconfirm-title-font-weight;
}
&-footer {
display: flex;
align-items: center;
justify-content: end;
padding: 8px 16px;
.@{button-prefix} + .@{button-prefix} {
margin-left: 8px;
}
}
.@{overlay-prefix}-arrow {
color: @popconfirm-background-color;
}
}