picker-item.wxss 998 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .t-float-left {
  2. float: left;
  3. }
  4. .t-float-right {
  5. float: right;
  6. }
  7. @keyframes tdesign-fade-out {
  8. from {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. .hotspot-expanded.relative {
  16. position: relative;
  17. }
  18. .hotspot-expanded::after {
  19. content: '';
  20. display: block;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. transform: scale(1.5);
  27. }
  28. :host {
  29. display: flex;
  30. }
  31. .t-picker-item__group {
  32. height: var(--td-picker-group-height, 400rpx);
  33. overflow: hidden;
  34. flex: 1;
  35. z-index: 1;
  36. }
  37. .t-picker-item__wrapper {
  38. padding: 144rpx 0;
  39. }
  40. .t-picker-item__item {
  41. text-align: center;
  42. white-space: nowrap;
  43. text-overflow: ellipsis;
  44. overflow: hidden;
  45. height: var(--td-picker-item-height, 80rpx);
  46. line-height: var(--td-picker-item-height, 80rpx);
  47. color: var(--td-picker-item-color, var(--td-font-gray-2, rgba(0, 0, 0, 0.6)));
  48. }
  49. .t-picker-item__item--active {
  50. color: var(--td-picker-item-active-color, var(--td-font-gray-1, rgba(0, 0, 0, 0.9)));
  51. font-weight: 600;
  52. }