@aimake/nanod
Version:
## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。
89 lines (88 loc) • 1.92 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-message {
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.5;
color: #41465F;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
position: fixed;
z-index: 1010;
width: 100%;
top: 16px;
left: 0;
pointer-events: none;
}
.ant-message-notice {
padding: 8px;
text-align: center;
}
.ant-message-notice:first-child {
margin-top: -8px;
}
.ant-message-notice-content {
padding: 10px 16px;
border-radius: 0px;
-webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
background: #fff;
display: inline-block;
pointer-events: all;
}
.ant-message-success .anticon {
color: #4DC861;
}
.ant-message-error .anticon {
color: #F6493F;
}
.ant-message-warning .anticon {
color: #FFA51F;
}
.ant-message-info .anticon,
.ant-message-loading .anticon {
color: #4178ff;
}
.ant-message .anticon {
margin-right: 8px;
font-size: 14px;
top: 1px;
position: relative;
}
.ant-message-notice.move-up-leave.move-up-leave-active {
-webkit-animation-name: MessageMoveOut;
animation-name: MessageMoveOut;
overflow: hidden;
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
}
@-webkit-keyframes MessageMoveOut {
0% {
opacity: 1;
max-height: 150px;
padding: 8px;
}
100% {
opacity: 0;
max-height: 0;
padding: 0;
}
}
@keyframes MessageMoveOut {
0% {
opacity: 1;
max-height: 150px;
padding: 8px;
}
100% {
opacity: 0;
max-height: 0;
padding: 0;
}
}
@icon-url : https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i;