1
0

index.less 4.7 KB

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