视频播放器仓库

styles.css 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. .rh5v-DefaultPlayer_component {
  2. position: relative;
  3. font-family: Helvetica;
  4. font-size: 11px;
  5. background-color: #000;
  6. width: 100%;
  7. }
  8. .rh5v-DefaultPlayer_video {
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .rh5v-DefaultPlayer_controls {
  13. position: absolute;
  14. bottom: 0;
  15. right: 0;
  16. left: 0;
  17. height: 34px;
  18. display: block;
  19. background-color: rgba(0, 0, 0, 0.7);
  20. opacity: 0;
  21. transition: opacity 0.2s;
  22. }
  23. .rh5v-DefaultPlayer_seek {
  24. -ms-flex-positive: 1;
  25. flex-grow: 1;
  26. }
  27. .rh5v-DefaultPlayer_component:hover .rh5v-DefaultPlayer_controls {
  28. opacity: 1;
  29. }.rh5v-Time_component {
  30. padding: 0 10px 0 10px;
  31. line-height: 35px;
  32. color: #fff;
  33. float: right;
  34. }
  35. .rh5v-Time_current {
  36. margin-right: 5px;
  37. }
  38. .rh5v-Time_duration {
  39. margin-left: 5px;
  40. color: #919191;
  41. }
  42. .rh5v-Seek_component {
  43. position: absolute;
  44. left: 34px;
  45. height: 34px;
  46. right: 178px;
  47. }
  48. .rh5v-Seek_track {
  49. position: absolute;
  50. top: 50%;
  51. left: 5px;
  52. right: 5px;
  53. height: 4px;
  54. -ms-transform: translateY(-50%);
  55. transform: translateY(-50%);
  56. background-color: #3e3e3e;
  57. }
  58. .rh5v-Seek_buffer,
  59. .rh5v-Seek_fill,
  60. .rh5v-Seek_input {
  61. position: absolute;
  62. top: 0;
  63. left: 0;
  64. height: 100%;
  65. }
  66. .rh5v-Seek_buffer {
  67. background-color: #5a5a5a;
  68. }
  69. .rh5v-Seek_fill {
  70. background: #fff;
  71. }
  72. .rh5v-Seek_input {
  73. width: 100%;
  74. opacity: 0;
  75. cursor: pointer;
  76. }
  77. .rh5v-Volume_component {
  78. position: relative;
  79. float: right;
  80. height: 34px;
  81. }
  82. .rh5v-Volume_component:hover {
  83. background-color: #000;
  84. }
  85. .rh5v-Volume_button {
  86. width: 34px;
  87. height: 34px;
  88. background: none;
  89. border: 0;
  90. color: inherit;
  91. font: inherit;
  92. line-height: normal;
  93. overflow: visible;
  94. padding: 0;
  95. cursor: pointer;
  96. }
  97. .rh5v-Volume_button:focus {
  98. outline: 0;
  99. }
  100. .rh5v-Volume_icon {
  101. padding: 7px;
  102. }
  103. .rh5v-Volume_slider {
  104. display: none;
  105. position: absolute;
  106. right: 5px;
  107. bottom: 100%;
  108. left: 5px;
  109. height: 56px;
  110. background-color: #000;
  111. }
  112. .rh5v-Volume_component:hover .rh5v-Volume_slider {
  113. display: block;
  114. }
  115. .rh5v-Volume_track {
  116. position: absolute;
  117. top: 8px;
  118. bottom: 8px;
  119. left: 50%;
  120. width: 4px;
  121. -ms-transform: translateX(-50%);
  122. transform: translateX(-50%);
  123. background-color: #3e3e3e;
  124. }
  125. .rh5v-Volume_fill, .rh5v-Volume_input {
  126. position: absolute;
  127. right: 0;
  128. bottom: 0;
  129. left: 0;
  130. height: 100%;
  131. width: 100%;
  132. }
  133. .rh5v-Volume_fill {
  134. background-color: #fff;
  135. }
  136. .rh5v-Volume_input {
  137. padding: 0;
  138. margin: 0;
  139. opacity: 0;
  140. -webkit-appearance: slider-vertical;
  141. cursor: pointer;
  142. }.rh5v-Captions_component {
  143. position: relative;
  144. }
  145. .rh5v-Captions_component:hover {
  146. background-color: #000;
  147. }
  148. .rh5v-Captions_button {
  149. width: 34px;
  150. height: 34px;
  151. background: none;
  152. border: 0;
  153. color: inherit;
  154. font: inherit;
  155. line-height: normal;
  156. overflow: visible;
  157. padding: 0;
  158. cursor: pointer;
  159. }
  160. .rh5v-Captions_button:focus {
  161. outline: 0;
  162. }
  163. .rh5v-Captions_icon {
  164. padding: 5px;
  165. }
  166. .rh5v-Captions_trackList {
  167. position: absolute;
  168. right: 0;
  169. bottom: 100%;
  170. display: none;
  171. background-color: rgba(0,0,0,0.7);
  172. list-style: none;
  173. padding: 0;
  174. margin: 0;
  175. color: #fff;
  176. }
  177. .rh5v-Captions_component:hover .rh5v-Captions_trackList {
  178. display: block;
  179. }
  180. .rh5v-Captions_trackItem {
  181. padding: 7px;
  182. cursor: pointer;
  183. }
  184. .rh5v-Captions_activeTrackItem,
  185. .rh5v-Captions_trackItem:hover {
  186. background: #000;
  187. }
  188. .rh5v-Captions_activeTrackItem {
  189. text-decoration: underline;
  190. }
  191. .rh5v-Speed_component {
  192. position: relative;
  193. float: right;
  194. height: 34px;
  195. }
  196. .rh5v-Speed_component:hover {
  197. background-color: #000;
  198. }
  199. .rh5v-Speed_button {
  200. width: 34px;
  201. height: 34px;
  202. background: none;
  203. border: 0;
  204. color: inherit;
  205. font: inherit;
  206. line-height: normal;
  207. overflow: visible;
  208. padding: 0;
  209. cursor: pointer;
  210. }
  211. .rh5v-Speed_button:focus {
  212. outline: 0;
  213. }
  214. .rh5v-Speed_icon {
  215. padding: 5px;
  216. }
  217. .rh5v-Speed_speedList {
  218. position: absolute;
  219. bottom: 100%;
  220. display: none;
  221. background-color: rgba(0, 0, 0, 0.7);
  222. list-style: none;
  223. padding: 0;
  224. margin: 0;
  225. color: #fff;
  226. }
  227. .rh5v-Speed_component:hover .rh5v-Speed_speedList {
  228. display: block;
  229. }
  230. .rh5v-Speed_speedItem {
  231. padding: 7px;
  232. cursor: pointer;
  233. }
  234. .rh5v-Speed_activeSpeedItem, .rh5v-Speed_speedItem:hover {
  235. background: #000;
  236. }
  237. .rh5v-Speed_activeSpeedItem {
  238. text-decoration: underline;
  239. }.rh5v-PlayPause_component {
  240. float: left;
  241. height: 34px;
  242. }
  243. .rh5v-PlayPause_component:hover {
  244. background-color: #000;
  245. }
  246. .rh5v-PlayPause_button {
  247. width: 34px;
  248. height: 34px;
  249. background: none;
  250. border: 0;
  251. color: inherit;
  252. font: inherit;
  253. line-height: normal;
  254. overflow: visible;
  255. padding: 0;
  256. cursor: pointer;
  257. }
  258. .rh5v-PlayPause_button:focus {
  259. outline: 0;
  260. }
  261. .rh5v-PlayPause_icon {
  262. padding: 5px;
  263. }
  264. .rh5v-Fullscreen_component {
  265. float: right;
  266. height: 34px;
  267. }
  268. .rh5v-Fullscreen_component:hover {
  269. background-color: #000;
  270. }
  271. .rh5v-Fullscreen_button {
  272. width: 34px;
  273. height: 34px;
  274. background: none;
  275. border: 0;
  276. color: inherit;
  277. font: inherit;
  278. line-height: normal;
  279. overflow: visible;
  280. padding: 0;
  281. cursor: pointer;
  282. }
  283. .rh5v-Fullscreen_button:focus {
  284. outline: 0;
  285. }
  286. .rh5v-Fullscreen_icon {
  287. padding: 5px;
  288. }.rh5v-Overlay_component {
  289. position: absolute;
  290. top: 0;
  291. right: 0;
  292. bottom: 0;
  293. left: 0;
  294. height: 100%;
  295. width: 100%;
  296. color: #fff;
  297. text-align: center;
  298. cursor: pointer;
  299. background-color: rgba(0,0,0,0);
  300. }
  301. .rh5v-Overlay_inner {
  302. display: inline-block;
  303. position: absolute;
  304. top: 50%;
  305. right: 0;
  306. left: 50%;
  307. width: 60px;
  308. height: 60px;
  309. -ms-transform: translateY(-50%);
  310. transform: translateY(-50%);
  311. margin-left: -30px;
  312. background-color: rgba(0,0,0,0.7);
  313. border-radius: 10px;
  314. }
  315. .rh5v-Overlay_icon {
  316. position: absolute;
  317. top: 50%;
  318. right: 0;
  319. left: 50%;
  320. margin-left: -20px;
  321. -ms-transform: translateY(-50%);
  322. transform: translateY(-50%);
  323. }