blob: fdf10fea1c17de5f0bf5efc7fc1ddc9112475b72 (
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
.tooltip {
$arrow-size: 6px;
&.show {
opacity: 1;
}
.tooltip-inner {
max-width: 300px; // fallback for browsers which do not support "vw" unit
max-width: 100vw;
background-color: $o-tooltip-background-color;
color: $o-tooltip-color;
border-radius: $border-radius;
box-shadow: 0px 0px 1px 1px $o-brand-secondary;
margin: 5px;
border-color: $o-tooltip-color;
padding: 5px;
text-align: left;
.oe_tooltip_string {
background-color: $o-tooltip-title-background-color;
font-weight: bold;
padding: 5px 8px;
}
.oe_tooltip_help {
white-space: pre-line;
padding: 8px;
margin-bottom: 0px;
}
.oe_tooltip_technical {
padding: 8px;
margin: 0 0 0 15px;
list-style-type: circle;
.oe_tooltip_technical_title {
font-weight: bold;
}
}
.oe_tooltip_help + .oe_tooltip_technical {
padding-top: 0px;
}
}
.arrow {
&::after {
content: '';
position: absolute;
}
}
&.bs-tooltip-bottom {
margin-top: $tooltip-arrow-height;
.arrow {
top: $tooltip-arrow-height;
&::before {
border: $arrow-size solid transparent;
border-bottom-color: $o-tooltip-color;
}
&::after {
bottom: -1px;
border: $arrow-size solid transparent;
border-bottom-color: $o-tooltip-title-background-color;
}
}
}
&.bs-tooltip-top {
margin-bottom: $tooltip-arrow-height;
.arrow {
bottom: $tooltip-arrow-height;
&::before {
border: $arrow-size solid transparent;
border-top-color: $o-tooltip-color;
}
&::after {
border: $arrow-size solid transparent;
border-top-color: $o-tooltip-arrow-color;
margin-top: -1px;
}
}
}
&.bs-tooltip-left {
margin-right: $tooltip-arrow-height;
.arrow {
right: $tooltip-arrow-height;
&::before {
border: $arrow-size solid transparent;
border-left-color: $o-tooltip-color;
}
&::after {
border: $arrow-size solid transparent;
border-left-color: $o-tooltip-arrow-color;
margin-left: -1px;
}
}
}
&.bs-tooltip-right {
margin-left: $tooltip-arrow-height;
.arrow {
left: $tooltip-arrow-height;
&::before,
&::after {
border: $arrow-size solid transparent;
border-right-color: $o-tooltip-color;
}
&::after {
border: $arrow-size solid transparent;
border-right-color: $o-tooltip-arrow-color;
margin-right: -1px;
right: 0px;
}
}
}
}
|