1 | .tooltip {
|
2 | position: relative;
|
3 | background: rgba(0, 0, 0, 0.5);
|
4 | border-radius: 4px;
|
5 | color: white;
|
6 | padding: 4px 8px;
|
7 | opacity: 0.7;
|
8 | white-space: nowrap;
|
9 | }
|
10 | .tooltip-measure {
|
11 | opacity: 1;
|
12 | font-weight: bold;
|
13 | }
|
14 | .tooltip-static {
|
15 | background-color: #ffcc33;
|
16 | color: black;
|
17 | border: 1px solid white;
|
18 | }
|
19 | .tooltip-measure:before,
|
20 | .tooltip-static:before {
|
21 | border-top: 6px solid rgba(0, 0, 0, 0.5);
|
22 | border-right: 6px solid transparent;
|
23 | border-left: 6px solid transparent;
|
24 | content: "";
|
25 | position: absolute;
|
26 | bottom: -6px;
|
27 | margin-left: -7px;
|
28 | left: 50%;
|
29 | }
|
30 | .tooltip-static:before {
|
31 | border-top-color: #ffcc33;
|
32 | } |
\ | No newline at end of file |