be966e9f
梁灏
add Modal component
|
1
2
3
4
|
@icon-prefix-cls: ~"@{css-prefix}icon";
.content-header() {
border-bottom: 1px solid @border-color-split;
|
09a04302
梁灏
optimize Modal style
|
5
|
padding: 14px 16px;
|
be966e9f
梁灏
add Modal component
|
6
7
|
line-height: 1;
|
09a04302
梁灏
optimize Modal style
|
8
9
10
|
p,
&-inner
{
|
be966e9f
梁灏
add Modal component
|
11
12
13
14
|
display: inline-block;
width: 100%;
height: 20px;
line-height: 20px;
|
09a04302
梁灏
optimize Modal style
|
15
16
|
font-size: @font-size-base;
color: @title-color;
|
be966e9f
梁灏
add Modal component
|
17
18
19
20
21
22
23
|
font-weight: bold;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
|
09a04302
梁灏
optimize Modal style
|
24
25
|
.content-close(@top: 0, @icon-font-size: 22px) {
font-size: @font-size-small;
|
be966e9f
梁灏
add Modal component
|
26
27
28
29
30
31
32
|
position: absolute;
right: 16px;
top: 8px;
overflow: hidden;
cursor: pointer;
.@{icon-prefix-cls}-ios-close-empty {
|
09a04302
梁灏
optimize Modal style
|
33
|
.close-base(@top, @icon-font-size);
|
be966e9f
梁灏
add Modal component
|
34
35
|
}
}
|