forked from vincentlam-teku/regexr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tooltips.scss
53 lines (44 loc) · 964 Bytes
/
tooltips.scss
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
.tooltip {
font-size: 0.875rem;
font-family: $monospace;
max-width: 30em;
background: rgba(30, 30, 30, .95);
color: lighten($grey, 25%);
padding: $pad;
border-radius: 3px;
word-wrap: break-word;
hr {
height: 0;
border: 0;
border-bottom: solid 1px rgba(255, 255, 255, 0.08);
margin-top: 0.3em;
margin-bottom: 0.3em;
}
b {
color: lighten($grey, 40%);
}
.error-title {
font-weight: bold;
color: $error-color;
}
&.save {
max-width: 11.6rem;
}
&.expr {
max-width: 20rem;
}
}
.tooltip-tip {
width: 19px;
height: 10px;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAKCAYAAABWiWWfAAAANUlEQVR42o3MMQ0AAAzDsCEp1jFvKfjIF/mSSC+fQhVQoQpIkIIAOQiQgwA5CJCDADkIkIMD+gmc/LP+8KQAAAAASUVORK5CYII=);
}
.tooltip, .tooltip-tip {
opacity: 0.0;
@include vendor-prefix(transition, opacity $default-transition-duration);
position: fixed;
z-index: $z-index-tip;
}
.tooltip-visible {
opacity: 1.0;
}