| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
@use "global-variables.scss"; |
| 3 |
@use "@patternfly/patternfly/utilities/Text/text.scss"; |
| 4 |
@use "@patternfly/patternfly/utilities/Spacing/spacing.scss"; |
| 5 |
@use "@patternfly/patternfly/utilities/Sizing/sizing.scss"; |
| 6 |
@use "@patternfly/patternfly/utilities/Flex/flex.scss"; |
| 7 |
|
| 8 |
.placeholder-text { |
| 9 |
color: var(--pf-t--global--text--color--placeholder); |
| 10 |
block-size: 2.25rem; |
| 11 |
} |
| 12 |
|
| 13 |
.wg-listen-port { |
| 14 |
inline-size: 4.75rem; |
| 15 |
} |
| 16 |
|
| 17 |
.dynamic-form-group { |
| 18 |
.pf-v6-c-empty-state { |
| 19 |
padding: 0; |
| 20 |
} |
| 21 |
|
| 22 |
.pf-v6-c-form__field-group-body { |
| 23 |
.pf-v6-c-form__group { |
| 24 |
display: block; |
| 25 |
} |
| 26 |
|
| 27 |
.remove-button-group { |
| 28 |
// Move 'Remove' button the the end of the row |
| 29 |
grid-column: -1; |
| 30 |
// Move 'Remove' button to the bottom of the line so as to align with the other form fields |
| 31 |
display: flex; |
| 32 |
flex-direction: row; |
| 33 |
align-items: flex-end; |
| 34 |
|
| 35 |
button { |
| 36 |
margin: var(--pf-t--global--spacer--xs); |
| 37 |
} |
| 38 |
} |
| 39 |
} |
| 40 |
|
| 41 |
// We use FormFieldGroup PF component for the nested look and for ability to add buttons to the header |
| 42 |
// However we want to save space and not add indent to the left so we need to override it |
| 43 |
.pf-v6-c-form__field-group-body { |
| 44 |
// Stretch content fully |
| 45 |
--pf-v6-c-form__field-group-body--GridColumn: 1 / -1; |
| 46 |
// Reduce padding at the top |
| 47 |
--pf-v6-c-form__field-group-body--PaddingBlockStart: var(--pf-t--global--spacer--xs); |
| 48 |
} |
| 49 |
} |