You are here

minplayer_default.css in HTML5 Media 7

/* base styles */
.media-player {}
.media-player-play, .media-player-volume-button {
  cursor: pointer;
}
.media-player-timer {
  cursor: default;
}

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

.media-player .media-player-error {
  display:none;
  position: absolute;
  top: 80%;
  left: 50%;
  width: 320px;
  height: 40px;
  line-height: 40px;
  margin: -20px 0 0 -160px;
  text-align: center;
  vertical-align: center;
  border: none;
  z-index:1000;
  color: #fff;
  opacity: 0.9;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  background: rgba(23, 35, 34, 0.9);
  box-shadow: 2px 2px 4px #000;
  -webkit-box-shadow: 2px 2px 4px #000;
  -moz-box-shadow: 2px 2px 4px #000;
}

.media-player .media-player-display {
  background-color:#000;
  width:100%;
  height:100%;
}

.media-player .media-player-display video {
  width: 100%;
  height: 100%;
}

.media-player .media-player-preview {
  width:100%;
  height:100%;
  position:absolute;
  z-index:1;
}

.media-player .media-player-preview.has-preview {
  background-color: rgb(0, 0, 0);
}

.media-player .media-player-play-loader {
  width:100%;
  height:100%;
  position:absolute;
  z-index:2;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.3);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#55000000, endColorstr=#55000000);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#55000000, endColorstr=#55000000)";
}

.media-player .media-player-loader {
  width:42px;
  height:10px;
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  margin: -5px 0 0 -21px;
  text-align:center;
  vertical-align:center;
  background: url(images/loader.gif) no-repeat;
}

/* Big play button */
.media-player .media-player-play-loader .media-player-big-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  text-align: center;
  vertical-align: center;
  cursor: pointer !important;
  border: none;
  opacity: 0.9;
  z-index:3;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  background: rgba(23, 35, 34, 0.746094);
  box-shadow: 2px 2px 4px #000;
  -webkit-box-shadow: 2px 2px 4px #000;
  -moz-box-shadow: 2px 2px 4px #000;
}

