tntd
Version:
tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。
2,262 lines (1,896 loc) • 52.3 kB
text/less
[class*=tntd-] input::-ms-clear,
[class*=tntd-] input::-ms-reveal,
[class*=tntd-]::-ms-clear,
[class^=tntd-] input::-ms-clear,
[class^=tntd-] input::-ms-reveal,
[class^=tntd-]::-ms-clear {
display: none
}
.tntd-fade-appear,
.tntd-fade-enter,
.tntd-fade-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-fade-appear.tntd-fade-appear-active,
.tntd-fade-enter.tntd-fade-enter-active {
animation-name: antFadeIn;
animation-play-state: running
}
.tntd-fade-leave.tntd-fade-leave-active {
animation-name: antFadeOut;
animation-play-state: running;
pointer-events: none
}
.tntd-fade-appear,
.tntd-fade-enter {
animation-timing-function: linear;
opacity: 0
}
.tntd-fade-leave {
animation-timing-function: linear
}
@keyframes antFadeIn {
0% {
opacity: 0
}
to {
opacity: 1
}
}
@keyframes antFadeOut {
0% {
opacity: 1
}
to {
opacity: 0
}
}
.tntd-move-up-appear,
.tntd-move-up-enter,
.tntd-move-up-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-move-up-appear.tntd-move-up-appear-active,
.tntd-move-up-enter.tntd-move-up-enter-active {
animation-name: antMoveUpIn;
animation-play-state: running
}
.tntd-move-up-leave.tntd-move-up-leave-active {
animation-name: antMoveUpOut;
animation-play-state: running;
pointer-events: none
}
.tntd-move-up-appear,
.tntd-move-up-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0
}
.tntd-move-up-leave {
animation-timing-function: cubic-bezier(.6, .04, .98, .34)
}
.tntd-move-down-appear,
.tntd-move-down-enter,
.tntd-move-down-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-move-down-appear.tntd-move-down-appear-active,
.tntd-move-down-enter.tntd-move-down-enter-active {
animation-name: antMoveDownIn;
animation-play-state: running
}
.tntd-move-down-leave.tntd-move-down-leave-active {
animation-name: antMoveDownOut;
animation-play-state: running;
pointer-events: none
}
.tntd-move-down-appear,
.tntd-move-down-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0
}
.tntd-move-down-leave {
animation-timing-function: cubic-bezier(.6, .04, .98, .34)
}
.tntd-move-left-appear,
.tntd-move-left-enter,
.tntd-move-left-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-move-left-appear.tntd-move-left-appear-active,
.tntd-move-left-enter.tntd-move-left-enter-active {
animation-name: antMoveLeftIn;
animation-play-state: running
}
.tntd-move-left-leave.tntd-move-left-leave-active {
animation-name: antMoveLeftOut;
animation-play-state: running;
pointer-events: none
}
.tntd-move-left-appear,
.tntd-move-left-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0
}
.tntd-move-left-leave {
animation-timing-function: cubic-bezier(.6, .04, .98, .34)
}
.tntd-move-right-appear,
.tntd-move-right-enter,
.tntd-move-right-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-move-right-appear.tntd-move-right-appear-active,
.tntd-move-right-enter.tntd-move-right-enter-active {
animation-name: antMoveRightIn;
animation-play-state: running
}
.tntd-move-right-leave.tntd-move-right-leave-active {
animation-name: antMoveRightOut;
animation-play-state: running;
pointer-events: none
}
.tntd-move-right-appear,
.tntd-move-right-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0
}
.tntd-move-right-leave {
animation-timing-function: cubic-bezier(.6, .04, .98, .34)
}
@keyframes antMoveDownIn {
0% {
opacity: 0;
transform: translateY(100%);
transform-origin: 0 0
}
to {
opacity: 1;
transform: translateY(0);
transform-origin: 0 0
}
}
@keyframes antMoveDownOut {
0% {
opacity: 1;
transform: translateY(0);
transform-origin: 0 0
}
to {
opacity: 0;
transform: translateY(100%);
transform-origin: 0 0
}
}
@keyframes antMoveLeftIn {
0% {
opacity: 0;
transform: translateX(-100%);
transform-origin: 0 0
}
to {
opacity: 1;
transform: translateX(0);
transform-origin: 0 0
}
}
@keyframes antMoveLeftOut {
0% {
opacity: 1;
transform: translateX(0);
transform-origin: 0 0
}
to {
opacity: 0;
transform: translateX(-100%);
transform-origin: 0 0
}
}
@keyframes antMoveRightIn {
0% {
opacity: 0;
transform: translateX(100%);
transform-origin: 0 0
}
to {
opacity: 1;
transform: translateX(0);
transform-origin: 0 0
}
}
@keyframes antMoveRightOut {
0% {
opacity: 1;
transform: translateX(0);
transform-origin: 0 0
}
to {
opacity: 0;
transform: translateX(100%);
transform-origin: 0 0
}
}
@keyframes antMoveUpIn {
0% {
opacity: 0;
transform: translateY(-100%);
transform-origin: 0 0
}
to {
opacity: 1;
transform: translateY(0);
transform-origin: 0 0
}
}
@keyframes antMoveUpOut {
0% {
opacity: 1;
transform: translateY(0);
transform-origin: 0 0
}
to {
opacity: 0;
transform: translateY(-100%);
transform-origin: 0 0
}
}
@keyframes loadingCircle {
to {
transform: rotate(1turn)
}
}
[tntd-click-animating-without-extra-node=true],
[tntd-click-animating=true] {
position: relative
}
.tntd-click-animating-node,
[tntd-click-animating-without-extra-node=true]:after {
animation: fadeEffect 2s cubic-bezier(.08, .82, .17, 1), waveEffect .4s cubic-bezier(.08, .82, .17, 1);
animation-fill-mode: forwards;
border-radius: inherit;
bottom: 0;
box-shadow: 0 0 0 0 @blue-6;
content: "";
display: block;
left: 0;
opacity: .2;
pointer-events: none;
position: absolute;
right: 0;
top: 0
}
@keyframes waveEffect {
to {
box-shadow: 0 0 0 @blue-6;
box-shadow: 0 0 0 6px @blue-6;
box-shadow: 0 0 0 6px @blue-6
}
}
@keyframes fadeEffect {
to {
opacity: 0
}
}
.tntd-slide-up-appear,
.tntd-slide-up-enter,
.tntd-slide-up-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-slide-up-appear.tntd-slide-up-appear-active,
.tntd-slide-up-enter.tntd-slide-up-enter-active {
animation-name: antSlideUpIn;
animation-play-state: running
}
.tntd-slide-up-leave.tntd-slide-up-leave-active {
animation-name: antSlideUpOut;
animation-play-state: running;
pointer-events: none
}
.tntd-slide-up-appear,
.tntd-slide-up-enter {
animation-timing-function: cubic-bezier(.23, 1, .32, 1);
opacity: 0
}
.tntd-slide-up-leave {
animation-timing-function: cubic-bezier(.755, .05, .855, .06)
}
.tntd-slide-down-appear,
.tntd-slide-down-enter,
.tntd-slide-down-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-slide-down-appear.tntd-slide-down-appear-active,
.tntd-slide-down-enter.tntd-slide-down-enter-active {
animation-name: antSlideDownIn;
animation-play-state: running
}
.tntd-slide-down-leave.tntd-slide-down-leave-active {
animation-name: antSlideDownOut;
animation-play-state: running;
pointer-events: none
}
.tntd-slide-down-appear,
.tntd-slide-down-enter {
animation-timing-function: cubic-bezier(.23, 1, .32, 1);
opacity: 0
}
.tntd-slide-down-leave {
animation-timing-function: cubic-bezier(.755, .05, .855, .06)
}
.tntd-slide-left-appear,
.tntd-slide-left-enter,
.tntd-slide-left-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-slide-left-appear.tntd-slide-left-appear-active,
.tntd-slide-left-enter.tntd-slide-left-enter-active {
animation-name: antSlideLeftIn;
animation-play-state: running
}
.tntd-slide-left-leave.tntd-slide-left-leave-active {
animation-name: antSlideLeftOut;
animation-play-state: running;
pointer-events: none
}
.tntd-slide-left-appear,
.tntd-slide-left-enter {
animation-timing-function: cubic-bezier(.23, 1, .32, 1);
opacity: 0
}
.tntd-slide-left-leave {
animation-timing-function: cubic-bezier(.755, .05, .855, .06)
}
.tntd-slide-right-appear,
.tntd-slide-right-enter,
.tntd-slide-right-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-slide-right-appear.tntd-slide-right-appear-active,
.tntd-slide-right-enter.tntd-slide-right-enter-active {
animation-name: antSlideRightIn;
animation-play-state: running
}
.tntd-slide-right-leave.tntd-slide-right-leave-active {
animation-name: antSlideRightOut;
animation-play-state: running;
pointer-events: none
}
.tntd-slide-right-appear,
.tntd-slide-right-enter {
animation-timing-function: cubic-bezier(.23, 1, .32, 1);
opacity: 0
}
.tntd-slide-right-leave {
animation-timing-function: cubic-bezier(.755, .05, .855, .06)
}
@keyframes antSlideUpIn {
0% {
opacity: 0;
transform: scaleY(.8);
transform-origin: 0 0
}
to {
opacity: 1;
transform: scaleY(1);
transform-origin: 0 0
}
}
@keyframes antSlideUpOut {
0% {
opacity: 1;
transform: scaleY(1);
transform-origin: 0 0
}
to {
opacity: 0;
transform: scaleY(.8);
transform-origin: 0 0
}
}
@keyframes antSlideDownIn {
0% {
opacity: 0;
transform: scaleY(.8);
transform-origin: 100% 100%
}
to {
opacity: 1;
transform: scaleY(1);
transform-origin: 100% 100%
}
}
@keyframes antSlideDownOut {
0% {
opacity: 1;
transform: scaleY(1);
transform-origin: 100% 100%
}
to {
opacity: 0;
transform: scaleY(.8);
transform-origin: 100% 100%
}
}
@keyframes antSlideLeftIn {
0% {
opacity: 0;
transform: scaleX(.8);
transform-origin: 0 0
}
to {
opacity: 1;
transform: scaleX(1);
transform-origin: 0 0
}
}
@keyframes antSlideLeftOut {
0% {
opacity: 1;
transform: scaleX(1);
transform-origin: 0 0
}
to {
opacity: 0;
transform: scaleX(.8);
transform-origin: 0 0
}
}
@keyframes antSlideRightIn {
0% {
opacity: 0;
transform: scaleX(.8);
transform-origin: 100% 0
}
to {
opacity: 1;
transform: scaleX(1);
transform-origin: 100% 0
}
}
@keyframes antSlideRightOut {
0% {
opacity: 1;
transform: scaleX(1);
transform-origin: 100% 0
}
to {
opacity: 0;
transform: scaleX(.8);
transform-origin: 100% 0
}
}
.tntd-zoom-appear,
.tntd-zoom-enter,
.tntd-zoom-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-zoom-appear.tntd-zoom-appear-active,
.tntd-zoom-enter.tntd-zoom-enter-active {
animation-name: antZoomIn;
animation-play-state: running
}
.tntd-zoom-leave.tntd-zoom-leave-active {
animation-name: antZoomOut;
animation-play-state: running;
pointer-events: none
}
.tntd-zoom-appear,
.tntd-zoom-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0;
transform: scale(0)
}
.tntd-zoom-appear-prepare,
.tntd-zoom-enter-prepare {
transform: none
}
.tntd-zoom-leave {
animation-timing-function: cubic-bezier(.78, .14, .15, .86)
}
.tntd-zoom-big-appear,
.tntd-zoom-big-enter,
.tntd-zoom-big-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-zoom-big-appear.tntd-zoom-big-appear-active,
.tntd-zoom-big-enter.tntd-zoom-big-enter-active {
animation-name: antZoomBigIn;
animation-play-state: running
}
.tntd-zoom-big-leave.tntd-zoom-big-leave-active {
animation-name: antZoomBigOut;
animation-play-state: running;
pointer-events: none
}
.tntd-zoom-big-appear,
.tntd-zoom-big-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0;
transform: scale(0)
}
.tntd-zoom-big-appear-prepare,
.tntd-zoom-big-enter-prepare {
transform: none
}
.tntd-zoom-big-leave {
animation-timing-function: cubic-bezier(.78, .14, .15, .86)
}
.tntd-zoom-big-fast-appear,
.tntd-zoom-big-fast-enter,
.tntd-zoom-big-fast-leave {
animation-duration: .1s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-zoom-big-fast-appear.tntd-zoom-big-fast-appear-active,
.tntd-zoom-big-fast-enter.tntd-zoom-big-fast-enter-active {
animation-name: antZoomBigIn;
animation-play-state: running
}
.tntd-zoom-big-fast-leave.tntd-zoom-big-fast-leave-active {
animation-name: antZoomBigOut;
animation-play-state: running;
pointer-events: none
}
.tntd-zoom-big-fast-appear,
.tntd-zoom-big-fast-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0;
transform: scale(0)
}
.tntd-zoom-big-fast-appear-prepare,
.tntd-zoom-big-fast-enter-prepare {
transform: none
}
.tntd-zoom-big-fast-leave {
animation-timing-function: cubic-bezier(.78, .14, .15, .86)
}
.tntd-zoom-up-appear,
.tntd-zoom-up-enter,
.tntd-zoom-up-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-zoom-up-appear.tntd-zoom-up-appear-active,
.tntd-zoom-up-enter.tntd-zoom-up-enter-active {
animation-name: antZoomUpIn;
animation-play-state: running
}
.tntd-zoom-up-leave.tntd-zoom-up-leave-active {
animation-name: antZoomUpOut;
animation-play-state: running;
pointer-events: none
}
.tntd-zoom-up-appear,
.tntd-zoom-up-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0;
transform: scale(0)
}
.tntd-zoom-up-appear-prepare,
.tntd-zoom-up-enter-prepare {
transform: none
}
.tntd-zoom-up-leave {
animation-timing-function: cubic-bezier(.78, .14, .15, .86)
}
.tntd-zoom-down-appear,
.tntd-zoom-down-enter,
.tntd-zoom-down-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-zoom-down-appear.tntd-zoom-down-appear-active,
.tntd-zoom-down-enter.tntd-zoom-down-enter-active {
animation-name: antZoomDownIn;
animation-play-state: running
}
.tntd-zoom-down-leave.tntd-zoom-down-leave-active {
animation-name: antZoomDownOut;
animation-play-state: running;
pointer-events: none
}
.tntd-zoom-down-appear,
.tntd-zoom-down-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0;
transform: scale(0)
}
.tntd-zoom-down-appear-prepare,
.tntd-zoom-down-enter-prepare {
transform: none
}
.tntd-zoom-down-leave {
animation-timing-function: cubic-bezier(.78, .14, .15, .86)
}
.tntd-zoom-left-appear,
.tntd-zoom-left-enter,
.tntd-zoom-left-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-zoom-left-appear.tntd-zoom-left-appear-active,
.tntd-zoom-left-enter.tntd-zoom-left-enter-active {
animation-name: antZoomLeftIn;
animation-play-state: running
}
.tntd-zoom-left-leave.tntd-zoom-left-leave-active {
animation-name: antZoomLeftOut;
animation-play-state: running;
pointer-events: none
}
.tntd-zoom-left-appear,
.tntd-zoom-left-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0;
transform: scale(0)
}
.tntd-zoom-left-appear-prepare,
.tntd-zoom-left-enter-prepare {
transform: none
}
.tntd-zoom-left-leave {
animation-timing-function: cubic-bezier(.78, .14, .15, .86)
}
.tntd-zoom-right-appear,
.tntd-zoom-right-enter,
.tntd-zoom-right-leave {
animation-duration: .2s;
animation-fill-mode: both;
animation-play-state: paused
}
.tntd-zoom-right-appear.tntd-zoom-right-appear-active,
.tntd-zoom-right-enter.tntd-zoom-right-enter-active {
animation-name: antZoomRightIn;
animation-play-state: running
}
.tntd-zoom-right-leave.tntd-zoom-right-leave-active {
animation-name: antZoomRightOut;
animation-play-state: running;
pointer-events: none
}
.tntd-zoom-right-appear,
.tntd-zoom-right-enter {
animation-timing-function: cubic-bezier(.08, .82, .17, 1);
opacity: 0;
transform: scale(0)
}
.tntd-zoom-right-appear-prepare,
.tntd-zoom-right-enter-prepare {
transform: none
}
.tntd-zoom-right-leave {
animation-timing-function: cubic-bezier(.78, .14, .15, .86)
}
@keyframes antZoomIn {
0% {
opacity: 0;
transform: scale(.2)
}
to {
opacity: 1;
transform: scale(1)
}
}
@keyframes antZoomOut {
0% {
transform: scale(1)
}
to {
opacity: 0;
transform: scale(.2)
}
}
@keyframes antZoomBigIn {
0% {
opacity: 0;
transform: scale(.8)
}
to {
opacity: 1;
transform: scale(1)
}
}
@keyframes antZoomBigOut {
0% {
transform: scale(1)
}
to {
opacity: 0;
transform: scale(.8)
}
}
@keyframes antZoomUpIn {
0% {
opacity: 0;
transform: scale(.8);
transform-origin: 50% 0
}
to {
transform: scale(1);
transform-origin: 50% 0
}
}
@keyframes antZoomUpOut {
0% {
transform: scale(1);
transform-origin: 50% 0
}
to {
opacity: 0;
transform: scale(.8);
transform-origin: 50% 0
}
}
@keyframes antZoomLeftIn {
0% {
opacity: 0;
transform: scale(.8);
transform-origin: 0 50%
}
to {
transform: scale(1);
transform-origin: 0 50%
}
}
@keyframes antZoomLeftOut {
0% {
transform: scale(1);
transform-origin: 0 50%
}
to {
opacity: 0;
transform: scale(.8);
transform-origin: 0 50%
}
}
@keyframes antZoomRightIn {
0% {
opacity: 0;
transform: scale(.8);
transform-origin: 100% 50%
}
to {
transform: scale(1);
transform-origin: 100% 50%
}
}
@keyframes antZoomRightOut {
0% {
transform: scale(1);
transform-origin: 100% 50%
}
to {
opacity: 0;
transform: scale(.8);
transform-origin: 100% 50%
}
}
@keyframes antZoomDownIn {
0% {
opacity: 0;
transform: scale(.8);
transform-origin: 50% 100%
}
to {
transform: scale(1);
transform-origin: 50% 100%
}
}
@keyframes antZoomDownOut {
0% {
transform: scale(1);
transform-origin: 50% 100%
}
to {
opacity: 0;
transform: scale(.8);
transform-origin: 50% 100%
}
}
.tntd-motion-collapse-legacy {
overflow: hidden
}
.tntd-motion-collapse,
.tntd-motion-collapse-legacy-active {
transition: height .2s cubic-bezier(.645, .045, .355, 1), opacity .2s cubic-bezier(.645, .045, .355, 1) !important
}
.tntd-motion-collapse {
overflow: hidden
}
@keyframes antCheckboxEffect {
0% {
opacity: .5;
transform: scale(1)
}
to {
opacity: 0;
transform: scale(1.6)
}
}
.tntd-cascader-checkbox {
font-feature-settings: "tnum", "tnum";
box-sizing: border-box;
color: rgba(0, 0, 0, .85);
cursor: pointer;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
line-height: 1;
list-style: none;
margin: 0;
outline: none;
padding: 0;
position: relative;
top: .2em;
white-space: nowrap
}
.tntd-cascader-checkbox-input:focus+.tntd-cascader-checkbox-inner,
.tntd-cascader-checkbox-wrapper:hover .tntd-cascader-checkbox-inner,
.tntd-cascader-checkbox:hover .tntd-cascader-checkbox-inner {
border-color: @blue-6
}
.tntd-cascader-checkbox-checked:after {
animation: antCheckboxEffect .36s ease-in-out;
animation-fill-mode: backwards;
border: 1px solid @blue-6;
border-radius: 2px;
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
visibility: hidden;
width: 100%
}
.tntd-cascader-checkbox-wrapper:hover .tntd-cascader-checkbox:after,
.tntd-cascader-checkbox:hover:after {
visibility: visible
}
.tntd-cascader-checkbox-inner {
background-color: @white;
border: 1px solid @checkbox-border;
border-collapse: initial;
border-radius: 2px;
direction: ltr;
display: block;
height: 14px;
left: 0;
position: relative;
top: 0;
transition: all .3s;
width: 14px;
}
.tntd-cascader-checkbox-inner:after {
border: 1px solid @white;
border-left: 0;
border-top: 0;
content: " ";
display: table;
height: 7px;
left: 21.5%;
opacity: 0;
position: absolute;
top: 50%;
transform: rotate(45deg) scale(0) translate(-50%, -50%);
transition: all .1s cubic-bezier(.71, -.46, .88, .6), opacity .1s;
width: 4px
}
.tntd-cascader-checkbox-input {
bottom: 0;
cursor: pointer;
height: 100%;
left: 0;
opacity: 0;
position: absolute;
right: 0;
top: 0;
width: 100%;
z-index: 1
}
.tntd-cascader-checkbox-checked .tntd-cascader-checkbox-inner:after {
border: 1px solid @white;
border-left: 0;
border-top: 0;
content: " ";
display: table;
opacity: 1;
position: absolute;
transform: rotate(45deg) scale(1) translate(-50%, -50%);
transition: all .2s cubic-bezier(.12, .4, .29, 1.46) .1s
}
.tntd-cascader-checkbox-checked .tntd-cascader-checkbox-inner {
background-color: @blue-6;
border-color: @blue-6
}
.tntd-cascader-checkbox-disabled {
cursor: not-allowed
}
.tntd-cascader-checkbox-disabled.tntd-cascader-checkbox-checked .tntd-cascader-checkbox-inner:after {
animation-name: none;
border-color: rgba(0, 0, 0, .25)
}
.tntd-cascader-checkbox-disabled .tntd-cascader-checkbox-input {
cursor: not-allowed;
pointer-events: none
}
.tntd-cascader-checkbox-disabled .tntd-cascader-checkbox-inner {
background-color: @bg-grey-default;
border-color: @checkbox-border !important
}
.tntd-cascader-checkbox-disabled .tntd-cascader-checkbox-inner:after {
animation-name: none;
border-collapse: initial;
border-color: @bg-grey-default
}
.tntd-cascader-checkbox-disabled+span {
color: rgba(0, 0, 0, .25);
cursor: not-allowed
}
.tntd-cascader-checkbox-disabled:hover:after,
.tntd-cascader-checkbox-wrapper:hover .tntd-cascader-checkbox-disabled:after {
visibility: hidden
}
.tntd-cascader-checkbox-wrapper {
font-feature-settings: "tnum", "tnum";
align-items: baseline;
box-sizing: border-box;
color: rgba(0, 0, 0, .85);
cursor: pointer;
display: inline-flex;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
line-height: inherit;
list-style: none;
margin: 0;
padding: 0
}
.tntd-cascader-checkbox-wrapper:after {
content: "\a0";
display: inline-block;
overflow: hidden;
width: 0
}
.tntd-cascader-checkbox-wrapper.tntd-cascader-checkbox-wrapper-disabled {
cursor: not-allowed
}
.tntd-cascader-checkbox-wrapper+.tntd-cascader-checkbox-wrapper {
margin-left: 8px
}
.tntd-cascader-checkbox-wrapper.tntd-cascader-checkbox-wrapper-in-form-item input[type=checkbox] {
height: 14px;
width: 14px
}
.tntd-cascader-checkbox+span {
padding-left: 8px;
padding-right: 8px
}
.tntd-cascader-checkbox-group {
font-feature-settings: "tnum", "tnum";
box-sizing: border-box;
color: rgba(0, 0, 0, .85);
display: inline-block;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
margin: 0;
padding: 0
}
.tntd-cascader-checkbox-group-item {
margin-right: 8px
}
.tntd-cascader-checkbox-group-item:last-child {
margin-right: 0
}
.tntd-cascader-checkbox-group-item+.tntd-cascader-checkbox-group-item {
margin-left: 0
}
.tntd-cascader-checkbox-indeterminate .tntd-cascader-checkbox-inner {
background-color: @white;
border-color: @checkbox-border;
}
.tntd-cascader-checkbox-indeterminate .tntd-cascader-checkbox-inner:after {
background-color: @blue-6;
border: 0;
content: " ";
height: 8px;
left: 50%;
opacity: 1;
top: 50%;
transform: translate(-50%, -50%) scale(1);
width: 8px
}
.tntd-cascader-checkbox-indeterminate.tntd-cascader-checkbox-disabled .tntd-cascader-checkbox-inner:after {
background-color: rgba(0, 0, 0, .25);
border-color: rgba(0, 0, 0, .25)
}
.tntd-cascader {
width: 300px
}
.tntd-cascader-checkbox {
margin-right: 8px;
top: 0
}
.tntd-cascader-menus {
align-items: flex-start;
display: flex;
flex-wrap: nowrap
}
.tntd-cascader-menus.tntd-cascader-menu-empty .tntd-cascader-menu {
height: auto;
width: 100%
}
.tntd-cascader-menu {
-ms-overflow-style: -ms-autohiding-scrollbar;
border-right: 1px solid @grey-split;
flex-grow: 1;
height: 180px;
list-style: none;
margin: -4px 0;
min-width: 111px;
overflow: hidden;
padding: 4px 0;
vertical-align: top;
&:last-child{
border-right: 0;
}
}
.tntd-cascader-menu-item {
align-items: center;
cursor: pointer;
display: flex;
flex-wrap: nowrap;
line-height: 26px;
overflow: hidden;
padding: 5px 12px;
text-overflow: ellipsis;
transition: all .3s;
white-space: nowrap
}
.tntd-cascader-menu-item:hover {
background: @bg-grey-default
}
.tntd-cascader-menu-item-disabled {
color: rgba(0, 0, 0, .25);
cursor: not-allowed
}
.tntd-cascader-menu-item-disabled:hover {
background: transparent
}
.tntd-cascader-menu-empty .tntd-cascader-menu-item {
color: rgba(0, 0, 0, .25);
cursor: default;
pointer-events: none
}
.tntd-cascader-menu-item-active:not(.tntd-cascader-menu-item-disabled),
.tntd-cascader-menu-item-active:not(.tntd-cascader-menu-item-disabled):hover {
background-color: @bg-grey-second;
// font-weight: 600
}
.tntd-cascader-menu-item-content {
flex: auto
}
.tntd-cascader-menu-item-expand .tntd-cascader-menu-item-expand-icon,
.tntd-cascader-menu-item-loading-icon {
color: rgba(0, 0, 0, .45);
font-size: 10px;
margin-left: 4px
}
.tntd-cascader-menu-item-disabled.tntd-cascader-menu-item-expand .tntd-cascader-menu-item-expand-icon,
.tntd-cascader-menu-item-disabled.tntd-cascader-menu-item-loading-icon {
color: rgba(0, 0, 0, .25)
}
.tntd-cascader-menu-item-keyword {
color: inherit;
font-weight: 600;
}
.tntd-cascader-compact-item:not(.tntd-cascader-compact-last-item):not(.tntd-cascader-compact-item-rtl) {
margin-right: -1px
}
.tntd-cascader-compact-item:not(.tntd-cascader-compact-last-item).tntd-cascader-compact-item-rtl {
margin-left: -1px
}
.tntd-cascader-compact-item:active,
.tntd-cascader-compact-item:focus,
.tntd-cascader-compact-item:hover {
z-index: 2
}
.tntd-cascader-compact-item[disabled] {
z-index: 0
}
.tntd-cascader-compact-item:not(.tntd-cascader-compact-first-item):not(.tntd-cascader-compact-last-item).tntd-cascader {
border-radius: 0
}
.tntd-cascader-compact-item.tntd-cascader.tntd-cascader-compact-first-item:not(.tntd-cascader-compact-last-item):not(.tntd-cascader-compact-item-rtl) {
border-bottom-right-radius: 0;
border-top-right-radius: 0
}
.tntd-cascader-compact-item.tntd-cascader.tntd-cascader-compact-item-rtl.tntd-cascader-compact-first-item:not(.tntd-cascader-compact-last-item),
.tntd-cascader-compact-item.tntd-cascader.tntd-cascader-compact-last-item:not(.tntd-cascader-compact-first-item):not(.tntd-cascader-compact-item-rtl) {
border-bottom-left-radius: 0;
border-top-left-radius: 0
}
.tntd-cascader-compact-item.tntd-cascader.tntd-cascader-compact-item-rtl.tntd-cascader-compact-last-item:not(.tntd-cascader-compact-first-item) {
border-bottom-right-radius: 0;
border-top-right-radius: 0
}
.tntd-cascader-rtl .tntd-cascader-menu-item-expand-icon,
.tntd-cascader-rtl .tntd-cascader-menu-item-loading-icon {
margin-left: 0;
margin-right: 4px
}
.tntd-cascader-rtl .tntd-cascader-checkbox {
margin-left: 8px;
margin-right: 0;
top: 0
}
.tntd-empty {
font-size: 14px;
line-height: 1.5715;
margin: 0 8px;
text-align: center
}
.tntd-empty-image {
height: 100px;
margin-bottom: 8px
}
.tntd-empty-image img {
height: 100%
}
.tntd-empty-image svg {
height: 100%;
margin: auto
}
.tntd-empty-footer {
margin-top: 16px
}
.tntd-empty-normal {
color: rgba(0, 0, 0, .25);
margin: 32px 0
}
.tntd-empty-normal .tntd-empty-image {
height: 40px
}
.tntd-empty-small {
color: rgba(0, 0, 0, .25);
margin: 8px 0
}
.tntd-empty-small .tntd-empty-image {
height: 35px
}
.tntd-empty-img-default-ellipse {
fill: @bg-grey-default;
fill-opacity: .8
}
.tntd-empty-img-default-path-1 {
fill: #aeb8c2
}
.tntd-empty-img-default-path-2 {
fill: url(#linearGradient-1)
}
.tntd-empty-img-default-path-3 {
fill: #f5f5f7
}
.tntd-empty-img-default-path-4,
.tntd-empty-img-default-path-5 {
fill: #dce0e6
}
.tntd-empty-img-default-g {
fill: @white
}
.tntd-empty-img-simple-ellipse {
fill: @bg-grey-default
}
.tntd-empty-img-simple-g {
stroke: @checkbox-border
}
.tntd-empty-img-simple-path {
fill: #fafafa
}
.tntd-empty-rtl {
direction: rtl
}
.tntd-select-single .tntd-select-selector {
display: flex
}
.tntd-select-single .tntd-select-selector .tntd-select-selection-search {
bottom: 0;
left: 11px;
position: absolute;
right: 11px;
top: 0
}
.tntd-select-single .tntd-select-selector .tntd-select-selection-search-input {
width: 100%
}
.tntd-select-single .tntd-select-selector .tntd-select-selection-item,
.tntd-select-single .tntd-select-selector .tntd-select-selection-placeholder {
line-height: @input-height-base;
padding: 0;
transition: all .3s
}
.tntd-select-single .tntd-select-selector .tntd-select-selection-item {
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none
}
.tntd-select-single .tntd-select-selector .tntd-select-selection-placeholder {
pointer-events: none;
transition: none
}
.tntd-select-single .tntd-select-selector .tntd-select-selection-item:after,
.tntd-select-single .tntd-select-selector .tntd-select-selection-placeholder:after,
.tntd-select-single .tntd-select-selector:after {
content: "\a0";
display: inline-block;
visibility: hidden;
width: 0
}
.tntd-select-single.tntd-select-show-arrow .tntd-select-selection-search {
right: 25px
}
.tntd-select-single.tntd-select-show-arrow .tntd-select-selection-item,
.tntd-select-single.tntd-select-show-arrow .tntd-select-selection-placeholder {
padding-right: 18px
}
.tntd-select-single.tntd-select-open .tntd-select-selection-item {
color: #bfbfbf
}
.tntd-select-single:not(.tntd-select-customize-input) .tntd-select-selector {
height: @input-height-base;
padding: 0 11px;
width: 100%
}
.tntd-select-single:not(.tntd-select-customize-input) .tntd-select-selector .tntd-select-selection-search-input {
height: @input-height-base
}
.tntd-select-single:not(.tntd-select-customize-input) .tntd-select-selector:after {
line-height: @input-height-base
}
.tntd-select-single.tntd-select-customize-input .tntd-select-selector:after {
display: none
}
.tntd-select-single.tntd-select-customize-input .tntd-select-selector .tntd-select-selection-search {
position: static;
width: 100%
}
.tntd-select-single.tntd-select-customize-input .tntd-select-selector .tntd-select-selection-placeholder {
left: 0;
padding: 0 11px;
position: absolute;
right: 0
}
.tntd-select-single.tntd-select-customize-input .tntd-select-selector .tntd-select-selection-placeholder:after {
display: none
}
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input) .tntd-select-selector {
height: 40px
}
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input) .tntd-select-selector .tntd-select-selection-item,
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input) .tntd-select-selector .tntd-select-selection-placeholder,
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input) .tntd-select-selector:after {
line-height: 38px
}
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input):not(.tntd-select-customize-input) .tntd-select-selection-search-input {
height: 38px
}
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selector {
height: 24px
}
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selector .tntd-select-selection-item,
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selector .tntd-select-selection-placeholder,
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selector:after {
line-height: 22px
}
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input):not(.tntd-select-customize-input) .tntd-select-selection-search-input {
height: 22px
}
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selection-search {
left: 7px;
right: 7px
}
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input) .tntd-select-selector {
padding: 0 7px
}
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow .tntd-select-selection-search {
right: 28px
}
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow .tntd-select-selection-item,
.tntd-select-single.tntd-select-sm:not(.tntd-select-customize-input).tntd-select-show-arrow .tntd-select-selection-placeholder {
padding-right: 21px
}
.tntd-select-single.tntd-select-lg:not(.tntd-select-customize-input) .tntd-select-selector {
padding: 0 11px
}
.tntd-select-selection-overflow {
display: flex;
flex: auto;
flex-wrap: wrap;
max-width: 100%;
position: relative
}
.tntd-select-selection-overflow-item {
align-self: center;
flex: none;
max-width: 100%;
}
.tntd-select-multiple .tntd-select-selector {
align-items: center;
display: flex;
flex-wrap: wrap;
padding: 1px 4px
}
.tntd-select-show-search.tntd-select-multiple .tntd-select-selector {
cursor: text
}
.tntd-select-disabled.tntd-select-multiple .tntd-select-selector {
background: @bg-grey-default;
cursor: not-allowed
}
.tntd-select-multiple .tntd-select-selector:after {
content: "\a0";
display: inline-block;
line-height: 22px;
margin: 1px 0;
width: 0
}
.tntd-select-multiple.tntd-select-allow-clear .tntd-select-selector,
.tntd-select-multiple.tntd-select-show-arrow .tntd-select-selector {
padding-right: 24px
}
.tntd-select-multiple .tntd-select-selection-item {
-webkit-margin-end: 4px;
-webkit-padding-start: 8px;
-webkit-padding-end: 4px;
background: @bg-grey-default;
// border: 1px solid @grey-d;
border-radius: 2px;
box-sizing: border-box;
cursor: default;
display: flex;
flex: none;
height: 22px;
line-height: 22px;
/* margin-bottom: 2px;
margin-top: 2px; */
margin-inline-end: 4px;
max-width: 100%;
padding-inline-end: 4px;
padding-inline-start: 8px;
position: relative;
transition: font-size .3s, line-height .3s, height .3s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border-radius: @border-radius-lg;
}
.tntd-select-disabled.tntd-select-multiple .tntd-select-selection-item {
border-color: @checkbox-border;
color: #bfbfbf;
cursor: not-allowed
}
.tntd-select-multiple .tntd-select-selection-item-content {
display: inline-block;
margin-right: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
font-family: PingFangSC-Regular;
font-size: 14px;
color: @text-color;
}
.tntd-select-multiple .tntd-select-selection-item-remove {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: inherit;
color: rgba(0, 0, 0, .45);
cursor: pointer;
display: inline-block;
font-size: 10px;
font-style: normal;
font-weight: 700;
line-height: 0;
line-height: inherit;
text-align: center;
text-rendering: optimizelegibility;
text-transform: none;
vertical-align: -.125em
}
.tntd-select-multiple .tntd-select-selection-item-remove>* {
line-height: 1
}
.tntd-select-multiple .tntd-select-selection-item-remove svg {
display: inline-block
}
.tntd-select-multiple .tntd-select-selection-item-remove:before {
display: none
}
.tntd-select-multiple .tntd-select-selection-item-remove .tntd-select-multiple .tntd-select-selection-item-remove-icon {
display: block
}
.tntd-select-multiple .tntd-select-selection-item-remove>.anticon {
vertical-align: middle
}
.tntd-select-multiple .tntd-select-selection-item-remove:hover {
color: rgba(0, 0, 0, .75)
}
.tntd-select-multiple .tntd-select-selection-overflow-item+.tntd-select-selection-overflow-item .tntd-select-selection-search {
-webkit-margin-start: 0;
margin-inline-start: 0
}
.tntd-select-multiple .tntd-select-selection-search {
-webkit-margin-start: 7px;
margin-inline-start: 7px;
max-width: 100%;
position: relative
}
.tntd-select-multiple .tntd-select-selection-search-input,
.tntd-select-multiple .tntd-select-selection-search-mirror {
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;
height: 24px;
line-height: 24px;
transition: all .3s
}
.tntd-select-multiple .tntd-select-selection-search-input {
min-width: 4.1px;
width: 100%
}
.tntd-select-multiple .tntd-select-selection-search-mirror {
left: 0;
position: absolute;
top: 0;
visibility: hidden;
white-space: pre;
z-index: 999
}
.tntd-select-multiple .tntd-select-selection-placeholder {
left: 11px;
position: absolute;
right: 11px;
top: 50%;
transform: translateY(-50%);
transition: all .3s
}
.tntd-select-multiple.tntd-select-lg .tntd-select-selector:after {
line-height: @input-height-base
}
.tntd-select-multiple.tntd-select-lg .tntd-select-selection-item {
line-height: @input-height-base
}
.tntd-select-multiple.tntd-select-lg .tntd-select-selection-search {
height: @input-height-base;
line-height: @input-height-base
}
.tntd-select-multiple.tntd-select-lg .tntd-select-selection-search-input,
.tntd-select-multiple.tntd-select-lg .tntd-select-selection-search-mirror {
height: @input-height-base;
line-height: @input-height-base
}
.tntd-select-multiple.tntd-select-sm .tntd-select-selector:after {
line-height: 16px
}
.tntd-select-multiple.tntd-select-sm .tntd-select-selection-item {
height: 16px;
line-height: 14px
}
.tntd-select-multiple.tntd-select-sm .tntd-select-selection-search {
height: 16px;
line-height: 16px
}
.tntd-select-multiple.tntd-select-sm .tntd-select-selection-search-input,
.tntd-select-multiple.tntd-select-sm .tntd-select-selection-search-mirror {
height: 16px;
line-height: 14px
}
.tntd-select-multiple.tntd-select-sm .tntd-select-selection-placeholder {
left: 7px
}
.tntd-select-multiple.tntd-select-sm .tntd-select-selection-search {
-webkit-margin-start: 3px;
margin-inline-start: 3px
}
.tntd-select-multiple.tntd-select-lg .tntd-select-selection-item {
height: @input-height-base;
line-height: @input-height-base
}
.tntd-select-disabled .tntd-select-selection-item-remove {
display: none
}
.tntd-select-status-error.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer) .tntd-select-selector {
background-color: @white;
border-color: @error-color !important
}
.tntd-select-status-error.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-focused .tntd-select-selector,
.tntd-select-status-error.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-open .tntd-select-selector {
border-color: @error-color;
border-right-width: 1px;
box-shadow: 0 0 0 2px rgba(255, 77, 79, .2);
outline: 0
}
.tntd-select-status-warning.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer) .tntd-select-selector {
background-color: @white;
border-color: @warning-color !important
}
.tntd-select-status-warning.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-focused .tntd-select-selector,
.tntd-select-status-warning.tntd-select:not(.tntd-select-disabled):not(.tntd-select-customize-input):not(.tntd-pagination-size-changer).tntd-select-open .tntd-select-selector {
border-color: @warning-color;
border-right-width: 1px;
box-shadow: 0 0 0 2px rgba(250, 173, 20, .2);
outline: 0
}
.tntd-select-status-error.tntd-select-has-feedback .tntd-select-clear,
.tntd-select-status-success.tntd-select-has-feedback .tntd-select-clear,
.tntd-select-status-validating.tntd-select-has-feedback .tntd-select-clear,
.tntd-select-status-warning.tntd-select-has-feedback .tntd-select-clear {
right: 28px
}
.tntd-select-status-error.tntd-select-has-feedback .tntd-select-selection-selected-value,
.tntd-select-status-success.tntd-select-has-feedback .tntd-select-selection-selected-value,
.tntd-select-status-validating.tntd-select-has-feedback .tntd-select-selection-selected-value,
.tntd-select-status-warning.tntd-select-has-feedback .tntd-select-selection-selected-value {
padding-right: 42px
}
.tntd-select {
font-feature-settings: "tnum", "tnum";
box-sizing: border-box;
color: rgba(0, 0, 0, .85);
cursor: pointer;
display: inline-block;
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
margin: 0;
padding: 0;
position: relative
}
.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector {
background-color: @white;
border: @border-width-base @border-style-base @select-border-color;
border-radius: @border-radius-base;
position: relative;
transition: all .3s cubic-bezier(.645, .045, .355, 1)
}
.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector input {
cursor: pointer
}
// compact的样式 start
.ant-input-group.ant-input-group-compact>.tntd-select>.tntd-select-selector{
border-radius: 0;
}
.ant-input-group.ant-input-group-compact>.tntd-select-multiple .tntd-select-selector{
padding-top: 3px;
padding-bottom: 3px;
}
.ant-input-group.ant-input-group-compact>*:last-child,
.ant-input-group.ant-input-group-compact>.tntd-select:last-child>.tntd-select-selector{
border-top-right-radius: @border-radius-base;
border-bottom-right-radius: @border-radius-base;
}
// compact的样式 end
.tntd-select-show-search.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector {
cursor: text
}
.tntd-select-show-search.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector input {
cursor: auto
}
.tntd-select-focused:not(.tntd-select-disabled).tntd-select:not(.tntd-select-customize-input) .tntd-select-selector {
border-color: @blue-6;
border-right-width: 1px;
outline: 0
}
.tntd-select-disabled.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector {
background: @bg-grey-default;
color: rgba(0, 0, 0, .25);
cursor: not-allowed
}
.tntd-select-multiple.tntd-select-disabled.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector {
background: @bg-grey-default
}
.tntd-select-disabled.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector input {
cursor: not-allowed
}
.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector .tntd-select-selection-search-input {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: transparent;
border: none;
margin: 0;
outline: none;
padding: 0
}
.tntd-select:not(.tntd-select-customize-input) .tntd-select-selector .tntd-select-selection-search-input::-webkit-search-cancel-button {
-webkit-appearance: none;
display: none
}
.tntd-select:not(.tntd-select-disabled):hover .tntd-select-selector {
border-color: @blue-6;
border-right-width: 1px;
cursor: pointer;
}
.tntd-select-selection-item {
flex: 1 1;
font-weight: 400;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap
}
@media (-ms-high-contrast:none) {
.tntd-select-selection-item,
.tntd-select-selection-item ::-ms-backdrop {
flex: auto
}
}
.tntd-select-selection-placeholder {
color: @input-placeholder-color;;
flex: 1 1;
overflow: hidden;
pointer-events: none;
text-overflow: ellipsis;
white-space: nowrap
}
@media (-ms-high-contrast:none) {
.tntd-select-selection-placeholder,
.tntd-select-selection-placeholder ::-ms-backdrop {
flex: auto
}
}
.tntd-select-arrow {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
align-items: center;
color: inherit;
color: @input-placeholder-color;
display: inline-block;
display: flex;
font-size: 12px;
font-style: normal;
height: 12px;
line-height: 0;
line-height: 1;
margin-top: -6px;
pointer-events: none;
position: absolute;
right: 11px;
text-align: center;
text-rendering: optimizelegibility;
text-transform: none;
top: 50%;
vertical-align: -.125em
}
.tntd-select-arrow>* {
line-height: 1
}
.tntd-select-arrow svg {
display: inline-block
}
.tntd-select-arrow:before {
display: none
}
.tntd-select-arrow .tntd-select-arrow-icon {
display: block
}
.tntd-select-arrow .anticon {
transition: transform .3s;
vertical-align: top
}
.tntd-select-arrow .anticon>svg {
vertical-align: top
}
.tntd-select-arrow .anticon:not(.tntd-select-suffix) {
pointer-events: auto
}
.tntd-select-disabled .tntd-select-arrow {
cursor: not-allowed
}
.tntd-select-arrow>:not(:last-child) {
-webkit-margin-end: 8px;
margin-inline-end: 8px
}
.tntd-select-clear {
background: @white;
color: rgba(0, 0, 0, .25);
cursor: pointer;
display: inline-block;
font-size: 12px;
font-style: normal;
height: 12px;
line-height: 1;
margin-top: -7px;
opacity: 0;
position: absolute;
right: 13px;
text-align: center;
text-rendering: auto;
text-transform: none;
top: 50%;
transition: color .3s ease, opacity .15s ease;
width: 12px;
z-index: 1
}
.tntd-select-clear:before {
display: block
}
.tntd-select-clear:hover {
color: rgba(0, 0, 0, .45)
}
.tntd-select:hover .tntd-select-clear {
opacity: 1
}
.tntd-select-dropdown {
font-feature-settings: "tnum", "tnum", ;
background-color: @white;
border-radius: 2px;
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05);
box-sizing: border-box;
color: rgba(0, 0, 0, .85);
font-size: 14px;
font-variant: tabular-nums;
font-variant: normal;
left: -9999px;
line-height: 1.5715;
list-style: none;
margin: 0;
outline: none;
overflow: hidden;
padding: 4px 0;
position: absolute;
top: -9999px;
z-index: 1050;
border-radius: @border-radius-lg;
}
.tntd-select-dropdown.tntd-slide-up-appear.tntd-slide-up-appear-active.tntd-select-dropdown-placement-bottomLeft,
.tntd-select-dropdown.tntd-slide-up-enter.tntd-slide-up-enter-active.tntd-select-dropdown-placement-bottomLeft {
animation-name: antSlideUpIn
}
.tntd-select-dropdown.tntd-slide-up-appear.tntd-slide-up-appear-active.tntd-select-dropdown-placement-topLeft,
.tntd-select-dropdown.tntd-slide-up-enter.tntd-slide-up-enter-active.tntd-select-dropdown-placement-topLeft {
animation-name: antSlideDownIn
}
.tntd-select-dropdown.tntd-slide-up-leave.tntd-slide-up-leave-active.tntd-select-dropdown-placement-bottomLeft {
animation-name: antSlideUpOut
}
.tntd-select-dropdown.tntd-slide-up-leave.tntd-slide-up-leave-active.tntd-select-dropdown-placement-topLeft {
animation-name: antSlideDownOut
}
.tntd-select-dropdown-hidden {
display: none
}
.tntd-select-dropdown-empty {
color: rgba(0, 0, 0, .25)
}
.tntd-select-item-empty {
color: rgba(0, 0, 0, .85);
color: rgba(0, 0, 0, .25)
}
.tntd-select-item,
.tntd-select-item-empty {
display: block;
font-size: 14px;
font-weight: 400;
line-height: 22px;
min-height: 28px;
padding: 5px 12px;
position: relative
}
.tntd-select-item {
color: rgba(0, 0, 0, .85);
cursor: pointer;
transition: background .3s ease
}
.tntd-select-item-group {
color: rgba(0, 0, 0, .45);
cursor: default;
font-size: 12px
}
.tntd-select-item-option {
display: flex
}
.tntd-select-item-option-content {
flex: auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap
}
.tntd-select-item-option-state {
flex: none
}
.tntd-select-item-option-active:not(.tntd-select-item-option-disabled) {
background-color: @bg-grey-default
}
.tntd-select-item-option-selected:not(.tntd-select-item-option-disabled) {
background-color: @bg-grey-second;
color: rgba(0, 0, 0, .85);
font-weight: 600
}
.tntd-select-item-option-selected:not(.tntd-select-item-option-disabled) .tntd-select-item-option-state {
color: @blue-6
}
.tntd-select-item-option-disabled {
color: rgba(0, 0, 0, .25);
cursor: not-allowed
}
.tntd-select-item-option-disabled.tntd-select-item-option-selected {
background-color: @bg-grey-default
}
.tntd-select-item-option-grouped {
padding-left: 24px
}
.tntd-select-lg {
font-size: 16px
}
.tntd-select-borderless .tntd-select-selector {
background-color: initial !important;
border-color: transparent !important;
box-shadow: none !important
}
.tntd-select.tntd-select-in-form-item {
width: 100%
}
.tntd-select-compact-item:not(.tntd-select-compact-last-item) {
margin-right: -1px
}
.tntd-select-compact-item:not(.tntd-select-compact-last-item).tntd-select-compact-item-rtl {
margin-left: -1px;
margin-right: 0
}
.tntd-select-compact-item.tntd-select-focused>*,
.tntd-select-compact-item:active>*,
.tntd-select-compact-item:focus>*,
.tntd-select-compact-item:hover>* {
z-index: 2
}
.tntd-select-compact-item[disabled]>* {
z-index: 0
}
.tntd-select-compact-item:not(.tntd-select-compact-first-item):not(.tntd-select-compact-last-item).tntd-select>.tntd-select-selector {
border-radius: 0
}
.tntd-select-compact-item.tntd-select-compact-first-item.tntd-select:not(.tntd-select-compact-last-item):not(.tntd-select-compact-item-rtl)>.tntd-select-selector {
border-bottom-right-radius: 0;
border-top-right-radius: 0
}
.tntd-select-compact-item.tntd-select-compact-last-item.tntd-select:not(.tntd-select-compact-first-item):not(.tntd-select-compact-item-rtl)>.tntd-select-selector,
.tntd-select-compact-item.tntd-select.tntd-select-compact-first-item.tntd-select-compact-item-rtl:not(.tntd-select-compact-last-item)>.tntd-select-selector {
border-bottom-left-radius: 0;
border-top-left-radius: 0
}
.tntd-select-compact-item.tntd-select.tntd-select-compact-last-item.tntd-select-compact-item-rtl:not(.tntd-select-compact-first-item)>.tntd-select-selector {
border-bottom-right-radius: 0;
border-top-right-radius: 0
}
.tntd-select-rtl {
direction: rtl
}
.tntd-select-rtl .tntd-select-arrow,
.tntd-select-rtl .tntd-select-cl