You are here

tube.css in Video.js (HTML5 Video Player) 7

Same filename and directory in other branches
  1. 6 theme/tube.css
/*
VideoJS TubeCSS Skin (http://videojs.com)
Version 2.0.0
*/

.tube-css .vjs-controls {
  opacity: 1; color: #000;
  height: 24px;
  bottom: 0;
  background-color: #ccc;
  background: #fcfcfc -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#d0d0d0)) left top;
  background: #fcfcfc -moz-linear-gradient(top,  #fcfcfc,  #d0d0d0) left top;
}

.tube-css .vjs-controls > div {
  height: 23px; margin: 0; background: none; top: 0;
  border: 1px solid #b1b1b1; border-left-color: #eee;
  border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0;
  box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;
}

/* Placement of Control Items */
.tube-css .vjs-controls > div.vjs-play-control       { width: 25px; left: 0; }
.tube-css .vjs-controls > div.vjs-progress-control   { left: 102px; right: 83px; }
.tube-css .vjs-controls > div.vjs-time-control       { width: 75px; left: 27px; }
.tube-css .vjs-controls > div.vjs-volume-control     { width: 50px; right: 30px; }
.tube-css .vjs-controls > div.vjs-fullscreen-control { width: 30px; right: 0; }

/* Removing borders on time & progress to join them */
.tube-css .vjs-controls > div.vjs-progress-control { border-left: none; }
.tube-css .vjs-controls > div.vjs-time-control { border-right: none; }


