123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- .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-steps-item {
- flex: 1;
- vertical-align: top;
- position: relative;
- display: flex;
- }
- .t-steps-item__circle--default {
- color: var(--td-step-item-default-circle-color, var(--td-font-gray-3, rgba(0, 0, 0, 0.4)));
- background-color: var(--td-step-item-default-circle-bg, var(--td-gray-color-1, #f3f3f3));
- }
- .t-steps-item__title--default {
- color: var(--td-step-item-default-title-color, var(--td-font-gray-3, rgba(0, 0, 0, 0.4)));
- }
- .t-steps-item__icon--default {
- color: var(--td-step-item-default-icon-color, var(--td-font-gray-3, rgba(0, 0, 0, 0.4)));
- }
- .t-steps-item__dot--default {
- border-color: var(--td-step-item-default-dot-border-color, var(--td-gray-color-5, #c5c5c5));
- }
- .t-steps-item__circle--process {
- color: var(--td-step-item-process-circle-color, var(--td-white-color-1, #fff));
- background-color: var(--td-step-item-process-circle-bg, var(--td-primary-color, #0052d9));
- }
- .t-steps-item__title--process {
- color: var(--td-step-item-process-title-color, var(--td-primary-color, #0052d9));
- }
- .t-steps-item__icon--process {
- color: var(--td-step-item-process-icon-color, var(--td-primary-color, #0052d9));
- }
- .t-steps-item__dot--process {
- border-color: var(--td-step-item-process-dot-border-color, var(--td-primary-color, #0052d9));
- }
- .t-steps-item__circle--finish {
- color: var(--td-step-item-finish-circle-color, var(--td-primary-color, #0052d9));
- background-color: var(--td-step-item-finish-circle-bg, var(--td-primary-color-1, #ecf2fe));
- }
- .t-steps-item__title--finish {
- color: var(--td-step-item-finish-title-color, var(--td-font-gray-1, rgba(0, 0, 0, 0.9)));
- }
- .t-steps-item__icon--finish {
- color: var(--td-step-item-finish-icon-color, var(--td-primary-color, #0052d9));
- }
- .t-steps-item__dot--finish {
- border-color: var(--td-step-item-finish-dot-border-color, var(--td-primary-color, #0052d9));
- }
- .t-steps-item__circle--error {
- color: var(--td-step-item-error-circle-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- background-color: var(--td-step-item-error-circle-bg, var(--td-error-color-1, #fdecee));
- }
- .t-steps-item__title--error {
- color: var(--td-step-item-error-title-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-steps-item__icon--error {
- color: var(--td-step-item-error-icon-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-steps-item__dot--error {
- border-color: var(--td-step-item-error-dot-border-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-steps-item--horizontal {
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .t-steps-item__anchor {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .t-steps-item__anchor--vertical {
- width: var(--td-step-item-circle-size, 44rpx);
- height: var(--td-step-item-circle-size, 44rpx);
- }
- .t-steps-item__circle {
- display: flex;
- justify-content: center;
- align-items: center;
- width: var(--td-step-item-circle-size, 44rpx);
- height: var(--td-step-item-circle-size, 44rpx);
- text-align: center;
- border-radius: 50%;
- font-size: var(--td-step-item-circle-font-size, 28rpx);
- }
- .t-steps-item__icon {
- z-index: 1;
- vertical-align: top;
- font-size: var(--td-font-size-base, 28rpx);
- position: relative;
- }
- .t-steps-item__icon--finsh,
- .t-steps-item__icon--process {
- color: var(--td-primary-color, #0052d9);
- }
- .t-steps-item__dot {
- width: var(--td-step-item-dot-size, 16rpx);
- height: var(--td-step-item-dot-size, 16rpx);
- border-radius: 50%;
- border-width: 1px;
- border-style: solid;
- box-sizing: border-box;
- }
- .t-steps-item__dot--finish {
- background-color: var(--td-step-item-process-dot-border-color, var(--td-primary-color, #0052d9));
- }
- .t-steps-item__dot--error {
- background-color: var(--td-step-item-error-dot-border-color, var(--td-error-color, var(--td-error-color-6, #e34d59)));
- }
- .t-steps-item__content {
- text-align: center;
- }
- .t-steps-item__content--horizontal {
- max-width: 80px;
- margin-top: 16rpx;
- }
- .t-steps-item__content--vertical {
- margin-left: 16rpx;
- flex: 1;
- padding-bottom: 32rpx;
- }
- .t-steps-item__content--vertical.t-steps-item__content--last {
- padding-bottom: 0;
- }
- .t-steps-item__title {
- position: relative;
- line-height: var(--td-step-item-circle-size, 44rpx);
- font-size: var(--td-font-size-base, 28rpx);
- }
- .t-steps-item__title--process {
- font-weight: 600;
- }
- .t-steps-item__title--vertical {
- text-align: left;
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: 8rpx;
- }
- .t-steps-item__description {
- color: var(--td-step-item-descrition-color, var(--td-font-gray-3, rgba(0, 0, 0, 0.4)));
- line-height: 40rpx;
- font-size: var(--td-font-size-s, 24rpx);
- }
- .t-steps-item__description--vertical {
- text-align: left;
- }
- .t-steps-item__extra:not(:empty) {
- margin-top: 16rpx;
- }
- .t-steps-item__line {
- background-color: var(--td-step-item-line-color, var(--td-gray-color-4, #dcdcdc));
- content: '';
- display: block;
- position: absolute;
- }
- .t-steps-item__line--horizontal {
- height: 1px;
- transform: translateY(-50%);
- width: calc(100% - 32rpx - var(--td-step-item-circle-size, 44rpx));
- top: calc(var(--td-step-item-circle-size, 44rpx) / 2 + 1px);
- left: calc(50% + var(--td-step-item-circle-size, 44rpx) / 2 + 16rpx);
- }
- .t-steps-item__line--horizontal.t-steps-item__line--dot {
- top: calc(var(--td-step-item-dot-size, 16rpx) / 2);
- }
- .t-steps-item__line--finish {
- background-color: var(--td-step-item-finish-line-color, var(--td-primary-color, #0052d9));
- }
- .t-steps-item__line--vertical {
- height: calc(100% - 32rpx - var(--td-step-item-circle-size, 44rpx));
- width: 1px;
- transform: translateX(-50%);
- left: calc(var(--td-step-item-circle-size, 44rpx) / 2);
- top: calc(var(--td-step-item-circle-size, 44rpx) + 16rpx);
- }
- .t-steps-item__line--vertical.t-steps-item__line--dot {
- top: var(--td-step-item-circle-size, 44rpx);
- height: calc(100% - var(--td-step-item-circle-size, 44rpx));
- }
- :host {
- flex: 1;
- vertical-align: top;
- position: relative;
- align-self: flex-start;
- width: inherit;
- }
|