/
tooltip.less
100 lines (84 loc) · 1.63 KB
/
tooltip.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
@import "vars";
@import "icons";
.jw-icon-tooltip.jw-open .jw-overlay {
opacity: 1;
visibility: visible;
}
.jw-icon-tooltip.jw-hidden {
display: none;
}
.jw-overlay-horizontal {
display: none;
}
.jw-icon-tooltip.jw-open-drawer {
.jw-icon-close;
}
.jw-icon-tooltip.jw-open-drawer .jw-overlay-horizontal {
opacity: 1;
display: inline-block;
vertical-align: top;
}
.jw-overlay:after {
position: absolute;
bottom: -0.5em;
left: -50%;
width: 100%;
height: 15%;
background-color: rgba(0, 0, 0, 0);
content: " ";
}
.jw-time-tip,
.jw-volume-tip,
.jw-menu {
position: relative;
left: -50%;
border: solid 1px #000;
margin: 0;
}
.jw-volume-tip {
width: 100%;
height: 100%;
display: block;
}
.jw-time-tip {
text-align:center;
font-family: inherit;
color: @inactive-color;
bottom: 1em;
border: solid 4px #000;
.jw-text {
line-height: 1em;
}
}
.jw-controlbar {
.jw-overlay {
margin: 0;
position: absolute;
bottom: 2em;
left: 50%;
opacity: 0;
visibility: hidden;
.jw-contents {
position: relative;
}
}
.jw-option {
position: relative;
white-space: nowrap;
cursor: pointer;
list-style: none;
height: 1.5em;
font-family: inherit;
line-height: 1.5em;
color: @inactive-color;
padding: 0 .5em;
font-size: .8em;
&:hover,
&:before:hover {
color: @hover-color;
}
&:before {
padding-right: 0.125em;
}
}
}