ant-design/style/components/message.less

52 lines
821 B
Plaintext
Raw Normal View History

2015-08-20 16:55:42 +08:00
@message-prefix-cls: ant-message;
2015-08-20 16:55:42 +08:00
.@{message-prefix-cls} {
font-size: 12px;
position: fixed;
2015-09-16 20:29:59 +08:00
z-index: 1050;
width: 100%;
2015-07-11 18:22:35 +08:00
top: 16px;
&-notice {
width: auto;
vertical-align: middle;
position: absolute;
2015-07-11 18:19:48 +08:00
left: 50%;
}
2015-07-11 18:00:58 +08:00
&-notice-content {
position: relative;
right: 50%;
padding: 8px 16px;
2015-07-11 18:00:58 +08:00
border-radius: @border-radius-base;
border: 1px solid @border-color-base;
2015-12-02 11:53:37 +08:00
box-shadow: @box-shadow-base;
background: #fff;
display: block;
}
2015-11-13 23:18:19 +08:00
&-success.anticon {
2015-07-11 18:00:58 +08:00
color: @success-color;
}
2015-11-13 23:18:19 +08:00
&-error.anticon {
2015-07-11 18:00:58 +08:00
color: @error-color;
}
&-warn.anticon {
color: @warning-color;
}
2015-11-13 23:18:19 +08:00
&-info.anticon,
2015-11-26 19:32:55 +08:00
&-loading.anticon {
2015-07-11 18:00:58 +08:00
color: @primary-color;
}
2015-07-11 18:00:58 +08:00
.anticon {
margin-right: 8px;
2015-07-11 18:19:48 +08:00
font-size: 14px;
top: 1px;
position: relative;
}
}