PluginProbe ʕ •ᴥ•ʔ
Hostinger Reach – AI-Powered Email Marketing for WordPress / 1.7.1
Hostinger Reach – AI-Powered Email Marketing for WordPress v1.7.1
1.7.2 1.7.1 1.7.0 1.6.0 1.5.9 1.5.8 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 trunk 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6
hostinger-reach / frontend / vue / styles / tooltip.scss
hostinger-reach / frontend / vue / styles Last commit date
main.scss 4 months ago surveys.scss 11 months ago tooltip.scss 1 year ago utilities.scss 1 year ago
tooltip.scss
75 lines
1 :root {
2 --tooltip-rotation: 0deg;
3 --tooltip-width: 250px;
4 }
5
6 @mixin tooltipBase {
7 position: absolute;
8 left: 50%;
9 transform: translate(-50%, 0) rotate(var(--tooltip-rotation));
10 content: attr(tooltip);
11 background-color: var(--neutral--300);
12 color: var(--neutral--0);
13 font-size: 14px;
14 line-height: 1.7;
15 padding: 4px 16px;
16 border-radius: 4px;
17 font-weight: 400;
18 max-width: var(--tooltip-width);
19 box-sizing: border-box;
20 line-height: normal;
21 white-space: normal;
22 animation: fadeIn 0.3s;
23 min-width: 200px;
24 }
25
26 .has-tooltip--bottom::after {
27 @include tooltipBase;
28 top: calc(100% + 5px);
29 text-align: -webkit-center;
30 }
31
32 .has-tooltip--bottom-rotated::after {
33 @include tooltipBase;
34 bottom: calc(100% + 5px);
35 }
36
37 .has-tooltip--top::after {
38 @include tooltipBase;
39 bottom: calc(100% + 5px);
40 }
41
42 .has-tooltip--top-rotated::after {
43 @include tooltipBase;
44 top: calc(100% + 5px);
45 }
46
47 .has-tooltip--left::after {
48 @include tooltipBase;
49 top: 50%;
50 left: auto;
51 right: calc(100% + 5px);
52 transform: translate(0, -50%) rotate(var(--tooltip-rotation));
53 }
54
55 .has-tooltip--left-rotated::after {
56 @include tooltipBase;
57 top: 50%;
58 left: calc(100% + 5px);
59 transform: translate(0, -50%) rotate(var(--tooltip-rotation));
60 }
61
62 .has-tooltip--right::after {
63 @include tooltipBase;
64 top: 50%;
65 left: calc(100% + 5px);
66 transform: translate(0, -50%) rotate(var(--tooltip-rotation));
67 }
68
69 .has-tooltip--right-rotated::after {
70 @include tooltipBase;
71 top: 50%;
72 left: auto;
73 right: calc(100% + 5px);
74 transform: translate(0, -50%) rotate(var(--tooltip-rotation));
75 }