UNPKG

asp-antd-compatible

Version:

An enterprise-class UI design language and React components implementation

174 lines (173 loc) 4.15 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 */ .asp-progress { -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0; color: rgba(0, 0, 0, 0.65); font-size: 14px; font-variant: tabular-nums; line-height: 1.5; list-style: none; -webkit-font-feature-settings: 'tnum'; font-feature-settings: 'tnum'; display: inline-block; } .asp-progress-line { position: relative; width: 100%; font-size: 14px; } .asp-progress-small.asp-progress-line, .asp-progress-small.asp-progress-line .asp-progress-text .anticon { font-size: 12px; } .asp-progress-outer { display: inline-block; width: 100%; margin-right: 0; padding-right: 0; } .asp-progress-show-info .asp-progress-outer { margin-right: calc(-2em - 8px); padding-right: calc(2em + 8px); } .asp-progress-inner { position: relative; display: inline-block; width: 100%; overflow: hidden; vertical-align: middle; background-color: #f5f5f5; border-radius: 100px; } .asp-progress-circle-trail { stroke: #f5f5f5; } .asp-progress-circle-path { -webkit-animation: asp-progress-appear 0.3s; animation: asp-progress-appear 0.3s; } .asp-progress-inner:not(.asp-progress-circle-gradient) .asp-progress-circle-path { stroke: #1890ff; } .asp-progress-success-bg, .asp-progress-bg { position: relative; background-color: #1890ff; border-radius: 100px; -webkit-transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s; transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s; } .asp-progress-success-bg { position: absolute; top: 0; left: 0; background-color: #52c41a; } .asp-progress-text { display: inline-block; width: 2em; margin-left: 8px; color: rgba(0, 0, 0, 0.45); font-size: 1em; line-height: 1; white-space: nowrap; text-align: left; vertical-align: middle; word-break: normal; } .asp-progress-text .anticon { font-size: 14px; } .asp-progress-status-active .asp-progress-bg::before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: #fff; border-radius: 10px; opacity: 0; -webkit-animation: asp-progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite; animation: asp-progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite; content: ''; } .asp-progress-status-exception .asp-progress-bg { background-color: #f5222d; } .asp-progress-status-exception .asp-progress-text { color: #f5222d; } .asp-progress-status-exception .asp-progress-inner:not(.asp-progress-circle-gradient) .asp-progress-circle-path { stroke: #f5222d; } .asp-progress-status-success .asp-progress-bg { background-color: #52c41a; } .asp-progress-status-success .asp-progress-text { color: #52c41a; } .asp-progress-status-success .asp-progress-inner:not(.asp-progress-circle-gradient) .asp-progress-circle-path { stroke: #52c41a; } .asp-progress-circle .asp-progress-inner { position: relative; line-height: 1; background-color: transparent; } .asp-progress-circle .asp-progress-text { position: absolute; top: 50%; left: 50%; width: 100%; margin: 0; padding: 0; color: rgba(0, 0, 0, 0.65); line-height: 1; white-space: normal; text-align: center; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .asp-progress-circle .asp-progress-text .anticon { font-size: 1.16666667em; } .asp-progress-circle.asp-progress-status-exception .asp-progress-text { color: #f5222d; } .asp-progress-circle.asp-progress-status-success .asp-progress-text { color: #52c41a; } @-webkit-keyframes asp-progress-active { 0% { width: 0; opacity: 0.1; } 20% { width: 0; opacity: 0.5; } 100% { width: 100%; opacity: 0; } } @keyframes asp-progress-active { 0% { width: 0; opacity: 0.1; } 20% { width: 0; opacity: 0.5; } 100% { width: 100%; opacity: 0; } }