You are here

simpleblack.css in MediaFront 7

#mediaplayer {
  position:relative;
  background:#000;
  border:1px solid #333;
  font-family:"Trebuchet MS", Helvetica, sans-serif;
  -moz-box-shadow:0px 10px 20px #666;/*no-important moz*/
  -webkit-box-shadow:0px 10px 20px #666;/*no-important chrome*/
}

#mediaplayer img {
  border:0;
}

#mediaplayer_display {
  background-color:#000;
  width:100%;
  height:100%;
  z-index:400;
  position:absolute;
}

#mediaplayer_minplayer.fullscreen #mediaplayer_display, #mediaplayer_minplayer.fullscreen #mediaplayer_preview {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index:1000;
  width: 100%;
  height: 100%;
}

#mediaplayer_minplayer.fullscreen #mediaplayer_preview {
  z-index:1001;
}

#mediaplayer_minplayer.nomedia #mediaplayer_display {
  display:none;
}

/*--------------------------- Media Fields ---------------------------*/
.mediafield {
  margin:5px;
  color:#ddd;
}


/*--------------------------- Big play button and preview ---------------------------*/
#mediaplayer_preview {
  background-color:#000;
  position:absolute;
  width:100%;
  height:100%;
  z-index:401;
}

#mediaplayer_bigPlay {
  background:url(../images/mask.png);
  display: table-cell;
  vertical-align:middle;
  position:absolute;
  width:100%;
  height:100%;
  z-index:402;
  cursor:pointer;
}

#mediaplayer_minplayer.fullscreen #mediaplayer_bigPlay {
  position:fixed;
  top:0;
  left:0;
}

#mediaplayer_bigPlay img {
  width:174px;
  height:174px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -87px 0 0 -87px;
  text-align:center;
  vertical-align:center;
}

#mediaplayer_minplayer.fullscreen #mediaplayer_bigPlay img {
  position:fixed;
}

#mediaplayer_busy {
  position: absolute;
  width:100%;
  height:100%;
  z-index:403;
}

#mediaplayer_busy img {
  width:32px;
  height:32px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -16px 0 0 -16px;
  text-align:center;
  vertical-align:center;
}

/*--------------------------- control bar ---------------------------*/
#mediaplayer_control {
  z-index:403;
  position:absolute;
  bottom:10px;
  background:url(../images/mediafront_controlerbarBg.png) center repeat-x;
  height:36px;
  width:100%;
}

#mediaplayer_minplayer.nomedia #mediaplayer_control {
  display:none;
}

#mediaplayer_minplayer.fullscreen #mediaplayer_control {
  position: fixed;
  left:0;
  z-index:1010;
}

#mediaplayer_control span {
  display:none;
}

#mediaplayer_controlLeft {
  float:left;
  width:70px;
  height:36px;
}

#mediaplayer_controlRight {
  float:right;
  width:130px;
  height:36px;
}

.mediaplayer_controlspace {
  margin:9px 3px 0;
}

/*---------------------------progress bar---------------------------*/
#mediaplayer_seekBar {
  background: url(../images/mediafront_black40.png);
  height:27px;
  margin:5px 130px 0 70px;
}
#mediaplayer_seekProgress {
  background: url(../images/mediafront_black40.png);
  position:absolute;
  z-index:404;
  height:27px;
}
#mediaplayer_seekUpdate {
  background: url(../images/mediafront_blue20.png);
  position:absolute;
  z-index:405;
  height:27px;
}
#mediaplayer_seekHandle {
  background:url(../images/mediafront_buttoncontroler.png) no-repeat 0 0;
  position:absolute;
  z-index:409;
  width:8px;
  height:27px;
}

/*--------------------------- playing time ---------------------------*/
#mediafront_playtime, #mediafront_totaltime {
  color:#FFF;
  float:left;
  position:relative;
  font-size:12px;
}

/*--------------------------- play | pause ---------------------------*/
#mediaplayer_playPause {
  float:left;
  position:relative;
  height:20px;
  width:19px;
}
#mediaplayer_play, #mediaplayer_pause {
  position:absolute;
  z-index:404;
  height:20px;
  width:19px;
}
#mediaplayer_play {
  background:url(../images/mediafront_buttonplay.png) no-repeat 0 0;
}
#mediaplayer_play:hover {
  background:url(../images/mediafront_buttonplay.png) no-repeat 0 -20px;
}
#mediaplayer_pause {
  background:url(../images/mediafront_buttonpause.png) no-repeat 0 0;
}
#mediaplayer_pause:hover {
  background:url(../images/mediafront_buttonpause.png) no-repeat 0 -20px;
}

