UNPKG

tntd

Version:

tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。

2,128 lines (2,118 loc) 1.6 MB
/* 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-no-unknown */ html, body { width: 100%; height: 100%; } input::-ms-clear, input::-ms-reveal { display: none; } *, *::before, *::after { box-sizing: border-box; } html { font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -ms-overflow-style: scrollbar; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } @-ms-viewport { width: device-width; } article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; } body { margin: 0; color: #17233d; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-variant: tabular-nums; line-height: 1.57142857; background-color: #fff; font-feature-settings: 'tnum'; } [tabindex='-1']:focus { outline: none !important; } hr { box-sizing: content-box; height: 0; overflow: visible; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5em; color: #17233d; font-weight: 500; } p { margin-top: 0; margin-bottom: 1em; } abbr[title], abbr[data-original-title] { text-decoration: underline; text-decoration: underline dotted; border-bottom: 0; cursor: help; } address { margin-bottom: 1em; font-style: normal; line-height: inherit; } input[type='text'], input[type='password'], input[type='number'], textarea { -webkit-appearance: none; } ol, ul, dl { margin-top: 0; margin-bottom: 1em; } ol ol, ul ul, ol ul, ul ol { margin-bottom: 0; } dt { font-weight: 500; } dd { margin-bottom: 0.5em; margin-left: 0; } blockquote { margin: 0 0 1em; } dfn { font-style: italic; } b, strong { font-weight: bolder; } small { font-size: 80%; } sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } a { color: #126bfb; text-decoration: none; background-color: transparent; outline: none; cursor: pointer; transition: color 0.3s; -webkit-text-decoration-skip: objects; } a:hover { color: #3b8cff; } a:active { color: #044dd4; } a:active, a:hover { text-decoration: none; outline: 0; } a[disabled] { color: #babdc5; cursor: not-allowed; pointer-events: none; } pre, code, kbd, samp { font-size: 1em; font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; } pre { margin-top: 0; margin-bottom: 1em; overflow: auto; } figure { margin: 0 0 1em; } img { vertical-align: middle; border-style: none; } svg:not(:root) { overflow: hidden; } a, area, button, [role='button'], input:not([type='range']), label, select, summary, textarea { touch-action: manipulation; } table { border-collapse: collapse; } caption { padding-top: 0.75em; padding-bottom: 0.3em; color: #454f64; text-align: left; caption-side: bottom; } th { text-align: inherit; } input, button, select, optgroup, textarea { margin: 0; color: inherit; font-size: inherit; font-family: inherit; line-height: inherit; } button, input { overflow: visible; } button, select { text-transform: none; } button, html [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-moz-focus-inner, [type='submit']::-moz-focus-inner { padding: 0; border-style: none; } input[type='radio'], input[type='checkbox'] { box-sizing: border-box; padding: 0; } input[type='date'], input[type='time'], input[type='datetime-local'], input[type='month'] { -webkit-appearance: listbox; } textarea { overflow: auto; resize: vertical; } fieldset { min-width: 0; margin: 0; padding: 0; border: 0; } legend { display: block; width: 100%; max-width: 100%; margin-bottom: 0.5em; padding: 0; color: inherit; font-size: 1.5em; line-height: inherit; white-space: normal; } progress { vertical-align: baseline; } [type='number']::-webkit-inner-spin-button, [type='number']::-webkit-outer-spin-button { height: auto; } [type='search'] { outline-offset: -2px; -webkit-appearance: none; } [type='search']::-webkit-search-cancel-button, [type='search']::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { font: inherit; -webkit-appearance: button; } output { display: inline-block; } summary { display: list-item; } template { display: none; } [hidden] { display: none !important; } mark { padding: 0.2em; background-color: #feffe6; } ::selection { color: #fff; background: #126bfb; } .clearfix { zoom: 1; } .clearfix::before, .clearfix::after { display: table; content: ''; } .clearfix::after { clear: both; } .anticon { display: inline-block; color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .anticon > * { line-height: 1; } .anticon svg { display: inline-block; } .anticon::before { display: none; } .anticon .anticon-icon { display: block; } .anticon[tabindex] { cursor: pointer; } .anticon-spin::before { display: inline-block; animation: loadingCircle 1s infinite linear; } .anticon-spin { display: inline-block; animation: loadingCircle 1s infinite linear; } .fade-enter, .fade-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .fade-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .fade-enter.fade-enter-active, .fade-appear.fade-appear-active { animation-name: antFadeIn; animation-play-state: running; } .fade-leave.fade-leave-active { animation-name: antFadeOut; animation-play-state: running; pointer-events: none; } .fade-enter, .fade-appear { opacity: 0; animation-timing-function: linear; } .fade-leave { animation-timing-function: linear; } @keyframes antFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes antFadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } .move-up-enter, .move-up-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .move-up-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .move-up-enter.move-up-enter-active, .move-up-appear.move-up-appear-active { animation-name: antMoveUpIn; animation-play-state: running; } .move-up-leave.move-up-leave-active { animation-name: antMoveUpOut; animation-play-state: running; pointer-events: none; } .move-up-enter, .move-up-appear { opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .move-up-leave { animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); } .move-down-enter, .move-down-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .move-down-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .move-down-enter.move-down-enter-active, .move-down-appear.move-down-appear-active { animation-name: antMoveDownIn; animation-play-state: running; } .move-down-leave.move-down-leave-active { animation-name: antMoveDownOut; animation-play-state: running; pointer-events: none; } .move-down-enter, .move-down-appear { opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .move-down-leave { animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); } .move-left-enter, .move-left-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .move-left-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .move-left-enter.move-left-enter-active, .move-left-appear.move-left-appear-active { animation-name: antMoveLeftIn; animation-play-state: running; } .move-left-leave.move-left-leave-active { animation-name: antMoveLeftOut; animation-play-state: running; pointer-events: none; } .move-left-enter, .move-left-appear { opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .move-left-leave { animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); } .move-right-enter, .move-right-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .move-right-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .move-right-enter.move-right-enter-active, .move-right-appear.move-right-appear-active { animation-name: antMoveRightIn; animation-play-state: running; } .move-right-leave.move-right-leave-active { animation-name: antMoveRightOut; animation-play-state: running; pointer-events: none; } .move-right-enter, .move-right-appear { opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .move-right-leave { animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34); } @keyframes antMoveDownIn { 0% { transform: translateY(100%); transform-origin: 0 0; opacity: 0; } 100% { transform: translateY(0%); transform-origin: 0 0; opacity: 1; } } @keyframes antMoveDownOut { 0% { transform: translateY(0%); transform-origin: 0 0; opacity: 1; } 100% { transform: translateY(100%); transform-origin: 0 0; opacity: 0; } } @keyframes antMoveLeftIn { 0% { transform: translateX(-100%); transform-origin: 0 0; opacity: 0; } 100% { transform: translateX(0%); transform-origin: 0 0; opacity: 1; } } @keyframes antMoveLeftOut { 0% { transform: translateX(0%); transform-origin: 0 0; opacity: 1; } 100% { transform: translateX(-100%); transform-origin: 0 0; opacity: 0; } } @keyframes antMoveRightIn { 0% { transform: translateX(100%); transform-origin: 0 0; opacity: 0; } 100% { transform: translateX(0%); transform-origin: 0 0; opacity: 1; } } @keyframes antMoveRightOut { 0% { transform: translateX(0%); transform-origin: 0 0; opacity: 1; } 100% { transform: translateX(100%); transform-origin: 0 0; opacity: 0; } } @keyframes antMoveUpIn { 0% { transform: translateY(-100%); transform-origin: 0 0; opacity: 0; } 100% { transform: translateY(0%); transform-origin: 0 0; opacity: 1; } } @keyframes antMoveUpOut { 0% { transform: translateY(0%); transform-origin: 0 0; opacity: 1; } 100% { transform: translateY(-100%); transform-origin: 0 0; opacity: 0; } } @keyframes loadingCircle { 100% { transform: rotate(360deg); } } [ant-click-animating='true'], [ant-click-animating-without-extra-node='true'] { position: relative; } [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; border-radius: inherit; box-shadow: 0 0 0 0 #126bfb; opacity: 0.2; animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1); animation-fill-mode: forwards; content: ''; pointer-events: none; } @keyframes waveEffect { 100% { box-shadow: 0 0 0 6px #126bfb; } } @keyframes fadeEffect { 100% { opacity: 0; } } .slide-up-enter, .slide-up-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .slide-up-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .slide-up-enter.slide-up-enter-active, .slide-up-appear.slide-up-appear-active { animation-name: antSlideUpIn; animation-play-state: running; } .slide-up-leave.slide-up-leave-active { animation-name: antSlideUpOut; animation-play-state: running; pointer-events: none; } .slide-up-enter, .slide-up-appear { opacity: 0; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } .slide-up-leave { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); } .slide-down-enter, .slide-down-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .slide-down-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .slide-down-enter.slide-down-enter-active, .slide-down-appear.slide-down-appear-active { animation-name: antSlideDownIn; animation-play-state: running; } .slide-down-leave.slide-down-leave-active { animation-name: antSlideDownOut; animation-play-state: running; pointer-events: none; } .slide-down-enter, .slide-down-appear { opacity: 0; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } .slide-down-leave { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); } .slide-left-enter, .slide-left-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .slide-left-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .slide-left-enter.slide-left-enter-active, .slide-left-appear.slide-left-appear-active { animation-name: antSlideLeftIn; animation-play-state: running; } .slide-left-leave.slide-left-leave-active { animation-name: antSlideLeftOut; animation-play-state: running; pointer-events: none; } .slide-left-enter, .slide-left-appear { opacity: 0; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } .slide-left-leave { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); } .slide-right-enter, .slide-right-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .slide-right-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .slide-right-enter.slide-right-enter-active, .slide-right-appear.slide-right-appear-active { animation-name: antSlideRightIn; animation-play-state: running; } .slide-right-leave.slide-right-leave-active { animation-name: antSlideRightOut; animation-play-state: running; pointer-events: none; } .slide-right-enter, .slide-right-appear { opacity: 0; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } .slide-right-leave { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); } @keyframes antSlideUpIn { 0% { transform: scaleY(0.8); transform-origin: 0% 0%; opacity: 0; } 100% { transform: scaleY(1); transform-origin: 0% 0%; opacity: 1; } } @keyframes antSlideUpOut { 0% { transform: scaleY(1); transform-origin: 0% 0%; opacity: 1; } 100% { transform: scaleY(0.8); transform-origin: 0% 0%; opacity: 0; } } @keyframes antSlideDownIn { 0% { transform: scaleY(0.8); transform-origin: 100% 100%; opacity: 0; } 100% { transform: scaleY(1); transform-origin: 100% 100%; opacity: 1; } } @keyframes antSlideDownOut { 0% { transform: scaleY(1); transform-origin: 100% 100%; opacity: 1; } 100% { transform: scaleY(0.8); transform-origin: 100% 100%; opacity: 0; } } @keyframes antSlideLeftIn { 0% { transform: scaleX(0.8); transform-origin: 0% 0%; opacity: 0; } 100% { transform: scaleX(1); transform-origin: 0% 0%; opacity: 1; } } @keyframes antSlideLeftOut { 0% { transform: scaleX(1); transform-origin: 0% 0%; opacity: 1; } 100% { transform: scaleX(0.8); transform-origin: 0% 0%; opacity: 0; } } @keyframes antSlideRightIn { 0% { transform: scaleX(0.8); transform-origin: 100% 0%; opacity: 0; } 100% { transform: scaleX(1); transform-origin: 100% 0%; opacity: 1; } } @keyframes antSlideRightOut { 0% { transform: scaleX(1); transform-origin: 100% 0%; opacity: 1; } 100% { transform: scaleX(0.8); transform-origin: 100% 0%; opacity: 0; } } .swing-enter, .swing-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .swing-enter.swing-enter-active, .swing-appear.swing-appear-active { animation-name: antSwingIn; animation-play-state: running; } @keyframes antSwingIn { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(10px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } } .zoom-enter, .zoom-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-enter.zoom-enter-active, .zoom-appear.zoom-appear-active { animation-name: antZoomIn; animation-play-state: running; } .zoom-leave.zoom-leave-active { animation-name: antZoomOut; animation-play-state: running; pointer-events: none; } .zoom-enter, .zoom-appear { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .zoom-leave { animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86); } .zoom-big-enter, .zoom-big-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-big-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-big-enter.zoom-big-enter-active, .zoom-big-appear.zoom-big-appear-active { animation-name: antZoomBigIn; animation-play-state: running; } .zoom-big-leave.zoom-big-leave-active { animation-name: antZoomBigOut; animation-play-state: running; pointer-events: none; } .zoom-big-enter, .zoom-big-appear { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .zoom-big-leave { animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86); } .zoom-big-fast-enter, .zoom-big-fast-appear { animation-duration: 0.1s; animation-fill-mode: both; animation-play-state: paused; } .zoom-big-fast-leave { animation-duration: 0.1s; animation-fill-mode: both; animation-play-state: paused; } .zoom-big-fast-enter.zoom-big-fast-enter-active, .zoom-big-fast-appear.zoom-big-fast-appear-active { animation-name: antZoomBigIn; animation-play-state: running; } .zoom-big-fast-leave.zoom-big-fast-leave-active { animation-name: antZoomBigOut; animation-play-state: running; pointer-events: none; } .zoom-big-fast-enter, .zoom-big-fast-appear { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .zoom-big-fast-leave { animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86); } .zoom-up-enter, .zoom-up-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-up-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-up-enter.zoom-up-enter-active, .zoom-up-appear.zoom-up-appear-active { animation-name: antZoomUpIn; animation-play-state: running; } .zoom-up-leave.zoom-up-leave-active { animation-name: antZoomUpOut; animation-play-state: running; pointer-events: none; } .zoom-up-enter, .zoom-up-appear { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .zoom-up-leave { animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86); } .zoom-down-enter, .zoom-down-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-down-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-down-enter.zoom-down-enter-active, .zoom-down-appear.zoom-down-appear-active { animation-name: antZoomDownIn; animation-play-state: running; } .zoom-down-leave.zoom-down-leave-active { animation-name: antZoomDownOut; animation-play-state: running; pointer-events: none; } .zoom-down-enter, .zoom-down-appear { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .zoom-down-leave { animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86); } .zoom-left-enter, .zoom-left-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-left-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-left-enter.zoom-left-enter-active, .zoom-left-appear.zoom-left-appear-active { animation-name: antZoomLeftIn; animation-play-state: running; } .zoom-left-leave.zoom-left-leave-active { animation-name: antZoomLeftOut; animation-play-state: running; pointer-events: none; } .zoom-left-enter, .zoom-left-appear { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .zoom-left-leave { animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86); } .zoom-right-enter, .zoom-right-appear { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-right-leave { animation-duration: 0.2s; animation-fill-mode: both; animation-play-state: paused; } .zoom-right-enter.zoom-right-enter-active, .zoom-right-appear.zoom-right-appear-active { animation-name: antZoomRightIn; animation-play-state: running; } .zoom-right-leave.zoom-right-leave-active { animation-name: antZoomRightOut; animation-play-state: running; pointer-events: none; } .zoom-right-enter, .zoom-right-appear { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1); } .zoom-right-leave { animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86); } @keyframes antZoomIn { 0% { transform: scale(0.2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } @keyframes antZoomOut { 0% { transform: scale(1); } 100% { transform: scale(0.2); opacity: 0; } } @keyframes antZoomBigIn { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } @keyframes antZoomBigOut { 0% { transform: scale(1); } 100% { transform: scale(0.8); opacity: 0; } } @keyframes antZoomUpIn { 0% { transform: scale(0.8); transform-origin: 50% 0%; opacity: 0; } 100% { transform: scale(1); transform-origin: 50% 0%; } } @keyframes antZoomUpOut { 0% { transform: scale(1); transform-origin: 50% 0%; } 100% { transform: scale(0.8); transform-origin: 50% 0%; opacity: 0; } } @keyframes antZoomLeftIn { 0% { transform: scale(0.8); transform-origin: 0% 50%; opacity: 0; } 100% { transform: scale(1); transform-origin: 0% 50%; } } @keyframes antZoomLeftOut { 0% { transform: scale(1); transform-origin: 0% 50%; } 100% { transform: scale(0.8); transform-origin: 0% 50%; opacity: 0; } } @keyframes antZoomRightIn { 0% { transform: scale(0.8); transform-origin: 100% 50%; opacity: 0; } 100% { transform: scale(1); transform-origin: 100% 50%; } } @keyframes antZoomRightOut { 0% { transform: scale(1); transform-origin: 100% 50%; } 100% { transform: scale(0.8); transform-origin: 100% 50%; opacity: 0; } } @keyframes antZoomDownIn { 0% { transform: scale(0.8); transform-origin: 50% 100%; opacity: 0; } 100% { transform: scale(1); transform-origin: 50% 100%; } } @keyframes antZoomDownOut { 0% { transform: scale(1); transform-origin: 50% 100%; } 100% { transform: scale(0.8); transform-origin: 50% 100%; opacity: 0; } } .ant-motion-collapse-legacy { overflow: hidden; } .ant-motion-collapse-legacy-active { transition: height 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1) !important; } .ant-motion-collapse { overflow: hidden; transition: height 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1) !important; } /* 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-affix { position: fixed; z-index: 10; } /* 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 */ /* 深色主题变量(通过覆盖变量实现主题切换) */ /* 核心滚动条混合(建议添加到需要滚动的容器类) */ .tnt-alert.ant-alert.ant-alert-no-icon.ant-alert-closable { padding-right: 30px; } .tnt-alert.tnt-alert-with-action .ant-alert-message { display: flex; justify-content: space-between; } .tnt-alert.tnt-alert-with-action .ant-alert-message > .action-btn { flex: none; margin-left: 36px; margin-right: 12px; font-size: 14px; } .tnt-alert.ant-alert { border-radius: 16px; padding: 8px 15px 8px 44px; } .tnt-alert.ant-alert .anticon { left: 20px; top: 11px; } .tnt-alert .ant-alert-message { font-weight: 500; color: #454f64; } .tnt-alert .ant-alert-close-icon { font-size: 16px; } .tnt-alert.ant-alert-with-description { padding: 16px 20px 16px 48px; } .tnt-alert.ant-alert.ant-alert-no-icon { padding: 8px 20px; } .tnt-alert.ant-alert-with-description.ant-alert-no-icon { padding: 16px 20px; } .tnt-alert.ant-alert-with-description i.ant-alert-icon { top: 18px; font-size: 20px; } .ant-alert-success .action-btn { background-color: #e6fff4; color: #07c790; } .ant-alert-success .action-btn a { color: #07c790; } .ant-alert-success .ant-alert-close-icon .anticon-close { color: #07c790; } .ant-alert-info .action-btn { background-color: #e6f4ff; color: #126bfb; } .ant-alert-info .action-btn a { color: #126bfb; } .ant-alert-info .ant-alert-close-icon .anticon-close { color: #126bfb; } .ant-alert-warning .action-btn { background-color: #fffcf0; color: #d18b21; } .ant-alert-warning .action-btn a { color: #d18b21; } .ant-alert-warning .ant-alert-close-icon .anticon-close { color: #f7b035; } .ant-alert-error .action-btn { background-color: #fff2f0; color: #ef4444; } .ant-alert-error .action-btn a { color: #ef4444; } .ant-alert-error .ant-alert-close-icon .anticon-close { color: #ef4444; } .ant-alert > .ant-alert-icon { font-size: 16px; } .ant-alert { box-sizing: border-box; margin: 0; padding: 0; color: #17233d; font-size: 14px; font-variant: tabular-nums; line-height: 1.57142857; list-style: none; font-feature-settings: 'tnum'; position: relative; padding: 8px 15px 8px 37px; word-wrap: break-word; border-radius: 8px; } .ant-alert.ant-alert-no-icon { padding: 8px 15px; } .ant-alert.ant-alert-closable { padding-right: 30px; } .ant-alert-icon { position: absolute; top: calc(8px + 14px * 1.57142857 / 2 - 14px / 2); left: 16px; } .ant-alert-description { display: none; font-size: 14px; line-height: 22px; } .ant-alert-success { background-color: #e6fff4; border: 1px solid #51e0ae; } .ant-alert-success .ant-alert-icon { color: #07c790; } .ant-alert-info { background-color: #e6f4ff; border: 1px solid #63a9ff; } .ant-alert-info .ant-alert-icon { color: #126bfb; } .ant-alert-warning { background-color: #fffcf0; border: 1px solid #ffdb87; } .ant-alert-warning .ant-alert-icon { color: #f7b035; } .ant-alert-error { background-color: #fff2f0; border: 1px solid #ffa099; } .ant-alert-error .ant-alert-icon { color: #ef4444; } .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: #454f64; transition: color 0.3s; } .ant-alert-close-icon .anticon-close:hover { color: rgba(0, 0, 0, 0.75); } .ant-alert-close-text { color: #454f64; 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: #17233d; line-height: 1.57142857; border-radius: 8px; } .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: #17233d; font-size: 16px; } .ant-alert-message { color: #17233d; } .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; } } /* 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 { box-sizing: border-box; margin: 0; padding: 0; color: #17233d; font-size: 14px; font-variant: tabular-nums; line-height: 1.57142857; list-style: none; 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: #e1e6ee; content: ' '; } .ant-anchor-ink-ball { position: absolute; left: 50%; display: none; width: 8px; height: 8px; background-color: #fff; border: 2px solid #126bfb; border-radius: 8px; transform: translateX(-50%); 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: #17233d; white-space: nowrap; text-overflow: ellipsis; transition: all 0.3s; } .ant-anchor-link-title:only-child { margin-bottom: 0; } .ant-anchor-link-active > .ant-anchor-link-title { color: #126bfb; } .ant-anchor-link .ant-anchor-link { padding-top: 5px; padding-bottom: 5px; } /* 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 */ .tnt-td-anchor { background: #fff; border-radius: calc(8px * 2); box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.05); padding: 16px 16px 8px 16px; right: 0; position: absolute; } .tnt-td-anchor .ant-anchor-ink-ball { display: none !important; } .tnt-td-anchor .ant-anchor-link { padding: 0 0 0 8px; position: relative; max-width: calc(220px - 8px); } .tnt-td-anchor .ant-anchor-link-active::before { content: " "; position: absolute; left: -2px; top: 0; bottom: 0; height: 24px; width: 2px; background: #126bfb; transition: top 0.3s ease-in-out; } .tnt-td-anchor .ant-anchor-link-title { color: #454f64; transition: none !important; margin-bottom: 0; padding-top: 4px; padding-bottom: 4px; margin-bottom: 10px; } .tnt-td-anchor .ant-anchor-link-title.ant-anchor-link-title-active { color: #17233d; font-weight: 600; transition: none !important; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link { padding-left: 12px; max-width: calc(220px - 12px * 1 - 8px); min-width: 0; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link.ant-anchor-link-active::before { left: calc(2px - 12px * 1); } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link { padding-left: 12px; max-width: calc(220px - 12px * 2 - 8px); min-width: 0; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link.ant-anchor-link-active::before { left: calc(2px - 12px * 2); } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link { padding-left: 12px; max-width: calc(220px - 12px * 3 - 8px); min-width: 0; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link.ant-anchor-link-active::before { left: calc(2px - 12px * 3); } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link { padding-left: 12px; max-width: calc(220px - 12px * 4 - 8px); min-width: 0; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link.ant-anchor-link-active::before { left: calc(2px - 12px * 4); } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link { padding-left: 12px; max-width: calc(220px - 12px * 5 - 8px); min-width: 0; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link.ant-anchor-link-active::before { left: calc(2px - 12px * 5); } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link { padding-left: 12px; max-width: calc(220px - 12px * 6 - 8px); min-width: 0; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link.ant-anchor-link-active::before { left: calc(2px - 12px * 6); } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link { padding-left: 12px; max-width: calc(220px - 12px * 7 - 8px); min-width: 0; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link.ant-anchor-link-active::before { left: calc(2px - 12px * 7); } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link { padding-left: 12px; max-width: calc(220px - 12px * 8 - 8px); min-width: 0; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link.ant-anchor-link-active::before { left: calc(2px - 12px * 8); } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link { padding-left: 12px; max-width: calc(220px - 12px * 9 - 8px); min-width: 0; } .tnt-td-anchor .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link .ant-anchor-link.ant-anchor-link-active::before { left: calc(2px - 12px * 9); } .ant-affix:hover .tnt-td-anchor { max-width: 294px; } .ant-affix:hover .tnt-td-anchor .ant-anchor { padding-right: 40px; } .ant-affix:hover .tnt-td-anchor .tnt-anchor-icon { opacity: 1; transition: all 0.1s linear 0.1s; } .tnt-anchor.tnt-td-anchor { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 32px; transition: all 0.1s ease-in-out; } .tnt-anchor.tnt-td-anchor.tnt-anchor-show, .tnt-anchor.tnt-td-anchor:hover { max-width: 294px; } .tnt-anchor.tnt-td-anchor.tnt-anchor-show .ant-anchor, .tnt-anchor.tnt-td-anchor:hover .ant-anchor { padding-right: 40px; } .tnt-anchor.tnt-td-anchor.tnt-anchor-show .tnt-anchor-icon, .tnt-anchor.tnt-td-anchor:hover .tnt-anchor-icon { opacity: 1; transition: all 0.1s linear 0.1s; } .tnt-anchor.tnt-td-anchor .ant-anchor { overflow: hidden; } .tnt-anchor.tnt-td-anchor .tnt-anchor-icon { opacity: 0; position: absolute; right: 0; top: 2px; height: 18px; width: 18px; cursor: pointer; transition: all 0.1s linear; } .tnt-anchor.tnt-td-anchor .tnt-anchor-icon .tntd-anticon { font-size: 18px; } /* 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 */ /* 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 */ /* 深色主题变量(通过覆盖变量实现主题切换) */ /* 核心滚动条混合(建议添加到需要滚动的容器类) */ /* 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 */ .tntd-anticon { font-size: 16px; vertical-align: -0.1875em; } /* 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-popover { box-sizing: border-box; margin: 0; padding: 0; color: #17233d; font-size: 14px; font-variant: tabular-nums; line-height: 1.57142857; list-style: none; font-feature-settings: 'tnum'; position: absolute; top: 0; left: 0; z-index: 1030; font-weight: normal; white-space: normal; text-align: left; cursor: auto; user-select: text; } .ant-popover::after { position: absolute; background: rgba(255, 255, 255, 0.01); content: ''; } .ant-popover-hidden { display: none; } .ant-popover-placement-top, .ant-popover-placement-topLeft, .ant-popover-placement-topRight { padding-bottom: 10px; } .ant-popover-placement-right, .ant-popover-placement-rightTop, .ant-popover-placement-rightBottom { padding-left: 10px; } .ant-popover-placement-bottom, .ant-popover-placement-bottomLeft, .ant-popover-placement-bottomRight { padding-top: 10px; } .ant-popover-placement-left, .ant-popover-placement-leftTop, .ant-popover-placement-leftBottom { padding-right: 10px; } .ant-popover-inner { background-color: #fff; background-clip: padding-box; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); box-shadow: 0 0 8px rgba(0, 0, 0, 0.15) \9; } @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .ant-popover { /* IE10+ */ } .ant-popover-inner { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } } .ant-popover-title { min-width: 177px; min-height: 32px; margin: 0; padding: 5px 20px 4px; color: #17233d; font-weight: 500; border-bottom: 1px solid #e1e6ee; } .ant-popover-inner-content { padding: 12px 20px; color: #17233d; } .ant-popover-message { position: relative; padding: 4px 0 12px; color: #17233d; font-size: 14px; } .ant-popover-message > .anticon { position: absolute; top: 8px; color: #f7b035; font-size: 16px; } .ant-popover-message-title { padding-left: calc(14px + 8px); } .ant-popover-buttons { margin-bottom: 4px; text-align: right; } .ant-popover-buttons button { margin-left: 8px; } .ant-popover-arrow { position: absolute; display: block; width: 8.48528137px; height: 8.48528137px; background: transparent; border-style: solid; border-width: 4.24264069px; transform: rotate(45deg); } .ant-popover-placement-top > .ant-popover-content > .ant-popover-arrow, .ant-popover-placement-topLeft > .ant-popover-content > .ant-popover-arrow, .ant-popover-placement-topRight > .ant-popover-content > .ant-popover-arrow { bottom: calc(10px - 6px + 2.2px); border-top-color: transparent; border-right-color: #fff; border-bottom-color: #fff; border-left-color: transparent; box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07); } .ant-popover-placement-top > .ant-popover-content > .ant-popover-arrow { left: 50%; transform: translateX(-50%) rotate(45deg); } .ant-popover-placement-topLeft > .ant-popover-content > .ant-popover-arrow { left: 16px; } .ant-popover-placement-topRight > .ant-popover-content > .ant-popover-arrow { right: 16px; } .ant-popover-placement-right > .ant-popover-content > .ant-popover-arrow, .ant-popover-placement-rightTop > .ant-popover-content > .ant-popover-arrow, .ant-popover-placement-rightBottom > .ant-popover-content > .ant-popover-arrow { left: calc(10px - 6px + 2px); border-top-color: transparent; border-right-color: transparent; border-bottom-color: #fff; border-left-color: #fff; box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07); } .ant-popover-placement-right > .ant-popover-content > .ant-popover-arrow { top: 50%; transform: translateY(-50%) rotate(45deg); } .ant-popover-placement-rightTop > .ant-popover-content > .ant-popover-arrow { top: 12px; } .ant-popover-placement-rightBottom > .ant-popover-content > .ant-popover-arrow { bottom: 12px; } .ant-popover-placement-bottom > .ant-popover-content > .ant-popover-arrow, .ant-popover-placement-bottomLeft > .ant-popover-content > .ant-popover-arrow, .ant-popover-placement-bottomRight > .ant-popover-content > .ant-popover-arrow { top: calc(10px - 6px + 2px); border-top-color: #fff; border-right-color: transparent; border-bottom-color: transparent; border-left-color: #fff; box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06); } .ant-popover-placement-bottom > .ant-popover-content > .ant-popover-arrow { left: 50%; transform: translateX(-50%) rotate(45deg); } .ant-popover-placement-bottomLeft > .ant-popover-content > .ant-popover-arrow { left: 16px; } .ant-popover-placement-bottomRight > .ant-popover-content > .ant-popover-arrow { right: 16px; } .ant-popover-placement-left > .ant-popover-content > .ant-popover-arrow, .ant-popover-placement-leftTop > .ant-popover-content > .ant-popover-arrow, .ant-popover-placement-leftBottom > .ant-popover-content > .ant-popover-arrow { right: calc(10px - 6px + 2px); border-top-color: #fff; border-right-color: #fff; border-bottom-color: transparent; border-left-color: transparent; box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07); } .ant-popover-placement-left > .ant-popover-content > .ant-popover-arrow { top: 50%; transform: translateY(-50%) rotate(45deg); } .ant-popover-placement-leftTop > .ant-popover-content > .ant-popover-arrow { top: 12px; } .ant-popover-placement-leftBottom > .ant-popover-content > .ant-popover-arrow { bottom: 12px; } /* 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 */ .tnt-popover.ant-popover-dark .ant-popover-title, .tnt-popover.ant-popover-light .ant-popover-title { padding: 10px 12px 4px !important; border-bottom: 0px !important; } .tnt-popover.ant-popover-dark .ant-popover-inner-content, .tnt-popover.ant-popover-light .ant-popover-inner-content { padding: 0px 12px 12px 12px; } .tnt-popover.ant-popover-dark .ant-popover-title { color: #fff; } .tnt-popover.ant-popover-dark .ant-popover-inner { background-color: #17233d; } .tnt-popover.ant-popover-dark .ant-popover-inner-content { color: #fff; } .tnt-popover.ant-popover-dark .ant-popover-arrow { border-color: #17233d !important; } .tnt-popover.ant-popover-dark .ant-popover-arrow::before { background-color: #17233d; } .tnt-popover.ant-popover-arrow { border-radius: 1px; } .ant-popover-arrow-hidden .ant-popover-arrow { display: none; } /* 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-tooltip { box-sizing: border-box; margin: 0; padding: 0; color: #17233d; font-size: 14px; font-variant: tabular-nums; line-height: 1.57142857; list-style: none; font-feature-settings: 'tnum'; position: absolute; z-index: 1060; display: block; max-width: 250px; visibility: visible; } .ant-tooltip-hidden { display: none; } .ant-tooltip-placement-top, .ant-tooltip-placement-topLeft, .ant-tooltip-placement-topRight { padding-bottom: calc(5px - 1px + 4px); } .ant-tooltip-placement-right, .ant-tooltip-placement-rightTop, .ant-tooltip-placement-rightBottom { padding-left: calc(5px - 1px + 4px); } .ant-tooltip-placement-bottom, .ant-tooltip-placement-bottomLeft, .ant-tooltip-placement-bottomRight { padding-top: calc(5px - 1px + 4px); } .ant-tooltip-placement-left, .ant-tooltip-placement-leftTop, .ant-tooltip-placement-leftBottom { padding-right: calc(5px - 1px + 4px); } .ant-tooltip-inner { min-width: 30px; min-height: 32px; padding: 6px 8px; color: #fff; text-align: left; text-decoration: none; word-wrap: break-word; background-color: #17233d; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } .ant-tooltip-arrow { position: absolute; display: block; width: 13.07106781px; height: 13.07106781px; overflow: hidden; background: transparent; pointer-events: none; } .ant-tooltip-arrow::before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; width: 5px; height: 5px; margin: auto; background-color: #17233d; content: ''; pointer-events: auto; } .ant-tooltip-placement-top .ant-tooltip-arrow, .ant-tooltip-placement-topLeft .ant-tooltip-arrow, .ant-tooltip-placement-topRight .ant-tooltip-arrow { bottom: calc(calc(5px - 1px + 4px) - 13.07106781px); } .ant-tooltip-placement-top .ant-tooltip-arrow::before, .ant-tooltip-placement-topLeft .ant-tooltip-arrow::before, .ant-tooltip-placement-topRight .ant-tooltip-arrow::before { box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07); transform: translateY(-6.53553391px) rotate(45deg); } .ant-tooltip-placement-top .ant-tooltip-arrow { left: 50%; transform: translateX(-50%); } .ant-tooltip-placement