wp-mediaelement.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. .mejs-container {
  2. clear: both;
  3. max-width: 100%;
  4. }
  5. .mejs-container * {
  6. font-family: Helvetica, Arial;
  7. }
  8. .mejs-container,
  9. .mejs-embed,
  10. .mejs-embed body,
  11. .mejs-container .mejs-controls {
  12. background: #222;
  13. }
  14. .mejs-time {
  15. font-weight: normal;
  16. word-wrap: normal;
  17. }
  18. .mejs-controls a.mejs-horizontal-volume-slider {
  19. display: table;
  20. }
  21. .mejs-controls .mejs-time-rail .mejs-time-loaded,
  22. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
  23. background: #fff;
  24. }
  25. .mejs-controls .mejs-time-rail .mejs-time-current {
  26. background: #0073aa;
  27. }
  28. .mejs-controls .mejs-time-rail .mejs-time-total,
  29. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
  30. background: rgba(255, 255, 255, .33);
  31. }
  32. .mejs-controls .mejs-time-rail span,
  33. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
  34. .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
  35. border-radius: 0;
  36. }
  37. .mejs-overlay-loading {
  38. background: transparent;
  39. }
  40. /* Override theme styles that may conflict with controls. */
  41. .mejs-controls button:hover {
  42. border: none;
  43. -webkit-box-shadow: none;
  44. box-shadow: none;
  45. }
  46. .me-cannotplay {
  47. width: auto !important;
  48. }
  49. .media-embed-details .wp-audio-shortcode {
  50. display: inline-block;
  51. max-width: 400px;
  52. }
  53. .audio-details .embed-media-settings {
  54. overflow: visible;
  55. }
  56. .media-embed-details .embed-media-settings .setting span:not(.button-group) {
  57. max-width: 400px; /* Back-compat for pre-5.3 */
  58. width: auto; /* Back-compat for pre-5.3 */
  59. }
  60. .media-embed-details .embed-media-settings .checkbox-setting span {
  61. display: inline-block;
  62. }
  63. .media-embed-details .embed-media-settings {
  64. padding-top: 0;
  65. top: 28px;
  66. }
  67. .media-embed-details .instructions {
  68. padding: 16px 0;
  69. max-width: 600px;
  70. }
  71. .media-embed-details .setting p,
  72. .media-embed-details .setting .remove-setting {
  73. color: #a00;
  74. font-size: 10px;
  75. text-transform: uppercase;
  76. }
  77. .media-embed-details .setting .remove-setting {
  78. padding: 5px 0;
  79. }
  80. .media-embed-details .setting a:hover {
  81. color: #dc3232;
  82. }
  83. .media-embed-details .embed-media-settings .checkbox-setting {
  84. float: none;
  85. margin: 0 0 10px;
  86. }
  87. .wp-video {
  88. max-width: 100%;
  89. height: auto;
  90. }
  91. .wp_attachment_holder .wp-video,
  92. .wp_attachment_holder .wp-audio-shortcode {
  93. margin-top: 18px;
  94. }
  95. video.wp-video-shortcode,
  96. .wp-video-shortcode video {
  97. max-width: 100%;
  98. display: inline-block;
  99. }
  100. .video-details .wp-video-holder {
  101. width: 100%;
  102. max-width: 640px;
  103. }
  104. .wp-playlist {
  105. border: 1px solid #ccc;
  106. padding: 10px;
  107. margin: 12px 0 18px;
  108. font-size: 14px;
  109. line-height: 1.5;
  110. }
  111. .wp-admin .wp-playlist {
  112. margin: 0 0 18px;
  113. }
  114. .wp-playlist video {
  115. display: inline-block;
  116. max-width: 100%;
  117. }
  118. .wp-playlist audio {
  119. display: none;
  120. max-width: 100%;
  121. width: 400px;
  122. }
  123. .wp-playlist .mejs-container {
  124. margin: 0;
  125. max-width: 100%;
  126. }
  127. .wp-playlist .mejs-controls .mejs-button button {
  128. outline: 0;
  129. }
  130. .wp-playlist-light {
  131. background: #fff;
  132. color: #000;
  133. }
  134. .wp-playlist-dark {
  135. color: #fff;
  136. background: #000;
  137. }
  138. .wp-playlist-caption {
  139. display: block;
  140. max-width: 88%;
  141. overflow: hidden;
  142. text-overflow: ellipsis;
  143. white-space: nowrap;
  144. font-size: 14px;
  145. line-height: 1.5;
  146. }
  147. .wp-playlist-item .wp-playlist-caption {
  148. text-decoration: none;
  149. color: #000;
  150. max-width: -webkit-calc(100% - 40px);
  151. max-width: calc(100% - 40px);
  152. }
  153. .wp-playlist-item-meta {
  154. display: block;
  155. font-size: 14px;
  156. line-height: 1.5;
  157. }
  158. .wp-playlist-item-title {
  159. font-size: 14px;
  160. line-height: 1.5;
  161. }
  162. .wp-playlist-item-album {
  163. font-style: italic;
  164. overflow: hidden;
  165. text-overflow: ellipsis;
  166. white-space: nowrap;
  167. }
  168. .wp-playlist-item-artist {
  169. font-size: 12px;
  170. text-transform: uppercase;
  171. }
  172. .wp-playlist-item-length {
  173. position: absolute;
  174. right: 3px;
  175. top: 0;
  176. font-size: 14px;
  177. line-height: 1.5;
  178. }
  179. .rtl .wp-playlist-item-length {
  180. left: 3px;
  181. right: auto;
  182. }
  183. .wp-playlist-tracks {
  184. margin-top: 10px;
  185. }
  186. .wp-playlist-item {
  187. position: relative;
  188. cursor: pointer;
  189. padding: 0 3px;
  190. border-bottom: 1px solid #ccc;
  191. }
  192. .wp-playlist-item:last-child {
  193. border-bottom: 0;
  194. }
  195. .wp-playlist-light .wp-playlist-caption {
  196. color: #333;
  197. }
  198. .wp-playlist-dark .wp-playlist-caption {
  199. color: #ddd;
  200. }
  201. .wp-playlist-playing {
  202. font-weight: bold;
  203. background: #f7f7f7;
  204. }
  205. .wp-playlist-light .wp-playlist-playing {
  206. background: #fff;
  207. color: #000;
  208. }
  209. .wp-playlist-dark .wp-playlist-playing {
  210. background: #000;
  211. color: #fff;
  212. }
  213. .wp-playlist-current-item {
  214. overflow: hidden;
  215. margin-bottom: 10px;
  216. height: 60px;
  217. }
  218. .wp-playlist .wp-playlist-current-item img {
  219. float: left;
  220. max-width: 60px;
  221. height: auto;
  222. margin-right: 10px;
  223. padding: 0;
  224. border: 0;
  225. }
  226. .rtl .wp-playlist .wp-playlist-current-item img {
  227. float: right;
  228. margin-left: 10px;
  229. margin-right: 0;
  230. }
  231. .wp-playlist-current-item .wp-playlist-item-title,
  232. .wp-playlist-current-item .wp-playlist-item-artist {
  233. overflow: hidden;
  234. text-overflow: ellipsis;
  235. white-space: nowrap;
  236. }
  237. .wp-audio-playlist .me-cannotplay span {
  238. padding: 5px 15px;
  239. }