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