2016-04-27 20:44:36 +08:00
|
|
|
@import "../../style/themes/default";
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
@message-prefix-cls: ~"@{ant-prefix}-message";
|
2015-07-11 16:40:59 +08:00
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{message-prefix-cls} {
|
2016-11-08 20:57:07 +08:00
|
|
|
font-size: @font-size-base;
|
2015-07-11 16:40:59 +08:00
|
|
|
position: fixed;
|
2016-03-28 16:01:37 +08:00
|
|
|
z-index: @zindex-message;
|
2015-07-11 16:40:59 +08:00
|
|
|
width: 100%;
|
2015-07-11 18:22:35 +08:00
|
|
|
top: 16px;
|
2016-02-22 19:25:10 +08:00
|
|
|
left: 0;
|
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;
|
2016-04-17 18:19:22 +08:00
|
|
|
box-shadow: @shadow-2;
|
2015-07-11 16:40:59 +08:00
|
|
|
background: #fff;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
&-success .@{iconfont-css-prefix} {
|
2015-07-11 18:00:58 +08:00
|
|
|
color: @success-color;
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
&-error .@{iconfont-css-prefix} {
|
2015-07-11 18:00:58 +08:00
|
|
|
color: @error-color;
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
&-warning .@{iconfont-css-prefix} {
|
2015-12-10 16:41:41 +08:00
|
|
|
color: @warning-color;
|
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
&-info .@{iconfont-css-prefix},
|
|
|
|
&-loading .@{iconfont-css-prefix} {
|
2015-07-11 18:00:58 +08:00
|
|
|
color: @primary-color;
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
|
2016-09-14 16:18:33 +08:00
|
|
|
.@{iconfont-css-prefix} {
|
2015-07-11 16:40:59 +08:00
|
|
|
margin-right: 8px;
|
2015-07-11 18:19:48 +08:00
|
|
|
font-size: 14px;
|
2015-11-17 16:13:59 +08:00
|
|
|
top: 1px;
|
2015-12-28 17:40:55 +08:00
|
|
|
position: relative;
|
2015-07-11 16:40:59 +08:00
|
|
|
}
|
|
|
|
}
|