.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); } page { --td-side-bar-active-color: #0052d9; --td-side-bar-border-radius: 18rpx; } .t-side-bar-item { position: relative; padding: 32rpx; font-size: 28rpx; color: rgba(0, 0, 0, 0.9); background: #f3f3f3; } .t-side-bar-item--active { background: #fff; color: var(--td-side-bar-active-color, #0052d9); } .t-side-bar-item__prefix, .t-side-bar-item__suffix { z-index: 1; position: absolute; right: 0; width: calc(var(--td-side-bar-border-radius, 18rpx) * 2); height: calc(var(--td-side-bar-border-radius, 18rpx) * 2); background: #fff; } .t-side-bar-item__prefix::after, .t-side-bar-item__suffix::after { content: ''; display: block; width: 100%; height: 100%; background-color: #f3f3f3; } .t-side-bar-item__prefix { top: calc(var(--td-side-bar-border-radius, 18rpx) * -2); } .t-side-bar-item__prefix::after { border-bottom-right-radius: var(--td-side-bar-border-radius, 18rpx); } .t-side-bar-item__suffix { bottom: calc(var(--td-side-bar-border-radius, 18rpx) * -2); } .t-side-bar-item__suffix::after { border-top-right-radius: var(--td-side-bar-border-radius, 18rpx); } .t-side-bar-item--disabled { color: rgba(0, 0, 0, 0.26); } .t-side-bar-item__line { width: 6rpx; height: 28rpx; position: absolute; left: 0; top: 50%; transform: translateY(-50%); background: var(--td-side-bar-active-color, #0052d9); border-radius: 8rpx; }