1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- .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-drawer {
- background: var(--td-drawer-bg-color, var(--td-bg-color-block, #fff));
- height: 100vh;
- width: var(--td-drawer-width, 560rpx);
- display: flex;
- flex-direction: column;
- padding-bottom: env(safe-area-inset-bottom, 28px);
- padding-bottom: constant(safe-area-inset-bottom, 28px);
- }
- .t-drawer__title {
- font-weight: 600;
- font-size: var(--td-drawer-title-font-size, 36rpx);
- padding: 48rpx 32rpx 16rpx;
- }
- .t-drawer__sidebar {
- height: var(--td-drawer-sidebar-height, 70vh);
- }
- .t-drawer__sidebar-item {
- display: flex;
- align-items: center;
- position: relative;
- padding: var(--td-drawer-item-padding, 32rpx) 0;
- margin-left: var(--td-drawer-item-padding, 32rpx);
- line-height: var(--td-drawer-item-height, 48rpx);
- }
- .t-drawer__sidebar-item::after {
- content: '';
- display: block;
- position: absolute;
- top: unset;
- bottom: 0;
- left: unset;
- right: unset;
- background-color: var(--td-drawer-border-color, var(--td-border-color, #e7e7e7));
- }
- .t-drawer__sidebar-item::after {
- height: 1px;
- left: 0;
- right: 0;
- transform: scaleY(0.5);
- }
- .t-drawer__sidebar-item-title {
- flex: 1;
- color: var(--td-drawer-title-color);
- }
- .t-drawer__sidebar-item-icon {
- padding-right: 16rpx;
- color: var(--td-drawer-title-color, var(--td-drawer-title-color, var(--td-font-gray-1, rgba(0, 0, 0, 0.9))));
- font-size: var(--td-drawer-item-icon-size, 48rpx);
- }
- .t-drawer__footer {
- flex: 1;
- display: flex;
- flex-direction: column;
- padding-bottom: var(--td-drawer-footer-padding-bottom, 40rpx);
- }
|