@patternfly/patternfly 5.1.0-prerelease.31 → 5.1.0-prerelease.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Popover/popover.css +43 -62
- package/components/Popover/popover.scss +45 -84
- package/components/Tooltip/tooltip.css +44 -63
- package/components/Tooltip/tooltip.scss +45 -84
- package/docs/components/Popover/examples/Popover.md +4 -4
- package/docs/components/Tooltip/examples/Tooltip.md +5 -5
- package/package.json +1 -1
- package/patternfly-no-globals.css +87 -125
- package/patternfly-theme-dark-unversioned.css +87 -125
- package/patternfly.css +87 -125
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -63,85 +63,59 @@
|
|
|
63
63
|
}
|
|
64
64
|
.pf-v5-c-popover:is(.pf-m-top,
|
|
65
65
|
.pf-m-top-left,
|
|
66
|
-
.pf-m-top-right
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
transform: translateX(var(--pf-v5-c-popover__arrow--m-top--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-top--Rotate));
|
|
66
|
+
.pf-m-top-right) {
|
|
67
|
+
--pf-v5-c-popover__arrow--Bottom: var(--pf-v5-c-popover--m-top--Bottom, 0);
|
|
68
|
+
--pf-v5-c-popover__arrow--Left: var(--pf-v5-c-popover--m-top--Left, 50%);
|
|
69
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-top--TranslateX);
|
|
70
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-top--TranslateY);
|
|
71
|
+
--pf-v5-c-popover__arrow--Rotate: var(--pf-v5-c-popover__arrow--m-top--Rotate);
|
|
73
72
|
}
|
|
74
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-popover:is(.pf-m-top, .pf-m-top-left, .pf-m-top-right, .pf-m-block-start, .pf-m-block-start-inline-start, .pf-m-block-start-inline-end) .pf-v5-c-popover__arrow {
|
|
75
|
-
transform: translateX(calc(var(--pf-v5-c-popover__arrow--m-top--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-popover__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-top--Rotate));
|
|
76
|
-
}
|
|
77
|
-
|
|
78
73
|
.pf-v5-c-popover:is(.pf-m-bottom,
|
|
79
74
|
.pf-m-bottom-left,
|
|
80
|
-
.pf-m-bottom-right
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
transform: translateX(var(--pf-v5-c-popover__arrow--m-bottom--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-bottom--Rotate));
|
|
87
|
-
}
|
|
88
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-popover:is(.pf-m-bottom, .pf-m-bottom-left, .pf-m-bottom-right, .pf-m-block-end, .pf-m-block-end-inline-start, .pf-m-block-end-inline-end) .pf-v5-c-popover__arrow {
|
|
89
|
-
transform: translateX(calc(var(--pf-v5-c-popover__arrow--m-bottom--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-popover__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-bottom--Rotate));
|
|
75
|
+
.pf-m-bottom-right) {
|
|
76
|
+
--pf-v5-c-popover__arrow--Top: var(--pf-v5-c-popover--m-bottom--Top, 0);
|
|
77
|
+
--pf-v5-c-popover__arrow--Left: var(--pf-v5-c-popover--m-bottom--Left, 50%);
|
|
78
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-bottom--TranslateX);
|
|
79
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-bottom--TranslateY);
|
|
80
|
+
--pf-v5-c-popover__arrow--Rotate: var(--pf-v5-c-popover__arrow--m-bottom--Rotate);
|
|
90
81
|
}
|
|
91
|
-
|
|
92
82
|
.pf-v5-c-popover:is(.pf-m-left,
|
|
93
83
|
.pf-m-left-top,
|
|
94
|
-
.pf-m-left-bottom
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
transform: translateX(var(--pf-v5-c-popover__arrow--m-left--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-left--Rotate));
|
|
101
|
-
}
|
|
102
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-popover:is(.pf-m-left, .pf-m-left-top, .pf-m-left-bottom, .pf-m-inline-start, .pf-m-inline-start-block-start, .pf-m-inline-start-block-end) .pf-v5-c-popover__arrow {
|
|
103
|
-
transform: translateX(calc(var(--pf-v5-c-popover__arrow--m-left--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-popover__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-left--Rotate));
|
|
84
|
+
.pf-m-left-bottom) {
|
|
85
|
+
--pf-v5-c-popover__arrow--Top: var(--pf-v5-c-popover--m-left--Top, 50%);
|
|
86
|
+
--pf-v5-c-popover__arrow--Right: var(--pf-v5-c-popover--m-left--Right, 0);
|
|
87
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-left--TranslateX);
|
|
88
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-left--TranslateY);
|
|
89
|
+
--pf-v5-c-popover__arrow--Rotate: var(--pf-v5-c-popover__arrow--m-left--Rotate);
|
|
104
90
|
}
|
|
105
|
-
|
|
106
91
|
.pf-v5-c-popover:is(.pf-m-right,
|
|
107
92
|
.pf-m-right-top,
|
|
108
|
-
.pf-m-right-bottom
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
transform: translateX(var(--pf-v5-c-popover__arrow--m-right--TranslateX)) translateY(var(--pf-v5-c-popover__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-right--Rotate));
|
|
115
|
-
}
|
|
116
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-popover:is(.pf-m-right, .pf-m-right-top, .pf-m-right-bottom, .pf-m-inline-end, .pf-m-inline-end-block-start, .pf-m-inline-end-block-end) .pf-v5-c-popover__arrow {
|
|
117
|
-
transform: translateX(calc(var(--pf-v5-c-popover__arrow--m-right--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-popover__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-popover__arrow--m-right--Rotate));
|
|
93
|
+
.pf-m-right-bottom) {
|
|
94
|
+
--pf-v5-c-popover__arrow--Top: var(--pf-v5-c-popover--m-right--Top, 50%);
|
|
95
|
+
--pf-v5-c-popover__arrow--Left: var(--pf-v5-c-popover--m-right--Left, 0);
|
|
96
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-right--TranslateX);
|
|
97
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-right--TranslateY);
|
|
98
|
+
--pf-v5-c-popover__arrow--Rotate: var(--pf-v5-c-popover__arrow--m-right--Rotate);
|
|
118
99
|
}
|
|
119
|
-
|
|
120
100
|
.pf-v5-c-popover:is(.pf-m-left-top,
|
|
121
|
-
.pf-m-right-top
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
inset-block-start: var(--pf-v5-c-popover__arrow--Height);
|
|
101
|
+
.pf-m-right-top) {
|
|
102
|
+
--pf-v5-c-popover__arrow--Top: 0;
|
|
103
|
+
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-top--TranslateY);
|
|
125
104
|
}
|
|
126
105
|
.pf-v5-c-popover:is(.pf-m-left-bottom,
|
|
127
|
-
.pf-m-right-bottom
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
inset-block-start: auto;
|
|
131
|
-
inset-block-end: 0;
|
|
106
|
+
.pf-m-right-bottom) {
|
|
107
|
+
--pf-v5-c-popover__arrow--Top: auto;
|
|
108
|
+
--pf-v5-c-popover__arrow--Bottom: 0;
|
|
132
109
|
}
|
|
133
110
|
.pf-v5-c-popover:is(.pf-m-top-left,
|
|
134
|
-
.pf-m-bottom-left
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
inset-inline-start: var(--pf-v5-c-popover__arrow--Width);
|
|
111
|
+
.pf-m-bottom-left) {
|
|
112
|
+
--pf-v5-c-popover__arrow--Left: 0;
|
|
113
|
+
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-left--TranslateX);
|
|
138
114
|
}
|
|
139
115
|
.pf-v5-c-popover:is(.pf-m-top-right,
|
|
140
|
-
.pf-m-bottom-right
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
inset-inline-start: auto;
|
|
144
|
-
inset-inline-end: 0;
|
|
116
|
+
.pf-m-bottom-right) {
|
|
117
|
+
--pf-v5-c-popover__arrow--Right: 0;
|
|
118
|
+
--pf-v5-c-popover__arrow--Left: auto;
|
|
145
119
|
}
|
|
146
120
|
.pf-v5-c-popover.pf-m-danger {
|
|
147
121
|
--pf-v5-c-popover__title-icon--Color: var(--pf-v5-c-popover--m-danger__title-icon--Color);
|
|
@@ -184,11 +158,18 @@
|
|
|
184
158
|
|
|
185
159
|
.pf-v5-c-popover__arrow {
|
|
186
160
|
position: absolute;
|
|
161
|
+
/* stylelint-disable liberty/use-logical-spec */
|
|
162
|
+
top: var(--pf-v5-c-popover__arrow--Top, auto);
|
|
163
|
+
right: var(--pf-v5-c-popover__arrow--Right, auto);
|
|
164
|
+
bottom: var(--pf-v5-c-popover__arrow--Bottom, auto);
|
|
165
|
+
left: var(--pf-v5-c-popover__arrow--Left, auto);
|
|
166
|
+
/* stylelint-enable */
|
|
187
167
|
width: var(--pf-v5-c-popover__arrow--Width);
|
|
188
168
|
height: var(--pf-v5-c-popover__arrow--Height);
|
|
189
169
|
pointer-events: none;
|
|
190
170
|
background-color: var(--pf-v5-c-popover__arrow--BackgroundColor);
|
|
191
171
|
box-shadow: var(--pf-v5-c-popover__arrow--BoxShadow);
|
|
172
|
+
transform: translateX(var(--pf-v5-c-popover__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-popover__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-popover__arrow--Rotate, 0));
|
|
192
173
|
}
|
|
193
174
|
|
|
194
175
|
.pf-v5-c-popover__header {
|
|
@@ -91,127 +91,81 @@
|
|
|
91
91
|
&:is(
|
|
92
92
|
.pf-m-top,
|
|
93
93
|
.pf-m-top-left,
|
|
94
|
-
.pf-m-top-right
|
|
95
|
-
.pf-m-block-start,
|
|
96
|
-
.pf-m-block-start-inline-start,
|
|
97
|
-
.pf-m-block-start-inline-end
|
|
94
|
+
.pf-m-top-right
|
|
98
95
|
) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
$prop: transform,
|
|
105
|
-
$ltr-val: translateX(var(--#{$popover}__arrow--m-top--TranslateX)) translateY(var(--#{$popover}__arrow--m-top--TranslateY)) rotate(var(--#{$popover}__arrow--m-top--Rotate)),
|
|
106
|
-
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$popover}__arrow--m-top--TranslateX))}) translateY(var(--#{$popover}__arrow--m-top--TranslateY)) rotate(var(--#{$popover}__arrow--m-top--Rotate))
|
|
107
|
-
);
|
|
108
|
-
}
|
|
96
|
+
--#{$popover}__arrow--Bottom: var(--#{$popover}--m-top--Bottom, 0);
|
|
97
|
+
--#{$popover}__arrow--Left: var(--#{$popover}--m-top--Left, 50%);
|
|
98
|
+
--#{$popover}__arrow--TranslateX: var(--#{$popover}__arrow--m-top--TranslateX);
|
|
99
|
+
--#{$popover}__arrow--TranslateY: var(--#{$popover}__arrow--m-top--TranslateY);
|
|
100
|
+
--#{$popover}__arrow--Rotate: var(--#{$popover}__arrow--m-top--Rotate);
|
|
109
101
|
}
|
|
110
102
|
|
|
111
103
|
&:is(
|
|
112
104
|
.pf-m-bottom,
|
|
113
105
|
.pf-m-bottom-left,
|
|
114
|
-
.pf-m-bottom-right
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
inset-inline-start: 50%;
|
|
122
|
-
|
|
123
|
-
@include pf-v5-bidirectional-style(
|
|
124
|
-
$prop: transform,
|
|
125
|
-
$ltr-val: translateX(var(--#{$popover}__arrow--m-bottom--TranslateX)) translateY(var(--#{$popover}__arrow--m-bottom--TranslateY)) rotate(var(--#{$popover}__arrow--m-bottom--Rotate)),
|
|
126
|
-
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$popover}__arrow--m-bottom--TranslateX))}) translateY(var(--#{$popover}__arrow--m-bottom--TranslateY)) rotate(var(--#{$popover}__arrow--m-bottom--Rotate))
|
|
127
|
-
);
|
|
128
|
-
}
|
|
106
|
+
.pf-m-bottom-right
|
|
107
|
+
) {
|
|
108
|
+
--#{$popover}__arrow--Top: var(--#{$popover}--m-bottom--Top, 0);
|
|
109
|
+
--#{$popover}__arrow--Left: var(--#{$popover}--m-bottom--Left, 50%);
|
|
110
|
+
--#{$popover}__arrow--TranslateX: var(--#{$popover}__arrow--m-bottom--TranslateX);
|
|
111
|
+
--#{$popover}__arrow--TranslateY: var(--#{$popover}__arrow--m-bottom--TranslateY);
|
|
112
|
+
--#{$popover}__arrow--Rotate: var(--#{$popover}__arrow--m-bottom--Rotate);
|
|
129
113
|
}
|
|
130
114
|
|
|
131
115
|
&:is(
|
|
132
116
|
.pf-m-left,
|
|
133
117
|
.pf-m-left-top,
|
|
134
|
-
.pf-m-left-bottom
|
|
135
|
-
.pf-m-inline-start,
|
|
136
|
-
.pf-m-inline-start-block-start,
|
|
137
|
-
.pf-m-inline-start-block-end
|
|
118
|
+
.pf-m-left-bottom
|
|
138
119
|
) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
$prop: transform,
|
|
145
|
-
$ltr-val: translateX(var(--#{$popover}__arrow--m-left--TranslateX)) translateY(var(--#{$popover}__arrow--m-left--TranslateY)) rotate(var(--#{$popover}__arrow--m-left--Rotate)),
|
|
146
|
-
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$popover}__arrow--m-left--TranslateX))}) translateY(var(--#{$popover}__arrow--m-left--TranslateY)) rotate(var(--#{$popover}__arrow--m-left--Rotate))
|
|
147
|
-
);
|
|
148
|
-
}
|
|
120
|
+
--#{$popover}__arrow--Top: var(--#{$popover}--m-left--Top, 50%);
|
|
121
|
+
--#{$popover}__arrow--Right: var(--#{$popover}--m-left--Right, 0);
|
|
122
|
+
--#{$popover}__arrow--TranslateX: var(--#{$popover}__arrow--m-left--TranslateX);
|
|
123
|
+
--#{$popover}__arrow--TranslateY: var(--#{$popover}__arrow--m-left--TranslateY);
|
|
124
|
+
--#{$popover}__arrow--Rotate: var(--#{$popover}__arrow--m-left--Rotate);
|
|
149
125
|
}
|
|
150
126
|
|
|
151
127
|
&:is(
|
|
152
128
|
.pf-m-right,
|
|
153
129
|
.pf-m-right-top,
|
|
154
|
-
.pf-m-right-bottom
|
|
155
|
-
.pf-m-inline-end,
|
|
156
|
-
.pf-m-inline-end-block-start,
|
|
157
|
-
.pf-m-inline-end-block-end
|
|
130
|
+
.pf-m-right-bottom
|
|
158
131
|
) {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
$prop: transform,
|
|
165
|
-
$ltr-val: translateX(var(--#{$popover}__arrow--m-right--TranslateX)) translateY(var(--#{$popover}__arrow--m-right--TranslateY)) rotate(var(--#{$popover}__arrow--m-right--Rotate)),
|
|
166
|
-
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$popover}__arrow--m-right--TranslateX))}) translateY(var(--#{$popover}__arrow--m-right--TranslateY)) rotate(var(--#{$popover}__arrow--m-right--Rotate))
|
|
167
|
-
);
|
|
168
|
-
}
|
|
132
|
+
--#{$popover}__arrow--Top: var(--#{$popover}--m-right--Top, 50%);
|
|
133
|
+
--#{$popover}__arrow--Left: var(--#{$popover}--m-right--Left, 0);
|
|
134
|
+
--#{$popover}__arrow--TranslateX: var(--#{$popover}__arrow--m-right--TranslateX);
|
|
135
|
+
--#{$popover}__arrow--TranslateY: var(--#{$popover}__arrow--m-right--TranslateY);
|
|
136
|
+
--#{$popover}__arrow--Rotate: var(--#{$popover}__arrow--m-right--Rotate);
|
|
169
137
|
}
|
|
170
138
|
|
|
171
139
|
&:is(
|
|
172
140
|
.pf-m-left-top,
|
|
173
|
-
.pf-m-right-top
|
|
174
|
-
.pf-m-inline-start-block-start,
|
|
175
|
-
.pf-m-inline-end-block-start
|
|
141
|
+
.pf-m-right-top
|
|
176
142
|
) {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}
|
|
143
|
+
--#{$popover}__arrow--Top: 0;
|
|
144
|
+
--#{$popover}__arrow--TranslateY: var(--#{$popover}__arrow--m-top--TranslateY);
|
|
180
145
|
}
|
|
181
146
|
|
|
182
147
|
&:is(
|
|
183
148
|
.pf-m-left-bottom,
|
|
184
|
-
.pf-m-right-bottom
|
|
185
|
-
.pf-m-inline-start-block-end,
|
|
186
|
-
.pf-m-inline-end-block-end
|
|
149
|
+
.pf-m-right-bottom
|
|
187
150
|
) {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
inset-block-end: 0;
|
|
191
|
-
}
|
|
151
|
+
--#{$popover}__arrow--Top: auto;
|
|
152
|
+
--#{$popover}__arrow--Bottom: 0;
|
|
192
153
|
}
|
|
193
154
|
|
|
194
155
|
&:is(
|
|
195
156
|
.pf-m-top-left,
|
|
196
|
-
.pf-m-bottom-left
|
|
197
|
-
.pf-m-block-start-inline-start,
|
|
198
|
-
.pf-m-block-end-inline-start
|
|
157
|
+
.pf-m-bottom-left
|
|
199
158
|
) {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}
|
|
159
|
+
--#{$popover}__arrow--Left: 0;
|
|
160
|
+
--#{$popover}__arrow--TranslateX: var(--#{$popover}__arrow--m-left--TranslateX);
|
|
203
161
|
}
|
|
204
162
|
|
|
205
163
|
&:is(
|
|
206
164
|
.pf-m-top-right,
|
|
207
|
-
.pf-m-bottom-right
|
|
208
|
-
.pf-m-block-start-inline-end,
|
|
209
|
-
.pf-m-block-end-inline-end
|
|
165
|
+
.pf-m-bottom-right
|
|
210
166
|
) {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
inset-inline-end: 0;
|
|
214
|
-
}
|
|
167
|
+
--#{$popover}__arrow--Right: 0;
|
|
168
|
+
--#{$popover}__arrow--Left: auto;
|
|
215
169
|
}
|
|
216
170
|
|
|
217
171
|
&.pf-m-danger {
|
|
@@ -244,7 +198,7 @@
|
|
|
244
198
|
position: relative;
|
|
245
199
|
padding-block-start: var(--#{$popover}__content--PaddingTop);
|
|
246
200
|
padding-block-end: var(--#{$popover}__content--PaddingBottom);
|
|
247
|
-
padding-inline-start: var(--#{$popover}__content--PaddingLeft);
|
|
201
|
+
padding-inline-start: var(--#{$popover}__content--PaddingLeft);
|
|
248
202
|
padding-inline-end: var(--#{$popover}__content--PaddingRight);
|
|
249
203
|
background-color: var(--#{$popover}__content--BackgroundColor);
|
|
250
204
|
}
|
|
@@ -263,11 +217,18 @@
|
|
|
263
217
|
|
|
264
218
|
.#{$popover}__arrow {
|
|
265
219
|
position: absolute;
|
|
220
|
+
/* stylelint-disable liberty/use-logical-spec */
|
|
221
|
+
top: var(--#{$popover}__arrow--Top, auto);
|
|
222
|
+
right: var(--#{$popover}__arrow--Right, auto);
|
|
223
|
+
bottom: var(--#{$popover}__arrow--Bottom, auto);
|
|
224
|
+
left: var(--#{$popover}__arrow--Left, auto);
|
|
225
|
+
/* stylelint-enable */
|
|
266
226
|
width: var(--#{$popover}__arrow--Width);
|
|
267
227
|
height: var(--#{$popover}__arrow--Height);
|
|
268
228
|
pointer-events: none;
|
|
269
229
|
background-color: var(--#{$popover}__arrow--BackgroundColor);
|
|
270
230
|
box-shadow: var(--#{$popover}__arrow--BoxShadow);
|
|
231
|
+
transform: translateX(var(--#{$popover}__arrow--TranslateX, 0)) translateY(var(--#{$popover}__arrow--TranslateY, 0)) rotate(var(--#{$popover}__arrow--Rotate, 0));
|
|
271
232
|
}
|
|
272
233
|
|
|
273
234
|
.#{$popover}__header {
|
|
@@ -30,85 +30,59 @@
|
|
|
30
30
|
}
|
|
31
31
|
.pf-v5-c-tooltip:is(.pf-m-top,
|
|
32
32
|
.pf-m-top-left,
|
|
33
|
-
.pf-m-top-right
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-top--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-top--Rotate));
|
|
33
|
+
.pf-m-top-right) {
|
|
34
|
+
--pf-v5-c-tooltip__arrow--Bottom: var(--pf-v5-c-tooltip--m-top--Bottom, 0);
|
|
35
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-top--Left, 50%);
|
|
36
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-top--TranslateX);
|
|
37
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
|
38
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-top--Rotate);
|
|
40
39
|
}
|
|
41
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-top, .pf-m-top-left, .pf-m-top-right, .pf-m-block-start, .pf-m-block-start-inline-start, .pf-m-block-start-inline-end) .pf-v5-c-tooltip__arrow {
|
|
42
|
-
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-top--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-top--Rotate));
|
|
43
|
-
}
|
|
44
|
-
|
|
45
40
|
.pf-v5-c-tooltip:is(.pf-m-bottom,
|
|
46
41
|
.pf-m-bottom-left,
|
|
47
|
-
.pf-m-bottom-right
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate));
|
|
54
|
-
}
|
|
55
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-bottom, .pf-m-bottom-left, .pf-m-bottom-right, .pf-m-block-end, .pf-m-block-end-inline-start, .pf-m-block-end-inline-end) .pf-v5-c-tooltip__arrow {
|
|
56
|
-
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate));
|
|
42
|
+
.pf-m-bottom-right) {
|
|
43
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-bottom--Top, 0);
|
|
44
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-bottom--Left, 50%);
|
|
45
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX);
|
|
46
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY);
|
|
47
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate);
|
|
57
48
|
}
|
|
58
|
-
|
|
59
49
|
.pf-v5-c-tooltip:is(.pf-m-left,
|
|
60
50
|
.pf-m-left-top,
|
|
61
|
-
.pf-m-left-bottom
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-left--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-left--Rotate));
|
|
68
|
-
}
|
|
69
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-left, .pf-m-left-top, .pf-m-left-bottom, .pf-m-inline-start, .pf-m-inline-start-block-start, .pf-m-inline-start-block-end) .pf-v5-c-tooltip__arrow {
|
|
70
|
-
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-left--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-left--Rotate));
|
|
51
|
+
.pf-m-left-bottom) {
|
|
52
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-left--Top, 50%);
|
|
53
|
+
--pf-v5-c-tooltip__arrow--Right: var(--pf-v5-c-tooltip--m-left--Right, 0);
|
|
54
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
|
55
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-left--TranslateY);
|
|
56
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-left--Rotate);
|
|
71
57
|
}
|
|
72
|
-
|
|
73
58
|
.pf-v5-c-tooltip:is(.pf-m-right,
|
|
74
59
|
.pf-m-right-top,
|
|
75
|
-
.pf-m-right-bottom
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
transform: translateX(var(--pf-v5-c-tooltip__arrow--m-right--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-right--Rotate));
|
|
82
|
-
}
|
|
83
|
-
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tooltip:is(.pf-m-right, .pf-m-right-top, .pf-m-right-bottom, .pf-m-inline-end, .pf-m-inline-end-block-start, .pf-m-inline-end-block-end) .pf-v5-c-tooltip__arrow {
|
|
84
|
-
transform: translateX(calc(var(--pf-v5-c-tooltip__arrow--m-right--TranslateX) * var(--pf-v5-global--inverse--multiplier))) translateY(var(--pf-v5-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-right--Rotate));
|
|
60
|
+
.pf-m-right-bottom) {
|
|
61
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-right--Top, 50%);
|
|
62
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-right--Left, 0);
|
|
63
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-right--TranslateX);
|
|
64
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-right--TranslateY);
|
|
65
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-right--Rotate);
|
|
85
66
|
}
|
|
86
|
-
|
|
87
67
|
.pf-v5-c-tooltip:is(.pf-m-left-top,
|
|
88
|
-
.pf-m-right-top
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
inset-block-start: var(--pf-v5-c-tooltip__arrow--Height);
|
|
68
|
+
.pf-m-right-top) {
|
|
69
|
+
--pf-v5-c-tooltip__arrow--Top: 0;
|
|
70
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
|
92
71
|
}
|
|
93
72
|
.pf-v5-c-tooltip:is(.pf-m-left-bottom,
|
|
94
|
-
.pf-m-right-bottom
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
inset-block-start: auto;
|
|
98
|
-
inset-block-end: 0;
|
|
73
|
+
.pf-m-right-bottom) {
|
|
74
|
+
--pf-v5-c-tooltip__arrow--Top: auto;
|
|
75
|
+
--pf-v5-c-tooltip__arrow--Bottom: 0;
|
|
99
76
|
}
|
|
100
77
|
.pf-v5-c-tooltip:is(.pf-m-top-left,
|
|
101
|
-
.pf-m-bottom-left
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
inset-inline-start: var(--pf-v5-c-tooltip__arrow--Width);
|
|
78
|
+
.pf-m-bottom-left) {
|
|
79
|
+
--pf-v5-c-tooltip__arrow--Left: 0;
|
|
80
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
|
105
81
|
}
|
|
106
82
|
.pf-v5-c-tooltip:is(.pf-m-top-right,
|
|
107
|
-
.pf-m-bottom-right
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
inset-inline-start: auto;
|
|
111
|
-
inset-inline-end: 0;
|
|
83
|
+
.pf-m-bottom-right) {
|
|
84
|
+
--pf-v5-c-tooltip__arrow--Right: 0;
|
|
85
|
+
--pf-v5-c-tooltip__arrow--Left: auto;
|
|
112
86
|
}
|
|
113
87
|
|
|
114
88
|
.pf-v5-c-tooltip__content {
|
|
@@ -123,17 +97,24 @@
|
|
|
123
97
|
word-break: break-word;
|
|
124
98
|
background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
|
|
125
99
|
}
|
|
126
|
-
.pf-v5-c-tooltip__content
|
|
100
|
+
.pf-v5-c-tooltip__content.pf-m-text-align-left {
|
|
127
101
|
text-align: start;
|
|
128
102
|
}
|
|
129
103
|
|
|
130
104
|
.pf-v5-c-tooltip__arrow {
|
|
131
105
|
position: absolute;
|
|
106
|
+
/* stylelint-disable liberty/use-logical-spec */
|
|
107
|
+
top: var(--pf-v5-c-tooltip__arrow--Top, auto);
|
|
108
|
+
right: var(--pf-v5-c-tooltip__arrow--Right, auto);
|
|
109
|
+
bottom: var(--pf-v5-c-tooltip__arrow--Bottom, auto);
|
|
110
|
+
left: var(--pf-v5-c-tooltip__arrow--Left, auto);
|
|
111
|
+
/* stylelint-enable */
|
|
132
112
|
width: var(--pf-v5-c-tooltip__arrow--Width);
|
|
133
113
|
height: var(--pf-v5-c-tooltip__arrow--Height);
|
|
134
114
|
pointer-events: none;
|
|
135
115
|
background-color: var(--pf-v5-c-tooltip__arrow--BackgroundColor);
|
|
136
116
|
box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
|
|
117
|
+
transform: translateX(var(--pf-v5-c-tooltip__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-tooltip__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-tooltip__arrow--Rotate, 0));
|
|
137
118
|
}
|
|
138
119
|
|
|
139
120
|
:where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
|