index.less 4.3 KB

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