PageRenderTime 50ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/Scripts/mediaelement/mediaelementplayer.css

#
CSS | 381 lines | 307 code | 34 blank | 40 comment | 0 complexity | f5fb0388e582aed90f0675b02dadf0b1 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. /*
  2. <div class="mep-container">
  3. <div class="mep-mediaelement">
  4. </div>
  5. <div class="mep-poster" />
  6. <img />
  7. </div>
  8. <div class="mep-overlay"><div class="mep-overlay-message"></div>
  9. </div>
  10. <div class="mep-controls">
  11. <div class="mep-playpause-button mep-play"><span></span></div>
  12. <div class="mep-time-rail">
  13. <span class="mep-time-total">
  14. <span class="mep-time-loaded"></span>
  15. <span class="mep-time-current"></span>
  16. <span class="mep-time-handle"></span>
  17. </span>
  18. </div>
  19. <div class="mep-time">
  20. <span class="mep-currenttime"></span>
  21. <span>|</span>
  22. <span class="mep-duration"></span>
  23. </div>
  24. <div class="mep-volume-button mep-mute">
  25. <span></span>
  26. <div class="mep-volume-slider">
  27. <div class="mep-volume-rail"><div class="mep-volume-handle"></div></div>
  28. </div>
  29. </div>
  30. <div class="mep-fullscreen-button"><span></span></div>
  31. </div>
  32. <div class="mep-clear"></div>
  33. </div>
  34. */
  35. .mep-container {
  36. position: relative;
  37. background: #000;
  38. font-family: Helvetica, Arial;
  39. }
  40. .me-cannotplay {
  41. }
  42. .me-cannotplay a {
  43. color: #fff;
  44. font-weight: bold;
  45. }
  46. .me-cannotplay span {
  47. padding: 15px;
  48. display: block;
  49. }
  50. .mep-container-fullscreen {
  51. position: fixed;
  52. left: 0;
  53. top: 0;
  54. right: 0;
  55. bottom: 0;
  56. overflow: hidden;
  57. }
  58. .mep-container-fullscreen .mep-mediaelement,
  59. .mep-container-fullscreen video {
  60. width: 100%;
  61. height: 100%;
  62. }
  63. .mep-mediaelement {
  64. position: absolute;
  65. top: 0;
  66. left: 0;
  67. }
  68. .mep-poster {
  69. position: absolute;
  70. top: 0;
  71. left: 0;
  72. }
  73. .mep-overlay {
  74. position: absolute;
  75. top: 0;
  76. left: 0;
  77. cursor: pointer;
  78. }
  79. .mep-overlay-button {
  80. position: absolute;
  81. top: 50%;
  82. left: 50%;
  83. width: 100px;
  84. height: 100px;
  85. margin: -50px 0 0 -50px;
  86. background: url(bigplay.png) top left no-repeat;
  87. }
  88. .mep-overlay:hover .mep-overlay-button{
  89. background-position: 0 -100px ;
  90. }
  91. .mep-captions-layer {
  92. position: absolute;
  93. bottom: 0;
  94. left: 0;
  95. padding: 0 0 38px 0;
  96. text-align:center;
  97. /*font-weight: bold;*/
  98. line-height: 22px;
  99. font-size: 12px;
  100. color: #fff;
  101. }
  102. .mep-captions-layer a {
  103. color: #fff;
  104. text-decoration: underline;
  105. }
  106. .mep-captions-layer[lang=ar] {
  107. font-size: 20px;
  108. font-weight: normal;
  109. }
  110. .mep-captions-text {
  111. padding: 3px 5px;
  112. background: url(background.png);
  113. background: rgba(0, 0, 0, 0.8);
  114. }
  115. .mep-container .mep-controls {
  116. position: absolute;
  117. background: none;
  118. list-style-type: none;
  119. margin: 0;
  120. padding: 0;
  121. bottom: 0;
  122. left: 0;
  123. background: url(background.png);
  124. background: rgba(0, 0, 0, 0.7);
  125. height: 30px;
  126. width: 100%;
  127. }
  128. .mep-container .mep-controls div {
  129. list-style-type: none;
  130. background-image: none;
  131. display: inline-block;
  132. float: left;
  133. margin: 5px 5px 5px 0;
  134. padding: 0;
  135. width: 20px;
  136. height: 20px;
  137. font-size: 11px;
  138. line-height: 11px;
  139. /*
  140. background: #999;
  141. background: rgba(100, 100, 100, 0.8);
  142. */
  143. -webkit-border-radius: 4px;
  144. -moz-border-radius: 4px;
  145. border-radius: 4px;
  146. font-family: Helvetica, Arial;
  147. }
  148. .mep-container .mep-controls div:first-child {
  149. margin-left: 5px;
  150. }
  151. .mep-container .mep-controls .mep-time {
  152. color: #fff;
  153. display: block;
  154. width: 80px;
  155. height: 17px;
  156. padding: 3px 0 0 0 ;
  157. overflow: hidden;
  158. text-align: center;
  159. }
  160. .mep-container .mep-controls .mep-time span {
  161. font-size: 11px;
  162. color: #fff;
  163. line-height: 1em;
  164. display: inline-block;
  165. }
  166. .mep-controls .mep-playpause-button,
  167. /*.mep-controls .mep-volume-button, */
  168. .mep-controls .mep-fullscreen-button {
  169. }
  170. .mep-controls .mep-playpause-button span,
  171. .mep-controls .mep-volume-button span,
  172. .mep-controls .mep-fullscreen-button span,
  173. .mep-controls .mep-captions-button span {
  174. cursor: pointer;
  175. display: block;
  176. font-size: 0px;
  177. line-height: 0;
  178. text-decoration: none;
  179. margin: 2px;
  180. height: 16px;
  181. width: 16px;
  182. background: transparent url(controls.png) 0 0 no-repeat;
  183. }
  184. .mep-controls .mep-play span {
  185. background-position:0 0;
  186. }
  187. .mep-controls .mep-pause span {
  188. background-position:0 -16px;
  189. }
  190. .mep-controls .mep-time-rail {
  191. width: 200px;
  192. }
  193. .mep-controls .mep-time-rail span {
  194. display: block;
  195. position: absolute;
  196. width: 180px;
  197. height: 10px;
  198. -webkit-border-radius: 2px;
  199. -moz-border-radius: 2px;
  200. border-radius: 2px;
  201. cursor: pointer;
  202. }
  203. .mep-controls .mep-time-rail .mep-time-total {
  204. margin: 5px;
  205. background: #333;
  206. background: rgba(50,50,50,50.8);
  207. }
  208. .mep-controls .mep-time-rail .mep-time-loaded {
  209. background: #3caac8;
  210. background: rgba(60,170,200,0.8);
  211. }
  212. .mep-controls .mep-time-rail .mep-time-current {
  213. background: #fff;
  214. background: rgba(255,255,255,0.8);
  215. }
  216. .mep-controls .mep-time-rail .mep-time-handle {
  217. display: block;
  218. position: absolute;
  219. margin: 0;
  220. width: 10px;
  221. background: #fff;
  222. -webkit-border-radius: 5px;
  223. -moz-border-radius: 5px;
  224. border-radius: 5px;
  225. cursor: pointer;
  226. display: none;
  227. }
  228. .mep-controls .mep-fullscreen-button span {
  229. background-position:-32px 0;
  230. }
  231. .mep-controls .mep-unfullscreen span {
  232. background-position:-32px -16px;
  233. }
  234. .mep-controls .mep-volume {
  235. }
  236. .mep-controls .mep-captions-button {
  237. position: relative;
  238. }
  239. .mep-controls .mep-captions-button span {
  240. background-position:-48px 0;
  241. }
  242. .mep-controls .mep-captions-button .mep-captions-selector {
  243. visibility: hidden;
  244. position: absolute;
  245. bottom: 15px;
  246. left: -80px;
  247. width: 130px;
  248. min-height: 50px;
  249. background: url(background.png);
  250. background: rgba(0,0,0,0.8);
  251. border: solid 1px #fff;
  252. padding: 10px;
  253. -webkit-border-radius: 0;
  254. -moz-border-radius: 0;
  255. border-radius: 0;
  256. }
  257. .mep-controls .mep-captions-button:hover .mep-captions-selector {
  258. visibility: visible;
  259. }
  260. .mep-controls .mep-captions-button .mep-captions-selector ul {
  261. margin: 0;
  262. padding: 0;
  263. display: block;
  264. list-style-type: none !important;
  265. overflow: hidden;
  266. }
  267. .mep-controls .mep-captions-button .mep-captions-selector ul li{
  268. margin: 0 0 6px 0;
  269. padding: 0;
  270. list-style-type: none !important;
  271. display:block;
  272. color: #fff;
  273. overflow: hidden;
  274. }
  275. .mep-controls .mep-captions-button .mep-captions-selector ul li input{
  276. clear: both;
  277. float: left;
  278. }
  279. .mep-controls .mep-captions-button .mep-captions-selector ul li label{
  280. width: 100px;
  281. float: left;
  282. padding: 4px 0 0 0;
  283. line-height: 15px;
  284. }
  285. .mep-controls .mep-captions-button .mep-captions-translations {
  286. font-size: 10px;
  287. margin: 0 0 5px 0;
  288. }
  289. .mep-controls .mep-mute span {
  290. background-position:-16px -16px;
  291. }
  292. .mep-controls .mep-unmute span {
  293. background-position:-16px 0;
  294. }
  295. .mep-controls .mep-volume-button {
  296. position: relative;
  297. }
  298. .mep-controls .mep-volume-button .mep-volume-slider {
  299. display: none;
  300. height: 115px;
  301. width: 20px;
  302. background: url(background.png);
  303. background: rgba(0, 0, 0, 0.7);
  304. -webkit-border-radius: 0;
  305. -moz-border-radius: 0;
  306. border-radius: 0;
  307. top: -115px;
  308. left: 0;
  309. z-index: 1;
  310. position: absolute;
  311. margin: 0;
  312. }
  313. .mep-controls .mep-volume-button:hover {
  314. -webkit-border-radius: 0 0 4px 4px ;
  315. -moz-border-radius: 0 0 4px 4px ;
  316. border-radius: 0 0 4px 4px ;
  317. }
  318. .mep-controls .mep-volume-button:hover .mep-volume-slider {
  319. display: block;
  320. }
  321. .mep-controls .mep-volume-button .mep-volume-slider .mep-volume-rail {
  322. position: absolute;
  323. left: 9px;
  324. top: 8px;
  325. width: 2px;
  326. height: 100px;
  327. background: #ddd;
  328. background: rgba(255, 255, 255, 0.8);
  329. margin: 0;
  330. }
  331. .mep-controls .mep-volume-button .mep-volume-slider .mep-volume-rail .mep-volume-handle {
  332. position: absolute;
  333. left: -7px;
  334. top: -3px;
  335. width: 16px;
  336. height: 6px;
  337. background: #ddd;
  338. background: rgba(255, 255, 255, 0.9);
  339. cursor: N-resize;
  340. -webkit-border-radius: 1px;
  341. -moz-border-radius: 1px;
  342. border-radius: 1px;
  343. margin: 0;
  344. }
  345. .mep-clear {
  346. clear: both;
  347. }