/*-------------------------info buttons---------------------------*/
#mediafront_information {
  float:left;
  position:relative;
  width:22px;
  height:23px;
  margin-top:7px;
}
#mediafront_menuButton {
  position:absolute;
  z-index:404;
  width:22px;
  height:23px;
  background:url(../images/mediafront_buttoninfo.png) no-repeat 0 0;
}
#mediafront_menuButton:hover {
  background:url(../images/mediafront_buttoninfo.png) no-repeat center -22px;
}

/*--------------------------- fullscreen button ---------------------------*/
#mediafront_resizeScreen {
  position:absolute;
  z-index:404;
  position:absolute;
  bottom:16px;
  right:0px;
  width:33px;
  height:24px;
}

#mediaplayer_minplayer.nomedia #mediafront_resizeScreen {
  bottom:23px;
  right:30px;
}

#mediaplayer_minplayer.fullscreen #mediafront_resizeScreen {
  position: fixed;
  right:0px;
  bottom:16px;
  z-index:1012;
}

#mediaplayer_minplayer.fullscreen.nomedia #mediafront_resizeScreen {
  position: fixed;
  right:0px;
  bottom:5px;
  z-index:1012;
}

#mediafront_resizeScreen span {
  display:none;
}

#mediafront_resize_to_fullScreen, #mediafront_resize_to_normalScreen {
  position:absolute;
  z-index:404;
  width:33px;
  height:24px;
}
#mediafront_resize_to_fullScreen {
  background: url(../images/mediafront_buttonresizescreen.png) no-repeat 0 0;
}
#mediafront_resize_to_fullScreen:hover {
  background:url(../images/mediafront_buttonresizescreen.png) no-repeat 0 -24px;
}
#mediafront_resize_to_normalScreen {
  background:url(../images/mediafront_buttonresizescreen.png) no-repeat 0 -24px;
}
#mediafront_resize_to_normalScreen:hover {
  background:url(../images/mediafront_buttonresizescreen.png) no-repeat 0 0;
}

/*--------------------------- volume ---------------------------*/
#mediafront_audio {
  float:left;
  position:relative;
  width:18px;
  height:21px;
  margin-top:7px;
}
#mediaplayer_audioButton {
  position:absolute;
  z-index:404;
  width:18px;
  height:21px;
  background: url(../images/mediafront_buttonsound.png) center 0 no-repeat;
}
#mediaplayer_audioButton:hover {
  background: url(../images/mediafront_buttonsound.png) center -21px no-repeat;
}
#mediaplayer_audioBar {
  background:url(../images/mediafront_audioslidebarbg.png) no-repeat 0 0;
  position:absolute;
  z-index:404;
  height:72px;
  width:39px;
  margin-top:-76px;
  margin-left:-10px;
}
#mediaplayer_audioBarInner {
  width:27px;
  height:60px;
  left:6px;
  bottom:0px;
  position:absolute;
  z-index:404;
}
#mediavolumeupdate {
  background: url(../images/mediafront_black40.png);
  position:absolute;
  font-size:0px;
  z-index:405;
  bottom:0px;
  width:26px;
}
#mediafront_audioControler {
  background:url(../images/mediafront_buttonaudioslidebar.png) no-repeat 0 0;
  width:27px;
  height:8px;
  position:absolute;
  z-index:406;
}

/*--------------------------- menu ---------------------------*/
#mediaplayer_menu {
  position:absolute;
  display:none;
  width:300px;
  height:150px;
  z-index:420;
  top: 50%;
  left: 50%;
  margin: -75px 0 0 -150px;
  text-align:center;
  vertical-align:center;
  background:url(../images/mediafront_infobox.png) repeat-x;
  -moz-box-shadow:0px 5px 15px #000;/*no-important moz*/
  -webkit-box-shadow:0px 5px 15px #000;/*no-important chrome*/
}
#mediaplayer_menu.fullscreen {
  position: fixed;
  top: 50%;
  left: 50%;
}

