video-js.min.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679
  1. /*!
  2. Video.js Default Styles (http://videojs.com)
  3. Version 4.3.0
  4. Create your own skin at http://designer.videojs.com
  5. */
  6. .vjs-default-skin {
  7. color: #ccc
  8. }
  9. @font-face {
  10. font-family: VideoJS;
  11. src: url(font/vjs.eot);
  12. src: url(font/vjs.eot?#iefix) format('embedded-opentype'),
  13. url(font/vjs.woff) format('woff'), url(font/vjs.ttf)
  14. format('truetype');
  15. font-weight: 400;
  16. font-style: normal
  17. }
  18. .vjs-default-skin .vjs-slider {
  19. outline: 0;
  20. position: relative;
  21. cursor: pointer;
  22. padding: 0;
  23. background-color: #333;
  24. background-color: rgba(51, 51, 51, .9)
  25. }
  26. .vjs-default-skin .vjs-slider:focus {
  27. -webkit-box-shadow: 0 0 2em #fff;
  28. -moz-box-shadow: 0 0 2em #fff;
  29. box-shadow: 0 0 2em #fff
  30. }
  31. .vjs-default-skin .vjs-slider-handle {
  32. position: absolute;
  33. left: 0;
  34. top: 0
  35. }
  36. .vjs-default-skin .vjs-slider-handle:before {
  37. content: "\e009";
  38. font-family: VideoJS;
  39. font-size: 1em;
  40. line-height: 1;
  41. text-align: center;
  42. text-shadow: 0 0 1em #fff;
  43. position: absolute;
  44. top: 0;
  45. left: 0;
  46. -webkit-transform: rotate(-45deg);
  47. -moz-transform: rotate(-45deg);
  48. -ms-transform: rotate(-45deg);
  49. -o-transform: rotate(-45deg);
  50. transform: rotate(-45deg)
  51. }
  52. .vjs-default-skin .vjs-control-bar {
  53. display: none;
  54. position: absolute;
  55. bottom: 0;
  56. left: 0;
  57. right: 0;
  58. height: 3em;
  59. background-color: #07141e;
  60. background-color: rgba(7, 20, 30, .7)
  61. }
  62. .vjs-default-skin.vjs-has-started .vjs-control-bar {
  63. display: block;
  64. visibility: visible;
  65. opacity: 1;
  66. -webkit-transition: visibility .1s, opacity .1s;
  67. -moz-transition: visibility .1s, opacity .1s;
  68. -o-transition: visibility .1s, opacity .1s;
  69. transition: visibility .1s, opacity .1s
  70. }
  71. .vjs-default-skin.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar
  72. {
  73. display: block;
  74. visibility: hidden;
  75. opacity: 0;
  76. -webkit-transition: visibility 1s, opacity 1s;
  77. -moz-transition: visibility 1s, opacity 1s;
  78. -o-transition: visibility 1s, opacity 1s;
  79. transition: visibility 1s, opacity 1s
  80. }
  81. .vjs-default-skin.vjs-controls-disabled .vjs-control-bar {
  82. display: none
  83. }
  84. .vjs-default-skin.vjs-using-native-controls .vjs-control-bar {
  85. display: none
  86. }
  87. @media \0screen {
  88. .vjs-default-skin.vjs-user-inactive.vjs-playing .vjs-control-bar :before
  89. {
  90. content: ""
  91. }
  92. }
  93. .vjs-default-skin .vjs-control {
  94. outline: 0;
  95. position: relative;
  96. float: left;
  97. text-align: center;
  98. margin: 0;
  99. padding: 0;
  100. height: 3em;
  101. width: 4em
  102. }
  103. .vjs-default-skin .vjs-control:before {
  104. font-family: VideoJS;
  105. font-size: 1.5em;
  106. line-height: 2;
  107. position: absolute;
  108. top: 0;
  109. left: 0;
  110. width: 100%;
  111. height: 100%;
  112. text-align: center;
  113. text-shadow: 1px 1px 1px rgba(0, 0, 0, .5)
  114. }
  115. .vjs-default-skin .vjs-control:focus:before, .vjs-default-skin .vjs-control:hover:before
  116. {
  117. text-shadow: 0 0 1em #fff
  118. }
  119. .vjs-default-skin .vjs-control:focus {
  120. }
  121. .vjs-default-skin .vjs-control-text {
  122. border: 0;
  123. clip: rect(0, 0, 0, 0);
  124. height: 1px;
  125. margin: -1px;
  126. overflow: hidden;
  127. padding: 0;
  128. position: absolute;
  129. width: 1px
  130. }
  131. .vjs-default-skin .vjs-play-control {
  132. width: 5em;
  133. cursor: pointer
  134. }
  135. .vjs-default-skin .vjs-play-control:before {
  136. content: "\e001"
  137. }
  138. .vjs-default-skin.vjs-playing .vjs-play-control:before {
  139. content: "\e002"
  140. }
  141. .vjs-default-skin .vjs-mute-control, .vjs-default-skin .vjs-volume-menu-button
  142. {
  143. cursor: pointer;
  144. float: right
  145. }
  146. .vjs-default-skin .vjs-mute-control:before, .vjs-default-skin .vjs-volume-menu-button:before
  147. {
  148. content: "\e006"
  149. }
  150. .vjs-default-skin .vjs-mute-control.vjs-vol-0:before, .vjs-default-skin .vjs-volume-menu-button.vjs-vol-0:before
  151. {
  152. content: "\e003"
  153. }
  154. .vjs-default-skin .vjs-mute-control.vjs-vol-1:before, .vjs-default-skin .vjs-volume-menu-button.vjs-vol-1:before
  155. {
  156. content: "\e004"
  157. }
  158. .vjs-default-skin .vjs-mute-control.vjs-vol-2:before, .vjs-default-skin .vjs-volume-menu-button.vjs-vol-2:before
  159. {
  160. content: "\e005"
  161. }
  162. .vjs-default-skin .vjs-volume-control {
  163. width: 5em;
  164. float: right
  165. }
  166. .vjs-default-skin .vjs-volume-bar {
  167. width: 5em;
  168. height: .6em;
  169. margin: 1.1em auto 0
  170. }
  171. .vjs-default-skin .vjs-volume-menu-button .vjs-menu-content {
  172. height: 2.9em
  173. }
  174. .vjs-default-skin .vjs-volume-level {
  175. position: absolute;
  176. top: 0;
  177. left: 0;
  178. height: .5em;
  179. background: #66a8cc
  180. url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC)
  181. -50% 0 repeat
  182. }
  183. .vjs-default-skin .vjs-volume-bar .vjs-volume-handle {
  184. width: .5em;
  185. height: .5em
  186. }
  187. .vjs-default-skin .vjs-volume-handle:before {
  188. font-size: .9em;
  189. top: -.2em;
  190. left: -.2em;
  191. width: 1em;
  192. height: 1em
  193. }
  194. .vjs-default-skin .vjs-volume-menu-button .vjs-menu .vjs-menu-content {
  195. width: 6em;
  196. left: -4em
  197. }
  198. .vjs-default-skin .vjs-progress-control {
  199. position: absolute;
  200. left: 0;
  201. right: 0;
  202. width: auto;
  203. font-size: .3em;
  204. height: 1em;
  205. top: -1em;
  206. -webkit-transition: all .4s;
  207. -moz-transition: all .4s;
  208. -o-transition: all .4s;
  209. transition: all .4s
  210. }
  211. .vjs-default-skin:hover .vjs-progress-control {
  212. font-size: .9em;
  213. -webkit-transition: all .2s;
  214. -moz-transition: all .2s;
  215. -o-transition: all .2s;
  216. transition: all .2s
  217. }
  218. .vjs-default-skin .vjs-progress-holder {
  219. height: 100%
  220. }
  221. .vjs-default-skin .vjs-progress-holder .vjs-play-progress,
  222. .vjs-default-skin .vjs-progress-holder .vjs-load-progress {
  223. position: absolute;
  224. display: block;
  225. height: 100%;
  226. margin: 0;
  227. padding: 0;
  228. left: 0;
  229. top: 0
  230. }
  231. .vjs-default-skin .vjs-play-progress {
  232. background: #66a8cc
  233. url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC)
  234. -50% 0 repeat
  235. }
  236. .vjs-default-skin .vjs-load-progress {
  237. background: #646464;
  238. background: rgba(255, 255, 255, .4)
  239. }
  240. .vjs-default-skin .vjs-seek-handle {
  241. width: 1.5em;
  242. height: 100%
  243. }
  244. .vjs-default-skin .vjs-seek-handle:before {
  245. padding-top: .1em
  246. }
  247. .vjs-default-skin .vjs-time-controls {
  248. font-size: 1em;
  249. line-height: 3em
  250. }
  251. .vjs-default-skin .vjs-current-time {
  252. float: left
  253. }
  254. .vjs-default-skin .vjs-duration {
  255. float: left
  256. }
  257. .vjs-default-skin .vjs-remaining-time {
  258. display: none;
  259. float: left
  260. }
  261. .vjs-time-divider {
  262. float: left;
  263. line-height: 3em
  264. }
  265. .vjs-default-skin .vjs-fullscreen-control {
  266. width: 3.8em;
  267. cursor: pointer;
  268. float: right
  269. }
  270. .vjs-default-skin .vjs-fullscreen-control:before {
  271. content: "\e000"
  272. }
  273. .vjs-default-skin.vjs-fullscreen .vjs-fullscreen-control:before {
  274. content: "\e00b"
  275. }
  276. .vjs-default-skin .vjs-big-play-button {
  277. left: .5em;
  278. top: .5em;
  279. font-size: 3em;
  280. display: block;
  281. z-index: 2;
  282. position: absolute;
  283. width: 4em;
  284. height: 2.6em;
  285. text-align: center;
  286. vertical-align: middle;
  287. cursor: pointer;
  288. opacity: 1;
  289. background-color: #07141e;
  290. background-color: rgba(7, 20, 30, .7);
  291. border: .1em solid #3b4249;
  292. -webkit-border-radius: .8em;
  293. -moz-border-radius: .8em;
  294. border-radius: .8em;
  295. -webkit-box-shadow: 0 0 1em rgba(255, 255, 255, .25);
  296. -moz-box-shadow: 0 0 1em rgba(255, 255, 255, .25);
  297. box-shadow: 0 0 1em rgba(255, 255, 255, .25);
  298. -webkit-transition: all .4s;
  299. -moz-transition: all .4s;
  300. -o-transition: all .4s;
  301. transition: all .4s
  302. }
  303. .vjs-default-skin.vjs-big-play-centered .vjs-big-play-button {
  304. left: 50%;
  305. margin-left: -2.1em;
  306. top: 50%;
  307. margin-top: -1.4000000000000001em
  308. }
  309. .vjs-default-skin.vjs-controls-disabled .vjs-big-play-button {
  310. display: none
  311. }
  312. .vjs-default-skin.vjs-has-started .vjs-big-play-button {
  313. display: none
  314. }
  315. .vjs-default-skin.vjs-using-native-controls .vjs-big-play-button {
  316. display: none
  317. }
  318. .vjs-default-skin:hover .vjs-big-play-button, .vjs-default-skin .vjs-big-play-button:focus
  319. {
  320. outline: 0;
  321. border-color: #fff;
  322. background-color: #505050;
  323. background-color: rgba(50, 50, 50, .75);
  324. -webkit-box-shadow: 0 0 3em #fff;
  325. -moz-box-shadow: 0 0 3em #fff;
  326. box-shadow: 0 0 3em #fff;
  327. -webkit-transition: all 0s;
  328. -moz-transition: all 0s;
  329. -o-transition: all 0s;
  330. transition: all 0s
  331. }
  332. .vjs-default-skin .vjs-big-play-button:before {
  333. content: "\e001";
  334. font-family: VideoJS;
  335. line-height: 2.6em;
  336. text-shadow: .05em .05em .1em #000;
  337. text-align: center;
  338. position: absolute;
  339. left: 0;
  340. width: 100%;
  341. height: 100%
  342. }
  343. .vjs-loading-spinner {
  344. display: none;
  345. position: absolute;
  346. top: 50%;
  347. left: 50%;
  348. font-size: 4em;
  349. line-height: 1;
  350. width: 1em;
  351. height: 1em;
  352. margin-left: -.5em;
  353. margin-top: -.5em;
  354. opacity: .75;
  355. -webkit-animation: spin 1.5s infinite linear;
  356. -moz-animation: spin 1.5s infinite linear;
  357. -o-animation: spin 1.5s infinite linear;
  358. animation: spin 1.5s infinite linear
  359. }
  360. .vjs-default-skin .vjs-loading-spinner:before {
  361. content: "\e01e";
  362. font-family: VideoJS;
  363. position: absolute;
  364. top: 0;
  365. left: 0;
  366. width: 1em;
  367. height: 1em;
  368. text-align: center;
  369. text-shadow: 0 0 .1em #000
  370. }
  371. @
  372. -moz-keyframes spin { 0%{
  373. -moz-transform: rotate(0deg)
  374. }
  375. 100%{
  376. -moz-transform
  377. :rotate(359deg)
  378. }
  379. }
  380. @
  381. -webkit-keyframes spin { 0%{
  382. -webkit-transform: rotate(0deg)
  383. }
  384. 100%{
  385. -webkit-transform
  386. :rotate(359deg)
  387. }
  388. }
  389. @
  390. -o-keyframes spin { 0%{
  391. -o-transform: rotate(0deg)
  392. }
  393. 100%{
  394. -o-transform
  395. :rotate(359deg)
  396. }
  397. }
  398. @
  399. keyframes spin { 0%{
  400. transform: rotate(0deg)
  401. }
  402. 100%{
  403. transform
  404. :rotate(359deg)
  405. }
  406. }
  407. .vjs-default-skin .vjs-menu-button {
  408. float: right;
  409. cursor: pointer
  410. }
  411. .vjs-default-skin .vjs-menu {
  412. display: none;
  413. position: absolute;
  414. bottom: 0;
  415. left: 0;
  416. width: 0;
  417. height: 0;
  418. margin-bottom: 3em;
  419. border-left: 2em solid transparent;
  420. border-right: 2em solid transparent;
  421. border-top: 1.55em solid #000;
  422. border-top-color: rgba(7, 40, 50, .5)
  423. }
  424. .vjs-default-skin .vjs-menu-button .vjs-menu .vjs-menu-content {
  425. display: block;
  426. padding: 0;
  427. margin: 0;
  428. position: absolute;
  429. width: 10em;
  430. bottom: 1.5em;
  431. max-height: 15em;
  432. overflow: auto;
  433. left: -5em;
  434. background-color: #07141e;
  435. background-color: rgba(7, 20, 30, .7);
  436. -webkit-box-shadow: -.2em -.2em .3em rgba(255, 255, 255, .2);
  437. -moz-box-shadow: -.2em -.2em .3em rgba(255, 255, 255, .2);
  438. box-shadow: -.2em -.2em .3em rgba(255, 255, 255, .2)
  439. }
  440. .vjs-default-skin .vjs-menu-button:hover .vjs-menu {
  441. display: block
  442. }
  443. .vjs-default-skin .vjs-menu-button ul li {
  444. list-style: none;
  445. margin: 0;
  446. padding: .3em 0;
  447. line-height: 1.4em;
  448. font-size: 1.2em;
  449. text-align: center;
  450. text-transform: lowercase
  451. }
  452. .vjs-default-skin .vjs-menu-button ul li.vjs-selected {
  453. background-color: #000
  454. }
  455. .vjs-default-skin .vjs-menu-button ul li:focus, .vjs-default-skin .vjs-menu-button ul li:hover,
  456. .vjs-default-skin .vjs-menu-button ul li.vjs-selected:focus,
  457. .vjs-default-skin .vjs-menu-button ul li.vjs-selected:hover {
  458. outline: 0;
  459. color: #111;
  460. background-color: #fff;
  461. background-color: rgba(255, 255, 255, .75);
  462. -webkit-box-shadow: 0 0 1em #fff;
  463. -moz-box-shadow: 0 0 1em #fff;
  464. box-shadow: 0 0 1em #fff
  465. }
  466. .vjs-default-skin .vjs-menu-button ul li.vjs-menu-title {
  467. text-align: center;
  468. text-transform: uppercase;
  469. font-size: 1em;
  470. line-height: 2em;
  471. padding: 0;
  472. margin: 0 0 .3em;
  473. font-weight: 700;
  474. cursor: default
  475. }
  476. .vjs-default-skin .vjs-subtitles-button:before {
  477. content: "\e00c"
  478. }
  479. .vjs-default-skin .vjs-captions-button:before {
  480. content: "\e008"
  481. }
  482. .vjs-default-skin .vjs-captions-button:focus .vjs-control-content:before,
  483. .vjs-default-skin .vjs-captions-button:hover .vjs-control-content:before
  484. {
  485. -webkit-box-shadow: 0 0 1em #fff;
  486. -moz-box-shadow: 0 0 1em #fff;
  487. box-shadow: 0 0 1em #fff
  488. }
  489. .video-js {
  490. background-color: #000;
  491. position: relative;
  492. padding: 0;
  493. font-size: 10px;
  494. vertical-align: middle;
  495. font-weight: 400;
  496. font-style: normal;
  497. font-family: Arial, sans-serif;
  498. -webkit-user-select: none;
  499. -moz-user-select: none;
  500. -ms-user-select: none;
  501. user-select: none
  502. }
  503. .video-js .vjs-tech {
  504. position: absolute;
  505. top: 0;
  506. left: 0;
  507. width: 100%;
  508. height: 100%
  509. }
  510. .video-js:-moz-full-screen {
  511. position: absolute
  512. }
  513. body.vjs-full-window {
  514. padding: 0;
  515. margin: 0;
  516. height: 100%;
  517. overflow-y: auto
  518. }
  519. .video-js.vjs-fullscreen {
  520. position: fixed;
  521. overflow: hidden;
  522. z-index: 1000;
  523. left: 0;
  524. top: 0;
  525. bottom: 0;
  526. right: 0;
  527. width: 100% !important;
  528. height: 100% !important;
  529. _position: absolute
  530. }
  531. .video-js:-webkit-full-screen {
  532. width: 100% !important;
  533. height: 100% !important
  534. }
  535. .video-js.vjs-fullscreen.vjs-user-inactive {
  536. cursor: none
  537. }
  538. .vjs-poster {
  539. background-repeat: no-repeat;
  540. background-position: 50% 50%;
  541. background-size: contain;
  542. cursor: pointer;
  543. height: 100%;
  544. margin: 0;
  545. padding: 0;
  546. position: relative;
  547. width: 100%
  548. }
  549. .vjs-poster img {
  550. display: block;
  551. margin: 0 auto;
  552. max-height: 100%;
  553. padding: 0;
  554. width: 100%
  555. }
  556. .video-js.vjs-using-native-controls .vjs-poster {
  557. display: none
  558. }
  559. .video-js .vjs-text-track-display {
  560. text-align: center;
  561. position: absolute;
  562. bottom: 4em;
  563. left: 1em;
  564. right: 1em
  565. }
  566. .video-js .vjs-text-track {
  567. display: none;
  568. font-size: 1.4em;
  569. text-align: center;
  570. margin-bottom: .1em;
  571. background-color: #000;
  572. background-color: rgba(0, 0, 0, .5)
  573. }
  574. .video-js .vjs-subtitles {
  575. color: #fff
  576. }
  577. .video-js .vjs-captions {
  578. color: #fc6
  579. }
  580. .vjs-tt-cue {
  581. display: block
  582. }
  583. .vjs-default-skin .vjs-hidden {
  584. display: none
  585. }
  586. .vjs-lock-showing {
  587. display: block !important;
  588. opacity: 1;
  589. visibility: visible
  590. }