/* Play/Pause
-------------------------------------------------------------------------------- */
.tube-css .vjs-play-control { margin-left: 0; border-left-color: #b1b1b1; }
.tube-css.vjs-paused  .vjs-play-control span { border-left-color: #333; border-top-width: 7px; border-left-width: 13px; border-bottom-width: 7px; margin: 5px 0 0 7px; }
.tube-css.vjs-playing .vjs-play-control span { height: 14px; margin: 5px auto 0; border-left: 4px solid #333; border-right: 4px solid #333; }
.tube-css.vjs-paused  .vjs-play-control:hover span { border-left-color: #CF1A1A; }
.tube-css.vjs-playing .vjs-play-control:hover span { border-left-color: #CF1A1A; border-right-color: #CF1A1A; }

/* Time Display
-------------------------------------------------------------------------------- */
.tube-css .vjs-controls .vjs-time-control { font-size: 11px; }
.tube-css .vjs-controls .vjs-time-control span { line-height: 25px; /* Centering vertically */ }

/* Progress
-------------------------------------------------------------------------------- */
.tube-css .vjs-progress-holder {
  margin-right: 10px;
  background-color: #b1b1b1;
  background: #b1b1b1 -webkit-gradient(linear, left top, left bottom, from(#b1b1b1), to(#cacaca)) left top;
  background: #b1b1b1 -moz-linear-gradient(top,  #b1b1b1,  #cacaca) left top;
  border-color: #CACACA; border-bottom-color: #eaeaea;
  border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0;
}
.tube-css .vjs-progress-control .vjs-load-progress { background: #C89191; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
.tube-css .vjs-progress-control .vjs-play-progress { background: #f33; background: -webkit-gradient(linear, left top, left bottom, from(#f33), to(#CF1A1A)); background: -moz-linear-gradient(top,  #f33,  #CF1A1A); -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }

/* Volume
-------------------------------------------------------------------------------- */
.tube-css .vjs-volume-control div { padding: 3px 0 0 0; }
.tube-css .vjs-volume-control div span { border-bottom-color: #ccc; }
/* Volume icon color */
.tube-css .vjs-volume-control div span.vjs-volume-level-on { border-color: #333; }
/* Volume icon hovering color */
.tube-css .vjs-volume-control:hover div span.vjs-volume-level-on { border-color: #CF1A1A; }

/* Fullscreen
-------------------------------------------------------------------------------- */
.tube-css .vjs-fullscreen-control div { margin: 4px 0 0 8px; }
/* Fullscreen icon color */
.tube-css .vjs-fullscreen-control div span:nth-child(3), .tube-css .vjs-fullscreen-control div span:nth-child(4), .tube-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(1), .tube-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(2) {
  border-bottom-color: #333;
}
.tube-css .vjs-fullscreen-control div span:nth-child(1), .tube-css .vjs-fullscreen-control div span:nth-child(2), .tube-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(3), .tube-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(4) {
  border-top-color: #333;
}
/* Fullscreen icon hovering color */
.tube-css .vjs-fullscreen-control:hover div span:nth-child(3), .tube-css .vjs-fullscreen-control:hover div span:nth-child(4), .tube-css.vjs-fullscreen .vjs-fullscreen-control:hover div span:nth-child(1), .tube-css.vjs-fullscreen .vjs-fullscreen-control:hover div span:nth-child(2) {
  border-bottom-color: #CF1A1A;
}
.tube-css .vjs-fullscreen-control:hover div span:nth-child(1), .tube-css .vjs-fullscreen-control:hover div span:nth-child(2), .tube-css.vjs-fullscreen .vjs-fullscreen-control:hover div span:nth-child(3), .tube-css.vjs-fullscreen .vjs-fullscreen-control:hover div span:nth-child(4) {
  border-top-color: #CF1A1A;
}

/* Big Play Button (at start)
---------------------------------------------------------*/
.tube-css div.vjs-big-play-button { 
  width: 84px; height: 58px; margin: -29px 0 0 -42px;
  border: 2px solid #ccc; opacity: 0.9;
  border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;

  /* CSS Background Gradients */
  /* Default */ background-color: #333;
  /* Webkit  */ background: #000 -webkit-gradient(linear, left top, left bottom, from(#000), to(#333)) left 29px;
  /* Firefox */ background: #000 -moz-linear-gradient(top,  #000,  #333) left 29px;

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

File

theme/tube.css
View source
  1. /*
  2. VideoJS TubeCSS Skin (http://videojs.com)
  3. Version 2.0.0
  4. */
  5. .tube-css .vjs-controls {
  6. opacity: 1; color: #000;
  7. height: 24px;
  8. bottom: 0;
  9. background-color: #ccc;
  10. background: #fcfcfc -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#d0d0d0)) left top;
  11. background: #fcfcfc -moz-linear-gradient(top, #fcfcfc, #d0d0d0) left top;
  12. }
  13. .tube-css .vjs-controls > div {
  14. height: 23px; margin: 0; background: none; top: 0;
  15. border: 1px solid #b1b1b1; border-left-color: #eee;
  16. border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0;
  17. box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;
  18. }
  19. /* Placement of Control Items */
  20. .tube-css .vjs-controls > div.vjs-play-control { width: 25px; left: 0; }
  21. .tube-css .vjs-controls > div.vjs-progress-control { left: 102px; right: 83px; }
  22. .tube-css .vjs-controls > div.vjs-time-control { width: 75px; left: 27px; }
  23. .tube-css .vjs-controls > div.vjs-volume-control { width: 50px; right: 30px; }
  24. .tube-css .vjs-controls > div.vjs-fullscreen-control { width: 30px; right: 0; }
  25. /* Removing borders on time & progress to join them */
  26. .tube-css .vjs-controls > div.vjs-progress-control { border-left: none; }
  27. .tube-css .vjs-controls > div.vjs-time-control { border-right: none; }
  28. /* Play/Pause
  29. -------------------------------------------------------------------------------- */
  30. .tube-css .vjs-play-control { margin-left: 0; border-left-color: #b1b1b1; }
  31. .tube-css.vjs-paused .vjs-play-control span { border-left-color: #333; border-top-width: 7px; border-left-width: 13px; border-bottom-width: 7px; margin: 5px 0 0 7px; }
  32. .tube-css.vjs-playing .vjs-play-control span { height: 14px; margin: 5px auto 0; border-left: 4px solid #333; border-right: 4px solid #333; }
  33. .tube-css.vjs-paused .vjs-play-control:hover span { border-left-color: #CF1A1A; }
  34. .tube-css.vjs-playing .vjs-play-control:hover span { border-left-color: #CF1A1A; border-right-color: #CF1A1A; }
  35. /* Time Display
  36. -------------------------------------------------------------------------------- */
  37. .tube-css .vjs-controls .vjs-time-control { font-size: 11px; }
  38. .tube-css .vjs-controls .vjs-time-control span { line-height: 25px; /* Centering vertically */ }
  39. /* Progress
  40. -------------------------------------------------------------------------------- */
  41. .tube-css .vjs-progress-holder {
  42. margin-right: 10px;
  43. background-color: #b1b1b1;
  44. background: #b1b1b1 -webkit-gradient(linear, left top, left bottom, from(#b1b1b1), to(#cacaca)) left top;
  45. background: #b1b1b1 -moz-linear-gradient(top, #b1b1b1, #cacaca) left top;
  46. border-color: #CACACA; border-bottom-color: #eaeaea;
  47. border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0;
  48. }
  49. .tube-css .vjs-progress-control .vjs-load-progress { background: #C89191; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
  50. .tube-css .vjs-progress-control .vjs-play-progress { background: #f33; background: -webkit-gradient(linear, left top, left bottom, from(#f33), to(#CF1A1A)); background: -moz-linear-gradient(top, #f33, #CF1A1A); -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
  51. /* Volume
  52. -------------------------------------------------------------------------------- */
  53. .tube-css .vjs-volume-control div { padding: 3px 0 0 0; }
  54. .tube-css .vjs-volume-control div span { border-bottom-color: #ccc; }
  55. /* Volume icon color */
  56. .tube-css .vjs-volume-control div span.vjs-volume-level-on { border-color: #333; }
  57. /* Volume icon hovering color */
  58. .tube-css .vjs-volume-control:hover div span.vjs-volume-level-on { border-color: #CF1A1A; }
  59. /* Fullscreen
  60. -------------------------------------------------------------------------------- */
  61. .tube-css .vjs-fullscreen-control div { margin: 4px 0 0 8px; }
  62. /* Fullscreen icon color */
  63. .tube-css .vjs-fullscreen-control div span:nth-child(3), .tube-css .vjs-fullscreen-control div span:nth-child(4), .tube-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(1), .tube-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(2) {
  64. border-bottom-color: #333;
  65. }
  66. .tube-css .vjs-fullscreen-control div span:nth-child(1), .tube-css .vjs-fullscreen-control div span:nth-child(2), .tube-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(3), .tube-css.vjs-fullscreen .vjs-fullscreen-control div span:nth-child(4) {
  67. border-top-color: #333;
  68. }
  69. /* Fullscreen icon hovering color */
  70. .tube-css .vjs-fullscreen-control:hover div span:nth-child(3), .tube-css .vjs-fullscreen-control:hover div span:nth-child(4), .tube-css.vjs-fullscreen .vjs-fullscreen-control:hover div span:nth-child(1), .tube-css.vjs-fullscreen .vjs-fullscreen-control:hover div span:nth-child(2) {
  71. border-bottom-color: #CF1A1A;
  72. }
  73. .tube-css .vjs-fullscreen-control:hover div span:nth-child(1), .tube-css .vjs-fullscreen-control:hover div span:nth-child(2), .tube-css.vjs-fullscreen .vjs-fullscreen-control:hover div span:nth-child(3), .tube-css.vjs-fullscreen .vjs-fullscreen-control:hover div span:nth-child(4) {
  74. border-top-color: #CF1A1A;
  75. }
  76. /* Big Play Button (at start)
  77. ---------------------------------------------------------*/
  78. .tube-css div.vjs-big-play-button {
  79. width: 84px; height: 58px; margin: -29px 0 0 -42px;
  80. border: 2px solid #ccc; opacity: 0.9;
  81. border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;
  82. /* CSS Background Gradients */
  83. /* Default */ background-color: #333;
  84. /* Webkit */ background: #000 -webkit-gradient(linear, left top, left bottom, from(#000), to(#333)) left 29px;
  85. /* Firefox */ background: #000 -moz-linear-gradient(top, #000, #333) left 29px;
  86. /* CSS Shadows */
  87. box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;
  88. }
  89. .tube-css div.vjs-big-play-button:hover {
  90. opacity: 1;
  91. }
  92. .tube-css div.vjs-big-play-button span {
  93. margin: 11px 0 0 26px;
  94. /* Drawing the play triangle with borders - http://www.infimum.dk/HTML/slantinfo.html */
  95. border-left: 36px solid #fff; /* Width & Color of play icon */
  96. /* Height of play icon is total top & bottom border widths. Color is transparent. */
  97. border-top: 18px solid rgba(0,0,0,0); border-bottom: 18px solid rgba(0,0,0,0);
  98. }