index.less 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. .video-item {
  2. width: 100%;
  3. height: 100%;
  4. padding-bottom: 3px;
  5. position: relative;
  6. overflow: hidden;
  7. background: #3A3A3AFF;
  8. // .video-wrapper {
  9. // .vjs-loading-spinner {
  10. // display: none;s
  11. // }
  12. // .vjs-big-play-button {
  13. // display: none;
  14. // }
  15. // .vjs-control-bar {
  16. // display: none;
  17. // }
  18. // .vjs-modal-dialog {
  19. // display: none;
  20. // }
  21. // }
  22. .select-speed {
  23. position: absolute;
  24. bottom: 65px;
  25. right: 10px;
  26. width: 80px;
  27. background: #3A3A3AFF;
  28. border-radius: 4px;
  29. .item {
  30. height: 40px;
  31. line-height: 40px;
  32. text-align: center;
  33. font-size: 12px;
  34. color: rgba(255, 255, 255, 0.6);
  35. cursor: pointer;
  36. }
  37. .item.active {
  38. color: #fff;
  39. }
  40. }
  41. .video-bottom {
  42. position: absolute;
  43. bottom: 0;
  44. left: 0;
  45. right: 0;
  46. }
  47. .ant-slider {
  48. margin: 0;
  49. .ant-slider-rail {
  50. border-radius: 0;
  51. background: #616161FF;
  52. }
  53. .ant-slider-track {
  54. background: #4292f0;
  55. }
  56. .ant-slider-handle {
  57. border: none;
  58. background-color: transparent;
  59. box-shadow: none;
  60. }
  61. .ant-slider-handle-click-focused {
  62. box-shadow: none;
  63. }
  64. }
  65. .progress {
  66. height: 3px;
  67. background: #616161FF;
  68. }
  69. .action-bar {
  70. height: 50px;
  71. line-height: 50px;
  72. padding: 0 20px;
  73. display: flex;
  74. .assets {
  75. cursor: pointer;
  76. }
  77. .fix-btn-action {
  78. transform: translateY(-1px);
  79. }
  80. .btn-action {
  81. display: inline-block;
  82. font-size: 12px;
  83. line-height: 12px;
  84. padding: 6px 10px;
  85. color: #fff;
  86. background: #696969FF;
  87. text-align: center;
  88. cursor: pointer;
  89. border-radius: 12px;
  90. }
  91. // .btn:hover {
  92. // background: darken(#696969, 10);
  93. // }
  94. .btn-action.active,
  95. .btn-action.active:hover {
  96. background: #4292f0;
  97. }
  98. }
  99. .video-wrapper {
  100. width: 100%;
  101. height: 100%;
  102. position: relative;
  103. .vjs_video_3-dimensions {
  104. width: 100% !important;
  105. height: 100% !important;
  106. .vjs-text-track-display {
  107. display: none;
  108. }
  109. .vjs-loading-spinner {
  110. display: none;
  111. }
  112. .vjs-big-play-button {
  113. display: none;
  114. }
  115. .vjs-error-display {
  116. display: none;
  117. }
  118. .vjs-modal-dialog {
  119. display: none;
  120. }
  121. .vjs-control-bar {
  122. position: absolute;
  123. bottom: -53px;
  124. left: 0;
  125. right: 0;
  126. height: 70px;
  127. padding-top: 20px;
  128. line-height: 50px;
  129. padding-left: 90px;
  130. overflow: hidden;
  131. button {
  132. display: none;
  133. }
  134. .vjs-volume-panel {
  135. display: none;
  136. }
  137. .vjs-control-text {
  138. display: none;
  139. }
  140. .vjs-current-time {
  141. display: inline-block;
  142. color: #fff;
  143. font-size: 12px;
  144. }
  145. .vjs-time-divider {
  146. display: inline-block;
  147. color: #fff;
  148. font-size: 12px;
  149. margin: 0 5px;
  150. }
  151. .vjs-duration {
  152. display: inline-block;
  153. color: #fff;
  154. font-size: 12px;
  155. }
  156. .vjs-progress-control:hover {
  157. .vjs-mouse-display {
  158. opacity: 1;
  159. }
  160. }
  161. .vjs-progress-control {
  162. position: absolute;
  163. height: 3px;
  164. top: 17px;
  165. left: 0;
  166. right: 0;
  167. .vjs-load-progress {
  168. position: absolute;
  169. top: 0;
  170. left: 0;
  171. right: 0;
  172. bottom: 0;
  173. background: rgb(168, 168, 168);
  174. z-index: 1;
  175. }
  176. .vjs-mouse-display {
  177. position: absolute;
  178. width: 8px;
  179. height: 8px;
  180. background: #fff;
  181. border-radius: 4px;
  182. top: -2px;
  183. z-index: 2;
  184. opacity: 0;
  185. .vjs-time-tooltip {
  186. color: #fff;
  187. position: absolute;
  188. top: -35px;
  189. font-size: 12px;
  190. }
  191. }
  192. .vjs-play-progress {
  193. position: absolute;
  194. top: 0;
  195. left: 0;
  196. right: 0;
  197. bottom: 0;
  198. background: #4292f0;
  199. z-index: 1;
  200. .vjs-time-tooltip {
  201. display: none;
  202. }
  203. }
  204. }
  205. }
  206. }
  207. .assets {
  208. position: absolute;
  209. left: 50%;
  210. top: 50%;
  211. transform: translate(-50%, -50%);
  212. }
  213. .stop {
  214. display: none;
  215. }
  216. }
  217. .video-wrapper:hover {
  218. .stop {
  219. display: block;
  220. }
  221. }
  222. video {
  223. width: 100%;
  224. height: 100%;
  225. }
  226. }
  227. .video-item.action {
  228. padding-bottom: 53px;
  229. }