Advertisement
Anderton

WordPress 3.6 Media Player CSS

May 12th, 2013
1,532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.90 KB | None | 0 0
  1. /* Skin for WordPress 3.6 Media Player (MediaElements.js)
  2. *  Made for State WordPress Theme (WIP)
  3. *  This paste is not "cleaned up" and done, it only serves as an example.
  4. *  Usage: I this case the CSS is in a separate file called "mediaplayer.css" you can name it whatever you want.
  5. *  The CSS file is located in a subfolder of the theme named "CSS" along with a
  6. *  media folder (player interface elements). The CSS is then called from the theme functions.php
  7. *  Note. You can put this CSS in your main CSS file and the interface elements could be wherever you want.
  8. *  Screenshots: http://cl.ly/OvOu
  9. ================================================== */
  10.  
  11. .mejs-mediaelement,
  12.  .mejs-container {
  13.     background: #006877;
  14.     background-image: none!important;
  15.     font-weight: bold;
  16. }
  17.  
  18. .mejs-controls {
  19.     background: rgba(6,105,122,0.82) none!important;
  20. }
  21.  
  22. .mejs-controls .mejs-time-rail .mejs-time-loaded,
  23.  .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
  24.     background: #87cfdc!important;
  25. }
  26.  
  27. .mejs-controls .mejs-time-rail .mejs-time-current {
  28.     background: #24b4cd!important;
  29. }
  30.  
  31. .mejs-controls .mejs-time-rail span,
  32.  .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
  33.  .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
  34.     border-radius: 0!important;
  35. }
  36.  
  37. .mejs-controls .mejs-time-rail .mejs-time-handle {
  38.     -webkit-border-radius: 0!important;
  39.     -moz-border-radius: 0!important;
  40.     border-radius: 0!important;
  41. }
  42.  
  43. .mejs-overlay-loading {
  44.     background: none!important;
  45. }
  46.  
  47. .mejs-overlay-loading span {
  48.     background: #fff url(mediaplayer/simple-loading-animation.gif) no-repeat 50% 50%!important;
  49.     -moz-border-radius: 50%;
  50.     -webkit-border-radius: 50%;
  51.     border-radius: 50%;
  52.     width: 100px!important;
  53.     height: 100px!important;
  54.     margin: -10px 0 0 -10px!important;
  55. }
  56.  
  57. .mejs-controls .mejs-time-rail .mejs-time-buffering {
  58.     background: #004d5a;
  59. }
  60.  
  61. .mejs-controls .mejs-time-rail .mejs-time-total {
  62.     background-image: none!important;
  63.     background-color: #1e252f!important;
  64. }
  65.  
  66. .mejs-controls .mejs-volume-button .mejs-volume-slider {
  67.     background-image: none!important;
  68.     background: rgba(6,105,122,0.82)!important;
  69. }
  70.  
  71. .mejs-overlay-button {
  72.     background-image: url(mediaplayer/bigplay.svg)!important;
  73. }
  74.  
  75. .no-svg .mejs-overlay-button {
  76.     background-image: url(mediaplayer/bigplay.png)!important;
  77. }
  78.  
  79. .mejs-controls .mejs-time-rail .mejs-time-float-corner {
  80.     border: solid 5px #fff!important;
  81.     border-color: #fff transparent transparent transparent!important;
  82. }
  83.  
  84. .mejs-controls .mejs-time-rail .mejs-time-float {
  85.     background: #fff!important;
  86.     border: none!important;
  87.     color: #06697a!important;
  88.     font-weight: bold;
  89. }
  90.  
  91. .mejs-controls .mejs-button button {
  92.     background-image: url(mediaplayer/controls.svg)!important;
  93. }
  94.  
  95. .no-svg .mejs-controls .mejs-button button {
  96.     background-image: url(mediaplayer/controls.png)!important;
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement