| 1 |
.pf-v6-c-clipboard-copy { |
| 2 |
--pf-v6-c-clipboard-copy__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default); |
| 3 |
--pf-v6-c-clipboard-copy__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default); |
| 4 |
--pf-v6-c-clipboard-copy__toggle-icon--Transition: transform var(--pf-v6-c-clipboard-copy__toggle-icon--TransitionDuration) var(--pf-v6-c-clipboard-copy__toggle-icon--TransitionTimingFunction); |
| 5 |
--pf-v6-c-clipboard-copy--m-expanded__toggle-icon--Rotate: -180deg; |
| 6 |
--pf-v6-c-clipboard-copy__expandable-content--MarginBlockStart: var(--pf-t--global--spacer--xs); |
| 7 |
--pf-v6-c-clipboard-copy__expandable-content--PaddingBlockStart: var(--pf-t--global--spacer--md); |
| 8 |
--pf-v6-c-clipboard-copy__expandable-content--PaddingInlineEnd: var(--pf-t--global--spacer--md); |
| 9 |
--pf-v6-c-clipboard-copy__expandable-content--PaddingBlockEnd: var(--pf-t--global--spacer--md); |
| 10 |
--pf-v6-c-clipboard-copy__expandable-content--PaddingInlineStart: var(--pf-t--global--spacer--md); |
| 11 |
--pf-v6-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-t--global--background--color--control--default); |
| 12 |
--pf-v6-c-clipboard-copy__expandable-content--BorderBlockStartWidth: var(--pf-t--global--border--width--control--default); |
| 13 |
--pf-v6-c-clipboard-copy__expandable-content--BorderInlineEndWidth: var(--pf-t--global--border--width--control--default); |
| 14 |
--pf-v6-c-clipboard-copy__expandable-content--BorderBlockEndWidth: var(--pf-t--global--border--width--control--default); |
| 15 |
--pf-v6-c-clipboard-copy__expandable-content--BorderInlineStartWidth: var(--pf-t--global--border--width--control--default); |
| 16 |
--pf-v6-c-clipboard-copy__expandable-content--BorderColor: var(--pf-t--global--border--color--control--default); |
| 17 |
--pf-v6-c-clipboard-copy__expandable-content--BorderRadius: var(--pf-t--global--border--radius--control--form-element); |
| 18 |
--pf-v6-c-clipboard-copy__expandable-content--OutlineOffset: var(--pf-t--global--spacer--xs); |
| 19 |
--pf-v6-c-clipboard-copy--m-readonly__expandable-content--BackgroundColor: var(--pf-t--global--background--color--control--read-only); |
| 20 |
--pf-v6-c-clipboard-copy--m-readonly__expandable-content--BorderColor: var(--pf-t--global--border--color--control--read-only); |
| 21 |
--pf-v6-c-clipboard-copy__group--Gap: var(--pf-t--global--spacer--gap--control-to-control--default); |
| 22 |
--pf-v6-c-clipboard-copy--m-inline--PaddingInlineStart: var(--pf-t--global--spacer--xs); |
| 23 |
--pf-v6-c-clipboard-copy--m-inline--PaddingInlineEnd: var(--pf-t--global--spacer--xs); |
| 24 |
--pf-v6-c-clipboard-copy--m-inline--BackgroundColor: var(--pf-t--global--background--color--secondary--default); |
| 25 |
--pf-v6-c-clipboard-copy__actions--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain); |
| 26 |
--pf-v6-c-clipboard-copy__actions--MarginInlineStart: var(--pf-t--global--spacer--gap--text-to-element--compact); |
| 27 |
--pf-v6-c-clipboard-copy__actions-item--button--Color: var(--pf-t--global--icon--color--subtle); |
| 28 |
--pf-v6-c-clipboard-copy__actions-item--button--hover--Color: var(--pf-t--global--icon--color--regular); |
| 29 |
--pf-v6-c-clipboard-copy__text--m-code--FontFamily: var(--pf-t--global--font--family--mono); |
| 30 |
--pf-v6-c-clipboard-copy__text--m-code--FontSize: var(--pf-t--global--font--size--body--default); |
| 31 |
} |
| 32 |
|
| 33 |
.pf-v6-c-clipboard-copy.pf-m-expanded .pf-v6-c-clipboard-copy__toggle-icon { |
| 34 |
transform: rotate(var(--pf-v6-c-clipboard-copy--m-expanded__toggle-icon--Rotate)); |
| 35 |
} |
| 36 |
.pf-v6-c-clipboard-copy.pf-m-inline { |
| 37 |
display: inline; |
| 38 |
padding-inline-start: var(--pf-v6-c-clipboard-copy--m-inline--PaddingInlineStart); |
| 39 |
padding-inline-end: var(--pf-v6-c-clipboard-copy--m-inline--PaddingInlineEnd); |
| 40 |
white-space: nowrap; |
| 41 |
background-color: var(--pf-v6-c-clipboard-copy--m-inline--BackgroundColor); |
| 42 |
} |
| 43 |
.pf-v6-c-clipboard-copy.pf-m-inline.pf-m-block { |
| 44 |
display: block; |
| 45 |
} |
| 46 |
.pf-v6-c-clipboard-copy.pf-m-inline.pf-m-truncate { |
| 47 |
display: inline-flex; |
| 48 |
} |
| 49 |
.pf-v6-c-clipboard-copy.pf-m-readonly { |
| 50 |
--pf-v6-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-v6-c-clipboard-copy--m-readonly__expandable-content--BackgroundColor); |
| 51 |
--pf-v6-c-clipboard-copy__expandable-content--BorderColor: var(--pf-v6-c-clipboard-copy--m-readonly__expandable-content--BorderColor); |
| 52 |
} |
| 53 |
|
| 54 |
.pf-v6-c-clipboard-copy__group { |
| 55 |
display: flex; |
| 56 |
gap: var(--pf-v6-c-clipboard-copy__group--Gap); |
| 57 |
} |
| 58 |
|
| 59 |
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-clipboard-copy__toggle-icon { |
| 60 |
scale: -1 1; |
| 61 |
} |
| 62 |
|
| 63 |
.pf-v6-c-clipboard-copy__toggle-icon { |
| 64 |
transition: var(--pf-v6-c-clipboard-copy__toggle-icon--Transition); |
| 65 |
} |
| 66 |
|
| 67 |
.pf-v6-c-clipboard-copy__expandable-content { |
| 68 |
padding-block-start: var(--pf-v6-c-clipboard-copy__expandable-content--PaddingBlockStart); |
| 69 |
padding-block-end: var(--pf-v6-c-clipboard-copy__expandable-content--PaddingBlockEnd); |
| 70 |
padding-inline-start: var(--pf-v6-c-clipboard-copy__expandable-content--PaddingInlineStart); |
| 71 |
padding-inline-end: var(--pf-v6-c-clipboard-copy__expandable-content--PaddingInlineEnd); |
| 72 |
margin-block-start: var(--pf-v6-c-clipboard-copy__expandable-content--MarginBlockStart); |
| 73 |
overflow-wrap: break-word; |
| 74 |
background-color: var(--pf-v6-c-clipboard-copy__expandable-content--BackgroundColor); |
| 75 |
background-clip: padding-box; |
| 76 |
border: solid var(--pf-v6-c-clipboard-copy__expandable-content--BorderColor); |
| 77 |
border-block-start-width: var(--pf-v6-c-clipboard-copy__expandable-content--BorderBlockStartWidth); |
| 78 |
border-block-end-width: var(--pf-v6-c-clipboard-copy__expandable-content--BorderBlockEndWidth); |
| 79 |
border-inline-start-width: var(--pf-v6-c-clipboard-copy__expandable-content--BorderInlineStartWidth); |
| 80 |
border-inline-end-width: var(--pf-v6-c-clipboard-copy__expandable-content--BorderInlineEndWidth); |
| 81 |
border-radius: var(--pf-v6-c-clipboard-copy__expandable-content--BorderRadius); |
| 82 |
box-shadow: var(--pf-v6-c-clipboard-copy__expandable-content--BoxShadow); |
| 83 |
} |
| 84 |
.pf-v6-c-clipboard-copy__expandable-content pre { |
| 85 |
white-space: pre-wrap; |
| 86 |
} |
| 87 |
|
| 88 |
.pf-v6-c-clipboard-copy__text { |
| 89 |
overflow-wrap: anywhere; |
| 90 |
white-space: normal; |
| 91 |
} |
| 92 |
.pf-v6-c-clipboard-copy__text.pf-m-code { |
| 93 |
font-family: var(--pf-v6-c-clipboard-copy__text--m-code--FontFamily); |
| 94 |
font-size: var(--pf-v6-c-clipboard-copy__text--m-code--FontSize); |
| 95 |
} |
| 96 |
|
| 97 |
.pf-v6-c-clipboard-copy__actions { |
| 98 |
display: inline-flex; |
| 99 |
gap: var(--pf-v6-c-clipboard-copy__actions--Gap); |
| 100 |
margin-inline-start: var(--pf-v6-c-clipboard-copy__actions--MarginInlineStart); |
| 101 |
} |
| 102 |
|
| 103 |
.pf-v6-c-clipboard-copy__actions-item .pf-v6-c-button.pf-m-plain { |
| 104 |
--pf-v6-c-button--m-plain__icon--Color: var(--pf-v6-c-clipboard-copy__actions-item--button--Color); |
| 105 |
--pf-v6-c-button--m-plain--hover__icon--Color: var(--pf-v6-c-clipboard-copy__actions-item--button--hover--Color); |
| 106 |
} |