mediaelementplayer.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870
  1. .mejs-container {
  2. position: relative;
  3. background: #000;
  4. font-family: Helvetica, Arial;
  5. text-align: left;
  6. vertical-align: top;
  7. text-indent: 0;
  8. }
  9. .me-plugin {
  10. position: absolute;
  11. }
  12. .mejs-embed, .mejs-embed body {
  13. width: 100%;
  14. height: 100%;
  15. margin: 0;
  16. padding: 0;
  17. background: #000;
  18. overflow: hidden;
  19. }
  20. .mejs-fullscreen {
  21. /* set it to not show scroll bars so 100% will work */
  22. overflow: hidden !important;
  23. }
  24. .mejs-container-fullscreen {
  25. position: fixed;
  26. left: 0;
  27. top: 0;
  28. right: 0;
  29. bottom: 0;
  30. overflow: hidden;
  31. z-index: 1000;
  32. }
  33. .mejs-container-fullscreen .mejs-mediaelement,
  34. .mejs-container-fullscreen video {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. .mejs-clear {
  39. clear: both;
  40. }
  41. /* Start: LAYERS */
  42. .mejs-background {
  43. position: absolute;
  44. top: 0;
  45. left: 0;
  46. }
  47. .mejs-mediaelement {
  48. position: absolute;
  49. top: 0;
  50. left: 0;
  51. width: 100%;
  52. height: 100%;
  53. }
  54. .mejs-poster {
  55. position: absolute;
  56. top: 0;
  57. left: 0;
  58. background-size: contain ;
  59. background-position: 50% 50% ;
  60. background-repeat: no-repeat ;
  61. }
  62. :root .mejs-poster img {
  63. display: none ;
  64. }
  65. .mejs-poster img {
  66. border: 0;
  67. padding: 0;
  68. border: 0;
  69. }
  70. .mejs-overlay {
  71. position: absolute;
  72. top: 0;
  73. left: 0;
  74. }
  75. .mejs-overlay-play {
  76. cursor: pointer;
  77. }
  78. .mejs-overlay-button {
  79. position: absolute;
  80. top: 50%;
  81. left: 50%;
  82. width: 100px;
  83. height: 100px;
  84. margin: -50px 0 0 -50px;
  85. background: url(bigplay.svg) no-repeat;
  86. }
  87. .no-svg .mejs-overlay-button {
  88. background-image: url(bigplay.png);
  89. }
  90. .mejs-overlay:hover .mejs-overlay-button {
  91. background-position: 0 -100px ;
  92. }
  93. .mejs-overlay-loading {
  94. position: absolute;
  95. top: 50%;
  96. left: 50%;
  97. width: 80px;
  98. height: 80px;
  99. margin: -40px 0 0 -40px;
  100. background: #333;
  101. background: url(background.png);
  102. background: rgba(0, 0, 0, 0.9);
  103. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(50,50,50,0.9)), to(rgba(0,0,0,0.9)));
  104. background: -webkit-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  105. background: -moz-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  106. background: -o-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  107. background: -ms-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  108. background: linear-gradient(rgba(50,50,50,0.9), rgba(0,0,0,0.9));
  109. }
  110. .mejs-overlay-loading span {
  111. display: block;
  112. width: 80px;
  113. height: 80px;
  114. background: transparent url(loading.gif) 50% 50% no-repeat;
  115. }
  116. /* End: LAYERS */
  117. /* Start: CONTROL BAR */
  118. .mejs-container .mejs-controls {
  119. position: absolute;
  120. list-style-type: none;
  121. margin: 0;
  122. padding: 0;
  123. bottom: 0;
  124. left: 0;
  125. background: url(background.png);
  126. background: rgba(0, 0, 0, 0.7);
  127. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(50,50,50,0.7)), to(rgba(0,0,0,0.7)));
  128. background: -webkit-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  129. background: -moz-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  130. background: -o-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  131. background: -ms-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  132. background: linear-gradient(rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  133. height: 30px;
  134. width: 100%;
  135. }
  136. .mejs-container .mejs-controls div {
  137. list-style-type: none;
  138. background-image: none;
  139. display: block;
  140. float: left;
  141. margin: 0;
  142. padding: 0;
  143. width: 26px;
  144. height: 26px;
  145. font-size: 11px;
  146. line-height: 11px;
  147. font-family: Helvetica, Arial;
  148. border: 0;
  149. }
  150. .mejs-controls .mejs-button button {
  151. cursor: pointer;
  152. display: block;
  153. font-size: 0;
  154. line-height: 0;
  155. text-decoration: none;
  156. margin: 7px 5px;
  157. padding: 0;
  158. position: absolute;
  159. height: 16px;
  160. width: 16px;
  161. border: 0;
  162. background: transparent url(controls.svg) no-repeat;
  163. }
  164. .no-svg .mejs-controls .mejs-button button {
  165. background-image: url(controls.png);
  166. }
  167. /* :focus for accessibility */
  168. .mejs-controls .mejs-button button:focus {
  169. outline: solid 1px yellow;
  170. }
  171. /* End: CONTROL BAR */
  172. /* Start: Time (Current / Duration) */
  173. .mejs-container .mejs-controls .mejs-time {
  174. color: #fff;
  175. display: block;
  176. height: 17px;
  177. width: auto;
  178. padding: 8px 3px 0 3px ;
  179. overflow: hidden;
  180. text-align: center;
  181. -moz-box-sizing: content-box;
  182. -webkit-box-sizing: content-box;
  183. box-sizing: content-box;
  184. }
  185. .mejs-container .mejs-controls .mejs-time span {
  186. color: #fff;
  187. font-size: 11px;
  188. line-height: 12px;
  189. display: block;
  190. float: left;
  191. margin: 1px 2px 0 0;
  192. width: auto;
  193. }
  194. /* End: Time (Current / Duration) */
  195. /* Start: Play/Pause/Stop */
  196. .mejs-controls .mejs-play button {
  197. background-position: 0 0;
  198. }
  199. .mejs-controls .mejs-pause button {
  200. background-position: 0 -16px;
  201. }
  202. .mejs-controls .mejs-stop button {
  203. background-position: -112px 0;
  204. }
  205. /* Start: Play/Pause/Stop */
  206. /* Start: Progress Bar */
  207. .mejs-controls div.mejs-time-rail {
  208. direction: ltr;
  209. width: 200px;
  210. padding-top: 5px;
  211. }
  212. .mejs-controls .mejs-time-rail span {
  213. display: block;
  214. position: absolute;
  215. width: 180px;
  216. height: 10px;
  217. -webkit-border-radius: 2px;
  218. -moz-border-radius: 2px;
  219. border-radius: 2px;
  220. cursor: pointer;
  221. }
  222. .mejs-controls .mejs-time-rail .mejs-time-total {
  223. margin: 5px;
  224. background: #333;
  225. background: rgba(50,50,50,0.8);
  226. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(30,30,30,0.8)), to(rgba(60,60,60,0.8)));
  227. background: -webkit-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  228. background: -moz-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  229. background: -o-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  230. background: -ms-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  231. background: linear-gradient(rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  232. }
  233. .mejs-controls .mejs-time-rail .mejs-time-buffering {
  234. width: 100%;
  235. background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  236. background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  237. background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  238. background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  239. background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  240. background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  241. -webkit-background-size: 15px 15px;
  242. -moz-background-size: 15px 15px;
  243. -o-background-size: 15px 15px;
  244. background-size: 15px 15px;
  245. -webkit-animation: buffering-stripes 2s linear infinite;
  246. -moz-animation: buffering-stripes 2s linear infinite;
  247. -ms-animation: buffering-stripes 2s linear infinite;
  248. -o-animation: buffering-stripes 2s linear infinite;
  249. animation: buffering-stripes 2s linear infinite;
  250. }
  251. @-webkit-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  252. @-moz-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  253. @-ms-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  254. @-o-keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  255. @keyframes buffering-stripes { from {background-position: 0 0;} to {background-position: 30px 0;} }
  256. .mejs-controls .mejs-time-rail .mejs-time-loaded {
  257. background: #3caac8;
  258. background: rgba(60,170,200,0.8);
  259. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(44,124,145,0.8)), to(rgba(78,183,212,0.8)));
  260. background: -webkit-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  261. background: -moz-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  262. background: -o-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  263. background: -ms-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  264. background: linear-gradient(rgba(44,124,145,0.8), rgba(78,183,212,0.8));
  265. width: 0;
  266. }
  267. .mejs-controls .mejs-time-rail .mejs-time-current {
  268. background: #fff;
  269. background: rgba(255,255,255,0.8);
  270. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.9)), to(rgba(200,200,200,0.8)));
  271. background: -webkit-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  272. background: -moz-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  273. background: -o-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  274. background: -ms-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  275. background: linear-gradient(rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  276. width: 0;
  277. }
  278. .mejs-controls .mejs-time-rail .mejs-time-handle {
  279. display: none;
  280. position: absolute;
  281. margin: 0;
  282. width: 10px;
  283. background: #fff;
  284. -webkit-border-radius: 5px;
  285. -moz-border-radius: 5px;
  286. border-radius: 5px;
  287. cursor: pointer;
  288. border: solid 2px #333;
  289. top: -2px;
  290. text-align: center;
  291. }
  292. .mejs-controls .mejs-time-rail .mejs-time-float {
  293. position: absolute;
  294. display: none;
  295. background: #eee;
  296. width: 36px;
  297. height: 17px;
  298. border: solid 1px #333;
  299. top: -26px;
  300. margin-left: -18px;
  301. text-align: center;
  302. color: #111;
  303. }
  304. .mejs-controls .mejs-time-rail .mejs-time-float-current {
  305. margin: 2px;
  306. width: 30px;
  307. display: block;
  308. text-align: center;
  309. left: 0;
  310. }
  311. .mejs-controls .mejs-time-rail .mejs-time-float-corner {
  312. position: absolute;
  313. display: block;
  314. width: 0;
  315. height: 0;
  316. line-height: 0;
  317. border: solid 5px #eee;
  318. border-color: #eee transparent transparent transparent;
  319. -webkit-border-radius: 0;
  320. -moz-border-radius: 0;
  321. border-radius: 0;
  322. top: 15px;
  323. left: 13px;
  324. }
  325. .mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float {
  326. width: 48px;
  327. }
  328. .mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-current {
  329. width: 44px;
  330. }
  331. .mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-corner {
  332. left: 18px;
  333. }
  334. /*
  335. .mejs-controls .mejs-time-rail:hover .mejs-time-handle {
  336. visibility:visible;
  337. }
  338. */
  339. /* End: Progress Bar */
  340. /* Start: Fullscreen */
  341. .mejs-controls .mejs-fullscreen-button button {
  342. background-position: -32px 0;
  343. }
  344. .mejs-controls .mejs-unfullscreen button {
  345. background-position: -32px -16px;
  346. }
  347. /* End: Fullscreen */
  348. /* Start: Mute/Volume */
  349. .mejs-controls .mejs-volume-button {
  350. }
  351. .mejs-controls .mejs-mute button {
  352. background-position: -16px -16px;
  353. }
  354. .mejs-controls .mejs-unmute button {
  355. background-position: -16px 0;
  356. }
  357. .mejs-controls .mejs-volume-button {
  358. position: relative;
  359. }
  360. .mejs-controls .mejs-volume-button .mejs-volume-slider {
  361. display: none;
  362. height: 115px;
  363. width: 25px;
  364. background: url(background.png);
  365. background: rgba(50, 50, 50, 0.7);
  366. -webkit-border-radius: 0;
  367. -moz-border-radius: 0;
  368. border-radius: 0;
  369. top: -115px;
  370. left: 0;
  371. z-index: 1;
  372. position: absolute;
  373. margin: 0;
  374. }
  375. .mejs-controls .mejs-volume-button:hover {
  376. -webkit-border-radius: 0 0 4px 4px;
  377. -moz-border-radius: 0 0 4px 4px;
  378. border-radius: 0 0 4px 4px;
  379. }
  380. /*
  381. .mejs-controls .mejs-volume-button:hover .mejs-volume-slider {
  382. display: block;
  383. }
  384. */
  385. .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-total {
  386. position: absolute;
  387. left: 11px;
  388. top: 8px;
  389. width: 2px;
  390. height: 100px;
  391. background: #ddd;
  392. background: rgba(255, 255, 255, 0.5);
  393. margin: 0;
  394. }
  395. .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current {
  396. position: absolute;
  397. left: 11px;
  398. top: 8px;
  399. width: 2px;
  400. height: 100px;
  401. background: #ddd;
  402. background: rgba(255, 255, 255, 0.9);
  403. margin: 0;
  404. }
  405. .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle {
  406. position: absolute;
  407. left: 4px;
  408. top: -3px;
  409. width: 16px;
  410. height: 6px;
  411. background: #ddd;
  412. background: rgba(255, 255, 255, 0.9);
  413. cursor: N-resize;
  414. -webkit-border-radius: 1px;
  415. -moz-border-radius: 1px;
  416. border-radius: 1px;
  417. margin: 0;
  418. }
  419. /* horizontal version */
  420. .mejs-controls div.mejs-horizontal-volume-slider {
  421. height: 26px;
  422. width: 60px;
  423. position: relative;
  424. }
  425. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
  426. position: absolute;
  427. left: 0;
  428. top: 11px;
  429. width: 50px;
  430. height: 8px;
  431. margin: 0;
  432. padding: 0;
  433. font-size: 1px;
  434. -webkit-border-radius: 2px;
  435. -moz-border-radius: 2px;
  436. border-radius: 2px;
  437. background: #333;
  438. background: rgba(50,50,50,0.8);
  439. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(30,30,30,0.8)), to(rgba(60,60,60,0.8)));
  440. background: -webkit-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  441. background: -moz-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  442. background: -o-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  443. background: -ms-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  444. background: linear-gradient(rgba(30,30,30,0.8), rgba(60,60,60,0.8));
  445. }
  446. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
  447. position: absolute;
  448. left: 0;
  449. top: 11px;
  450. width: 50px;
  451. height: 8px;
  452. margin: 0;
  453. padding: 0;
  454. font-size: 1px;
  455. -webkit-border-radius: 2px;
  456. -moz-border-radius: 2px;
  457. border-radius: 2px;
  458. background: #fff;
  459. background: rgba(255,255,255,0.8);
  460. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.9)), to(rgba(200,200,200,0.8)));
  461. background: -webkit-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  462. background: -moz-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  463. background: -o-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  464. background: -ms-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  465. background: linear-gradient(rgba(255,255,255,0.9), rgba(200,200,200,0.8));
  466. }
  467. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle {
  468. display: none;
  469. }
  470. /* End: Mute/Volume */
  471. /* Start: Track (Captions and Chapters) */
  472. .mejs-controls .mejs-captions-button {
  473. position: relative;
  474. }
  475. .mejs-controls .mejs-captions-button button {
  476. background-position: -48px 0;
  477. }
  478. .mejs-controls .mejs-captions-button .mejs-captions-selector {
  479. visibility: hidden;
  480. position: absolute;
  481. bottom: 26px;
  482. right: -10px;
  483. width: 130px;
  484. height: 100px;
  485. background: url(background.png);
  486. background: rgba(50,50,50,0.7);
  487. border: solid 1px transparent;
  488. padding: 10px;
  489. overflow: hidden;
  490. -webkit-border-radius: 0;
  491. -moz-border-radius: 0;
  492. border-radius: 0;
  493. }
  494. /*
  495. .mejs-controls .mejs-captions-button:hover .mejs-captions-selector {
  496. visibility: visible;
  497. }
  498. */
  499. .mejs-controls .mejs-captions-button .mejs-captions-selector ul {
  500. margin: 0;
  501. padding: 0;
  502. display: block;
  503. list-style-type: none !important;
  504. overflow: hidden;
  505. }
  506. .mejs-controls .mejs-captions-button .mejs-captions-selector ul li {
  507. margin: 0 0 6px 0;
  508. padding: 0;
  509. list-style-type: none !important;
  510. display: block;
  511. color: #fff;
  512. overflow: hidden;
  513. }
  514. .mejs-controls .mejs-captions-button .mejs-captions-selector ul li input {
  515. clear: both;
  516. float: left;
  517. margin: 3px 3px 0 5px;
  518. }
  519. .mejs-controls .mejs-captions-button .mejs-captions-selector ul li label {
  520. width: 100px;
  521. float: left;
  522. padding: 4px 0 0 0;
  523. line-height: 15px;
  524. font-family: helvetica, arial;
  525. font-size: 10px;
  526. }
  527. .mejs-controls .mejs-captions-button .mejs-captions-translations {
  528. font-size: 10px;
  529. margin: 0 0 5px 0;
  530. }
  531. .mejs-chapters {
  532. position: absolute;
  533. top: 0;
  534. left: 0;
  535. -xborder-right: solid 1px #fff;
  536. width: 10000px;
  537. z-index: 1;
  538. }
  539. .mejs-chapters .mejs-chapter {
  540. position: absolute;
  541. float: left;
  542. background: #222;
  543. background: rgba(0, 0, 0, 0.7);
  544. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(50,50,50,0.7)), to(rgba(0,0,0,0.7)));
  545. background: -webkit-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  546. background: -moz-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  547. background: -o-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  548. background: -ms-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  549. background: linear-gradient(rgba(50,50,50,0.7), rgba(0,0,0,0.7));
  550. filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#323232,endColorstr=#000000);
  551. overflow: hidden;
  552. border: 0;
  553. }
  554. .mejs-chapters .mejs-chapter .mejs-chapter-block {
  555. font-size: 11px;
  556. color: #fff;
  557. padding: 5px;
  558. display: block;
  559. border-right: solid 1px #333;
  560. border-bottom: solid 1px #333;
  561. cursor: pointer;
  562. }
  563. .mejs-chapters .mejs-chapter .mejs-chapter-block-last {
  564. border-right: none;
  565. }
  566. .mejs-chapters .mejs-chapter .mejs-chapter-block:hover {
  567. background: #666;
  568. background: rgba(102,102,102, 0.7);
  569. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(102,102,102,0.7)), to(rgba(50,50,50,0.6)));
  570. background: -webkit-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  571. background: -moz-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  572. background: -o-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  573. background: -ms-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  574. background: linear-gradient(rgba(102,102,102,0.7), rgba(50,50,50,0.6));
  575. filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#666666,endColorstr=#323232);
  576. }
  577. .mejs-chapters .mejs-chapter .mejs-chapter-block .ch-title {
  578. font-size: 12px;
  579. font-weight: bold;
  580. display: block;
  581. white-space: nowrap;
  582. text-overflow: ellipsis;
  583. margin: 0 0 3px 0;
  584. line-height: 12px;
  585. }
  586. .mejs-chapters .mejs-chapter .mejs-chapter-block .ch-timespan {
  587. font-size: 12px;
  588. line-height: 12px;
  589. margin: 3px 0 4px 0;
  590. display: block;
  591. white-space: nowrap;
  592. text-overflow: ellipsis;
  593. }
  594. .mejs-captions-layer {
  595. position: absolute;
  596. bottom: 0;
  597. left: 0;
  598. text-align:center;
  599. line-height: 22px;
  600. font-size: 12px;
  601. color: #fff;
  602. }
  603. .mejs-captions-layer a {
  604. color: #fff;
  605. text-decoration: underline;
  606. }
  607. .mejs-captions-layer[lang=ar] {
  608. font-size: 20px;
  609. font-weight: normal;
  610. }
  611. .mejs-captions-position {
  612. position: absolute;
  613. width: 100%;
  614. bottom: 15px;
  615. left: 0;
  616. }
  617. .mejs-captions-position-hover {
  618. bottom: 45px;
  619. }
  620. .mejs-captions-text {
  621. padding: 3px 5px;
  622. background: url(background.png);
  623. background: rgba(20, 20, 20, 0.8);
  624. }
  625. /* End: Track (Captions and Chapters) */
  626. /* Start: Error */
  627. .me-cannotplay {
  628. }
  629. .me-cannotplay a {
  630. color: #fff;
  631. font-weight: bold;
  632. }
  633. .me-cannotplay span {
  634. padding: 15px;
  635. display: block;
  636. }
  637. /* End: Error */
  638. /* Start: Loop */
  639. .mejs-controls .mejs-loop-off button {
  640. background-position: -64px -16px;
  641. }
  642. .mejs-controls .mejs-loop-on button {
  643. background-position: -64px 0;
  644. }
  645. /* End: Loop */
  646. /* Start: backlight */
  647. .mejs-controls .mejs-backlight-off button {
  648. background-position: -80px -16px;
  649. }
  650. .mejs-controls .mejs-backlight-on button {
  651. background-position: -80px 0;
  652. }
  653. /* End: backlight */
  654. /* Start: Picture Controls */
  655. .mejs-controls .mejs-picturecontrols-button {
  656. background-position: -96px 0;
  657. }
  658. /* End: Picture Controls */
  659. /* context menu */
  660. .mejs-contextmenu {
  661. position: absolute;
  662. width: 150px;
  663. padding: 10px;
  664. border-radius: 4px;
  665. top: 0;
  666. left: 0;
  667. background: #fff;
  668. border: solid 1px #999;
  669. z-index: 1001; /* make sure it shows on fullscreen */
  670. }
  671. .mejs-contextmenu .mejs-contextmenu-separator {
  672. height: 1px;
  673. font-size: 0;
  674. margin: 5px 6px;
  675. background: #333;
  676. }
  677. .mejs-contextmenu .mejs-contextmenu-item {
  678. font-family: Helvetica, Arial;
  679. font-size: 12px;
  680. padding: 4px 6px;
  681. cursor: pointer;
  682. color: #333;
  683. }
  684. .mejs-contextmenu .mejs-contextmenu-item:hover {
  685. background: #2C7C91;
  686. color: #fff;
  687. }
  688. /* Start: Source Chooser */
  689. .mejs-controls .mejs-sourcechooser-button {
  690. position: relative;
  691. }
  692. .mejs-controls .mejs-sourcechooser-button button {
  693. background-position: -128px 0;
  694. }
  695. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector {
  696. visibility: hidden;
  697. position: absolute;
  698. bottom: 26px;
  699. right: -10px;
  700. width: 130px;
  701. height: 100px;
  702. background: url(background.png);
  703. background: rgba(50,50,50,0.7);
  704. border: solid 1px transparent;
  705. padding: 10px;
  706. overflow: hidden;
  707. -webkit-border-radius: 0;
  708. -moz-border-radius: 0;
  709. border-radius: 0;
  710. }
  711. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul {
  712. margin: 0;
  713. padding: 0;
  714. display: block;
  715. list-style-type: none !important;
  716. overflow: hidden;
  717. }
  718. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li {
  719. margin: 0 0 6px 0;
  720. padding: 0;
  721. list-style-type: none !important;
  722. display: block;
  723. color: #fff;
  724. overflow: hidden;
  725. }
  726. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li input {
  727. clear: both;
  728. float: left;
  729. margin: 3px 3px 0 5px;
  730. }
  731. .mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li label {
  732. width: 100px;
  733. float: left;
  734. padding: 4px 0 0 0;
  735. line-height: 15px;
  736. font-family: helvetica, arial;
  737. font-size: 10px;
  738. }
  739. /* End: Source Chooser */
  740. /* Start: Postroll */
  741. .mejs-postroll-layer {
  742. position: absolute;
  743. bottom: 0;
  744. left: 0;
  745. width: 100%;
  746. height: 100%;
  747. background: url(background.png);
  748. background: rgba(50,50,50,0.7);
  749. z-index: 1000;
  750. overflow: hidden;
  751. }
  752. .mejs-postroll-layer-content {
  753. width: 100%;
  754. height: 100%;
  755. }
  756. .mejs-postroll-close {
  757. position: absolute;
  758. right: 0;
  759. top: 0;
  760. background: url(background.png);
  761. background: rgba(50,50,50,0.7);
  762. color: #fff;
  763. padding: 4px;
  764. z-index: 100;
  765. cursor: pointer;
  766. }
  767. /* End: Postroll */