ant-design/components/message/style/index.less
afc163 0ca6a1c24a css modularize (#1448)
* 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
2016-04-27 20:44:36 +08:00

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;
}
}