collapse-panel.wxss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. .t-collapse-panel {
  29. overflow: hidden;
  30. transition: height 200ms ease-in-out;
  31. box-shadow: inset 0 -1px 0 0 #eeeeee;
  32. background-color: #fff;
  33. }
  34. .t-collapse-panel--active {
  35. height: auto;
  36. }
  37. .t-collapse-panel--disabled {
  38. pointer-events: none;
  39. }
  40. .t-collapse-panel--disabled .t-collapse-panel__content,
  41. .t-collapse-panel--disabled .t-collapse-panel__header {
  42. opacity: 0.3;
  43. }
  44. .t-collapse-panel__header {
  45. position: relative;
  46. display: flex;
  47. justify-content: space-between;
  48. align-items: center;
  49. padding-left: 32rpx;
  50. height: 96rpx;
  51. box-shadow: inset 0 -1px 0 0 #eeeeee;
  52. color: #000000;
  53. }
  54. .t-collapse-panel__header-right {
  55. display: inline-flex;
  56. align-items: center;
  57. height: 100%;
  58. }
  59. .t-collapse-panel__header-icon {
  60. height: 100%;
  61. padding-left: 8px;
  62. width: 44px;
  63. padding-right: 8px;
  64. color: rgba(0, 0, 0, 0.4);
  65. }
  66. .t-collapse-panel__extra {
  67. font-size: 32rpx;
  68. }
  69. .t-collapse-panel__body {
  70. box-shadow: inset 0 -1px 0 0 #eeeeee;
  71. }
  72. .t-collapse-panel__wrapper {
  73. transition: height 200ms ease-in-out;
  74. }
  75. .t-collapse-panel__content {
  76. color: #000000;
  77. font-size: 28rpx;
  78. padding: 32rpx;
  79. line-height: 1.5;
  80. }
  81. .class-title {
  82. font-size: 32rpx;
  83. }
  84. .class-title--disabled {
  85. color: rgba(0, 0, 0, 0.26);
  86. }
  87. .class-note--disabled {
  88. color: rgba(0, 0, 0, 0.26) !important;
  89. }
  90. .class-right-icon--disabled {
  91. color: rgba(0, 0, 0, 0.26) !important;
  92. }