textarea.wxss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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-textarea {
  29. position: relative;
  30. background-color: #fff;
  31. }
  32. .t-textarea__name {
  33. position: relative;
  34. padding: 24rpx 32rpx;
  35. font-size: 32rpx;
  36. color: #000000;
  37. overflow: hidden;
  38. white-space: nowrap;
  39. text-overflow: ellipsis;
  40. }
  41. .t-textarea__name::after {
  42. position: absolute;
  43. box-sizing: border-box;
  44. content: ' ';
  45. pointer-events: none;
  46. right: 0;
  47. left: 0;
  48. bottom: 0;
  49. border-bottom: 1px solid #e6e6e6;
  50. transform: scaleY(0.5);
  51. left: 32rpx;
  52. }
  53. .t-textarea__wrapper {
  54. padding: 24rpx 32rpx;
  55. font-size: 32rpx;
  56. color: #000000;
  57. }
  58. .t-textarea__wrapper-textarea {
  59. display: block;
  60. box-sizing: border-box;
  61. width: 100%;
  62. min-width: 0;
  63. margin: 0;
  64. padding: 0;
  65. text-align: left;
  66. background-color: transparent;
  67. border: 0;
  68. resize: none;
  69. font-size: 32rpx;
  70. line-height: 48rpx;
  71. }
  72. .t-textarea__placeholder,
  73. .t-textarea__count {
  74. color: #888888;
  75. font-size: 32rpx;
  76. line-height: 48rpx;
  77. }
  78. .t-textarea__count {
  79. font-size: 24rpx;
  80. text-align: right;
  81. }