| 1 |
.pf-v6-c-background-image { |
| 2 |
--pf-v6-c-background-image--BackgroundColor: var(--pf-t--global--background--color--primary--default); |
| 3 |
--pf-v6-c-background-image--BackgroundImage: none; |
| 4 |
--pf-v6-c-background-image--BackgroundSize--min-width: 200px; |
| 5 |
--pf-v6-c-background-image--BackgroundSize--width: 60%; |
| 6 |
--pf-v6-c-background-image--BackgroundSize--max-width: 600px; |
| 7 |
--pf-v6-c-background-image--BackgroundSize: clamp(var(--pf-v6-c-background-image--BackgroundSize--min-width), var(--pf-v6-c-background-image--BackgroundSize--width), var(--pf-v6-c-background-image--BackgroundSize--max-width)); |
| 8 |
} |
| 9 |
|
| 10 |
.pf-v6-c-background-image { |
| 11 |
--pf-v6-c-background-image--BackgroundPosition: bottom right; |
| 12 |
} |
| 13 |
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-background-image { |
| 14 |
--pf-v6-c-background-image--BackgroundPosition: bottom left; |
| 15 |
} |
| 16 |
|
| 17 |
.pf-v6-c-background-image { |
| 18 |
position: fixed; |
| 19 |
inset-block-start: 0; |
| 20 |
inset-inline-start: 0; |
| 21 |
z-index: -1; |
| 22 |
width: 100%; |
| 23 |
height: 100%; |
| 24 |
background-color: var(--pf-v6-c-background-image--BackgroundColor); |
| 25 |
background-image: var(--pf-v6-c-background-image--BackgroundImage); |
| 26 |
background-repeat: no-repeat; |
| 27 |
background-position: var(--pf-v6-c-background-image--BackgroundPosition); |
| 28 |
background-size: var(--pf-v6-c-background-image--BackgroundSize); |
| 29 |
} |