You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
883 B
55 lines
883 B
9 years ago
|
@import "../../style/themes/default";
|
||
|
|
||
9 years ago
|
@message-prefix-cls: ant-message;
|
||
10 years ago
|
|
||
9 years ago
|
.@{message-prefix-cls} {
|
||
10 years ago
|
font-size: 12px;
|
||
|
position: fixed;
|
||
9 years ago
|
z-index: @zindex-message;
|
||
10 years ago
|
width: 100%;
|
||
10 years ago
|
top: 16px;
|
||
9 years ago
|
left: 0;
|
||
10 years ago
|
|
||
|
&-notice {
|
||
|
width: auto;
|
||
|
vertical-align: middle;
|
||
|
position: absolute;
|
||
10 years ago
|
left: 50%;
|
||
10 years ago
|
}
|
||
|
|
||
10 years ago
|
&-notice-content {
|
||
10 years ago
|
position: relative;
|
||
|
right: 50%;
|
||
|
padding: 8px 16px;
|
||
10 years ago
|
border-radius: @border-radius-base;
|
||
9 years ago
|
border: 1px solid @border-color-base;
|
||
9 years ago
|
box-shadow: @shadow-2;
|
||
10 years ago
|
background: #fff;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
9 years ago
|
&-success .anticon {
|
||
10 years ago
|
color: @success-color;
|
||
10 years ago
|
}
|
||
|
|
||
9 years ago
|
&-error .anticon {
|
||
10 years ago
|
color: @error-color;
|
||
10 years ago
|
}
|
||
|
|
||
9 years ago
|
&-warning .anticon {
|
||
9 years ago
|
color: @warning-color;
|
||
|
}
|
||
|
|
||
9 years ago
|
&-info .anticon,
|
||
|
&-loading .anticon {
|
||
10 years ago
|
color: @primary-color;
|
||
10 years ago
|
}
|
||
|
|
||
10 years ago
|
.anticon {
|
||
10 years ago
|
margin-right: 8px;
|
||
10 years ago
|
font-size: 14px;
|
||
9 years ago
|
top: 1px;
|
||
9 years ago
|
position: relative;
|
||
10 years ago
|
}
|
||
|
}
|