123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451 |
- .t-float-left {
- float: left;
- }
- .t-float-right {
- float: right;
- }
- @keyframes tdesign-fade-out {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
- }
- .hotspot-expanded.relative {
- position: relative;
- }
- .hotspot-expanded::after {
- content: '';
- display: block;
- position: absolute;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- transform: scale(1.5);
- }
- .t-button--size-extra-small {
- font-size: var(--td-button-extra-small-font-size, var(--td-font-size-base, 28rpx));
- padding-left: var(--td-button-extra-small-padding-horizontal, 16rpx);
- padding-right: var(--td-button-extra-small-padding-horizontal, 16rpx);
- height: var(--td-button-extra-small-height, 56rpx);
- line-height: var(--td-button-extra-small-height, 56rpx);
- }
- .t-button--size-extra-small .t-button__icon {
- font-size: var(--td-button-extra-small-icon-font-size, 36rpx);
- }
- .t-button--size-small {
- font-size: var(--td-button-small-font-size, var(--td-font-size-base, 28rpx));
- padding-left: var(--td-button-small-padding-horizontal, 24rpx);
- padding-right: var(--td-button-small-padding-horizontal, 24rpx);
- height: var(--td-button-small-height, 64rpx);
- line-height: var(--td-button-small-height, 64rpx);
- }
- .t-button--size-small .t-button__icon {
- font-size: var(--td-button-small-icon-font-size, 36rpx);
- }
- .t-button--size-medium {
- font-size: var(--td-button-medium-font-size, var(--td-font-size-m, 32rpx));
- padding-left: var(--td-button-medium-padding-horizontal, 32rpx);
- padding-right: var(--td-button-medium-padding-horizontal, 32rpx);
- height: var(--td-button-medium-height, 80rpx);
- line-height: var(--td-button-medium-height, 80rpx);
- }
- .t-button--size-medium .t-button__icon {
- font-size: var(--td-button-medium-icon-font-size, 40rpx);
- }
- .t-button--size-large {
- font-size: var(--td-button-large-font-size, var(--td-font-size-m, 32rpx));
- padding-left: var(--td-button-large-padding-horizontal, 40rpx);
- padding-right: var(--td-button-large-padding-horizontal, 40rpx);
- height: var(--td-button-large-height, 96rpx);
- line-height: var(--td-button-large-height, 96rpx);
- }
- .t-button--size-large .t-button__icon {
- font-size: var(--td-button-large-icon-font-size, 48rpx);
- }
- .t-button--default {
- color: var(--td-button-default-color, var(--td-font-gray-1, rgba(0, 0, 0, 0.9)));
- background-color: var(--td-button-default-bg-color, var(--td-gray-color-3, #e7e7e7));
- }
- .t-button--default::after {
- border-width: var(--td-button-border-width, 4rpx);
- border-color: var(--td-button-default-border-color, var(--td-gray-color-3, #e7e7e7));
- }
- .t-button--default.t-button--hover {
- z-index: 0;
- }
- .t-button--default.t-button--hover::after {
- background-color: var(--td-button-default-active-bg-color, var(--td-gray-color-5, #c5c5c5));
- border-color: var(--td-button-default-active-border-color, var(--td-gray-color-5, #c5c5c5));
- }
- .t-button--default.t-button--disabled {
- color: var(--td-button-default-disabled-color, var(--td-font-gray-4, rgba(0, 0, 0, 0.26)));
- background-color: var(--td-button-default-disabled-bg, var(--td-gray-color-2, #eeeeee));
- }
- .t-button--default.t-button--disabled::after {
- border-color: var(--td-button-default-disabled-border-color, var(--td-gray-color-2, #eeeeee));
- }
- .t-button--primary {
- color: var(--td-button-primary-color, var(--td-text-anti-primary-color, #fff));
- background-color: var(--td-button-primary-bg-color, var(--td-primary-color, #0052d9));
- }
- .t-button--primary::after {
- border-width: var(--td-button-border-width, 4rpx);
- border-color: var(--td-button-primary-border-color, var(--td-primary-color, #0052d9));
- }
- .t-button--primary.t-button--hover {
- z-index: 0;
- }
- .t-button--primary.t-button--hover::after {
- background-color: var(--td-button-primary-active-bg-color, var(--td-primary-color-9, #0034b5));
- border-color: var(--td-button-primary-active-border-color, var(--td-primary-color-9, #0034b5));
- }
- .t-button--primary.t-button--disabled {
- color: var(--td-button-primary-disabled-color, var(--td-text-anti-primary-color, #fff));
- background-color: var(--td-button-primary-disabled-bg, var(--td-primary-color-3, #bbd3fb));
- }
- .t-button--primary.t-button--disabled::after {
- border-color: var(--td-button-primary-disabled-border-color, var(--td-primary-color-3, #bbd3fb));
- }
- .t-button--light {
- color: var(--td-button-light-color, var(--td-primary-color, #0052d9));
- background-color: var(--td-button-light-bg-color, var(--td-primary-color-1, #ecf2fe));
- }
- .t-button--light::after {
- border-width: var(--td-button-border-width, 4rpx);
- border-color: var(--td-button-light-border-color, var(--td-primary-color-1, #ecf2fe));
- }
- .t-button--light.t-button--hover {
- z-index: 0;
- }
- .t-button--light.t-button--hover::after {
- background-color: var(--td-button-light-active-bg-color, var(--td-primary-color-2, #d4e3fc));
- border-color: var(--td-button-light-active-border-color, var(--td-primary-color-2, #d4e3fc));
- }
- .t-button--light.t-button--disabled {
- color: var(--td-button-light-disabled-color, var(--td-primary-color-3, #bbd3fb));
- background-color: var(--td-button-light-disabled-bg, var(--td-primary-color-1, #ecf2fe));
- }
- .t-button--light.t-button--disabled::after {
- border-color: var(--td-button-light-disabled-border-color, var(--td-primary-color-1, #ecf2fe));
- }
- .t-button--danger {
- color: var(--td-button-danger-color, var(--td-text-anti-primary-color, #fff));
- background-color: var(--td-button-danger-bg-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-button--danger::after {
- border-width: var(--td-button-border-width, 4rpx);
- border-color: var(--td-button-danger-border-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-button--danger.t-button--hover {
- z-index: 0;
- }
- .t-button--danger.t-button--hover::after {
- background-color: var(--td-button-danger-active-bg-color, var(--td-error-color-7, #c9353f));
- border-color: var(--td-button-danger-active-border-color, var(--td-error-color-7, #c9353f));
- }
- .t-button--danger.t-button--disabled {
- color: var(--td-button-danger-disabled-color, var(--td-text-anti-primary-color, #fff));
- background-color: var(--td-button-danger-disabled-bg, var(--td-error-color-3, #f8b9be));
- }
- .t-button--danger.t-button--disabled::after {
- border-color: var(--td-button-danger-disabled-border-color, var(--td-error-color-3, #f8b9be));
- }
- .t-button {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- position: relative;
- white-space: nowrap;
- text-align: center;
- background-image: none;
- transition: all 0.3s;
- touch-action: manipulation;
- border-radius: var(--td-button-border-radius, var(--td-radius-default, 12rpx));
- outline: none;
- font-family: PingFang SC, Microsoft YaHei, Arial Regular;
- font-weight: var(--td-button-font-weight, 600);
- vertical-align: top;
- cursor: pointer;
- -webkit-tap-highlight-color: transparent;
- -webkit-user-select: none;
- user-select: none;
- /* stylelint-disable-next-line */
- -webkit-appearance: none;
- }
- .t-button::after {
- border-radius: calc(var(--td-button-border-radius, var(--td-radius-default, 12rpx)) * 2);
- }
- .t-button--text {
- color: var(--td-button-default-color, var(--td-font-gray-1, rgba(0, 0, 0, 0.9)));
- background: none;
- }
- .t-button--text::after {
- border: 0;
- }
- .t-button--text.t-button--hover::after {
- background-color: var(--td-button-default-text-active-bg-color, var(--td-gray-color-3, #e7e7e7));
- }
- .t-button--text.t-button--primary {
- color: var(--td-button-primary-text-color, var(--td-primary-color, #0052d9));
- background: none;
- }
- .t-button--text.t-button--primary.t-button--hover::after {
- background-color: var(--td-button-primary-text-active-bg-color, var(--td-gray-color-3, #e7e7e7));
- }
- .t-button--text.t-button--primary.t-button--disabled {
- color: var(--td-button-primary-text-disabled-color, var(--td-primary-color-3, #bbd3fb));
- background: none;
- }
- .t-button--text.t-button--danger {
- color: var(--td-button-danger-text-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- background: none;
- }
- .t-button--text.t-button--danger.t-button--hover::after {
- background-color: var(--td-button-danger-text-active-bg-color, var(--td-gray-color-3, #e7e7e7));
- }
- .t-button--text.t-button--danger.t-button--disabled {
- color: var(--td-button-danger-text-disabled-color, var(--td-button-danger-disabled-color, var(--td-text-anti-primary-color, #fff)));
- background: none;
- }
- .t-button--text.t-button--light {
- color: var(--td-button-light-text-color, var(--td-primary-color, #0052d9));
- background: none;
- }
- .t-button--text.t-button--light.t-button--hover::after {
- background-color: var(--td-button-light-text-active-bg-color, var(--td-gray-color-3, #e7e7e7));
- }
- .t-button--text.t-button--disabled {
- color: var(--td-button-default-disabled-color, var(--td-font-gray-4, rgba(0, 0, 0, 0.26)));
- }
- .t-button--ghost {
- background-color: transparent;
- color: var(--td-button-ghost-color, var(--td-bg-color-block, #fff));
- }
- .t-button--ghost::after {
- border-color: var(--td-button-ghost-border-color, var(--td-button-ghost-color, var(--td-bg-color-block, #fff)));
- }
- .t-button--ghost.t-button--hover::after {
- background: none;
- }
- .t-button--ghost.t-button--primary {
- color: var(--td-button-ghost-primary-color, var(--td-primary-color, #0052d9));
- }
- .t-button--ghost.t-button--primary::after {
- border-color: var(--td-button-ghost-primary-border-color, var(--td-primary-color, #0052d9));
- }
- .t-button--ghost.t-button--danger {
- color: var(--td-button-ghost-danger-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-button--ghost.t-button--danger::after {
- border-color: var(--td-button-ghost-danger-border-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-button--ghost.t-button--disabled {
- background-color: transparent;
- color: var(--td-button-ghost-disabled-color, rgba(255, 255, 255, 0.35));
- }
- .t-button--ghost.t-button--disabled::after {
- border-color: var(--td-button-ghost-disabled-color, rgba(255, 255, 255, 0.35));
- }
- .t-button--outline {
- color: var(--td-button-default-outline-color, var(--td-font-gray-1, rgba(0, 0, 0, 0.9)));
- background-color: transparent;
- }
- .t-button--outline::after {
- border-color: var(--td-button-default-outline-border-color, var(--td-gray-color-4, #dcdcdc));
- }
- .t-button--outline.t-button--hover::after {
- background-color: var(--td-button-default-outline-active-bg-color, var(--td-gray-color-3, #e7e7e7));
- border-color: var(--td-button-default-outline-active-border-color, var(--td-gray-color-4, #dcdcdc));
- }
- .t-button--outline.t-button--disabled {
- color: var(--td-button-default-outline-disabled-color, var(--td-gray-color-4, #dcdcdc));
- }
- .t-button--outline.t-button--disabled::after {
- border-color: var(--td-button-default-outline-disabled-color, var(--td-gray-color-4, #dcdcdc));
- }
- .t-button--outline.t-button--primary {
- color: var(--td-button-primary-outline-color, var(--td-primary-color, #0052d9));
- }
- .t-button--outline.t-button--primary::after {
- border-color: var(--td-button-primary-outline-border-color, var(--td-button-primary-outline-color, var(--td-primary-color, #0052d9)));
- }
- .t-button--outline.t-button--primary.t-button--hover {
- color: var(--td-button-primary-outline-active-border-color, var(--td-primary-color-9, #0034b5));
- }
- .t-button--outline.t-button--primary.t-button--hover::after {
- background-color: var(--td-button-primary-outline-active-bg-color, var(--td-gray-color-3, #e7e7e7));
- border-color: var(--td-button-primary-outline-active-border-color, var(--td-primary-color-9, #0034b5));
- }
- .t-button--outline.t-button--primary.t-button--disabled {
- background-color: transparent;
- color: var(--td-button-primary-outline-disabled-color, var(--td-primary-color-3, #bbd3fb));
- }
- .t-button--outline.t-button--primary.t-button--disabled::after {
- border-color: var(--td-button-primary-outline-disabled-color, var(--td-primary-color-3, #bbd3fb));
- }
- .t-button--outline.t-button--danger {
- color: var(--td-button-danger-outline-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-button--outline.t-button--danger::after {
- border-color: var(--td-button-danger-outline-border-color, var(--td-button-danger-outline-color, var(--td-error-color, var(--td-error-color-6, #e34d59))));
- }
- .t-button--outline.t-button--danger.t-button--hover {
- color: var(--td-button-danger-outline-active-border-color, var(--td-error-color-7, #c9353f));
- }
- .t-button--outline.t-button--danger.t-button--hover::after {
- background-color: var(--td-button-danger-outline-active-bg-color, var(--td-gray-color-3, #e7e7e7));
- border-color: var(--td-button-danger-outline-active-border-color, var(--td-error-color-7, #c9353f));
- }
- .t-button--outline.t-button--danger.t-button--disabled {
- background-color: transparent;
- color: var(--td-button-danger-outline-disabled-color, var(--td-error-color-3, #f8b9be));
- }
- .t-button--outline.t-button--danger.t-button--disabled::after {
- border-color: var(--td-button-danger-outline-disabled-color, var(--td-error-color-3, #f8b9be));
- }
- .t-button--outline.t-button--light {
- color: var(--td-button-light-outline-color, var(--td-primary-color, #0052d9));
- background-color: var(--td-button-light-outline-bg-color, var(--td-primary-color-1, #ecf2fe));
- }
- .t-button--outline.t-button--light::after {
- border-color: var(--td-button-light-outline-border-color, var(--td-button-light-outline-color, var(--td-primary-color, #0052d9)));
- }
- .t-button--outline.t-button--light.t-button--hover {
- color: var(--td-button-light-outline-active-border-color, var(--td-primary-color-9, #0034b5));
- }
- .t-button--outline.t-button--light.t-button--hover::after {
- background-color: var(--td-button-light-outline-active-bg-color, var(--td-primary-color-2, #d4e3fc));
- border-color: var(--td-button-light-outline-active-border-color, var(--td-primary-color-9, #0034b5));
- }
- .t-button--outline.t-button--light.t-button--disabled {
- background-color: transparent;
- color: var(--td-button-light-outline-disabled-color, var(--td-primary-color-3, #bbd3fb));
- }
- .t-button--outline.t-button--light.t-button--disabled::after {
- border-color: var(--td-button-light-outline-disabled-color, var(--td-primary-color-3, #bbd3fb));
- }
- .t-button--dashed {
- background-color: transparent;
- border-style: dashed;
- }
- .t-button--dashed.t-button--primary {
- color: var(--td-button-primary-dashed-color, var(--td-primary-color, #0052d9));
- }
- .t-button--dashed.t-button--primary::after {
- border-color: var(--td-button-primary-dashed-border-color, var(--td-button-primary-dashed-color, var(--td-primary-color, #0052d9)));
- }
- .t-button--dashed.t-button--primary.t-button--disabled {
- background-color: transparent;
- color: var(--td-button-primary-dashed-disabled-color, var(--td-primary-color-3, #bbd3fb));
- }
- .t-button--dashed.t-button--primary.t-button--disabled::after {
- border-color: var(--td-button-primary-dashed-disabled-color, var(--td-primary-color-3, #bbd3fb));
- }
- .t-button--dashed.t-button--danger {
- color: var(--td-button-danger-dashed-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-button--dashed.t-button--danger::after {
- border-color: var(--td-button-danger-dashed-border-color, var(--td-button-danger-dashed-color, var(--td-error-color, var(--td-error-color-6, #e34d59))));
- }
- .t-button--dashed.t-button--danger.t-button--disabled {
- background-color: transparent;
- color: var(--td-button-danger-dashed-disabled-color, var(--td-button-danger-disabled-color, var(--td-text-anti-primary-color, #fff)));
- }
- .t-button--dashed.t-button--danger.t-button--disabled::after {
- border-color: var(--td-button-danger-dashed-disabled-color, var(--td-button-danger-disabled-color, var(--td-text-anti-primary-color, #fff)));
- }
- .t-button__loading + .t-button__content:not(:empty),
- .t-button__icon + .t-button__content:not(:empty) {
- margin-left: 8rpx;
- }
- .t-button__icon {
- border-radius: var(--td-button-icon-border-radius, 8rpx);
- }
- .t-button--round.t-button--size-large {
- border-radius: calc(var(--td-button-large-height, 96rpx) / 2);
- }
- .t-button--round.t-button--size-large::after {
- border-radius: var(--td-button-large-height, 96rpx);
- }
- .t-button--round.t-button--size-medium {
- border-radius: calc(var(--td-button-medium-height, 80rpx) / 2);
- }
- .t-button--round.t-button--size-medium::after {
- border-radius: var(--td-button-medium-height, 80rpx);
- }
- .t-button--round.t-button--size-small {
- border-radius: calc(var(--td-button-small-height, 64rpx) / 2);
- }
- .t-button--round.t-button--size-small::after {
- border-radius: var(--td-button-small-height, 64rpx);
- }
- .t-button--round.t-button--size-extra-small {
- border-radius: calc(var(--td-button-extra-small-height, 56rpx) / 2);
- }
- .t-button--round.t-button--size-extra-small::after {
- border-radius: var(--td-button-extra-small-height, 56rpx);
- }
- .t-button--square {
- padding: 0;
- }
- .t-button--square.t-button--size-large {
- width: var(--td-button-large-height, 96rpx);
- }
- .t-button--square.t-button--size-medium {
- width: var(--td-button-medium-height, 80rpx);
- }
- .t-button--square.t-button--size-small {
- width: var(--td-button-small-height, 64rpx);
- }
- .t-button--square.t-button--size-extra-small {
- width: var(--td-button-extra-small-height, 56rpx);
- }
- .t-button--circle {
- padding: 0;
- border-radius: 50%;
- }
- .t-button--circle.t-button--size-large {
- width: var(--td-button-large-height, 96rpx);
- }
- .t-button--circle.t-button--size-large::after {
- border-radius: 50%;
- }
- .t-button--circle.t-button--size-medium {
- width: var(--td-button-medium-height, 80rpx);
- }
- .t-button--circle.t-button--size-medium::after {
- border-radius: 50%;
- }
- .t-button--circle.t-button--size-small {
- width: var(--td-button-small-height, 64rpx);
- }
- .t-button--circle.t-button--size-small::after {
- border-radius: 50%;
- }
- .t-button--circle.t-button--size-extra-small {
- width: var(--td-button-extra-small-height, 56rpx);
- }
- .t-button--circle.t-button--size-extra-small::after {
- border-radius: 50%;
- }
- .t-button--block {
- display: flex;
- width: 100%;
- }
- .t-button--disabled {
- cursor: not-allowed;
- }
- .t-button__loading--wrapper {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .t-button__loading--indicator {
- color: var(--td-white-color-1, #fff);
- }
- .t-button.t-button--hover::after {
- z-index: -1;
- }
|