index.module.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. .container {
  2. position: fixed;
  3. left: 0;
  4. bottom: 0;
  5. right: 0;
  6. display: flex;
  7. align-items: center;
  8. height: 108px;
  9. padding: 0 160px 0 60px;
  10. background-color: #fff;
  11. box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
  12. z-index: 10;
  13. transition: all 0.3s;
  14. &.previewcontainer {
  15. left: 0;
  16. padding-right: 380px;
  17. }
  18. &.containerModal {
  19. position: absolute;
  20. left: 0;
  21. }
  22. }
  23. .hidden {
  24. transform: translateY(100%);
  25. &.item {
  26. opacity: 0;
  27. display: none;
  28. }
  29. }
  30. .item {
  31. position: relative;
  32. display: flex;
  33. align-items: center;
  34. width: 100%;
  35. .img {
  36. position: relative;
  37. width: 64px;
  38. height: 64px;
  39. border-radius: 50%;
  40. margin-right: 12px;
  41. background-color: #000;
  42. box-shadow: 0 0 10px 4px rgba(27, 35, 55, 0.1);
  43. padding: 7px;
  44. overflow: hidden;
  45. flex-shrink: 0;
  46. :global {
  47. .n-image {
  48. border-radius: 50%;
  49. width: 100%;
  50. height: 100%;
  51. }
  52. }
  53. img {
  54. transition: opacity 0.3s;
  55. opacity: 0;
  56. animation: rotateImg 6s linear infinite;
  57. }
  58. &.imgRotate {
  59. img {
  60. animation-play-state: paused;
  61. }
  62. }
  63. img[data-loaded="true"] {
  64. opacity: 1;
  65. }
  66. }
  67. .svgcontainer {
  68. position: fixed;
  69. z-index: -1000;
  70. pointer-events: none;
  71. }
  72. .progress {
  73. position: absolute;
  74. left: 4px;
  75. top: 4px;
  76. width: 56px;
  77. pointer-events: none;
  78. transform: rotate(180deg);
  79. :global {
  80. .n-progress-graph .n-progress-graph-circle .n-progress-graph-circle-fill {
  81. stroke: url(#GradientProgress);
  82. }
  83. }
  84. }
  85. .title {
  86. margin-right: 15px;
  87. width: 200px;
  88. .titleName {
  89. font-size: max(16px, 13px);
  90. font-weight: 600;
  91. color: #131415;
  92. line-height: 28px;
  93. white-space: nowrap;
  94. max-width: 300px;
  95. overflow: hidden;
  96. text-overflow: ellipsis;
  97. }
  98. .titleDes {
  99. font-size: max(14px, 12px);
  100. font-weight: 400;
  101. color: #777777;
  102. line-height: 20px;
  103. white-space: nowrap;
  104. }
  105. }
  106. }
  107. @keyframes rotateImg {
  108. 100% {
  109. transform: rotate(360deg);
  110. }
  111. }
  112. .playBtns {
  113. margin-left: 140px;
  114. display: flex;
  115. align-items: center;
  116. :global {
  117. .n-button {
  118. width: 40px;
  119. height: 40px;
  120. img {
  121. width: 100%;
  122. height: 100%;
  123. }
  124. }
  125. }
  126. .disabled {
  127. opacity: 0.7;
  128. cursor: not-allowed;
  129. }
  130. .playBtn {
  131. margin: 0 48px;
  132. width: 50px;
  133. height: 50px;
  134. img {
  135. display: block;
  136. width: 100%;
  137. height: 100%;
  138. }
  139. }
  140. }
  141. .timeWrap {
  142. flex: 1;
  143. display: flex;
  144. align-items: center;
  145. margin-left: 88px;
  146. .timeProgress {
  147. margin-right: 24px;
  148. border-radius: 6px;
  149. --n-rail-height: 5px !important;
  150. --n-fill-color: #ff531c !important;
  151. --n-fill-color-hover: #ff531c !important;
  152. }
  153. .time {
  154. width: 90px;
  155. white-space: nowrap;
  156. flex-shrink: 0;
  157. color: #777777;
  158. }
  159. }
  160. .iconArrow {
  161. position: absolute;
  162. top: -24px;
  163. right: 30px;
  164. display: flex;
  165. align-items: center;
  166. justify-content: center;
  167. background-color: #fff;
  168. cursor: pointer;
  169. background: #ffffff;
  170. border-radius: 100px 100px 0px 0px;
  171. width: 44px;
  172. height: 24px;
  173. img {
  174. margin-top: 3px;
  175. width: 14px;
  176. height: 14px;
  177. }
  178. // &::before {
  179. // content: "";
  180. // display: inline-block;
  181. // background: url("../../../../img/cloudPractice/song-arrow.png") no-repeat center #fff;
  182. // background-size: contain;
  183. // width: 14px;
  184. // height: 14px;
  185. // margin-top: -4px;
  186. // }
  187. &.down {
  188. img {
  189. margin-top: 0px;
  190. transform: rotate(180deg);
  191. }
  192. }
  193. }