1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-23 02:04:34 +02:00
video.js/video-js/video-js.css

73 lines
5.3 KiB
CSS
Raw Normal View History

2010-06-09 11:41:52 +03:00
.video-js-box { text-align: left; position: relative; }
2010-05-28 01:20:09 +03:00
video.video-js { background-color: #000; }
2010-06-09 11:41:52 +03:00
.video-js-box.vjs-fullscreen { position: fixed; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: 1000; }
2010-05-28 01:20:09 +03:00
.video-js-box.vjs-fullscreen video.video-js { position: absolute; width: 100%; height: 100%; }
2010-05-19 03:23:19 +03:00
2010-05-28 01:51:28 +03:00
.vjs-controls { display: none; position: absolute; margin: 0; padding: 0; border: none; }
2010-06-03 05:26:13 +03:00
img.vjs-poster { display: block; position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; }
.video-js-box p { font-size: small; }
2010-06-03 05:26:13 +03:00
2010-05-28 01:51:28 +03:00
/* DEFAULT SKIN */
/* Using all CSS to draw the controls. Images could be used to simplify the CSS if desired.
2010-05-19 03:23:19 +03:00
/* General controls styles */
2010-05-28 01:51:28 +03:00
.vjs-controls { list-style: none; height: 30px; opacity: 0.85; color: #fff; }
2010-05-19 03:23:19 +03:00
.vjs-controls > li { list-style: none; float: left; height: 25px; width: 25px; margin: 0 5px 0 0; padding: 0; text-align: center;
background-color: #0B151A; border-radius: 5px; box-shadow: 0px 2px 2px #000;
/* Webkit */
-webkit-border-radius: 5px;
background: #1F3744 -webkit-gradient(linear, left top, left bottom, from(#0B151A), to(#1F3744)) left 12px;
-webkit-box-shadow: 0px 1px 3px #000;
/* Firefox */
-moz-border-radius: 5px;
background: #1F3744 -moz-linear-gradient(top, #0B151A, #1F3744) left 12px;
-moz-box-shadow: 0px 1px 3px #000;
}
2010-05-28 01:20:09 +03:00
2010-05-19 03:23:19 +03:00
.vjs-controls > li:first-child { margin-left: 5px; }
2010-05-28 01:51:28 +03:00
.vjs-controls > li:last-child { margin-right: 0; }
2010-05-19 03:23:19 +03:00
/* Play/Pause */
2010-06-03 05:26:13 +03:00
.vjs-play-control span { display: block; font-size: 0px; line-height: 0; text-decoration: none; cursor: pointer !important; }
.vjs-play-control.vjs-play span { width: 0; height: 0; margin: 8px 0 0 8px; border-top: 5px solid #273F3E; border-left: 10px solid #fff; border-bottom: 5px solid #112129; }
2010-05-19 03:23:19 +03:00
.vjs-play-control.vjs-pause span { width: 3px; height: 10px; margin: 8px auto 0; border-top: 0px; border-left: 3px solid #fff; border-bottom: 0px; border-right: 3px solid #fff; }
/* Progress */
2010-06-03 05:26:13 +03:00
.vjs-progress-control ul { list-style: none; margin: 0; padding: 0; cursor: pointer !important; }
2010-05-28 01:51:28 +03:00
.vjs-progress-control .vjs-progress-holder { list-style: none; position: relative; float: left; height: 9px; border: 1px solid #777; margin: 7px 0 0 5px; padding: 0; background-color: #112129; overflow:hidden; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
.vjs-progress-control .vjs-play-progress { position: absolute; display: block; width: 0px; height: 9px; background: #fff;
2010-05-28 01:51:28 +03:00
-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#777));
background: -moz-linear-gradient(top, #fff, #777);
}
2010-06-09 11:41:52 +03:00
.vjs-progress-control .vjs-load-progress { position: absolute; display: block; width: 0px; height: 9px; background-color: #777; opacity: 0.5;
-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
background: -webkit-gradient(linear, left top, left bottom, from(#999), to(#ccc));
background: -moz-linear-gradient(top, #999, #ccc);
}
2010-05-19 03:23:19 +03:00
.vjs-progress-control .vjs-progress-time { list-style: none; float: left; margin: 7px 0 0 5px; padding: 0; font-size: 10px; line-height: 1; font-weight: normal; font-family: Helvetica, Arial, sans-serif; }
/* Volume */
2010-06-03 05:26:13 +03:00
.vjs-volume-control { width: 50px !important; cursor: pointer !important; }
2010-05-19 03:23:19 +03:00
.vjs-volume-control ul { display: block; margin: 0; padding: 4px 0 0 5px; list-style: none; }
.vjs-volume-control ul li { float: left; margin: 0; padding: 0; list-style: none; width: 5px; margin-right: 2px; height: 0px; border-bottom: 18px solid #555; }
.vjs-volume-control ul li:nth-child(1) { border-bottom-width: 2px; height: 16px; }
.vjs-volume-control ul li:nth-child(2) { border-bottom-width: 4px; height: 14px; }
.vjs-volume-control ul li:nth-child(3) { border-bottom-width: 7px; height: 11px; }
.vjs-volume-control ul li:nth-child(4) { border-bottom-width: 10px; height: 8px; }
.vjs-volume-control ul li:nth-child(5) { border-bottom-width: 14px; height: 4px; }
/* Fullscreen */
2010-06-03 05:26:13 +03:00
.vjs-fullscreen-control ul { list-style: none; margin: 5px 0 0 5px; padding: 0; width: 20px; height: 20px; text-align: left; vertical-align: top; cursor: pointer !important; }
2010-05-19 03:23:19 +03:00
.vjs-fullscreen-control ul li { list-style: none; float: left; margin: 0; padding: 0; font-size: 0; line-height: 0; width: 0; text-align: left; vertical-align: top; }
.vjs-fullscreen-control ul li:nth-child(1) { margin: 0 3px 3px 0; border: none; border-top: 6px solid #fff; border-right: 6px solid #273F3E; }
.vjs-fullscreen-control ul li:nth-child(2) { border: none; border-top: 6px solid #fff; border-left: 6px solid #273F3E; }
.vjs-fullscreen-control ul li:nth-child(3) { clear: both; margin: 0 3px 0 0; border: none; border-bottom: 6px solid #fff; border-right: 6px solid #112129; }
.vjs-fullscreen-control ul li:nth-child(4) { border: none; border-bottom: 6px solid #fff; border-left: 6px solid #112129; }
2010-05-28 01:20:09 +03:00
.vjs-fullscreen .vjs-fullscreen-control ul li:nth-child(1) { border: none; border-bottom: 6px solid #fff; border-left: 6px solid #273F3E; }
.vjs-fullscreen .vjs-fullscreen-control ul li:nth-child(2) { border: none; border-bottom: 6px solid #fff; border-right: 6px solid #273F3E; }
.vjs-fullscreen .vjs-fullscreen-control ul li:nth-child(3) { border: none; border-top: 6px solid #fff; border-left: 6px solid #112129; }
.vjs-fullscreen .vjs-fullscreen-control ul li:nth-child(4) { border: none; border-top: 6px solid #fff; border-right: 6px solid #112129; }