index.less 3.9 KB

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