.media-player .media-player-play-loader .media-player-big-play span {
  margin: 22px 0 0 48px;
  border-left: 36px solid white;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

.media-player .media-player-play-loader .media-player-big-play span {
  display: block;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
  margin: 20px 0 0 23px;
  border-left: 40px solid white;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.media-player.fullscreen, .media-player.fullscreen .media-player-display, .media-player.fullscreen .media-player-play-loader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index:1000;
  width: 100% !important;
  height: 100% !important;
}

.media-player.fullscreen .media-player-play-loader {
  z-index:1001;
}

.media-player .media-player-controls {
  position: absolute;
  display: block;
  z-index:3;
  bottom:0px;
  left:0px;
  right:0px;
  height:30px;
  background-color:rgba(0,0,0,0.5);
}

.media-player-controls-left {
  float:left;
  width:30px;
  height:26px;
  margin: 2px 0;
  border-right:1px solid #eee;
}

.media-player.fullscreen .media-player-controls-left {
  width:40px;
  border:none;
}

.media-player-controls-right {
  float:right;
  width:120px;
  height:30px;
}

.media-player.fullscreen .media-player-controls-right {
  width:110px;
}

.media-player-controls-mid {
  position:absolute;
  left:40px;
  right:130px;
  height:30px;
}

.media-player.fullscreen .media-player-controls-mid {
  left:50px;
}

.media-player .media-player-play, .media-player .media-player-volume, .media-player .media-player-timer {
  float: left;
}

/* play, pause */
.media-player .media-player-play, .media-player .media-player-pause {
  display: block;
  width: 22px;
  height: 22px;
  margin:2px 0 0 4px;
  opacity: 0.7;
  -moz-transition: all 0.2s ease-in-out; /* Firefox */
  -webkit-transition: all 0.2s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.2s ease-in-out;  /* Opera */
  transition: all 0.2s ease-in-out;
}

.media-player .media-player-play:hover, .media-player .media-player-pause:hover {
  opacity: 1;
}

.media-player .media-player-play {
  background: url(images/play-icon.png) no-repeat;
}

.media-player .media-player-pause {
  background: url(images/pause-icon.png) no-repeat;
  display:none;
}

/* seek */
.media-player .media-player-seek {
  position:relative;
  height: 10px;
  margin-top:9px;
  border: 1px solid #494949;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
  border-radius:4px;
  background: #535353;
  background-image: -moz-linear-gradient(top, #535353, #333333);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #535353),color-stop(1, #333333));
  box-shadow: inset 0 -3px 3px #333333;
}

.media-player .media-player-seek .ui-slider-handle {
  width: 15px;
  height: 15px;
  border: 1px solid #333;
  top: -4px;
  z-index:20px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  background: #e6e6e6;
  background-image: -moz-linear-gradient(top, #e6e6e6, #d5d5d5);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #d5d5d5));
  box-shadow: inset 0 -3px 3px #d5d5d5;
}

.media-player .media-player-seek .ui-slider-handle.ui-state-hover {
  background: #fff;
}

.media-player .media-player-seek .ui-slider-range {
  -moz-border-radius:15px;
  -webkit-border-radius:15px;
  z-index:10px;
  border-radius:15px;
  background: #4cbae8;
  background-image: -moz-linear-gradient(top, #4cbae8, #39a2ce);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #4cbae8),color-stop(1, #39a2ce));
  box-shadow: inset 0 -3px 3px #39a2ce;
}

.media-player .media-player-progress {
  -moz-border-radius:15px;
  -webkit-border-radius:15px;
  z-index:8px;
  width:0px;
  height:10px;
  border-radius:15px;
  background: #266580;
  background-image: -moz-linear-gradient(top, #266580, #153A4A);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #266580),color-stop(1, #153A4A));
  box-shadow: inset 0 -3px 3px #153A4A;
}

/* timer */
.media-player .media-player-timer {
  position:relative;
  height: 22px;
  float:left;
  color: #999;
  padding-top:6px;
  padding-right:6px;
  font-size: 16px;
  font-weight: bold;
  border-right:1px solid #eee;
}

.media-player.fullscreen .media-player-timer {
  border:none;
  margin-top:4px;
}

/* volume */
.media-player .media-player-volume {
  position: absolute;
  right:33px;
  bottom:4px;
  float:right;
  overflow: hidden;
  width: 20px;
  height: 30px;
  color: #fff;
  padding: 0px 10px;
  -moz-transition: all 0.1s ease-in-out; /* Firefox */
  -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.2s ease-in-out;  /* Opera */
  transition: all 0.1s ease-in-out;
}

.media-player.fullscreen .media-player-volume {
  right:40px;
  bottom:13px;
}

.media-player .media-player-volume:hover {
  height: 135px;
  padding-top: 5px;
}


.media-player .media-player-volume:hover .media-player-volume-slider {
  position: relative;
  visibility: visible;
  opacity: 1;
}

.media-player .media-player-volume-slider {
  position: relative;
  height: 100px;
  width: 7px;
  left: 4px;
  visiblity: hidden;
  opacity: 0;
  border: 1px solid #444;
  -moz-border-radius:15px;
  -webkit-border-radius:15px;
  border-radius:15px;
  background: #535353;
  background-image: -moz-linear-gradient(top, #535353, #333333);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #535353),color-stop(1, #333333));
  box-shadow: inset 0 3px 3px #333333;
  -moz-transition: all 0.1s ease-in-out; /* Firefox */
  -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.1s ease-in-out;  /* Opera */
  transition: all 0.1s ease-in-out;
}

.media-player .media-player-volume-slider .ui-slider-handle {
  width: 12px;
  height: 12px;
  left: -4px;
  margin-bottom:-0.6em;
  margin-left:0;
  border: 1px solid #333;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  background: #e6e6e6;
  background-image: -moz-linear-gradient(top, #e6e6e6, #d5d5d5);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #d5d5d5));

  box-shadow: inset 0 3px 3px #d5d5d5;
}

.media-player .media-player-volume-slider .ui-slider-handle.ui-state-hover {
  background: #fff;
}

.media-player .media-player-volume-slider .ui-slider-range {
  -moz-border-radius:15px;
  -webkit-border-radius:15px;
  border-radius:15px;
  background: #e6e6e6;
  background-image: -moz-linear-gradient(top, #e6e6e6, #d5d5d5);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #d5d5d5));
  box-shadow: inset 0 3px 3px #d5d5d5;
}

/* volume button */

.media-player .media-player-volume-button {
  position: absolute;
  bottom: 0px;
  display: block;
  width: 22px;
  height: 22px;
  background: url(images/volume-full-icon.png) no-repeat;
  text-indent: -9999px;
  opacity: 0.8;
}

.media-player .media-player-volume-button:hover {
  opacity: 1;
}

.media-player .media-player-volume-mute {
  background: url(images/volume-mute-icon.png) no-repeat;
}

/* Fullscreen button */
.media-player .media-player-fullscreen {
  position: absolute;
  right:6px;
  bottom:7px;
  width: 22px;
  height: 14px;
  border:1px solid #aaa;
}

.media-player.fullscreen .media-player-fullscreen {
  right:14px;
  bottom:16px;
}

.media-player .media-player-fullscreen-inner, .media-player.fullscreen .media-player-fullscreen:hover .media-player-fullscreen-inner {
  position:absolute;
  bottom:0;
  width:16px;
  height:8px;
  background-color:#aaa;
  -moz-transition: all 0.1s ease-in-out; /* Firefox */
  -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.1s ease-in-out;  /* Opera */
  transition: all 0.1s ease-in-out;
}

.media-player .media-player-fullscreen:hover .media-player-fullscreen-inner, .media-player.fullscreen .media-player-fullscreen-inner {
  width:20px;
  height:12px;
}

.media-player.fullscreen .media-player-controls {
  position: absolute;
  z-index:1002;
  width:500px;
  left: 50%;
  bottom:10px;
  margin: 0 0 0 -260px;
  padding: 10px;
  border: 1px solid #2E2E2E;
  -moz-border-radius: 5px; /* FF1+ */
  -webkit-border-radius: 5px; /* Saf3+, Chrome */
  border-radius: 5px; /* Opera 10.5, IE 9 */
  background: #000000;
  background-image: -moz-linear-gradient(top, #313131, #000000); /* FF3.6 */
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #313131),color-stop(1, #000000)); /* Saf4+, Chrome */
  box-shadow: inset 0 15px 35px #535353;
  -moz-transition: all 0.1s ease-in-out; /* Firefox */
  -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.1s ease-in-out;  /* Opera */
  transition: all 0.1s ease-in-out;
}


/* needed jquery ui styles
 * using these, we don't depend on jQuery UI's stylsheet
*/
.ui-slider-handle {
  position: absolute;
  z-index: 4;
  display: block;
  margin-left:-0.6em;
  cursor: default;
  outline: none;
}

.ui-slider-range {
  display:block;
  width:100%;
  height:100%;
  left:0;
  bottom: 0;
  border:0 none;
  position:absolute;
  z-index:3;
}

File

player/templates/default/css/minplayer_default.css
View source
  1. /* base styles */
  2. .media-player {}
  3. .media-player-play, .media-player-volume-button {
  4. cursor: pointer;
  5. }
  6. .media-player-timer {
  7. cursor: default;
  8. }
  9. .media-player {
  10. position: relative;
  11. background:#000;
  12. border:1px solid #333;
  13. font-family:"Trebuchet MS", Helvetica, sans-serif;
  14. -moz-box-shadow:0px 5px 10px #333;/*no-important moz*/
  15. -webkit-box-shadow:0px 5px 10px #333;/*no-important chrome*/
  16. }
  17. .media-player .media-player-error {
  18. display:none;
  19. position: absolute;
  20. top: 80%;
  21. left: 50%;
  22. width: 320px;
  23. height: 40px;
  24. line-height: 40px;
  25. margin: -20px 0 0 -160px;
  26. text-align: center;
  27. vertical-align: center;
  28. border: none;
  29. z-index:1000;
  30. color: #fff;
  31. opacity: 0.9;
  32. border-radius: 10px;
  33. -webkit-border-radius: 10px;
  34. -moz-border-radius: 10px;
  35. background: rgba(23, 35, 34, 0.9);
  36. box-shadow: 2px 2px 4px #000;
  37. -webkit-box-shadow: 2px 2px 4px #000;
  38. -moz-box-shadow: 2px 2px 4px #000;
  39. }
  40. .media-player .media-player-display {
  41. background-color:#000;
  42. width:100%;
  43. height:100%;
  44. }
  45. .media-player .media-player-display video {
  46. width: 100%;
  47. height: 100%;
  48. }
  49. .media-player .media-player-preview {
  50. width:100%;
  51. height:100%;
  52. position:absolute;
  53. z-index:1;
  54. }
  55. .media-player .media-player-preview.has-preview {
  56. background-color: rgb(0, 0, 0);
  57. }
  58. .media-player .media-player-play-loader {
  59. width:100%;
  60. height:100%;
  61. position:absolute;
  62. z-index:2;
  63. background: rgb(0, 0, 0);
  64. background: rgba(0, 0, 0, 0.3);
  65. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#55000000, endColorstr=#55000000);
  66. -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#55000000, endColorstr=#55000000)";
  67. }
  68. .media-player .media-player-loader {
  69. width:42px;
  70. height:10px;
  71. position: absolute;
  72. z-index: 4;
  73. top: 50%;
  74. left: 50%;
  75. margin: -5px 0 0 -21px;
  76. text-align:center;
  77. vertical-align:center;
  78. background: url(images/loader.gif) no-repeat;
  79. }
  80. /* Big play button */
  81. .media-player .media-player-play-loader .media-player-big-play {
  82. position: absolute;
  83. top: 50%;
  84. left: 50%;
  85. width: 80px;
  86. height: 80px;
  87. margin: -40px 0 0 -40px;
  88. text-align: center;
  89. vertical-align: center;
  90. cursor: pointer !important;
  91. border: none;
  92. opacity: 0.9;
  93. z-index:3;
  94. border-radius: 10px;
  95. -webkit-border-radius: 10px;
  96. -moz-border-radius: 10px;
  97. background: rgba(23, 35, 34, 0.746094);
  98. box-shadow: 2px 2px 4px #000;
  99. -webkit-box-shadow: 2px 2px 4px #000;
  100. -moz-box-shadow: 2px 2px 4px #000;
  101. }
  102. .media-player .media-player-play-loader .media-player-big-play span {
  103. margin: 22px 0 0 48px;
  104. border-left: 36px solid white;
  105. border-top: 18px solid transparent;
  106. border-bottom: 18px solid transparent;
  107. }
  108. .media-player .media-player-play-loader .media-player-big-play span {
  109. display: block;
  110. font-size: 0;
  111. line-height: 0;
  112. width: 0;
  113. height: 0;
  114. margin: 20px 0 0 23px;
  115. border-left: 40px solid white;
  116. border-top: 20px solid transparent;
  117. border-bottom: 20px solid transparent;
  118. }
  119. .media-player.fullscreen, .media-player.fullscreen .media-player-display, .media-player.fullscreen .media-player-play-loader {
  120. position: fixed;
  121. left: 0;
  122. top: 0;
  123. right: 0;
  124. bottom: 0;
  125. overflow: hidden;
  126. z-index:1000;
  127. width: 100% !important;
  128. height: 100% !important;
  129. }
  130. .media-player.fullscreen .media-player-play-loader {
  131. z-index:1001;
  132. }
  133. .media-player .media-player-controls {
  134. position: absolute;
  135. display: block;
  136. z-index:3;
  137. bottom:0px;
  138. left:0px;
  139. right:0px;
  140. height:30px;
  141. background-color:rgba(0,0,0,0.5);
  142. }
  143. .media-player-controls-left {
  144. float:left;
  145. width:30px;
  146. height:26px;
  147. margin: 2px 0;
  148. border-right:1px solid #eee;
  149. }
  150. .media-player.fullscreen .media-player-controls-left {
  151. width:40px;
  152. border:none;
  153. }
  154. .media-player-controls-right {
  155. float:right;
  156. width:120px;
  157. height:30px;
  158. }
  159. .media-player.fullscreen .media-player-controls-right {
  160. width:110px;
  161. }
  162. .media-player-controls-mid {
  163. position:absolute;
  164. left:40px;
  165. right:130px;
  166. height:30px;
  167. }
  168. .media-player.fullscreen .media-player-controls-mid {
  169. left:50px;
  170. }
  171. .media-player .media-player-play, .media-player .media-player-volume, .media-player .media-player-timer {
  172. float: left;
  173. }
  174. /* play, pause */
  175. .media-player .media-player-play, .media-player .media-player-pause {
  176. display: block;
  177. width: 22px;
  178. height: 22px;
  179. margin:2px 0 0 4px;
  180. opacity: 0.7;
  181. -moz-transition: all 0.2s ease-in-out; /* Firefox */
  182. -webkit-transition: all 0.2s ease-in-out; /* Safari and Chrome */
  183. -o-transition: all 0.2s ease-in-out; /* Opera */
  184. transition: all 0.2s ease-in-out;
  185. }
  186. .media-player .media-player-play:hover, .media-player .media-player-pause:hover {
  187. opacity: 1;
  188. }
  189. .media-player .media-player-play {
  190. background: url(images/play-icon.png) no-repeat;
  191. }
  192. .media-player .media-player-pause {
  193. background: url(images/pause-icon.png) no-repeat;
  194. display:none;
  195. }
  196. /* seek */
  197. .media-player .media-player-seek {
  198. position:relative;
  199. height: 10px;
  200. margin-top:9px;
  201. border: 1px solid #494949;
  202. -moz-border-radius:4px;
  203. -webkit-border-radius:4px;
  204. border-radius:4px;
  205. background: #535353;
  206. background-image: -moz-linear-gradient(top, #535353, #333333);
  207. background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #535353),color-stop(1, #333333));
  208. box-shadow: inset 0 -3px 3px #333333;
  209. }
  210. .media-player .media-player-seek .ui-slider-handle {
  211. width: 15px;
  212. height: 15px;
  213. border: 1px solid #333;
  214. top: -4px;
  215. z-index:20px;
  216. -moz-border-radius:10px;
  217. -webkit-border-radius:10px;
  218. border-radius:10px;
  219. background: #e6e6e6;
  220. background-image: -moz-linear-gradient(top, #e6e6e6, #d5d5d5);
  221. background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #d5d5d5));
  222. box-shadow: inset 0 -3px 3px #d5d5d5;
  223. }
  224. .media-player .media-player-seek .ui-slider-handle.ui-state-hover {
  225. background: #fff;
  226. }
  227. .media-player .media-player-seek .ui-slider-range {
  228. -moz-border-radius:15px;
  229. -webkit-border-radius:15px;
  230. z-index:10px;
  231. border-radius:15px;
  232. background: #4cbae8;
  233. background-image: -moz-linear-gradient(top, #4cbae8, #39a2ce);
  234. background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #4cbae8),color-stop(1, #39a2ce));
  235. box-shadow: inset 0 -3px 3px #39a2ce;
  236. }
  237. .media-player .media-player-progress {
  238. -moz-border-radius:15px;
  239. -webkit-border-radius:15px;
  240. z-index:8px;
  241. width:0px;
  242. height:10px;
  243. border-radius:15px;
  244. background: #266580;
  245. background-image: -moz-linear-gradient(top, #266580, #153A4A);
  246. background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #266580),color-stop(1, #153A4A));
  247. box-shadow: inset 0 -3px 3px #153A4A;
  248. }
  249. /* timer */
  250. .media-player .media-player-timer {
  251. position:relative;
  252. height: 22px;
  253. float:left;
  254. color: #999;
  255. padding-top:6px;
  256. padding-right:6px;
  257. font-size: 16px;
  258. font-weight: bold;
  259. border-right:1px solid #eee;
  260. }
  261. .media-player.fullscreen .media-player-timer {
  262. border:none;
  263. margin-top:4px;
  264. }
  265. /* volume */
  266. .media-player .media-player-volume {
  267. position: absolute;
  268. right:33px;
  269. bottom:4px;
  270. float:right;
  271. overflow: hidden;
  272. width: 20px;
  273. height: 30px;
  274. color: #fff;
  275. padding: 0px 10px;
  276. -moz-transition: all 0.1s ease-in-out; /* Firefox */
  277. -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  278. -o-transition: all 0.2s ease-in-out; /* Opera */
  279. transition: all 0.1s ease-in-out;
  280. }
  281. .media-player.fullscreen .media-player-volume {
  282. right:40px;
  283. bottom:13px;
  284. }
  285. .media-player .media-player-volume:hover {
  286. height: 135px;
  287. padding-top: 5px;
  288. }
  289. .media-player .media-player-volume:hover .media-player-volume-slider {
  290. position: relative;
  291. visibility: visible;
  292. opacity: 1;
  293. }
  294. .media-player .media-player-volume-slider {
  295. position: relative;
  296. height: 100px;
  297. width: 7px;
  298. left: 4px;
  299. visiblity: hidden;
  300. opacity: 0;
  301. border: 1px solid #444;
  302. -moz-border-radius:15px;
  303. -webkit-border-radius:15px;
  304. border-radius:15px;
  305. background: #535353;
  306. background-image: -moz-linear-gradient(top, #535353, #333333);
  307. background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #535353),color-stop(1, #333333));
  308. box-shadow: inset 0 3px 3px #333333;
  309. -moz-transition: all 0.1s ease-in-out; /* Firefox */
  310. -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  311. -o-transition: all 0.1s ease-in-out; /* Opera */
  312. transition: all 0.1s ease-in-out;
  313. }
  314. .media-player .media-player-volume-slider .ui-slider-handle {
  315. width: 12px;
  316. height: 12px;
  317. left: -4px;
  318. margin-bottom:-0.6em;
  319. margin-left:0;
  320. border: 1px solid #333;
  321. -moz-border-radius:10px;
  322. -webkit-border-radius:10px;
  323. border-radius:10px;
  324. background: #e6e6e6;
  325. background-image: -moz-linear-gradient(top, #e6e6e6, #d5d5d5);
  326. background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #d5d5d5));
  327. box-shadow: inset 0 3px 3px #d5d5d5;
  328. }
  329. .media-player .media-player-volume-slider .ui-slider-handle.ui-state-hover {
  330. background: #fff;
  331. }
  332. .media-player .media-player-volume-slider .ui-slider-range {
  333. -moz-border-radius:15px;
  334. -webkit-border-radius:15px;
  335. border-radius:15px;
  336. background: #e6e6e6;
  337. background-image: -moz-linear-gradient(top, #e6e6e6, #d5d5d5);
  338. background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #d5d5d5));
  339. box-shadow: inset 0 3px 3px #d5d5d5;
  340. }
  341. /* volume button */
  342. .media-player .media-player-volume-button {
  343. position: absolute;
  344. bottom: 0px;
  345. display: block;
  346. width: 22px;
  347. height: 22px;
  348. background: url(images/volume-full-icon.png) no-repeat;
  349. text-indent: -9999px;
  350. opacity: 0.8;
  351. }
  352. .media-player .media-player-volume-button:hover {
  353. opacity: 1;
  354. }
  355. .media-player .media-player-volume-mute {
  356. background: url(images/volume-mute-icon.png) no-repeat;
  357. }
  358. /* Fullscreen button */
  359. .media-player .media-player-fullscreen {
  360. position: absolute;
  361. right:6px;
  362. bottom:7px;
  363. width: 22px;
  364. height: 14px;
  365. border:1px solid #aaa;
  366. }
  367. .media-player.fullscreen .media-player-fullscreen {
  368. right:14px;
  369. bottom:16px;
  370. }
  371. .media-player .media-player-fullscreen-inner, .media-player.fullscreen .media-player-fullscreen:hover .media-player-fullscreen-inner {
  372. position:absolute;
  373. bottom:0;
  374. width:16px;
  375. height:8px;
  376. background-color:#aaa;
  377. -moz-transition: all 0.1s ease-in-out; /* Firefox */
  378. -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  379. -o-transition: all 0.1s ease-in-out; /* Opera */
  380. transition: all 0.1s ease-in-out;
  381. }
  382. .media-player .media-player-fullscreen:hover .media-player-fullscreen-inner, .media-player.fullscreen .media-player-fullscreen-inner {
  383. width:20px;
  384. height:12px;
  385. }
  386. .media-player.fullscreen .media-player-controls {
  387. position: absolute;
  388. z-index:1002;
  389. width:500px;
  390. left: 50%;
  391. bottom:10px;
  392. margin: 0 0 0 -260px;
  393. padding: 10px;
  394. border: 1px solid #2E2E2E;
  395. -moz-border-radius: 5px; /* FF1+ */
  396. -webkit-border-radius: 5px; /* Saf3+, Chrome */
  397. border-radius: 5px; /* Opera 10.5, IE 9 */
  398. background: #000000;
  399. background-image: -moz-linear-gradient(top, #313131, #000000); /* FF3.6 */
  400. background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #313131),color-stop(1, #000000)); /* Saf4+, Chrome */
  401. box-shadow: inset 0 15px 35px #535353;
  402. -moz-transition: all 0.1s ease-in-out; /* Firefox */
  403. -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  404. -o-transition: all 0.1s ease-in-out; /* Opera */
  405. transition: all 0.1s ease-in-out;
  406. }
  407. /* needed jquery ui styles
  408. * using these, we don't depend on jQuery UI's stylsheet
  409. */
  410. .ui-slider-handle {
  411. position: absolute;
  412. z-index: 4;
  413. display: block;
  414. margin-left:-0.6em;
  415. cursor: default;
  416. outline: none;
  417. }
  418. .ui-slider-range {
  419. display:block;
  420. width:100%;
  421. height:100%;
  422. left:0;
  423. bottom: 0;
  424. border:0 none;
  425. position:absolute;
  426. z-index:3;
  427. }