mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-27 18:50:59 +08:00
0ca6a1c24a
* css modularize * Add alert style * Move more component style * Move iconfont to common style * Move layout style * Move more component style * Move all components * Fix lots of mixin deps * remove css-prefix from less * fix a button icon style bug * restructure * fix index * add dist * fix jest * fix some components style * clean webpack config * check more components style * update tabs * update scripts * update scripts * fix form style * fix more style * Fix select width * Fix form and tabs style
55 lines
883 B
Plaintext
55 lines
883 B
Plaintext
@import "../../style/themes/default";
|
|
|
|
@message-prefix-cls: ant-message;
|
|
|
|
.@{message-prefix-cls} {
|
|
font-size: 12px;
|
|
position: fixed;
|
|
z-index: @zindex-message;
|
|
width: 100%;
|
|
top: 16px;
|
|
left: 0;
|
|
|
|
&-notice {
|
|
width: auto;
|
|
vertical-align: middle;
|
|
position: absolute;
|
|
left: 50%;
|
|
}
|
|
|
|
&-notice-content {
|
|
position: relative;
|
|
right: 50%;
|
|
padding: 8px 16px;
|
|
border-radius: @border-radius-base;
|
|
border: 1px solid @border-color-base;
|
|
box-shadow: @shadow-2;
|
|
background: #fff;
|
|
display: block;
|
|
}
|
|
|
|
&-success .anticon {
|
|
color: @success-color;
|
|
}
|
|
|
|
&-error .anticon {
|
|
color: @error-color;
|
|
}
|
|
|
|
&-warning .anticon {
|
|
color: @warning-color;
|
|
}
|
|
|
|
&-info .anticon,
|
|
&-loading .anticon {
|
|
color: @primary-color;
|
|
}
|
|
|
|
.anticon {
|
|
margin-right: 8px;
|
|
font-size: 14px;
|
|
top: 1px;
|
|
position: relative;
|
|
}
|
|
}
|