UNPKG

antdv-eoi

Version:

An enterprise-class UI design language and Vue-based implementation

204 lines (203 loc) 4.81 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 */ /************************* 全局灰度 *********************/ /*所有阴影*/ /************************* 全局主题色 *********************/ /************************* 全局不变的颜色 *********************/ /* group color */ /* standard */ /* light */ /* dark */ /* 状态色 */ /* -state- Functional Color */ /* 状态色边框 */ /************************* 自定义变量 *********************/ /************************* 修改ant-design-vue变量 *********************/ .ant-alert { box-sizing: border-box; margin: 0; padding: 0; color: var(--color-neutrals-7, #8f8f8f); font-size: 12px; font-variant: tabular-nums; line-height: 1.5715; list-style: none; font-feature-settings: 'tnum'; position: relative; display: flex; align-items: center; padding: 8px 15px; word-wrap: break-word; border-radius: 1px; } .ant-alert-content { flex: 1; min-width: 0; } .ant-alert-icon { margin-right: 8px; } .ant-alert-description { display: none; font-size: 12px; line-height: 20px; } .ant-alert-success { background-color: var(--color-success-alpha); border: 1px solid var(--color-success-standard); } .ant-alert-success .ant-alert-icon { color: var(--color-success-standard); } .ant-alert-info { background-color: var(--color-ready-alpha); border: 1px solid var(--color-ready-standard); } .ant-alert-info .ant-alert-icon { color: var(--color-ready-standard); } .ant-alert-warning { background-color: var(--color-warning-alpha); border: 1px solid var(--color-warning-standard); } .ant-alert-warning .ant-alert-icon { color: var(--color-warning-standard); } .ant-alert-error { background-color: var(--color-danger-alpha); border: 1px solid var(--color-danger-standard); } .ant-alert-error .ant-alert-icon { color: var(--color-danger-standard); } .ant-alert-close-icon { margin-left: 8px; padding: 0; overflow: hidden; font-size: 12px; line-height: 12px; background-color: transparent; border: none; outline: none; cursor: pointer; } .ant-alert-close-icon .anticon-close { color: var(--color-neutrals-7, #8f8f8f); transition: color 0.3s; } .ant-alert-close-icon .anticon-close:hover { color: var(--color-neutrals-8); } .ant-alert-close-text { color: var(--color-neutrals-7, #8f8f8f); transition: color 0.3s; } .ant-alert-close-text:hover { color: var(--color-neutrals-8); } .ant-alert-with-description { align-items: flex-start; position: relative; padding: 8px 8px 8px 56px; color: var(--color-neutrals-7, #8f8f8f); line-height: 1.5715; border-radius: 1px; } .ant-alert-with-description.ant-alert-no-icon { padding: 15px 15px; } .ant-alert-with-description .ant-alert-icon { margin-right: 15px; font-size: 24px; position: absolute; top: 16px; left: 16px; } .ant-alert-with-description .ant-alert-close-icon { position: absolute; top: 16px; right: 16px; font-size: 12px; cursor: pointer; } .ant-alert-with-description .ant-alert-message { display: block; color: var(--color-neutrals-9); font-size: 14px; line-height: 24px; } .ant-alert-message { color: var(--color-neutrals-9); } .ant-alert-with-description .ant-alert-description { display: block; } .ant-alert.ant-alert-closing { height: 0 !important; margin: 0; padding-top: 0; padding-bottom: 0; transform-origin: 50% 0; transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); } .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 { margin-bottom: 0; border: 0; border-radius: 0; } @-webkit-keyframes antAlertSlideUpIn { 0% { transform: scaleY(0); transform-origin: 0% 0%; opacity: 0; } 100% { transform: scaleY(1); transform-origin: 0% 0%; opacity: 1; } } @keyframes antAlertSlideUpIn { 0% { transform: scaleY(0); transform-origin: 0% 0%; opacity: 0; } 100% { transform: scaleY(1); transform-origin: 0% 0%; opacity: 1; } } @-webkit-keyframes antAlertSlideUpOut { 0% { transform: scaleY(1); transform-origin: 0% 0%; opacity: 1; } 100% { transform: scaleY(0); transform-origin: 0% 0%; opacity: 0; } } @keyframes antAlertSlideUpOut { 0% { transform: scaleY(1); transform-origin: 0% 0%; opacity: 1; } 100% { transform: scaleY(0); transform-origin: 0% 0%; opacity: 0; } }