index.module.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. .audioWrap {
  2. width: 100%;
  3. height: 518px;
  4. background-color: #fff;
  5. }
  6. .audioContainer {
  7. position: relative;
  8. display: flex;
  9. align-items: center;
  10. justify-content: center;
  11. height: 100%;
  12. padding: 0;
  13. &>div {
  14. flex: 1;
  15. }
  16. .audio {
  17. position: absolute;
  18. top: 0;
  19. opacity: 0;
  20. }
  21. .tempVudio {
  22. position: absolute;
  23. top: 0;
  24. right: 0;
  25. bottom: 80px;
  26. left: 0;
  27. padding: 0;
  28. }
  29. canvas {
  30. width: 100%;
  31. height: 100%;
  32. }
  33. }
  34. .controls {
  35. border-radius: 0 0 16px 16px !important;
  36. position: absolute;
  37. bottom: 0;
  38. left: 0;
  39. right: 0;
  40. width: 100%;
  41. background: rgba(0, 0, 0, 0.6);
  42. backdrop-filter: blur(26px);
  43. height: 80px;
  44. padding: 0 40px 0 40px !important;
  45. transition: all 0.5s;
  46. display: flex;
  47. align-items: center;
  48. transition: all .5s;
  49. .time {
  50. display: flex;
  51. justify-content: space-between;
  52. color: #fff;
  53. padding: 4px 12px 4px;
  54. font-size: 24px;
  55. font-weight: 600;
  56. line-height: 33px;
  57. min-width: 140px;
  58. .line {
  59. font-size: 12px;
  60. }
  61. :global {
  62. .plyr__time+.plyr__time:before {
  63. content: '';
  64. margin-right: 0;
  65. }
  66. }
  67. }
  68. }
  69. .actions {
  70. display: flex;
  71. justify-content: space-between;
  72. height: 100%;
  73. color: #fff;
  74. font-size: 12px;
  75. align-items: center;
  76. .actionWrap {
  77. display: flex;
  78. }
  79. .actionBtn {
  80. display: flex;
  81. width: 52px;
  82. height: 52px;
  83. padding: 4px 0;
  84. background: transparent;
  85. &>img {
  86. width: 100%;
  87. height: 100%;
  88. }
  89. }
  90. .iconReplay {
  91. width: 31px;
  92. height: 29px;
  93. background-color: transparent;
  94. &>img {
  95. width: 100%;
  96. height: 100%;
  97. }
  98. }
  99. }
  100. .slider {
  101. width: 100%;
  102. padding: 0 20px 0 12px;
  103. :global {
  104. .n-slider .n-slider-rail .n-slider-rail__fill,
  105. .n-slider .n-slider-handles .n-slider-handle-wrapper {
  106. transition: all .2s;
  107. }
  108. }
  109. }
  110. .sectionAnimate {
  111. opacity: 0;
  112. pointer-events: none;
  113. transform: translateY(100%);
  114. transition: all .5s;
  115. }