blob: 3c28d360655f0e5c0c90938f6f43c6cff10b8933 (
plain)
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
|
@font-face {
font-family: 'FontAwesome';
src: url('fonts/fontawesome-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
.fa {
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
vertical-align: baseline;
display: inline-block;
}
#dashboard-nav-widgets {
direction: __MSG_@@bidi_dir__;
}
/* https://developer.mozilla.org/en-US/docs/Web/CSS/::after#Tooltips */
*[data-tip] {
cursor: pointer;
position: relative;
}
*[data-tip]:hover:after {
background-color: #ffffee;
border: 1px solid gray;
border-radius: 3px;
box-shadow: 1px 1px 3px gray;
color: black;
content: attr(data-tip);
direction: __MSG_@@bidi_dir__;
font: 11px sans-serif;
left: 0;
line-height: 130%;
min-width: 55vw;
padding: 4px 6px;
position: absolute;
text-align: __MSG_@@bidi_start_edge__;
top: 110%;
white-space: pre-line;
z-index: 20;
animation: tooltip 0.8s;
-webkit-animation: tooltip 0.8s;
}
*[data-tip][data-tip-anchor="top"]:hover:after {
bottom: 105%;
__MSG_@@bidi_start_edge__: auto;
__MSG_@@bidi_end_edge__: -10vw;
top: auto;
}
@keyframes tooltip {
0% { opacity: 0; }
85% { opacity: 0; }
100% { opacity: 1; }
}
@-webkit-keyframes tooltip {
0% { opacity: 0; }
85% { opacity: 0; }
100% { opacity: 1; }
}
|