7c15ac9e
梁灏
add Message compo...
|
1
2
3
4
|
@message-prefix-cls: ~"@{css-prefix}message";
@icon-prefix-cls: ~"@{css-prefix}icon";
.@{message-prefix-cls} {
|
3c01d81a
梁灏
fixed Modal bug,w...
|
5
|
font-size: @font-size-small;
|
7c15ac9e
梁灏
add Message compo...
|
6
7
8
9
10
11
12
13
14
15
16
|
position: fixed;
z-index: @zindex-message;
width: 100%;
top: 16px;
left: 0;
&-notice {
width: auto;
vertical-align: middle;
position: absolute;
left: 50%;
|
e0bd31a6
Aresn
update Message
|
17
18
19
20
21
22
23
24
25
26
27
28
|
&-close {
position: absolute;
right: 4px;
top: 9px;
color: #999;
outline: none;
i.@{icon-prefix-cls}{
.close-base(-3px);
}
}
|
7c15ac9e
梁灏
add Message compo...
|
29
30
31
32
33
34
|
}
&-notice-content {
position: relative;
right: 50%;
padding: 8px 16px;
|
3a2c6fc7
梁灏
optimize Select a...
|
35
|
//border: 1px solid @border-color-split;
|
4901af54
梁灏
optimize Message ...
|
36
|
border-radius: @border-radius-small;
|
7c15ac9e
梁灏
add Message compo...
|
37
38
39
|
box-shadow: @shadow-base;
background: #fff;
display: block;
|
e0bd31a6
Aresn
update Message
|
40
41
42
43
44
45
46
47
48
|
&-text{
display: inline-block;
}
}
&-notice-closable{
.@{message-prefix-cls}-notice-content-text{
padding-right: 32px;
}
|
7c15ac9e
梁灏
add Message compo...
|
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
|
}
&-success .@{icon-prefix-cls} {
color: @success-color;
}
&-error .@{icon-prefix-cls} {
color: @error-color;
}
&-warning .@{icon-prefix-cls} {
color: @warning-color;
}
&-info .@{icon-prefix-cls},
&-loading .@{icon-prefix-cls} {
color: @primary-color;
}
.@{icon-prefix-cls} {
margin-right: 8px;
font-size: 14px;
top: 1px;
position: relative;
}
}
|