UNPKG

hc-materials

Version:

基于react的通用组件库

199 lines (198 loc) 5.24 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 */ /* 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-anchor { -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'; position: relative; padding-left: 2px; } .ant-anchor-wrapper { margin-left: -4px; padding-left: 4px; overflow: auto; background-color: #fff; } .ant-anchor-ink { position: absolute; top: 0; left: 0; height: 100%; } .ant-anchor-ink::before { position: relative; display: block; width: 2px; height: 100%; margin: 0 auto; background-color: #e8e8e8; content: ' '; } .ant-anchor-ink-ball { position: absolute; left: 50%; display: none; width: 8px; height: 8px; background-color: #fff; border: 2px solid #1890ff; border-radius: 8px; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); -webkit-transition: top 0.3s ease-in-out; transition: top 0.3s ease-in-out; } .ant-anchor-ink-ball.visible { display: inline-block; } .ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball { display: none; } .ant-anchor-link { padding: 7px 0 7px 16px; line-height: 1.143; } .ant-anchor-link-title { position: relative; display: block; margin-bottom: 6px; overflow: hidden; color: rgba(0, 0, 0, 0.65); white-space: nowrap; text-overflow: ellipsis; -webkit-transition: all 0.3s; transition: all 0.3s; } .ant-anchor-link-title:only-child { margin-bottom: 0; } .ant-anchor-link-active > .ant-anchor-link-title { color: #1890ff; } .ant-anchor-link .ant-anchor-link { padding-top: 5px; padding-bottom: 5px; } .hc-stepConnector.ant-anchor-wrapper { overflow: visible; } .hc-stepConnector.ant-anchor-wrapper .ant-anchor { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; place-content: center space-between; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; height: 38px; } .hc-stepConnector.ant-anchor-wrapper .ant-anchor-ink { display: none; } .hc-stepConnector-elem-step { -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; } .hc-stepConnector-elem-step_btn { border: 10px; -webkit-box-sizing: border-box; box-sizing: border-box; display: inline-block; font-family: Roboto, sans-serif; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: pointer; text-decoration: none; margin: 0px; padding: 0px; outline: none; font-size: inherit; font-weight: inherit; position: relative; background-color: transparent; -webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; } .hc-stepConnector-elem-step_span { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; padding-left: 14px; padding-right: 14px; } .hc-stepConnector-elem-step_span .ant-anchor-link-title { font-size: 14px; color: rgba(0, 0, 0, 0.26); } .hc-stepConnector-elem-step_span.active .ant-anchor-link-title, .hc-stepConnector-elem-step_span .ant-anchor-link-active .ant-anchor-link-title { color: rgba(0, 0, 0, 0.87); font-weight: 500; } .hc-stepConnector-elem-step_span.active .ant-anchor-link-title svg, .hc-stepConnector-elem-step_span .ant-anchor-link-active .ant-anchor-link-title svg { color: #00bcd4; fill: #00bcd4; } .hc-stepConnector-elem-step_span .ant-anchor-link-title svg { display: inline-block; vertical-align: middle; margin-right: 5px; color: #9e9e9e; fill: #9e9e9e; height: 24px; width: 24px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; font-size: 24px; } .hc-stepConnector-elem-step_span .ant-anchor-link-title svg text { text-anchor: middle; font-size: 12px; fill: #fff; } .hc-stepConnector-elem-connector { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; } .hc-stepConnector-elem-connector > span { display: block; border-color: #bdbdbd; margin-left: -6px; border-top-style: solid; border-top-width: 1px; }