You are here

hu.css in Video.js (HTML5 Video Player) 6

Same filename and directory in other branches
  1. 7 theme/hu.css
/*
VideoJS HuCSS Skin (http://videojs.com)
Version 2.0.0
*/

.hu-css .vjs-controls {
  height: 47px; opacity: 0.95; color: #fff;
  background: #3A3835;
}
.hu-css.video-js-box.vjs-controls-below .vjs-controls { background: #3A3835; }

.hu-css .vjs-controls > div {
  top: 0;
  background: none;
  border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0;
  box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;
}

/* Top Level Items */
.hu-css .vjs-controls > div.vjs-play-control,
.hu-css .vjs-controls > div.vjs-volume-control,
.hu-css .vjs-controls > div.vjs-fullscreen-control {
  bottom: 20px; height: 27px;
}
/* Bottom Level Items */
.hu-css .vjs-controls > div.vjs-progress-control, .hu-css .vjs-controls > div.vjs-time-control {
  margin-top: 28px; height: 19px;
}

/* Placement of Control Items */
.hu-css .vjs-controls > div.vjs-play-control       { width: 33px; left: 0px; }
.hu-css .vjs-controls > div.vjs-progress-control   { width: left: 84px; right: 0; }
.hu-css .vjs-controls > div.vjs-time-control       { width: 84px; left: 0px; }
.hu-css .vjs-controls > div.vjs-volume-control     { width: 43px; right: 44px; }
.hu-css .vjs-controls > div.vjs-fullscreen-control { width: 43px; right: 0px; }

/* Play/Pause
-------------------------------------------------------------------------------- */
.hu-css.vjs-paused .vjs-play-control span { margin: 9px 0 0 12px; }
.hu-css.vjs-playing .vjs-play-control span { margin: 9px 0 0 12px; }
.hu-css .vjs-play-control:hover { background-color: #000; }

/* Progress
-------------------------------------------------------------------------------- */
.hu-css .vjs-progress-holder { /* Box containing play and load progresses */
  height: 19px; border: none;
  margin: 0px 0px 0 0px; /* Placement within the progress control item */
  background: #000;
  border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0;
}
.hu-css .vjs-progress-holder div { height: 13px; margin-top: 3px; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
.hu-css .vjs-play-progress {
  /* Default */ background: #777;
  /* Webkit  */ background: -webkit-gradient(linear, left top, left bottom, from(#999), to(#777));
  /* Firefox */ background: -moz-linear-gradient(top,  #999,  #777);
}
.hu-css .vjs-load-progress { background: #555; }

/* Time Display
-------------------------------------------------------------------------------- */
.hu-css .vjs-controls .vjs-time-control { font-size: 11px; background: #000; }
.hu-css .vjs-controls .vjs-time-control span { line-height: 19px; /* Centering vertically */ }

/* Volume
-------------------------------------------------------------------------------- */
/*.hu-css .vjs-volume-control:hover { background-color: #000; }*/
.hu-css .vjs-volume-control div { margin: 0 5px 0 5px; padding: 9px 0 0 0; }
.hu-css .vjs-volume-control div span { /* Individual volume bars */
  margin: 0 2px 0 0; /* Space between */
  width: 3px; height: 0px; /* Total height is height + bottom border */
  border-bottom: 12px solid #555; /* Default (off) color and height of visible portion */
}
.hu-css .vjs-volume-control div span.vjs-volume-level-on { border-color: #fff; /* Volume on bar color */ }
/* Creating differnt bar heights through height (transparent) and bottom border (visible). */
.hu-css .vjs-volume-control div span:nth-child(1) { border-bottom-width: 2px; height: 10px; }
.hu-css .vjs-volume-control div span:nth-child(2) { border-bottom-width: 4px; height: 8px; }
.hu-css .vjs-volume-control div span:nth-child(3) { border-bottom-width: 6px; height: 6px; }
.hu-css .vjs-volume-control div span:nth-child(4) { border-bottom-width: 8px; height: 4px; }
.hu-css .vjs-volume-control div span:nth-child(5) { border-bottom-width: 10px; height: 2px; }

/* Fullscreen
-------------------------------------------------------------------------------- */
.hu-css .vjs-fullscreen-control:hover { background-color: #000; }
.hu-css .vjs-fullscreen-control div { margin: 8px 0 0 0px; padding-left: 13px; height: 13px; border-left: 1px solid #555; }
.hu-css .vjs-fullscreen-control div span:nth-child(1) { margin-right: 9px; margin-bottom: 5px; border-top: 4px solid #fff; border-right: 4px solid rgba(0,0,0,0); }
.hu-css .vjs-fullscreen-control div span:nth-child(2) { border-top: 4px solid #fff; border-left: 4px solid rgba(0,0,0,0); }
.hu-css .vjs-fullscreen-control div span:nth-child(3) { clear: both; margin: 0 9px 0 0; border-bottom: 4px solid #fff; border-right: 4px solid rgba(0,0,0,0); }
.hu-css .vjs-fullscreen-control div span:nth-child(4) { border-bottom: 4px solid #fff; border-left: 4px solid rgba(0,0,0,0); }
/* Icon when video is in fullscreen mode */
.hu-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(1) { border: none; border-bottom: 4px solid #fff; border-left: 4px solid rgba(0,0,0,0); }
.hu-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(2) { border: none; border-bottom: 4px solid #fff; border-right: 4px solid rgba(0,0,0,0); }
.hu-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(3) { border: none; border-top: 4px solid #fff; border-left: 4px solid rgba(0,0,0,0); }
.hu-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(4) { border: none; border-top: 4px solid #fff; border-right: 4px solid rgba(0,0,0,0); }

/* Big Play Button (at start)
---------------------------------------------------------*/
.hu-css div.vjs-big-play-button {
  width: 76px; height: 70px; margin: -35px 0 0 -38px;
  border: 1px solid #ccc; opacity: 0.8;
  border-radius: 0px; -webkit-border-radius: 0px; -moz-border-radius: 0px;

  background: rgba(50,50,50,0.8);

  /* CSS Shadows */
  box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;
}
.hu-css div.vjs-big-play-button:hover {
  box-shadow: 0px 0px 80px #fff; -webkit-box-shadow: 0px 0px 80px #fff; -moz-box-shadow: 0px 0px 80px #fff;
}
.hu-css div.vjs-big-play-button span {
  margin: 16px 0 0 21px;
  /* Drawing the play triangle with borders - http://www.infimum.dk/HTML/slantinfo.html */
  border-left: 40px solid #fff; /* Width & Color of play icon */
  /* Height of play icon is total top & bottom border widths. Color is transparent. */
  border-top: 20px solid rgba(0,0,0,0); border-bottom: 20px solid rgba(0,0,0,0);
}

File

theme/hu.css
View source
  1. /*
  2. VideoJS HuCSS Skin (http://videojs.com)
  3. Version 2.0.0
  4. */
  5. .hu-css .vjs-controls {
  6. height: 47px; opacity: 0.95; color: #fff;
  7. background: #3A3835;
  8. }
  9. .hu-css.video-js-box.vjs-controls-below .vjs-controls { background: #3A3835; }
  10. .hu-css .vjs-controls > div {
  11. top: 0;
  12. background: none;
  13. border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0;
  14. box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;
  15. }
  16. /* Top Level Items */
  17. .hu-css .vjs-controls > div.vjs-play-control,
  18. .hu-css .vjs-controls > div.vjs-volume-control,
  19. .hu-css .vjs-controls > div.vjs-fullscreen-control {
  20. bottom: 20px; height: 27px;
  21. }
  22. /* Bottom Level Items */
  23. .hu-css .vjs-controls > div.vjs-progress-control, .hu-css .vjs-controls > div.vjs-time-control {
  24. margin-top: 28px; height: 19px;
  25. }
  26. /* Placement of Control Items */
  27. .hu-css .vjs-controls > div.vjs-play-control { width: 33px; left: 0px; }
  28. .hu-css .vjs-controls > div.vjs-progress-control { width: left: 84px; right: 0; }
  29. .hu-css .vjs-controls > div.vjs-time-control { width: 84px; left: 0px; }
  30. .hu-css .vjs-controls > div.vjs-volume-control { width: 43px; right: 44px; }
  31. .hu-css .vjs-controls > div.vjs-fullscreen-control { width: 43px; right: 0px; }
  32. /* Play/Pause
  33. -------------------------------------------------------------------------------- */
  34. .hu-css.vjs-paused .vjs-play-control span { margin: 9px 0 0 12px; }
  35. .hu-css.vjs-playing .vjs-play-control span { margin: 9px 0 0 12px; }
  36. .hu-css .vjs-play-control:hover { background-color: #000; }
  37. /* Progress
  38. -------------------------------------------------------------------------------- */
  39. .hu-css .vjs-progress-holder { /* Box containing play and load progresses */
  40. height: 19px; border: none;
  41. margin: 0px 0px 0 0px; /* Placement within the progress control item */
  42. background: #000;
  43. border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0;
  44. }
  45. .hu-css .vjs-progress-holder div { height: 13px; margin-top: 3px; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
  46. .hu-css .vjs-play-progress {
  47. /* Default */ background: #777;
  48. /* Webkit */ background: -webkit-gradient(linear, left top, left bottom, from(#999), to(#777));
  49. /* Firefox */ background: -moz-linear-gradient(top, #999, #777);
  50. }
  51. .hu-css .vjs-load-progress { background: #555; }
  52. /* Time Display
  53. -------------------------------------------------------------------------------- */
  54. .hu-css .vjs-controls .vjs-time-control { font-size: 11px; background: #000; }
  55. .hu-css .vjs-controls .vjs-time-control span { line-height: 19px; /* Centering vertically */ }
  56. /* Volume
  57. -------------------------------------------------------------------------------- */
  58. /*.hu-css .vjs-volume-control:hover { background-color: #000; }*/
  59. .hu-css .vjs-volume-control div { margin: 0 5px 0 5px; padding: 9px 0 0 0; }
  60. .hu-css .vjs-volume-control div span { /* Individual volume bars */
  61. margin: 0 2px 0 0; /* Space between */
  62. width: 3px; height: 0px; /* Total height is height + bottom border */
  63. border-bottom: 12px solid #555; /* Default (off) color and height of visible portion */
  64. }
  65. .hu-css .vjs-volume-control div span.vjs-volume-level-on { border-color: #fff; /* Volume on bar color */ }
  66. /* Creating differnt bar heights through height (transparent) and bottom border (visible). */
  67. .hu-css .vjs-volume-control div span:nth-child(1) { border-bottom-width: 2px; height: 10px; }
  68. .hu-css .vjs-volume-control div span:nth-child(2) { border-bottom-width: 4px; height: 8px; }
  69. .hu-css .vjs-volume-control div span:nth-child(3) { border-bottom-width: 6px; height: 6px; }
  70. .hu-css .vjs-volume-control div span:nth-child(4) { border-bottom-width: 8px; height: 4px; }
  71. .hu-css .vjs-volume-control div span:nth-child(5) { border-bottom-width: 10px; height: 2px; }
  72. /* Fullscreen
  73. -------------------------------------------------------------------------------- */
  74. .hu-css .vjs-fullscreen-control:hover { background-color: #000; }
  75. .hu-css .vjs-fullscreen-control div { margin: 8px 0 0 0px; padding-left: 13px; height: 13px; border-left: 1px solid #555; }
  76. .hu-css .vjs-fullscreen-control div span:nth-child(1) { margin-right: 9px; margin-bottom: 5px; border-top: 4px solid #fff; border-right: 4px solid rgba(0,0,0,0); }
  77. .hu-css .vjs-fullscreen-control div span:nth-child(2) { border-top: 4px solid #fff; border-left: 4px solid rgba(0,0,0,0); }
  78. .hu-css .vjs-fullscreen-control div span:nth-child(3) { clear: both; margin: 0 9px 0 0; border-bottom: 4px solid #fff; border-right: 4px solid rgba(0,0,0,0); }
  79. .hu-css .vjs-fullscreen-control div span:nth-child(4) { border-bottom: 4px solid #fff; border-left: 4px solid rgba(0,0,0,0); }
  80. /* Icon when video is in fullscreen mode */
  81. .hu-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(1) { border: none; border-bottom: 4px solid #fff; border-left: 4px solid rgba(0,0,0,0); }
  82. .hu-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(2) { border: none; border-bottom: 4px solid #fff; border-right: 4px solid rgba(0,0,0,0); }
  83. .hu-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(3) { border: none; border-top: 4px solid #fff; border-left: 4px solid rgba(0,0,0,0); }
  84. .hu-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(4) { border: none; border-top: 4px solid #fff; border-right: 4px solid rgba(0,0,0,0); }
  85. /* Big Play Button (at start)
  86. ---------------------------------------------------------*/
  87. .hu-css div.vjs-big-play-button {
  88. width: 76px; height: 70px; margin: -35px 0 0 -38px;
  89. border: 1px solid #ccc; opacity: 0.8;
  90. border-radius: 0px; -webkit-border-radius: 0px; -moz-border-radius: 0px;
  91. background: rgba(50,50,50,0.8);
  92. /* CSS Shadows */
  93. box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;
  94. }
  95. .hu-css div.vjs-big-play-button:hover {
  96. box-shadow: 0px 0px 80px #fff; -webkit-box-shadow: 0px 0px 80px #fff; -moz-box-shadow: 0px 0px 80px #fff;
  97. }
  98. .hu-css div.vjs-big-play-button span {
  99. margin: 16px 0 0 21px;
  100. /* Drawing the play triangle with borders - http://www.infimum.dk/HTML/slantinfo.html */
  101. border-left: 40px solid #fff; /* Width & Color of play icon */
  102. /* Height of play icon is total top & bottom border widths. Color is transparent. */
  103. border-top: 20px solid rgba(0,0,0,0); border-bottom: 20px solid rgba(0,0,0,0);
  104. }