picker-item.wxss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. display: flex;
  42. justify-content: center;
  43. align-items: center;
  44. color: var(--td-picker-item-color, var(--td-text-color-secondary, var(--td-font-gray-2, rgba(0, 0, 0, 0.6))));
  45. font-size: var(--td-picker-item-font-size, var(--td-font-size-m, 32rpx));
  46. }
  47. .t-picker-item__item-label {
  48. white-space: nowrap;
  49. text-overflow: ellipsis;
  50. overflow: hidden;
  51. }
  52. .t-picker-item__item--active {
  53. color: var(--td-picker-item-active-color, var(--td-text-color-primary, var(--td-font-gray-1, rgba(0, 0, 0, 0.9))));
  54. font-weight: 600;
  55. }