picker-item.wxss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. padding: 0 40rpx;
  37. }
  38. .t-picker-item__group--roomy {
  39. padding: 0 64rpx;
  40. }
  41. .t-picker-item__group--narrow {
  42. padding: 0 16rpx;
  43. }
  44. .t-picker-item__wrapper {
  45. padding: 144rpx 0;
  46. }
  47. .t-picker-item__item {
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. height: var(--td-picker-item-height, 80rpx);
  52. line-height: var(--td-picker-item-height, 80rpx);
  53. color: var(--td-picker-item-color, var(--td-font-gray-2, rgba(0, 0, 0, 0.6)));
  54. }
  55. .t-picker-item__item--active {
  56. color: var(--td-picker-item-active-color, var(--td-font-gray-1, rgba(0, 0, 0, 0.9)));
  57. font-weight: 600;
  58. }