- Notifications
You must be signed in to change notification settings - Fork 202
/
Copy pathatom-typescript-tooltip.less
35 lines (30 loc) · 785 Bytes
/
atom-typescript-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
@keyframes atomTypescriptTooltipFadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
// Most of the styles for this get inherited from the .tooltip class that we apply to the same element in the DOM
.atom-typescript-tooltip {
font-family: Consolas, monospace;
white-space: pre!important;
border-radius: 5px;
animation-name: atomTypescriptTooltipFadeIn;
animation-duration: 300ms;
animation-fill-mode: both;
pointer-events: none;
// This class exists by default and this is what we are using
.tooltip-inner {
text-align: left;
.atom-typescript-tooltip-tooltip-code {
font-weight: bold;
white-space: pre-wrap;
word-wrap: break-word;
}
.atom-typescript-datatip-tooltip-doc {
white-space: pre-line;
}
}
}