UNPKG

iep-ui

Version:

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

190 lines (189 loc) 4.11 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 */ /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { width: 6px; background-color: transparent; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { -webkit-box-shadow: none; border-radius: 4px; background-color: transparent; } /*定义滑块 内阴影+圆角*/ ::-webkit-scrollbar-thumb { border-radius: 6px; -webkit-box-shadow: none; background-color: rgba(144, 147, 153, 0.3); } /*定义最上方和最下方的按钮*/ ::-webkit-scrollbar-button { display: none; background-color: #252540; border: 1px solid #252540; } .ant-alert { box-sizing: border-box; margin: 0; padding: 0; color: rgba(0, 0, 0, 0.85); font-size: 14px; font-variant: tabular-nums; line-height: 1.5715; list-style: none; font-feature-settings: 'tnum'; position: relative; padding: 8px 15px 8px 37px; word-wrap: break-word; border-radius: 4px; } .ant-alert.ant-alert-no-icon { padding: 8px 15px; } .ant-alert.ant-alert-closable { padding-right: 30px; } .ant-alert-icon { position: absolute; top: 12.0005px; left: 16px; } .ant-alert-description { display: none; font-size: 14px; line-height: 22px; } .ant-alert-success { background-color: #e6ffe6; border: 1px solid #72ed7a; } .ant-alert-success .ant-alert-icon { color: #00C822; } .ant-alert-info { background-color: #e6f4ff; border: 1px solid #8ac4ff; } .ant-alert-info .ant-alert-icon { color: #0F6EFF; } .ant-alert-warning { background-color: #fff7e6; border: 1px solid #ffca7a; } .ant-alert-warning .ant-alert-icon { color: #ff8000; } .ant-alert-error { background-color: #fff5f0; border: 1px solid #ffbaa3; } .ant-alert-error .ant-alert-icon { color: #F24426; } .ant-alert-close-icon { position: absolute; top: 8px; right: 16px; padding: 0; overflow: hidden; font-size: 12px; line-height: 22px; background-color: transparent; border: none; outline: none; cursor: pointer; } .ant-alert-close-icon .anticon-close { color: rgba(0, 0, 0, 0.45); transition: color 0.3s; } .ant-alert-close-icon .anticon-close:hover { color: rgba(0, 0, 0, 0.75); } .ant-alert-close-text { color: rgba(0, 0, 0, 0.45); transition: color 0.3s; } .ant-alert-close-text:hover { color: rgba(0, 0, 0, 0.75); } .ant-alert-with-description { position: relative; padding: 15px 15px 15px 64px; color: rgba(0, 0, 0, 0.85); line-height: 1.5715; border-radius: 4px; } .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; font-size: 14px; cursor: pointer; } .ant-alert-with-description .ant-alert-message { display: block; margin-bottom: 4px; color: rgba(0, 0, 0, 0.85); font-size: 16px; } .ant-alert-message { color: rgba(0, 0, 0, 0.85); } .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 { animation: antAlertSlideUpOut 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86); animation-fill-mode: both; } .ant-alert-banner { margin-bottom: 0; border: 0; border-radius: 0; } @keyframes antAlertSlideUpIn { 0% { transform: scaleY(0); transform-origin: 0% 0%; opacity: 0; } 100% { transform: scaleY(1); transform-origin: 0% 0%; opacity: 1; } } @keyframes antAlertSlideUpOut { 0% { transform: scaleY(1); transform-origin: 0% 0%; opacity: 1; } 100% { transform: scaleY(0); transform-origin: 0% 0%; opacity: 0; } }