2015-07-11 16:40:59 +08:00
|
|
|
@prefixMessageClass: ant-message;
|
|
|
|
|
|
|
|
.@{prefixMessageClass} {
|
|
|
|
font-size: 12px;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 1000;
|
|
|
|
width: 100%;
|
2015-07-11 18:22:35 +08:00
|
|
|
top: 16px;
|
2015-07-11 16:40:59 +08:00
|
|
|
|
|
|
|
&-notice {
|
|
|
|
width: auto;
|
|
|
|
vertical-align: middle;
|
|
|
|
position: absolute;
|
2015-07-11 18:19:48 +08:00
|
|
|
left: 50%;
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
|
2015-07-11 18:00:58 +08:00
|
|
|
&-notice-content {
|
2015-07-11 16:40:59 +08:00
|
|
|
position: relative;
|
|
|
|
right: 50%;
|
|
|
|
padding: 8px 16px;
|
2015-07-11 18:00:58 +08:00
|
|
|
border-radius: @border-radius-base;
|
|
|
|
border: 1px solid #e9e9e9;
|
|
|
|
box-shadow: 0 0 4px rgba(0,0,0,0.16);
|
2015-07-11 16:40:59 +08:00
|
|
|
background: #fff;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-07-11 18:00:58 +08:00
|
|
|
&-custom-content {
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-success {
|
2015-07-11 18:00:58 +08:00
|
|
|
color: @success-color;
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-error {
|
2015-07-11 18:00:58 +08:00
|
|
|
color: @error-color;
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-info {
|
2015-07-11 18:00:58 +08:00
|
|
|
color: @primary-color;
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
|
2015-07-11 18:00:58 +08:00
|
|
|
.anticon {
|
2015-07-11 16:40:59 +08:00
|
|
|
margin-right: 8px;
|
2015-07-11 18:19:48 +08:00
|
|
|
font-size: 14px;
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
}
|