#mediaplayer_menuHeader {
  text-align:left;
  padding:9px 8px 8px 11px;
  border-bottom:1px solid #000;
  height:20px;
}
#mediaplayer_menuHeader div {
  float:left;
  border:1px solid #dbdbdb;
  margin:0 1px;
}
#mediaplayer_menuHeader div a {
  color:#dbdbdb;
  text-decoration:none;
  padding:0px 12px;
}
#mediaplayer_menuHeader div a:hover, #mediaplayer_menuHeader div.active a {
  color:#000;
  background:#dbdbdb;
}
#mediaplayer_menuHeader div#mediaplayer_menuClose {
  background:url(../images/mediafront_close.png) no-repeat;
  height:19px;
  width:19px;
  float:right;
  border:0;
}
.mediaplayer_info {
  text-align:left;
  padding:6px 8px 8px 11px;
  color:#dbdbdb;
  border-top:1px solid #666;
}

/*---------------------------logo---------------------------*/
.medialogo {
  position:absolute;
  width:49px;
  height:15px;
  bottom:45px;
  left:5px;
  z-index:500;
}

#mediaplayer_minplayer.fullscreen .medialogo {
  position:fixed;
  z-index:1500;
  left:5px;
  bottom:45px;
}

File

players/osmplayer/player/templates/simpleblack/css/simpleblack.css
View source
  1. #mediaplayer {
  2. position:relative;
  3. background:#000;
  4. border:1px solid #333;
  5. font-family:"Trebuchet MS", Helvetica, sans-serif;
  6. -moz-box-shadow:0px 10px 20px #666;/*no-important moz*/
  7. -webkit-box-shadow:0px 10px 20px #666;/*no-important chrome*/
  8. }
  9. #mediaplayer img {
  10. border:0;
  11. }
  12. #mediaplayer_display {
  13. background-color:#000;
  14. width:100%;
  15. height:100%;
  16. z-index:400;
  17. position:absolute;
  18. }
  19. #mediaplayer_minplayer.fullscreen #mediaplayer_display, #mediaplayer_minplayer.fullscreen #mediaplayer_preview {
  20. position: fixed;
  21. left: 0;
  22. top: 0;
  23. right: 0;
  24. bottom: 0;
  25. overflow: hidden;
  26. z-index:1000;
  27. width: 100%;
  28. height: 100%;
  29. }
  30. #mediaplayer_minplayer.fullscreen #mediaplayer_preview {
  31. z-index:1001;
  32. }
  33. #mediaplayer_minplayer.nomedia #mediaplayer_display {
  34. display:none;
  35. }
  36. /*--------------------------- Media Fields ---------------------------*/
  37. .mediafield {
  38. margin:5px;
  39. color:#ddd;
  40. }
  41. /*--------------------------- Big play button and preview ---------------------------*/
  42. #mediaplayer_preview {
  43. background-color:#000;
  44. position:absolute;
  45. width:100%;
  46. height:100%;
  47. z-index:401;
  48. }
  49. #mediaplayer_bigPlay {
  50. background:url(../images/mask.png);
  51. display: table-cell;
  52. vertical-align:middle;
  53. position:absolute;
  54. width:100%;
  55. height:100%;
  56. z-index:402;
  57. cursor:pointer;
  58. }
  59. #mediaplayer_minplayer.fullscreen #mediaplayer_bigPlay {
  60. position:fixed;
  61. top:0;
  62. left:0;
  63. }
  64. #mediaplayer_bigPlay img {
  65. width:174px;
  66. height:174px;
  67. position: absolute;
  68. top: 50%;
  69. left: 50%;
  70. margin: -87px 0 0 -87px;
  71. text-align:center;
  72. vertical-align:center;
  73. }
  74. #mediaplayer_minplayer.fullscreen #mediaplayer_bigPlay img {
  75. position:fixed;
  76. }
  77. #mediaplayer_busy {
  78. position: absolute;
  79. width:100%;
  80. height:100%;
  81. z-index:403;
  82. }
  83. #mediaplayer_busy img {
  84. width:32px;
  85. height:32px;
  86. position: absolute;
  87. top: 50%;
  88. left: 50%;
  89. margin: -16px 0 0 -16px;
  90. text-align:center;
  91. vertical-align:center;
  92. }
  93. /*--------------------------- control bar ---------------------------*/
  94. #mediaplayer_control {
  95. z-index:403;
  96. position:absolute;
  97. bottom:10px;
  98. background:url(../images/mediafront_controlerbarBg.png) center repeat-x;
  99. height:36px;
  100. width:100%;
  101. }
  102. #mediaplayer_minplayer.nomedia #mediaplayer_control {
  103. display:none;
  104. }
  105. #mediaplayer_minplayer.fullscreen #mediaplayer_control {
  106. position: fixed;
  107. left:0;
  108. z-index:1010;
  109. }
  110. #mediaplayer_control span {
  111. display:none;
  112. }
  113. #mediaplayer_controlLeft {
  114. float:left;
  115. width:70px;
  116. height:36px;
  117. }
  118. #mediaplayer_controlRight {
  119. float:right;
  120. width:130px;
  121. height:36px;
  122. }
  123. .mediaplayer_controlspace {
  124. margin:9px 3px 0;
  125. }
  126. /*---------------------------progress bar---------------------------*/
  127. #mediaplayer_seekBar {
  128. background: url(../images/mediafront_black40.png);
  129. height:27px;
  130. margin:5px 130px 0 70px;
  131. }
  132. #mediaplayer_seekProgress {
  133. background: url(../images/mediafront_black40.png);
  134. position:absolute;
  135. z-index:404;
  136. height:27px;
  137. }
  138. #mediaplayer_seekUpdate {
  139. background: url(../images/mediafront_blue20.png);
  140. position:absolute;
  141. z-index:405;
  142. height:27px;
  143. }
  144. #mediaplayer_seekHandle {
  145. background:url(../images/mediafront_buttoncontroler.png) no-repeat 0 0;
  146. position:absolute;
  147. z-index:409;
  148. width:8px;
  149. height:27px;
  150. }
  151. /*--------------------------- playing time ---------------------------*/
  152. #mediafront_playtime, #mediafront_totaltime {
  153. color:#FFF;
  154. float:left;
  155. position:relative;
  156. font-size:12px;
  157. }
  158. /*--------------------------- play | pause ---------------------------*/
  159. #mediaplayer_playPause {
  160. float:left;
  161. position:relative;
  162. height:20px;
  163. width:19px;
  164. }
  165. #mediaplayer_play, #mediaplayer_pause {
  166. position:absolute;
  167. z-index:404;
  168. height:20px;
  169. width:19px;
  170. }
  171. #mediaplayer_play {
  172. background:url(../images/mediafront_buttonplay.png) no-repeat 0 0;
  173. }
  174. #mediaplayer_play:hover {
  175. background:url(../images/mediafront_buttonplay.png) no-repeat 0 -20px;
  176. }
  177. #mediaplayer_pause {
  178. background:url(../images/mediafront_buttonpause.png) no-repeat 0 0;
  179. }
  180. #mediaplayer_pause:hover {
  181. background:url(../images/mediafront_buttonpause.png) no-repeat 0 -20px;
  182. }
  183. /*-------------------------info buttons---------------------------*/
  184. #mediafront_information {
  185. float:left;
  186. position:relative;
  187. width:22px;
  188. height:23px;
  189. margin-top:7px;
  190. }
  191. #mediafront_menuButton {
  192. position:absolute;
  193. z-index:404;
  194. width:22px;
  195. height:23px;
  196. background:url(../images/mediafront_buttoninfo.png) no-repeat 0 0;
  197. }
  198. #mediafront_menuButton:hover {
  199. background:url(../images/mediafront_buttoninfo.png) no-repeat center -22px;
  200. }
  201. /*--------------------------- fullscreen button ---------------------------*/
  202. #mediafront_resizeScreen {
  203. position:absolute;
  204. z-index:404;
  205. position:absolute;
  206. bottom:16px;
  207. right:0px;
  208. width:33px;
  209. height:24px;
  210. }
  211. #mediaplayer_minplayer.nomedia #mediafront_resizeScreen {
  212. bottom:23px;
  213. right:30px;
  214. }
  215. #mediaplayer_minplayer.fullscreen #mediafront_resizeScreen {
  216. position: fixed;
  217. right:0px;
  218. bottom:16px;
  219. z-index:1012;
  220. }
  221. #mediaplayer_minplayer.fullscreen.nomedia #mediafront_resizeScreen {
  222. position: fixed;
  223. right:0px;
  224. bottom:5px;
  225. z-index:1012;
  226. }
  227. #mediafront_resizeScreen span {
  228. display:none;
  229. }
  230. #mediafront_resize_to_fullScreen, #mediafront_resize_to_normalScreen {
  231. position:absolute;
  232. z-index:404;
  233. width:33px;
  234. height:24px;
  235. }
  236. #mediafront_resize_to_fullScreen {
  237. background: url(../images/mediafront_buttonresizescreen.png) no-repeat 0 0;
  238. }
  239. #mediafront_resize_to_fullScreen:hover {
  240. background:url(../images/mediafront_buttonresizescreen.png) no-repeat 0 -24px;
  241. }
  242. #mediafront_resize_to_normalScreen {
  243. background:url(../images/mediafront_buttonresizescreen.png) no-repeat 0 -24px;
  244. }
  245. #mediafront_resize_to_normalScreen:hover {
  246. background:url(../images/mediafront_buttonresizescreen.png) no-repeat 0 0;
  247. }
  248. /*--------------------------- volume ---------------------------*/
  249. #mediafront_audio {
  250. float:left;
  251. position:relative;
  252. width:18px;
  253. height:21px;
  254. margin-top:7px;
  255. }
  256. #mediaplayer_audioButton {
  257. position:absolute;
  258. z-index:404;
  259. width:18px;
  260. height:21px;
  261. background: url(../images/mediafront_buttonsound.png) center 0 no-repeat;
  262. }
  263. #mediaplayer_audioButton:hover {
  264. background: url(../images/mediafront_buttonsound.png) center -21px no-repeat;
  265. }
  266. #mediaplayer_audioBar {
  267. background:url(../images/mediafront_audioslidebarbg.png) no-repeat 0 0;
  268. position:absolute;
  269. z-index:404;
  270. height:72px;
  271. width:39px;
  272. margin-top:-76px;
  273. margin-left:-10px;
  274. }
  275. #mediaplayer_audioBarInner {
  276. width:27px;
  277. height:60px;
  278. left:6px;
  279. bottom:0px;
  280. position:absolute;
  281. z-index:404;
  282. }
  283. #mediavolumeupdate {
  284. background: url(../images/mediafront_black40.png);
  285. position:absolute;
  286. font-size:0px;
  287. z-index:405;
  288. bottom:0px;
  289. width:26px;
  290. }
  291. #mediafront_audioControler {
  292. background:url(../images/mediafront_buttonaudioslidebar.png) no-repeat 0 0;
  293. width:27px;
  294. height:8px;
  295. position:absolute;
  296. z-index:406;
  297. }
  298. /*--------------------------- menu ---------------------------*/
  299. #mediaplayer_menu {
  300. position:absolute;
  301. display:none;
  302. width:300px;
  303. height:150px;
  304. z-index:420;
  305. top: 50%;
  306. left: 50%;
  307. margin: -75px 0 0 -150px;
  308. text-align:center;
  309. vertical-align:center;
  310. background:url(../images/mediafront_infobox.png) repeat-x;
  311. -moz-box-shadow:0px 5px 15px #000;/*no-important moz*/
  312. -webkit-box-shadow:0px 5px 15px #000;/*no-important chrome*/
  313. }
  314. #mediaplayer_menu.fullscreen {
  315. position: fixed;
  316. top: 50%;
  317. left: 50%;
  318. }
  319. #mediaplayer_menuHeader {
  320. text-align:left;
  321. padding:9px 8px 8px 11px;
  322. border-bottom:1px solid #000;
  323. height:20px;
  324. }
  325. #mediaplayer_menuHeader div {
  326. float:left;
  327. border:1px solid #dbdbdb;
  328. margin:0 1px;
  329. }
  330. #mediaplayer_menuHeader div a {
  331. color:#dbdbdb;
  332. text-decoration:none;
  333. padding:0px 12px;
  334. }
  335. #mediaplayer_menuHeader div a:hover, #mediaplayer_menuHeader div.active a {
  336. color:#000;
  337. background:#dbdbdb;
  338. }
  339. #mediaplayer_menuHeader div#mediaplayer_menuClose {
  340. background:url(../images/mediafront_close.png) no-repeat;
  341. height:19px;
  342. width:19px;
  343. float:right;
  344. border:0;
  345. }
  346. .mediaplayer_info {
  347. text-align:left;
  348. padding:6px 8px 8px 11px;
  349. color:#dbdbdb;
  350. border-top:1px solid #666;
  351. }
  352. /*---------------------------logo---------------------------*/
  353. .medialogo {
  354. position:absolute;
  355. width:49px;
  356. height:15px;
  357. bottom:45px;
  358. left:5px;
  359. z-index:500;
  360. }
  361. #mediaplayer_minplayer.fullscreen .medialogo {
  362. position:fixed;
  363. z-index:1500;
  364. left:5px;
  365. bottom:45px;
  366. }