UNPKG

@aimake/nanod

Version:

## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。

203 lines (202 loc) 4.71 kB
/* 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-alert { 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: relative; padding: 8px 15px 8px 37px; border-radius: 0px; } .ant-alert.ant-alert-no-icon { padding: 8px 15px; } .ant-alert.ant-alert-closable { padding-right: 30px; } .ant-alert-icon { top: 11px; left: 16px; position: absolute; } .ant-alert-description { font-size: 12px; line-height: 22px; display: none; } .ant-alert-success { border: 1px solid #ccedce; background-color: #f0fff0; } .ant-alert-success .ant-alert-icon { color: #4DC861; } .ant-alert-info { border: 1px solid #bad5ff; background-color: #f0f7ff; } .ant-alert-info .ant-alert-icon { color: #4178ff; } .ant-alert-warning { border: 1px solid #ffe099; background-color: #fffaeb; } .ant-alert-warning .ant-alert-icon { color: #FFA51F; } .ant-alert-error { border: 1px solid #ffc7bd; background-color: #fff3f0; } .ant-alert-error .ant-alert-icon { color: #F6493F; } .ant-alert-close-icon { font-size: 12px; position: absolute; right: 16px; top: 8px; line-height: 22px; overflow: hidden; cursor: pointer; } .ant-alert-close-icon .anticon-close { color: #8C94A8; -webkit-transition: color 0.3s; transition: color 0.3s; } .ant-alert-close-icon .anticon-close:hover { color: rgba(0, 0, 0, 0.75); } .ant-alert-close-text { position: absolute; right: 16px; } .ant-alert-with-description { padding: 15px 15px 15px 64px; position: relative; border-radius: 0px; color: #41465F; line-height: 1.5; } .ant-alert-with-description.ant-alert-no-icon { padding: 15px; } .ant-alert-with-description .ant-alert-icon { position: absolute; top: 16px; left: 24px; font-size: 24px; } .ant-alert-with-description .ant-alert-close-icon { position: absolute; top: 16px; right: 16px; cursor: pointer; font-size: 12px; } .ant-alert-with-description .ant-alert-message { font-size: 14px; color: #19233C; display: block; margin-bottom: 4px; } .ant-alert-with-description .ant-alert-description { display: block; } .ant-alert.ant-alert-close { height: 0 !important; margin: 0; padding-top: 0; padding-bottom: 0; -webkit-transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); -webkit-transform-origin: 50% 0; -ms-transform-origin: 50% 0; transform-origin: 50% 0; } .ant-alert-slide-up-leave { -webkit-animation: antAlertSlideUpOut 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); animation: antAlertSlideUpOut 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); -webkit-animation-fill-mode: both; animation-fill-mode: both; } .ant-alert-banner { border-radius: 0; border: 0; margin-bottom: 0; } @-webkit-keyframes antAlertSlideUpIn { 0% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(0); transform: scaleY(0); } 100% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(1); transform: scaleY(1); } } @keyframes antAlertSlideUpIn { 0% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(0); transform: scaleY(0); } 100% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(1); transform: scaleY(1); } } @-webkit-keyframes antAlertSlideUpOut { 0% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(1); transform: scaleY(1); } 100% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(0); transform: scaleY(0); } } @keyframes antAlertSlideUpOut { 0% { opacity: 1; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(1); transform: scaleY(1); } 100% { opacity: 0; -webkit-transform-origin: 0% 0%; transform-origin: 0% 0%; -webkit-transform: scaleY(0); transform: scaleY(0); } } @icon-url : https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i;