tntd
Version:
tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。
1,796 lines (1,787 loc) • 47.5 kB
text/less
/* 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 */
[class^='tntd-rc-']::-ms-clear,
[class*='tntd-rc-']::-ms-clear,
[class^='tntd-rc-'] input::-ms-clear,
[class*='tntd-rc-'] input::-ms-clear,
[class^='tntd-rc-'] input::-ms-reveal,
[class*='tntd-rc-'] input::-ms-reveal {
display: none;
}
[type='search'] {
outline-offset: -2px;
-webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
}
.clearfix::before {
display: table;
content: '';
}
.clearfix::after {
display: table;
clear: both;
content: '';
}
.tntd-rc-fade-enter,
.tntd-rc-fade-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-fade-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-fade-enter.tntd-rc-fade-enter-active,
.tntd-rc-fade-appear.tntd-rc-fade-appear-active {
animation-name: antFadeIn;
animation-play-state: running;
}
.tntd-rc-fade-leave.tntd-rc-fade-leave-active {
animation-name: antFadeOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-fade-enter,
.tntd-rc-fade-appear {
opacity: 0;
animation-timing-function: linear;
}
.tntd-rc-fade-leave {
animation-timing-function: linear;
}
@keyframes antFadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes antFadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.tntd-rc-move-up-enter,
.tntd-rc-move-up-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-move-up-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-move-up-enter.tntd-rc-move-up-enter-active,
.tntd-rc-move-up-appear.tntd-rc-move-up-appear-active {
animation-name: antMoveUpIn;
animation-play-state: running;
}
.tntd-rc-move-up-leave.tntd-rc-move-up-leave-active {
animation-name: antMoveUpOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-move-up-enter,
.tntd-rc-move-up-appear {
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-move-up-leave {
animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
}
.tntd-rc-move-down-enter,
.tntd-rc-move-down-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-move-down-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-move-down-enter.tntd-rc-move-down-enter-active,
.tntd-rc-move-down-appear.tntd-rc-move-down-appear-active {
animation-name: antMoveDownIn;
animation-play-state: running;
}
.tntd-rc-move-down-leave.tntd-rc-move-down-leave-active {
animation-name: antMoveDownOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-move-down-enter,
.tntd-rc-move-down-appear {
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-move-down-leave {
animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
}
.tntd-rc-move-left-enter,
.tntd-rc-move-left-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-move-left-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-move-left-enter.tntd-rc-move-left-enter-active,
.tntd-rc-move-left-appear.tntd-rc-move-left-appear-active {
animation-name: antMoveLeftIn;
animation-play-state: running;
}
.tntd-rc-move-left-leave.tntd-rc-move-left-leave-active {
animation-name: antMoveLeftOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-move-left-enter,
.tntd-rc-move-left-appear {
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-move-left-leave {
animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
}
.tntd-rc-move-right-enter,
.tntd-rc-move-right-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-move-right-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-move-right-enter.tntd-rc-move-right-enter-active,
.tntd-rc-move-right-appear.tntd-rc-move-right-appear-active {
animation-name: antMoveRightIn;
animation-play-state: running;
}
.tntd-rc-move-right-leave.tntd-rc-move-right-leave-active {
animation-name: antMoveRightOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-move-right-enter,
.tntd-rc-move-right-appear {
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-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,
.tntd-rc-click-animating-node {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
border-radius: inherit;
box-shadow: 0 0 0 0 @primary-color;
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 @primary-color;
}
}
@keyframes fadeEffect {
100% {
opacity: 0;
}
}
.tntd-rc-slide-up-enter,
.tntd-rc-slide-up-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-slide-up-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-slide-up-enter.tntd-rc-slide-up-enter-active,
.tntd-rc-slide-up-appear.tntd-rc-slide-up-appear-active {
animation-name: antSlideUpIn;
animation-play-state: running;
}
.tntd-rc-slide-up-leave.tntd-rc-slide-up-leave-active {
animation-name: antSlideUpOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-slide-up-enter,
.tntd-rc-slide-up-appear {
transform: scale(0);
transform-origin: 0% 0%;
opacity: 0;
animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}
.tntd-rc-slide-up-leave {
animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
}
.tntd-rc-slide-down-enter,
.tntd-rc-slide-down-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-slide-down-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-slide-down-enter.tntd-rc-slide-down-enter-active,
.tntd-rc-slide-down-appear.tntd-rc-slide-down-appear-active {
animation-name: antSlideDownIn;
animation-play-state: running;
}
.tntd-rc-slide-down-leave.tntd-rc-slide-down-leave-active {
animation-name: antSlideDownOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-slide-down-enter,
.tntd-rc-slide-down-appear {
transform: scale(0);
transform-origin: 0% 0%;
opacity: 0;
animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}
.tntd-rc-slide-down-leave {
animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
}
.tntd-rc-slide-left-enter,
.tntd-rc-slide-left-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-slide-left-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-slide-left-enter.tntd-rc-slide-left-enter-active,
.tntd-rc-slide-left-appear.tntd-rc-slide-left-appear-active {
animation-name: antSlideLeftIn;
animation-play-state: running;
}
.tntd-rc-slide-left-leave.tntd-rc-slide-left-leave-active {
animation-name: antSlideLeftOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-slide-left-enter,
.tntd-rc-slide-left-appear {
transform: scale(0);
transform-origin: 0% 0%;
opacity: 0;
animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}
.tntd-rc-slide-left-leave {
animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
}
.tntd-rc-slide-right-enter,
.tntd-rc-slide-right-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-slide-right-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-slide-right-enter.tntd-rc-slide-right-enter-active,
.tntd-rc-slide-right-appear.tntd-rc-slide-right-appear-active {
animation-name: antSlideRightIn;
animation-play-state: running;
}
.tntd-rc-slide-right-leave.tntd-rc-slide-right-leave-active {
animation-name: antSlideRightOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-slide-right-enter,
.tntd-rc-slide-right-appear {
transform: scale(0);
transform-origin: 0% 0%;
opacity: 0;
animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}
.tntd-rc-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;
}
}
.tntd-rc-zoom-enter,
.tntd-rc-zoom-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-enter.tntd-rc-zoom-enter-active,
.tntd-rc-zoom-appear.tntd-rc-zoom-appear-active {
animation-name: antZoomIn;
animation-play-state: running;
}
.tntd-rc-zoom-leave.tntd-rc-zoom-leave-active {
animation-name: antZoomOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-zoom-enter,
.tntd-rc-zoom-appear {
transform: scale(0);
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-zoom-enter-prepare,
.tntd-rc-zoom-appear-prepare {
transform: none;
}
.tntd-rc-zoom-leave {
animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.tntd-rc-zoom-big-enter,
.tntd-rc-zoom-big-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-big-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-big-enter.tntd-rc-zoom-big-enter-active,
.tntd-rc-zoom-big-appear.tntd-rc-zoom-big-appear-active {
animation-name: antZoomBigIn;
animation-play-state: running;
}
.tntd-rc-zoom-big-leave.tntd-rc-zoom-big-leave-active {
animation-name: antZoomBigOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-zoom-big-enter,
.tntd-rc-zoom-big-appear {
transform: scale(0);
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-zoom-big-enter-prepare,
.tntd-rc-zoom-big-appear-prepare {
transform: none;
}
.tntd-rc-zoom-big-leave {
animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.tntd-rc-zoom-big-fast-enter,
.tntd-rc-zoom-big-fast-appear {
animation-duration: 0.1s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-big-fast-leave {
animation-duration: 0.1s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-big-fast-enter.tntd-rc-zoom-big-fast-enter-active,
.tntd-rc-zoom-big-fast-appear.tntd-rc-zoom-big-fast-appear-active {
animation-name: antZoomBigIn;
animation-play-state: running;
}
.tntd-rc-zoom-big-fast-leave.tntd-rc-zoom-big-fast-leave-active {
animation-name: antZoomBigOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-zoom-big-fast-enter,
.tntd-rc-zoom-big-fast-appear {
transform: scale(0);
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-zoom-big-fast-enter-prepare,
.tntd-rc-zoom-big-fast-appear-prepare {
transform: none;
}
.tntd-rc-zoom-big-fast-leave {
animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.tntd-rc-zoom-up-enter,
.tntd-rc-zoom-up-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-up-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-up-enter.tntd-rc-zoom-up-enter-active,
.tntd-rc-zoom-up-appear.tntd-rc-zoom-up-appear-active {
animation-name: antZoomUpIn;
animation-play-state: running;
}
.tntd-rc-zoom-up-leave.tntd-rc-zoom-up-leave-active {
animation-name: antZoomUpOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-zoom-up-enter,
.tntd-rc-zoom-up-appear {
transform: scale(0);
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-zoom-up-enter-prepare,
.tntd-rc-zoom-up-appear-prepare {
transform: none;
}
.tntd-rc-zoom-up-leave {
animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.tntd-rc-zoom-down-enter,
.tntd-rc-zoom-down-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-down-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-down-enter.tntd-rc-zoom-down-enter-active,
.tntd-rc-zoom-down-appear.tntd-rc-zoom-down-appear-active {
animation-name: antZoomDownIn;
animation-play-state: running;
}
.tntd-rc-zoom-down-leave.tntd-rc-zoom-down-leave-active {
animation-name: antZoomDownOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-zoom-down-enter,
.tntd-rc-zoom-down-appear {
transform: scale(0);
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-zoom-down-enter-prepare,
.tntd-rc-zoom-down-appear-prepare {
transform: none;
}
.tntd-rc-zoom-down-leave {
animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.tntd-rc-zoom-left-enter,
.tntd-rc-zoom-left-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-left-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-left-enter.tntd-rc-zoom-left-enter-active,
.tntd-rc-zoom-left-appear.tntd-rc-zoom-left-appear-active {
animation-name: antZoomLeftIn;
animation-play-state: running;
}
.tntd-rc-zoom-left-leave.tntd-rc-zoom-left-leave-active {
animation-name: antZoomLeftOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-zoom-left-enter,
.tntd-rc-zoom-left-appear {
transform: scale(0);
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-zoom-left-enter-prepare,
.tntd-rc-zoom-left-appear-prepare {
transform: none;
}
.tntd-rc-zoom-left-leave {
animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.tntd-rc-zoom-right-enter,
.tntd-rc-zoom-right-appear {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-right-leave {
animation-duration: 0.2s;
animation-fill-mode: both;
animation-play-state: paused;
}
.tntd-rc-zoom-right-enter.tntd-rc-zoom-right-enter-active,
.tntd-rc-zoom-right-appear.tntd-rc-zoom-right-appear-active {
animation-name: antZoomRightIn;
animation-play-state: running;
}
.tntd-rc-zoom-right-leave.tntd-rc-zoom-right-leave-active {
animation-name: antZoomRightOut;
animation-play-state: running;
pointer-events: none;
}
.tntd-rc-zoom-right-enter,
.tntd-rc-zoom-right-appear {
transform: scale(0);
opacity: 0;
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
}
.tntd-rc-zoom-right-enter-prepare,
.tntd-rc-zoom-right-appear-prepare {
transform: none;
}
.tntd-rc-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;
}
}
.tntd-rc-motion-collapse-legacy {
overflow: hidden;
}
.tntd-rc-motion-collapse-legacy-active {
transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) ;
}
.tntd-rc-motion-collapse {
overflow: hidden;
transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) ;
}
.tntd-rc-select-single .tntd-rc-select-selector {
display: flex;
}
.tntd-rc-select-single .tntd-rc-select-selector .tntd-rc-select-selection-search {
position: absolute;
top: 0;
right: 11px;
bottom: 0;
left: 11px;
}
.tntd-rc-select-single .tntd-rc-select-selector .tntd-rc-select-selection-search-input {
width: 100%;
}
.tntd-rc-select-single .tntd-rc-select-selector .tntd-rc-select-selection-item,
.tntd-rc-select-single .tntd-rc-select-selector .tntd-rc-select-selection-placeholder {
padding: 0;
line-height: calc(@input-height-base - 2px);
transition: all 0.3s, visibility 0s;
}
.tntd-rc-select-single .tntd-rc-select-selector .tntd-rc-select-selection-item {
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.tntd-rc-select-single .tntd-rc-select-selector .tntd-rc-select-selection-placeholder {
transition: none;
pointer-events: none;
}
.tntd-rc-select-single .tntd-rc-select-selector::after,
.tntd-rc-select-single .tntd-rc-select-selector .tntd-rc-select-selection-item::after,
.tntd-rc-select-single .tntd-rc-select-selector .tntd-rc-select-selection-placeholder::after {
display: inline-block;
width: 0;
visibility: hidden;
content: '\a0';
}
.tntd-rc-select-single.tntd-rc-select-show-arrow .tntd-rc-select-selection-search {
right: 25px;
}
.tntd-rc-select-single.tntd-rc-select-show-arrow .tntd-rc-select-selection-item,
.tntd-rc-select-single.tntd-rc-select-show-arrow .tntd-rc-select-selection-placeholder {
padding-right: 18px;
}
.tntd-rc-select-single.tntd-rc-select-open .tntd-rc-select-selection-item {
color: #bfbfbf;
}
.tntd-rc-select-single:not(.tntd-rc-select-customize-input) .tntd-rc-select-selector {
width: 100%;
height: @input-height-base;
padding: 0 11px;
}
.tntd-rc-select-single:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector
.tntd-rc-select-selection-search-input {
height: calc(@input-height-base - 2px);
}
.tntd-rc-select-single:not(.tntd-rc-select-customize-input) .tntd-rc-select-selector::after {
line-height: calc(@input-height-base - 2px);
}
.tntd-rc-select-single.tntd-rc-select-customize-input .tntd-rc-select-selector::after {
display: none;
}
.tntd-rc-select-single.tntd-rc-select-customize-input
.tntd-rc-select-selector
.tntd-rc-select-selection-search {
position: static;
width: 100%;
}
.tntd-rc-select-single.tntd-rc-select-customize-input
.tntd-rc-select-selector
.tntd-rc-select-selection-placeholder {
position: absolute;
right: 0;
left: 0;
padding: 0 11px;
}
.tntd-rc-select-single.tntd-rc-select-customize-input
.tntd-rc-select-selector
.tntd-rc-select-selection-placeholder::after {
display: none;
}
.tntd-rc-select-single.tntd-rc-select-lg:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector {
height: 40px;
}
.tntd-rc-select-single.tntd-rc-select-lg:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector::after,
.tntd-rc-select-single.tntd-rc-select-lg:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector
.tntd-rc-select-selection-item,
.tntd-rc-select-single.tntd-rc-select-lg:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector
.tntd-rc-select-selection-placeholder {
line-height: 38px;
}
.tntd-rc-select-single.tntd-rc-select-lg:not(.tntd-rc-select-customize-input):not(
.tntd-rc-select-customize-input
)
.tntd-rc-select-selection-search-input {
height: 38px;
}
.tntd-rc-select-single.tntd-rc-select-sm:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector {
height: 24px;
}
.tntd-rc-select-single.tntd-rc-select-sm:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector::after,
.tntd-rc-select-single.tntd-rc-select-sm:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector
.tntd-rc-select-selection-item,
.tntd-rc-select-single.tntd-rc-select-sm:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector
.tntd-rc-select-selection-placeholder {
line-height: 22px;
}
.tntd-rc-select-single.tntd-rc-select-sm:not(.tntd-rc-select-customize-input):not(
.tntd-rc-select-customize-input
)
.tntd-rc-select-selection-search-input {
height: 22px;
}
.tntd-rc-select-single.tntd-rc-select-sm:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selection-search {
right: 7px;
left: 7px;
}
.tntd-rc-select-single.tntd-rc-select-sm:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector {
padding: 0 7px;
}
.tntd-rc-select-single.tntd-rc-select-sm:not(
.tntd-rc-select-customize-input
).tntd-rc-select-show-arrow
.tntd-rc-select-selection-search {
right: 28px;
}
.tntd-rc-select-single.tntd-rc-select-sm:not(
.tntd-rc-select-customize-input
).tntd-rc-select-show-arrow
.tntd-rc-select-selection-item,
.tntd-rc-select-single.tntd-rc-select-sm:not(
.tntd-rc-select-customize-input
).tntd-rc-select-show-arrow
.tntd-rc-select-selection-placeholder {
padding-right: 21px;
}
.tntd-rc-select-single.tntd-rc-select-lg:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector {
padding: 0 11px;
}
/**
* Do not merge `height` & `line-height` under style with `selection` & `search`,
* since chrome may update to redesign with its align logic.
*/
.tntd-rc-select-selection-overflow {
position: relative;
display: flex;
flex: auto;
flex-wrap: wrap;
max-width: 100%;
}
.tntd-rc-select-selection-overflow-item {
flex: none;
align-self: center;
max-width: 100%;
}
.tntd-rc-select-multiple .tntd-rc-select-selector {
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 1px 4px;
}
.tntd-rc-select-show-search.tntd-rc-select-multiple .tntd-rc-select-selector {
cursor: text;
}
.tntd-rc-select-disabled.tntd-rc-select-multiple .tntd-rc-select-selector {
background: #f5f5f5;
cursor: not-allowed;
}
.tntd-rc-select-multiple .tntd-rc-select-selector::after {
display: inline-block;
width: 0;
margin: 2px 0;
line-height: 24px;
visibility: hidden;
content: '\a0';
}
.tntd-rc-select-multiple.tntd-rc-select-show-arrow .tntd-rc-select-selector,
.tntd-rc-select-multiple.tntd-rc-select-allow-clear .tntd-rc-select-selector {
padding-right: 24px;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-item {
position: relative;
display: flex;
flex: none;
box-sizing: border-box;
max-width: 100%;
height: 20px;
margin-top: 2px;
margin-bottom: 2px;
line-height: 20px;
background: #f1f2f5;
border: 1px solid #e1e6ee;
border-radius: 2px;
cursor: default;
transition: font-size 0.3s, line-height 0.3s, height 0.3s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
margin-inline-end: 4px;
padding-inline-start: 8px;
padding-inline-end: 4px;
}
.tntd-rc-select-disabled.tntd-rc-select-multiple .tntd-rc-select-selection-item {
color: rgba(0, 0, 0, 0.33);
border-color: #e1e6ee;
cursor: not-allowed;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-item-content {
display: inline-block;
margin-right: 4px;
overflow: hidden;
white-space: pre;
text-overflow: ellipsis;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-item-remove {
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;
display: inline-flex;
align-items: center;
color: rgba(0, 0, 0, 0.45);
font-weight: bold;
font-size: 10px;
line-height: inherit;
cursor: pointer;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-item-remove > * {
line-height: 1;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-item-remove svg {
display: inline-block;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-item-remove::before {
display: none;
}
.tntd-rc-select-multiple
.tntd-rc-select-selection-item-remove
.tntd-rc-select-multiple
.tntd-rc-select-selection-item-remove-icon {
display: block;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-item-remove > .anticon {
vertical-align: middle;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-item-remove:hover {
color: rgba(0, 0, 0, 0.75);
}
.tntd-rc-select-multiple
.tntd-rc-select-selection-overflow-item
+ .tntd-rc-select-selection-overflow-item
.tntd-rc-select-selection-search {
margin-inline-start: 0;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-search {
position: relative;
max-width: 100%;
margin-inline-start: 7px;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-search-input,
.tntd-rc-select-multiple .tntd-rc-select-selection-search-mirror {
height: 24px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
line-height: 24px;
transition: all 0.3s;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-search-input {
width: 100%;
min-width: 4.1px;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-search-mirror {
position: absolute;
top: 0;
left: 0;
z-index: 999;
white-space: pre;
visibility: hidden;
}
.tntd-rc-select-multiple .tntd-rc-select-selection-placeholder {
position: absolute;
top: 50%;
right: 11px;
left: 11px;
transform: translateY(-50%);
transition: all 0.3s;
}
.tntd-rc-select-multiple.tntd-rc-select-lg .tntd-rc-select-selector::after {
line-height: 32px;
}
.tntd-rc-select-multiple.tntd-rc-select-lg .tntd-rc-select-selection-item {
height: 32px;
line-height: 30px;
}
.tntd-rc-select-multiple.tntd-rc-select-lg .tntd-rc-select-selection-search {
height: 32px;
line-height: 32px;
}
.tntd-rc-select-multiple.tntd-rc-select-lg .tntd-rc-select-selection-search-input,
.tntd-rc-select-multiple.tntd-rc-select-lg .tntd-rc-select-selection-search-mirror {
height: 32px;
line-height: 30px;
}
.tntd-rc-select-multiple.tntd-rc-select-sm .tntd-rc-select-selector::after {
line-height: 16px;
}
.tntd-rc-select-multiple.tntd-rc-select-sm .tntd-rc-select-selection-item {
height: 16px;
line-height: 14px;
}
.tntd-rc-select-multiple.tntd-rc-select-sm .tntd-rc-select-selection-search {
height: 16px;
line-height: 16px;
}
.tntd-rc-select-multiple.tntd-rc-select-sm .tntd-rc-select-selection-search-input,
.tntd-rc-select-multiple.tntd-rc-select-sm .tntd-rc-select-selection-search-mirror {
height: 16px;
line-height: 14px;
}
.tntd-rc-select-multiple.tntd-rc-select-sm .tntd-rc-select-selection-placeholder {
left: 7px;
}
.tntd-rc-select-multiple.tntd-rc-select-sm .tntd-rc-select-selection-search {
margin-inline-start: 3px;
}
.tntd-rc-select-disabled .tntd-rc-select-selection-item-remove {
display: none;
}
.tntd-rc-select-status-error.tntd-rc-select:not(.tntd-rc-select-disabled):not(
.tntd-rc-select-customize-input
):not(.tntd-rc-pagination-size-changer)
.tntd-rc-select-selector {
background-color: #fff;
border-color: #ff4d4f ;
}
.tntd-rc-select-status-error.tntd-rc-select:not(.tntd-rc-select-disabled):not(
.tntd-rc-select-customize-input
):not(.tntd-rc-pagination-size-changer).tntd-rc-select-open
.tntd-rc-select-selector,
.tntd-rc-select-status-error.tntd-rc-select:not(.tntd-rc-select-disabled):not(
.tntd-rc-select-customize-input
):not(.tntd-rc-pagination-size-changer).tntd-rc-select-focused
.tntd-rc-select-selector {
border-color: #ff7875;
box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
border-right-width: 1px;
outline: 0;
}
.tntd-rc-select-status-warning.tntd-rc-select:not(.tntd-rc-select-disabled):not(
.tntd-rc-select-customize-input
):not(.tntd-rc-pagination-size-changer)
.tntd-rc-select-selector {
background-color: #fff;
border-color: #faad14 ;
}
.tntd-rc-select-status-warning.tntd-rc-select:not(.tntd-rc-select-disabled):not(
.tntd-rc-select-customize-input
):not(.tntd-rc-pagination-size-changer).tntd-rc-select-open
.tntd-rc-select-selector,
.tntd-rc-select-status-warning.tntd-rc-select:not(.tntd-rc-select-disabled):not(
.tntd-rc-select-customize-input
):not(.tntd-rc-pagination-size-changer).tntd-rc-select-focused
.tntd-rc-select-selector {
border-color: #ffc53d;
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
border-right-width: 1px;
outline: 0;
}
.tntd-rc-select-status-error.tntd-rc-select-has-feedback .tntd-rc-select-clear,
.tntd-rc-select-status-warning.tntd-rc-select-has-feedback .tntd-rc-select-clear,
.tntd-rc-select-status-success.tntd-rc-select-has-feedback .tntd-rc-select-clear,
.tntd-rc-select-status-validating.tntd-rc-select-has-feedback .tntd-rc-select-clear {
right: 32px;
}
.tntd-rc-select-status-error.tntd-rc-select-has-feedback .tntd-rc-select-selection-selected-value,
.tntd-rc-select-status-warning.tntd-rc-select-has-feedback .tntd-rc-select-selection-selected-value,
.tntd-rc-select-status-success.tntd-rc-select-has-feedback .tntd-rc-select-selection-selected-value,
.tntd-rc-select-status-validating.tntd-rc-select-has-feedback
.tntd-rc-select-selection-selected-value {
padding-right: 42px;
}
/* Reset search input style */
.tntd-rc-select {
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;
display: inline-block;
cursor: pointer;
}
.tntd-rc-select:not(.tntd-rc-select-customize-input) .tntd-rc-select-selector {
position: relative;
background-color: #fff;
border: 1px solid #e1e6ee;
border-radius: 2px;
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.tntd-rc-select:not(.tntd-rc-select-customize-input) .tntd-rc-select-selector input {
cursor: pointer;
}
.tntd-rc-select-show-search.tntd-rc-select:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector {
cursor: text;
}
.tntd-rc-select-show-search.tntd-rc-select:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector
input {
cursor: auto;
}
.tntd-rc-select-focused:not(.tntd-rc-select-disabled).tntd-rc-select:not(
.tntd-rc-select-customize-input
)
.tntd-rc-select-selector {
border-color: @blue-6;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
border-right-width: 1px;
outline: 0;
}
.tntd-rc-select-disabled.tntd-rc-select:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector {
color: @input-placeholder-color;
background: @fill-color-tertiary;
border: 1px solid #c9d2dd;
cursor: not-allowed;
}
.tntd-rc-select-multiple.tntd-rc-select-disabled.tntd-rc-select:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector {
background: #f5f5f5;
}
.tntd-rc-select-disabled.tntd-rc-select:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector
input {
cursor: not-allowed;
}
.tntd-rc-select:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector
.tntd-rc-select-selection-search-input {
margin: 0;
padding: 0;
background: transparent;
border: none;
outline: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.tntd-rc-select:not(.tntd-rc-select-customize-input)
.tntd-rc-select-selector
.tntd-rc-select-selection-search-input::-webkit-search-cancel-button {
display: none;
/* stylelint-disable-next-line property-no-vendor-prefix */
-webkit-appearance: none;
}
.tntd-rc-select:not(.tntd-rc-select-disabled):hover .tntd-rc-select-selector {
border-color: @blue-6;
border-right-width: 1px;
}
.tntd-rc-select-selection-item {
flex: 1;
overflow: hidden;
font-weight: normal;
white-space: nowrap;
text-overflow: ellipsis;
}
@media all and (-ms-high-contrast: none) {
.tntd-rc-select-selection-item *::-ms-backdrop,
.tntd-rc-select-selection-item {
flex: auto;
}
}
.tntd-rc-select-selection-placeholder {
flex: 1;
overflow: hidden;
color: @input-placeholder-color;
white-space: nowrap;
text-overflow: ellipsis;
pointer-events: none;
}
@media all and (-ms-high-contrast: none) {
.tntd-rc-select-selection-placeholder *::-ms-backdrop,
.tntd-rc-select-selection-placeholder {
flex: auto;
}
}
.tntd-rc-select-arrow {
display: inline-flex;
color: inherit;
font-style: normal;
line-height: 0;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: absolute;
top: 50%;
right: 11px;
display: flex;
align-items: center;
height: 12px;
margin-top: -6px;
color: rgba(23, 35, 61, 0.3);
font-size: 12px;
line-height: 1;
text-align: center;
pointer-events: none;
}
.tntd-rc-select-arrow > * {
line-height: 1;
}
.tntd-rc-select-arrow svg {
display: inline-block;
}
.tntd-rc-select-arrow::before {
display: none;
}
.tntd-rc-select-arrow .tntd-rc-select-arrow-icon {
display: block;
}
.tntd-rc-select-arrow .anticon {
vertical-align: top;
transition: transform 0.3s;
}
.tntd-rc-select-arrow .anticon > svg {
vertical-align: top;
}
.tntd-rc-select-arrow .anticon:not(.tntd-rc-select-suffix) {
pointer-events: auto;
}
.tntd-rc-select-disabled .tntd-rc-select-arrow {
cursor: not-allowed;
}
.tntd-rc-select-arrow > *:not(:last-child) {
margin-inline-end: 8px;
}
.tntd-rc-select-clear {
position: absolute;
top: 50%;
right: 11px;
z-index: 1;
display: inline-block;
width: 12px;
height: 12px;
margin-top: -8px;
color: rgba(0, 0, 0, 0.25);
font-size: 12px;
font-style: normal;
line-height: 1;
text-align: center;
text-transform: none;
background: #fff;
cursor: pointer;
opacity: 0;
transition: color 0.3s ease, opacity 0.15s ease;
text-rendering: auto;
}
.tntd-rc-select-clear::before {
display: block;
}
.tntd-rc-select-clear:hover {
color: rgba(0, 0, 0, 0.45);
}
.tntd-rc-select:hover .tntd-rc-select-clear {
opacity: 1;
}
.tntd-rc-select:hover:has(.tntd-rc-select-clear) .tntd-rc-select-arrow {
display: none;
}
.tntd-rc-select-dropdown {
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
font-feature-settings: 'tnum';
position: absolute;
top: -9999px;
left: -9999px;
z-index: 1050;
box-sizing: border-box;
padding: 4px 0;
overflow: hidden;
font-size: 14px;
font-variant: initial;
background-color: #fff;
border-radius: 2px;
outline: none;
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 9px 28px 8px rgba(0, 0, 0, 0.05);
}
.tntd-rc-select-dropdown.tntd-rc-slide-up-enter.tntd-rc-slide-up-enter-active.tntd-rc-select-dropdown-placement-bottomLeft,
.tntd-rc-select-dropdown.tntd-rc-slide-up-appear.tntd-rc-slide-up-appear-active.tntd-rc-select-dropdown-placement-bottomLeft {
animation-name: antSlideUpIn;
}
.tntd-rc-select-dropdown.tntd-rc-slide-up-enter.tntd-rc-slide-up-enter-active.tntd-rc-select-dropdown-placement-topLeft,
.tntd-rc-select-dropdown.tntd-rc-slide-up-appear.tntd-rc-slide-up-appear-active.tntd-rc-select-dropdown-placement-topLeft {
animation-name: antSlideDownIn;
}
.tntd-rc-select-dropdown.tntd-rc-slide-up-leave.tntd-rc-slide-up-leave-active.tntd-rc-select-dropdown-placement-bottomLeft {
animation-name: antSlideUpOut;
}
.tntd-rc-select-dropdown.tntd-rc-slide-up-leave.tntd-rc-slide-up-leave-active.tntd-rc-select-dropdown-placement-topLeft {
animation-name: antSlideDownOut;
}
.tntd-rc-select-dropdown-hidden {
display: none;
}
.tntd-rc-select-dropdown-empty {
color: rgba(0, 0, 0, 0.25);
}
.tntd-rc-select-item-empty {
position: relative;
display: block;
min-height: 32px;
padding: 5px 12px;
color: rgba(0, 0, 0, 0.85);
font-weight: normal;
font-size: 14px;
line-height: 22px;
color: rgba(0, 0, 0, 0.25);
text-align: center;
}
.tntd-rc-select-item {
position: relative;
display: block;
min-height: 32px;
padding: 5px 12px;
color: rgba(0, 0, 0, 0.85);
font-weight: normal;
font-size: 14px;
line-height: 22px;
cursor: pointer;
transition: background 0.3s ease;
}
.tntd-rc-select-item-group {
color: rgba(0, 0, 0, 0.45);
font-size: 12px;
cursor: default;
}
.tntd-rc-select-item-option {
display: flex;
}
.tntd-rc-select-item-option-content {
flex: auto;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.tntd-rc-select-item-option-state {
flex: none;
}
.tntd-rc-select-item-option-active:not(.tntd-rc-select-item-option-disabled) {
background-color: @blue-1;
}
.tntd-rc-select-item-option-selected:not(.tntd-rc-select-item-option-disabled) {
color: rgba(0, 0, 0, 0.85);
font-weight: 600;
background-color: #e6f7ff;
}
.tntd-rc-select-item-option-selected:not(.tntd-rc-select-item-option-disabled)
.tntd-rc-select-item-option-state {
color: @blue-6;
}
.tntd-rc-select-item-option-disabled {
color: rgba(0, 0, 0, 0.25);
cursor: not-allowed;
}
.tntd-rc-select-item-option-disabled.tntd-rc-select-item-option-selected {
background-color: #f5f5f5;
}
.tntd-rc-select-item-option-grouped {
padding-left: 24px;
}
.tntd-rc-select-lg {
font-size: 16px;
}
.tntd-rc-select-borderless .tntd-rc-select-selector {
background-color: transparent ;
border-color: transparent ;
box-shadow: none ;
}
.tntd-rc-select.tntd-rc-select-in-form-item {
width: 100%;
}
.tntd-rc-select-compact-item:not(.tntd-rc-select-compact-last-item) {
margin-right: -1px;
}
.tntd-rc-select-compact-item:not(
.tntd-rc-select-compact-last-item
).tntd-rc-select-compact-item-rtl {
margin-right: 0;
margin-left: -1px;
}
.tntd-rc-select-compact-item:hover > *,
.tntd-rc-select-compact-item:focus > *,
.tntd-rc-select-compact-item:active > * {
z-index: 2;
}
.tntd-rc-select-compact-item.tntd-rc-select-focused > * {
z-index: 2;
}
.tntd-rc-select-compact-item[disabled] > * {
z-index: 0;
}
.tntd-rc-select-compact-item:not(.tntd-rc-select-compact-first-item):not(
.tntd-rc-select-compact-last-item
).tntd-rc-select
> .tntd-rc-select-selector {
border-radius: 0;
}
.tntd-rc-select-compact-item.tntd-rc-select-compact-first-item.tntd-rc-select:not(
.tntd-rc-select-compact-last-item
):not(.tntd-rc-select-compact-item-rtl)
> .tntd-rc-select-selector {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.tntd-rc-select-compact-item.tntd-rc-select-compact-last-item.tntd-rc-select:not(
.tntd-rc-select-compact-first-item
):not(.tntd-rc-select-compact-item-rtl)
> .tntd-rc-select-selector {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.tntd-rc-select-compact-item.tntd-rc-select.tntd-rc-select-compact-first-item.tntd-rc-select-compact-item-rtl:not(
.tntd-rc-select-compact-last-item
)
> .tntd-rc-select-selector {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.tntd-rc-select-compact-item.tntd-rc-select.tntd-rc-select-compact-last-item.tntd-rc-select-compact-item-rtl:not(
.tntd-rc-select-compact-first-item
)
> .tntd-rc-select-selector {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.tntd-rc-select-rtl {
direction: rtl;
}
.tntd-rc-select-rtl .tntd-rc-select-arrow {
right: initial;
left: 11px;
}
.tntd-rc-select-rtl .tntd-rc-select-clear {
right: initial;
left: 11px;
}
.tntd-rc-select-dropdown-rtl {
direction: rtl;
}
.tntd-rc-select-dropdown-rtl .tntd-rc-select-item-option-grouped {
padding-right: 24px;
padding-left: 12px;
}
.tntd-rc-select-rtl.tntd-rc-select-multiple.tntd-rc-select-show-arrow .tntd-rc-select-selector,
.tntd-rc-select-rtl.tntd-rc-select-multiple.tntd-rc-select-allow-clear .tntd-rc-select-selector {
padding-right: 4px;
padding-left: 24px;
}
.tntd-rc-select-rtl.tntd-rc-select-multiple .tntd-rc-select-selection-item {
text-align: right;
}
.tntd-rc-select-rtl.tntd-rc-select-multiple .tntd-rc-select-selection-item-content {
margin-right: 0;
margin-left: 4px;
text-align: right;
}
.tntd-rc-select-rtl.tntd-rc-select-multiple .tntd-rc-select-selection-search-mirror {
right: 0;
left: auto;
}
.tntd-rc-select-rtl.tntd-rc-select-multiple .tntd-rc-select-selection-placeholder {
right: 11px;
left: auto;
}
.tntd-rc-select-rtl.tntd-rc-select-multiple.tntd-rc-select-sm
.tntd-rc-select-selection-placeholder {
right: 7px;
}
.tntd-rc-select-rtl.tntd-rc-select-single .tntd-rc-select-selector .tntd-rc-select-selection-item,
.tntd-rc-select-rtl.tntd-rc-select-single
.tntd-rc-select-selector
.tntd-rc-select-selection-placeholder {
right: 0;
left: 9px;
text-align: right;
}
.tntd-rc-select-rtl.tntd-rc-select-single.tntd-rc-select-show-arrow
.tntd-rc-select-selection-search {
right: 11px;
left: 25px;
}
.tntd-rc-select-rtl.tntd-rc-select-single.tntd-rc-select-show-arrow .tntd-rc-select-selection-item,
.tntd-rc-select-rtl.tntd-rc-select-single.tntd-rc-select-show-arrow
.tntd-rc-select-selection-placeholder {
padding-right: 0;
padding-left: 18px;
}
.tntd-rc-select-rtl.tntd-rc-select-single.tntd-rc-select-sm:not(
.tntd-rc-select-customize-input
).tntd-rc-select-show-arrow
.tntd-rc-select-selection-search {
right: 6px;
}
.tntd-rc-select-rtl.tntd-rc-select-single.tntd-rc-select-sm:not(
.tntd-rc-select-customize-input
).tntd-rc-select-show-arrow
.tntd-rc-select-selection-item,
.tntd-rc-select-rtl.tntd-rc-select-single.tntd-rc-select-sm:not(
.tntd-rc-select-customize-input
).tntd-rc-select-show-arrow
.tntd-rc-select-selection-placeholder {
padding-right: 0;
padding-left: 21px;
}
.tntd-rc-select:not(.tntd-rc-select-customize-input) .tntd-rc-select-selector {
border-radius: @border-radius-base;
}
.tntd-rc-select{
&:hover{
.tntd-rc-select-arrow{
color: @text-color;
}
}
}
.has-error{
.tntd-rc-select:not(.tntd-rc-select-customize-input) .tntd-rc-select-selector {
border-color: @red-6;
box-shadow: none ;
}
.tntd-rc-select-focused:not(.tntd-rc-select-disabled).tntd-rc-select:not(
.tntd-rc-select-customize-input
) .tntd-rc-select-selector {
border-color: @red-6;
box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
}
.tntd-rc-select-arrow{
color: #17233d;
}