| 1 |
.pf-v6-c-popover { |
| 2 |
--pf-v6-c-popover--FontSize: var(--pf-t--global--font--size--body--sm); |
| 3 |
--pf-v6-c-popover--MinWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem); |
| 4 |
--pf-v6-c-popover--MaxWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem); |
| 5 |
--pf-v6-c-popover--BoxShadow: var(--pf-t--global--box-shadow--md); |
| 6 |
--pf-v6-c-popover--BorderWidth: var(--pf-t--global--border--width--high-contrast--regular); |
| 7 |
--pf-v6-c-popover--BorderColor: var(--pf-t--global--border--color--high-contrast); |
| 8 |
--pf-v6-c-popover--BorderRadius: var(--pf-t--global--border--radius--medium); |
| 9 |
--pf-v6-c-popover--m-danger__title-icon--Color: var(--pf-t--global--icon--color--status--danger--default); |
| 10 |
--pf-v6-c-popover--m-warning__title-icon--Color: var(--pf-t--global--icon--color--status--warning--default); |
| 11 |
--pf-v6-c-popover--m-success__title-icon--Color: var(--pf-t--global--icon--color--status--success--default); |
| 12 |
--pf-v6-c-popover--m-info__title-icon--Color: var(--pf-t--global--icon--color--status--info--default); |
| 13 |
--pf-v6-c-popover--m-custom__title-icon--Color: var(--pf-t--global--icon--color--status--custom--default); |
| 14 |
--pf-v6-c-popover__content--BackgroundColor: var(--pf-t--global--background--color--floating--default); |
| 15 |
--pf-v6-c-popover__content--PaddingBlockStart: var(--pf-t--global--spacer--md); |
| 16 |
--pf-v6-c-popover__content--PaddingInlineEnd: var(--pf-t--global--spacer--md); |
| 17 |
--pf-v6-c-popover__content--PaddingBlockEnd: var(--pf-t--global--spacer--md); |
| 18 |
--pf-v6-c-popover__content--PaddingInlineStart: var(--pf-t--global--spacer--md); |
| 19 |
--pf-v6-c-popover__content--BorderRadius: var(--pf-t--global--border--radius--medium); |
| 20 |
--pf-v6-c-popover__arrow--Width: 0.9375rem; |
| 21 |
--pf-v6-c-popover__arrow--Height: 0.9375rem; |
| 22 |
--pf-v6-c-popover__arrow--BoxShadow: var(--pf-t--global--box-shadow--md); |
| 23 |
--pf-v6-c-popover__arrow--BackgroundColor: var(--pf-t--global--background--color--floating--default); |
| 24 |
--pf-v6-c-popover__arrow--m-top--TranslateX: -50%; |
| 25 |
--pf-v6-c-popover__arrow--m-top--TranslateY: 50%; |
| 26 |
--pf-v6-c-popover__arrow--m-top--Rotate: 45deg; |
| 27 |
--pf-v6-c-popover__arrow--m-right--TranslateX: -50%; |
| 28 |
--pf-v6-c-popover__arrow--m-right--TranslateY: -50%; |
| 29 |
--pf-v6-c-popover__arrow--m-right--Rotate: 45deg; |
| 30 |
--pf-v6-c-popover__arrow--m-bottom--TranslateX: -50%; |
| 31 |
--pf-v6-c-popover__arrow--m-bottom--TranslateY: -50%; |
| 32 |
--pf-v6-c-popover__arrow--m-bottom--Rotate: 45deg; |
| 33 |
--pf-v6-c-popover__arrow--m-left--TranslateX: 50%; |
| 34 |
--pf-v6-c-popover__arrow--m-left--TranslateY: -50%; |
| 35 |
--pf-v6-c-popover__arrow--m-left--Rotate: 45deg; |
| 36 |
--pf-v6-c-popover__arrow--m-inline-top--InsetBlockStart: var(--pf-t--global--border--radius--medium); |
| 37 |
--pf-v6-c-popover__arrow--m-inline-bottom--InsetBlockEnd: var(--pf-t--global--border--radius--medium); |
| 38 |
--pf-v6-c-popover__arrow--m-block-left--InsetInlineStart: var(--pf-t--global--border--radius--medium); |
| 39 |
--pf-v6-c-popover__arrow--m-block-right--InsetInlineEnd: var(--pf-t--global--border--radius--medium); |
| 40 |
--pf-v6-c-popover__close--InsetBlockStart: calc(var(--pf-v6-c-popover__content--PaddingBlockStart) - var(--pf-t--global--spacer--control--vertical--plain)); |
| 41 |
--pf-v6-c-popover__close--InsetInlineEnd: var(--pf-v6-c-popover__content--PaddingInlineEnd); |
| 42 |
--pf-v6-c-popover__close--sibling--PaddingInlineEnd: var(--pf-t--global--spacer--2xl); |
| 43 |
--pf-v6-c-popover__header--MarginBlockEnd: var(--pf-t--global--spacer--sm); |
| 44 |
--pf-v6-c-popover__title-text--Color: var(--pf-t--global--text--color--regular); |
| 45 |
--pf-v6-c-popover__title-text--FontWeight: var(--pf-t--global--font--weight--body--bold); |
| 46 |
--pf-v6-c-popover__title-text--FontSize: var(--pf-t--global--font--size--body--default); |
| 47 |
--pf-v6-c-popover__title-icon--MarginInlineEnd: var(--pf-t--global--spacer--sm); |
| 48 |
--pf-v6-c-popover__title-icon--Color: var(--pf-t--global--icon--color--regular); |
| 49 |
--pf-v6-c-popover__title-icon--FontSize: var(--pf-t--global--icon--size--font--body--default); |
| 50 |
--pf-v6-c-popover__footer--MarginBlockStart: var(--pf-t--global--spacer--md); |
| 51 |
} |
| 52 |
|
| 53 |
.pf-v6-c-popover { |
| 54 |
position: relative; |
| 55 |
min-width: var(--pf-v6-c-popover--MinWidth); |
| 56 |
max-width: var(--pf-v6-c-popover--MaxWidth); |
| 57 |
font-size: var(--pf-v6-c-popover--FontSize); |
| 58 |
border: var(--pf-v6-c-popover--BorderWidth) solid var(--pf-v6-c-popover--BorderColor); |
| 59 |
border-radius: var(--pf-v6-c-popover--BorderRadius); |
| 60 |
box-shadow: var(--pf-v6-c-popover--BoxShadow); |
| 61 |
} |
| 62 |
.pf-v6-c-popover.pf-m-no-padding { |
| 63 |
--pf-v6-c-popover__content--PaddingBlockStart: 0px; |
| 64 |
--pf-v6-c-popover__content--PaddingInlineEnd: 0px; |
| 65 |
--pf-v6-c-popover__content--PaddingBlockEnd: 0px; |
| 66 |
--pf-v6-c-popover__content--PaddingInlineStart: 0px; |
| 67 |
} |
| 68 |
.pf-v6-c-popover.pf-m-width-auto { |
| 69 |
--pf-v6-c-popover--MinWidth: auto; |
| 70 |
--pf-v6-c-popover--MaxWidth: none; |
| 71 |
} |
| 72 |
.pf-v6-c-popover:is(.pf-m-top, |
| 73 |
.pf-m-top-left, |
| 74 |
.pf-m-top-right) { |
| 75 |
--pf-v6-c-popover__arrow--InsetBlockEnd: var(--pf-v6-c-popover--m-top--InsetBlockEnd, 0); |
| 76 |
--pf-v6-c-popover__arrow--InsetInlineStart: var(--pf-v6-c-popover--m-top--InsetInlineStart, 50%); |
| 77 |
--pf-v6-c-popover__arrow--TranslateX: var(--pf-v6-c-popover__arrow--m-top--TranslateX); |
| 78 |
--pf-v6-c-popover__arrow--TranslateY: var(--pf-v6-c-popover__arrow--m-top--TranslateY); |
| 79 |
--pf-v6-c-popover__arrow--Rotate: var(--pf-v6-c-popover__arrow--m-top--Rotate); |
| 80 |
} |
| 81 |
.pf-v6-c-popover:is(.pf-m-bottom, |
| 82 |
.pf-m-bottom-left, |
| 83 |
.pf-m-bottom-right) { |
| 84 |
--pf-v6-c-popover__arrow--InsetBlockStart: var(--pf-v6-c-popover--m-bottom--InsetBlockStart, 0); |
| 85 |
--pf-v6-c-popover__arrow--InsetInlineStart: var(--pf-v6-c-popover--m-bottom--InsetInlineStart, 50%); |
| 86 |
--pf-v6-c-popover__arrow--TranslateX: var(--pf-v6-c-popover__arrow--m-bottom--TranslateX); |
| 87 |
--pf-v6-c-popover__arrow--TranslateY: var(--pf-v6-c-popover__arrow--m-bottom--TranslateY); |
| 88 |
--pf-v6-c-popover__arrow--Rotate: var(--pf-v6-c-popover__arrow--m-bottom--Rotate); |
| 89 |
} |
| 90 |
.pf-v6-c-popover:is(.pf-m-left, |
| 91 |
.pf-m-left-top, |
| 92 |
.pf-m-left-bottom) { |
| 93 |
--pf-v6-c-popover__arrow--InsetBlockStart: var(--pf-v6-c-popover--m-left--InsetBlockStart, 50%); |
| 94 |
--pf-v6-c-popover__arrow--InsetInlineEnd: var(--pf-v6-c-popover--m-left--InsetInlineEnd, 0); |
| 95 |
--pf-v6-c-popover__arrow--TranslateX: var(--pf-v6-c-popover__arrow--m-left--TranslateX); |
| 96 |
--pf-v6-c-popover__arrow--TranslateY: var(--pf-v6-c-popover__arrow--m-left--TranslateY); |
| 97 |
--pf-v6-c-popover__arrow--Rotate: var(--pf-v6-c-popover__arrow--m-left--Rotate); |
| 98 |
} |
| 99 |
.pf-v6-c-popover:is(.pf-m-right, |
| 100 |
.pf-m-right-top, |
| 101 |
.pf-m-right-bottom) { |
| 102 |
--pf-v6-c-popover__arrow--InsetBlockStart: var(--pf-v6-c-popover--m-right--InsetBlockStart, 50%); |
| 103 |
--pf-v6-c-popover__arrow--InsetInlineStart: var(--pf-v6-c-popover--m-right--InsetInlineStart, 0); |
| 104 |
--pf-v6-c-popover__arrow--TranslateX: var(--pf-v6-c-popover__arrow--m-right--TranslateX); |
| 105 |
--pf-v6-c-popover__arrow--TranslateY: var(--pf-v6-c-popover__arrow--m-right--TranslateY); |
| 106 |
--pf-v6-c-popover__arrow--Rotate: var(--pf-v6-c-popover__arrow--m-right--Rotate); |
| 107 |
} |
| 108 |
.pf-v6-c-popover:is(.pf-m-left-top, |
| 109 |
.pf-m-right-top) { |
| 110 |
--pf-v6-c-popover__arrow--InsetBlockStart: var(--pf-v6-c-popover__arrow--m-inline-top--InsetBlockStart); |
| 111 |
--pf-v6-c-popover__arrow--TranslateY: var(--pf-v6-c-popover__arrow--m-top--TranslateY); |
| 112 |
} |
| 113 |
.pf-v6-c-popover:is(.pf-m-left-bottom, |
| 114 |
.pf-m-right-bottom) { |
| 115 |
--pf-v6-c-popover__arrow--InsetBlockStart: auto; |
| 116 |
--pf-v6-c-popover__arrow--InsetBlockEnd: var(--pf-v6-c-popover__arrow--m-inline-bottom--InsetBlockEnd); |
| 117 |
} |
| 118 |
.pf-v6-c-popover:is(.pf-m-top-left, |
| 119 |
.pf-m-bottom-left) { |
| 120 |
--pf-v6-c-popover__arrow--InsetInlineStart: var(--pf-v6-c-popover__arrow--m-block-left--InsetInlineStart); |
| 121 |
--pf-v6-c-popover__arrow--TranslateX: var(--pf-v6-c-popover__arrow--m-left--TranslateX); |
| 122 |
} |
| 123 |
.pf-v6-c-popover:is(.pf-m-top-right, |
| 124 |
.pf-m-bottom-right) { |
| 125 |
--pf-v6-c-popover__arrow--InsetInlineEnd: var(--pf-v6-c-popover__arrow--m-block-right--InsetInlineEnd); |
| 126 |
--pf-v6-c-popover__arrow--InsetInlineStart: auto; |
| 127 |
} |
| 128 |
.pf-v6-c-popover.pf-m-danger { |
| 129 |
--pf-v6-c-popover__title-icon--Color: var(--pf-v6-c-popover--m-danger__title-icon--Color); |
| 130 |
} |
| 131 |
.pf-v6-c-popover.pf-m-warning { |
| 132 |
--pf-v6-c-popover__title-icon--Color: var(--pf-v6-c-popover--m-warning__title-icon--Color); |
| 133 |
} |
| 134 |
.pf-v6-c-popover.pf-m-success { |
| 135 |
--pf-v6-c-popover__title-icon--Color: var(--pf-v6-c-popover--m-success__title-icon--Color); |
| 136 |
} |
| 137 |
.pf-v6-c-popover.pf-m-custom { |
| 138 |
--pf-v6-c-popover__title-icon--Color: var(--pf-v6-c-popover--m-custom__title-icon--Color); |
| 139 |
} |
| 140 |
.pf-v6-c-popover.pf-m-info { |
| 141 |
--pf-v6-c-popover__title-icon--Color: var(--pf-v6-c-popover--m-info__title-icon--Color); |
| 142 |
} |
| 143 |
|
| 144 |
.pf-v6-c-popover__content { |
| 145 |
position: relative; |
| 146 |
padding-block-start: var(--pf-v6-c-popover__content--PaddingBlockStart); |
| 147 |
padding-block-end: var(--pf-v6-c-popover__content--PaddingBlockEnd); |
| 148 |
padding-inline-start: var(--pf-v6-c-popover__content--PaddingInlineStart); |
| 149 |
padding-inline-end: var(--pf-v6-c-popover__content--PaddingInlineEnd); |
| 150 |
background-color: var(--pf-v6-c-popover__content--BackgroundColor); |
| 151 |
border-radius: var(--pf-v6-c-popover__content--BorderRadius); |
| 152 |
} |
| 153 |
|
| 154 |
.pf-v6-c-popover__close { |
| 155 |
position: absolute; |
| 156 |
inset-block-start: var(--pf-v6-c-popover__close--InsetBlockStart); |
| 157 |
inset-inline-end: var(--pf-v6-c-popover__close--InsetInlineEnd); |
| 158 |
} |
| 159 |
.pf-v6-c-popover__close + * { |
| 160 |
padding-inline-end: var(--pf-v6-c-popover__close--sibling--PaddingInlineEnd); |
| 161 |
} |
| 162 |
|
| 163 |
.pf-v6-c-popover__arrow { |
| 164 |
position: absolute; |
| 165 |
top: var(--pf-v6-c-popover__arrow--InsetBlockStart, auto); |
| 166 |
right: var(--pf-v6-c-popover__arrow--InsetInlineEnd, auto); |
| 167 |
bottom: var(--pf-v6-c-popover__arrow--InsetBlockEnd, auto); |
| 168 |
left: var(--pf-v6-c-popover__arrow--InsetInlineStart, auto); |
| 169 |
width: var(--pf-v6-c-popover__arrow--Width); |
| 170 |
height: var(--pf-v6-c-popover__arrow--Height); |
| 171 |
pointer-events: none; |
| 172 |
background-color: var(--pf-v6-c-popover__arrow--BackgroundColor); |
| 173 |
border: var(--pf-v6-c-popover--BorderWidth) solid var(--pf-v6-c-popover--BorderColor); |
| 174 |
box-shadow: var(--pf-v6-c-popover__arrow--BoxShadow); |
| 175 |
transform: translateX(var(--pf-v6-c-popover__arrow--TranslateX, 0)) translateY(var(--pf-v6-c-popover__arrow--TranslateY, 0)) rotate(var(--pf-v6-c-popover__arrow--Rotate, 0)); |
| 176 |
} |
| 177 |
|
| 178 |
.pf-v6-c-popover__header { |
| 179 |
margin-block-end: var(--pf-v6-c-popover__header--MarginBlockEnd); |
| 180 |
} |
| 181 |
|
| 182 |
.pf-v6-c-popover__title { |
| 183 |
display: flex; |
| 184 |
flex: 0 0 auto; |
| 185 |
} |
| 186 |
|
| 187 |
.pf-v6-c-popover__title-icon { |
| 188 |
margin-inline-end: var(--pf-v6-c-popover__title-icon--MarginInlineEnd); |
| 189 |
font-size: var(--pf-v6-c-popover__title-icon--FontSize); |
| 190 |
color: var(--pf-v6-c-popover__title-icon--Color); |
| 191 |
} |
| 192 |
|
| 193 |
.pf-v6-c-popover__title-text { |
| 194 |
min-width: 0; |
| 195 |
font-size: var(--pf-v6-c-popover__title-text--FontSize); |
| 196 |
font-weight: var(--pf-v6-c-popover__title-text--FontWeight); |
| 197 |
color: var(--pf-v6-c-popover__title-text--Color); |
| 198 |
overflow-wrap: break-word; |
| 199 |
} |
| 200 |
|
| 201 |
.pf-v6-c-popover__body { |
| 202 |
overflow-wrap: break-word; |
| 203 |
} |
| 204 |
|
| 205 |
.pf-v6-c-popover__footer { |
| 206 |
margin-block-start: var(--pf-v6-c-popover__footer--MarginBlockStart); |
| 207 |
} |