@patternfly/patternfly 5.0.0-alpha.3 → 5.0.0-alpha.31
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/RELEASE-NOTES.md +17 -0
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pficon.scss +6 -0
- package/assets/pficon/pficon.woff +0 -0
- package/assets/pficon/pficon.woff2 +0 -0
- package/base/_base.scss +0 -18
- package/base/_chart-globals.scss +0 -4
- package/base/_common.scss +0 -22
- package/base/_fonts.scss +22 -22
- package/base/_globals.scss +1 -1
- package/base/_icons.scss +1 -28
- package/base/_svg-icons.scss +6 -0
- package/base/_variables.scss +1 -1
- package/base/patternfly-common.css +0 -10
- package/base/patternfly-fonts.css +17 -17
- package/base/patternfly-icons.css +6 -20
- package/base/patternfly-pf-icons.css +5 -1
- package/base/themes/dark/_globals.scss +1 -1
- package/base/themes/dark/_variables.scss +1 -1
- package/components/AboutModalBox/about-modal-box.css +7 -7
- package/components/AboutModalBox/about-modal-box.scss +7 -7
- package/components/Accordion/accordion.css +2 -0
- package/components/Accordion/accordion.scss +2 -0
- package/components/Alert/alert.css +3 -3
- package/components/Alert/alert.scss +3 -3
- package/components/AppLauncher/app-launcher.css +2 -0
- package/components/AppLauncher/app-launcher.scss +2 -0
- package/components/Avatar/avatar.scss +2 -2
- package/components/Banner/banner.css +14 -14
- package/components/Banner/banner.scss +9 -13
- package/components/Breadcrumb/breadcrumb.css +2 -0
- package/components/Breadcrumb/breadcrumb.scss +2 -0
- package/components/CalendarMonth/calendar-month.css +2 -2
- package/components/CalendarMonth/calendar-month.scss +3 -3
- package/components/Card/card.css +20 -21
- package/components/Card/card.scss +22 -26
- package/components/Chip/chip.css +33 -24
- package/components/Chip/chip.scss +40 -31
- package/components/ChipGroup/chip-group.css +27 -17
- package/components/ChipGroup/chip-group.scss +36 -22
- package/components/Content/content.css +11 -5
- package/components/Content/content.scss +17 -9
- package/components/ContextSelector/context-selector.css +5 -1
- package/components/ContextSelector/context-selector.scss +6 -2
- package/components/DataList/data-list-grid.css +7 -7
- package/components/DataList/data-list-grid.scss +1 -1
- package/components/DataList/data-list.css +12 -11
- package/components/DataList/data-list.scss +5 -4
- package/components/DescriptionList/description-list.css +7 -7
- package/components/DescriptionList/description-list.scss +7 -7
- package/components/Divider/divider.css +2 -2
- package/components/Divider/divider.scss +3 -3
- package/components/Drawer/drawer.css +15 -16
- package/components/Drawer/drawer.scss +2 -3
- package/components/Dropdown/dropdown.css +12 -10
- package/components/Dropdown/dropdown.scss +2 -0
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/EmptyState/empty-state.css +46 -52
- package/components/EmptyState/empty-state.scss +58 -57
- package/components/ExpandableSection/expandable-section.css +2 -0
- package/components/ExpandableSection/expandable-section.scss +2 -0
- package/components/Form/form.css +12 -12
- package/components/Form/form.scss +7 -7
- package/components/FormControl/form-control.css +2 -5
- package/components/FormControl/themes/dark/form-control.scss +2 -6
- package/components/Hint/hint.css +2 -2
- package/components/Hint/hint.scss +2 -2
- package/components/Label/label.css +43 -30
- package/components/Label/label.scss +49 -34
- package/components/LabelGroup/label-group.css +26 -22
- package/components/LabelGroup/label-group.scss +31 -26
- package/components/Login/login.css +11 -11
- package/components/Login/login.scss +10 -10
- package/components/Masthead/masthead.css +4 -4
- package/components/Masthead/masthead.scss +4 -4
- package/components/Menu/menu.css +9 -6
- package/components/Menu/menu.scss +34 -31
- package/components/MenuToggle/menu-toggle.css +3 -1
- package/components/MenuToggle/menu-toggle.scss +3 -1
- package/components/ModalBox/modal-box.css +9 -8
- package/components/ModalBox/modal-box.scss +11 -11
- package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
- package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
- package/components/Nav/nav.css +1 -1
- package/components/Nav/nav.scss +2 -2
- package/components/NotificationDrawer/notification-drawer.css +3 -3
- package/components/NotificationDrawer/notification-drawer.scss +3 -3
- package/components/Page/page.css +71 -71
- package/components/Page/page.scss +12 -12
- package/components/Pagination/pagination.css +2 -2
- package/components/Popover/popover.css +25 -31
- package/components/Popover/popover.scss +27 -32
- package/components/Popover/themes/dark/popover.scss +2 -8
- package/components/Progress/progress.css +13 -10
- package/components/Progress/progress.scss +13 -10
- package/components/ProgressStepper/progress-stepper.css +5 -5
- package/components/ProgressStepper/progress-stepper.scss +5 -5
- package/components/SearchInput/search-input.css +4 -2
- package/components/SearchInput/search-input.scss +4 -2
- package/components/Select/select.css +1 -1
- package/components/Select/select.scss +1 -1
- package/components/Sidebar/sidebar.css +69 -26
- package/components/Sidebar/sidebar.scss +84 -27
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +2 -2
- package/components/Spinner/spinner.css +4 -4
- package/components/Spinner/spinner.scss +4 -4
- package/components/Table/table-grid.css +28 -28
- package/components/Table/table-scrollable.css +31 -26
- package/components/Table/table-scrollable.scss +33 -28
- package/components/Table/table-tree-view.css +14 -4
- package/components/Table/table-tree-view.scss +15 -0
- package/components/Table/table.css +7 -2
- package/components/Table/table.scss +9 -2
- package/components/Tabs/tabs.css +0 -4
- package/components/Tabs/tabs.scss +0 -7
- package/components/TextInputGroup/text-input-group.css +6 -4
- package/components/TextInputGroup/text-input-group.scss +6 -5
- package/components/Tile/tile.css +1 -1
- package/components/Tile/tile.scss +1 -1
- package/components/Timestamp/timestamp.css +3 -3
- package/components/Timestamp/timestamp.scss +3 -3
- package/components/Toolbar/toolbar.css +78 -43
- package/components/Toolbar/toolbar.scss +50 -10
- package/components/Tooltip/themes/dark/tooltip.scss +1 -11
- package/components/Tooltip/tooltip.css +7 -12
- package/components/Tooltip/tooltip.scss +6 -3
- package/components/TreeView/tree-view.css +7 -15
- package/components/TreeView/tree-view.scss +7 -18
- package/components/Wizard/wizard.css +16 -1
- package/components/Wizard/wizard.scss +20 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
- package/docs/components/Accordion/examples/Accordion.md +12 -12
- package/docs/components/ActionList/examples/ActionList.md +6 -6
- package/docs/components/Alert/examples/Alert.md +19 -19
- package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
- package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
- package/docs/components/Avatar/examples/Avatar.md +11 -11
- package/docs/components/BackToTop/examples/BackToTop.md +4 -4
- package/docs/components/Backdrop/examples/Backdrop.md +4 -4
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +5 -5
- package/docs/components/Banner/examples/Banner.md +8 -8
- package/docs/components/Brand/examples/Brand.md +9 -9
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
- package/docs/components/Card/examples/Card.md +139 -64
- package/docs/components/Check/examples/Check.md +15 -19
- package/docs/components/Chip/examples/Chip.md +70 -52
- package/docs/components/ChipGroup/examples/ChipGroup.md +452 -673
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
- package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
- package/docs/components/Content/examples/Content.md +37 -9
- package/docs/components/ContextSelector/examples/context-selector.css +5 -1
- package/docs/components/ContextSelector/examples/context-selector.md +86 -80
- package/docs/components/DataList/examples/DataList.md +187 -148
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
- package/docs/components/Divider/examples/Divider.md +10 -10
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +43 -43
- package/docs/components/Dropdown/examples/Dropdown.css +5 -2
- package/docs/components/Dropdown/examples/Dropdown.md +123 -99
- package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
- package/docs/components/EmptyState/examples/EmptyState.md +130 -82
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +64 -64
- package/docs/components/FormControl/examples/FormControl.md +20 -20
- package/docs/components/HelperText/examples/HelperText.md +12 -12
- package/docs/components/Hint/examples/Hint.md +7 -7
- package/docs/components/Icon/examples/Icon.md +10 -10
- package/docs/components/InlineEdit/examples/InlineEdit.md +29 -27
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
- package/docs/components/Label/examples/Label.md +1427 -746
- package/docs/components/LabelGroup/examples/LabelGroup.md +295 -242
- package/docs/components/List/examples/List.md +18 -18
- package/docs/components/LogViewer/examples/LogViewer.md +79 -73
- package/docs/components/Login/examples/Login.md +32 -32
- package/docs/components/Masthead/examples/masthead.md +9 -9
- package/docs/components/Menu/examples/Menu.md +82 -80
- package/docs/components/MenuToggle/examples/MenuToggle.md +28 -28
- package/docs/components/ModalBox/examples/ModalBox.md +106 -85
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
- package/docs/components/Nav/examples/Navigation.md +69 -69
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
- package/docs/components/NumberInput/examples/NumberInput.md +12 -12
- package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
- package/docs/components/Page/examples/Page.md +54 -54
- package/docs/components/Pagination/examples/Pagination.md +27 -27
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +201 -144
- package/docs/components/Progress/examples/Progress.md +31 -60
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
- package/docs/components/Radio/examples/Radio.md +11 -11
- package/docs/components/SearchInput/examples/SearchInput.md +34 -34
- package/docs/components/Select/examples/Select.md +367 -313
- package/docs/components/Sidebar/examples/Sidebar.md +70 -14
- package/docs/components/SimpleList/examples/SimpleList.md +15 -15
- package/docs/components/Skeleton/examples/Skeleton.md +8 -8
- package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
- package/docs/components/Slider/examples/Slider.md +24 -24
- package/docs/components/Spinner/examples/Spinner.md +24 -24
- package/docs/components/Switch/examples/Switch.md +19 -19
- package/docs/components/TabContent/examples/TabContent.md +13 -13
- package/docs/components/Table/examples/Table.css +4 -0
- package/docs/components/Table/examples/Table.md +3163 -1712
- package/docs/components/Tabs/examples/Tabs.md +149 -149
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +362 -280
- package/docs/components/Tile/examples/Tile.md +15 -15
- package/docs/components/Timestamp/examples/Timestamp.md +5 -5
- package/docs/components/Title/examples/Title.md +17 -17
- package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
- package/docs/components/Toolbar/examples/Toolbar.md +466 -373
- package/docs/components/Tooltip/examples/Tooltip.md +10 -10
- package/docs/components/TreeView/examples/TreeView.md +34 -34
- package/docs/components/Truncate/examples/Truncate.md +4 -4
- package/docs/components/Wizard/examples/Wizard.md +119 -127
- package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
- package/docs/demos/Alert/examples/Alert.md +13 -13
- package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
- package/docs/demos/Banner/examples/Banner.md +8 -9
- package/docs/demos/Card/examples/Card.md +219 -156
- package/docs/demos/CardView/examples/CardView.md +56 -29
- package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
- package/docs/demos/Dashboard/examples/Dashboard.md +51 -35
- package/docs/demos/DataList/examples/DataList.md +158 -109
- package/docs/demos/DescriptionList/examples/DescriptionList.md +33 -22
- package/docs/demos/Drawer/examples/Drawer.md +24 -22
- package/docs/demos/Form/examples/BasicForms.md +28 -22
- package/docs/demos/HelperText/examples/HelperText.md +8 -9
- package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
- package/docs/demos/Masthead/examples/Masthead.md +29 -32
- package/docs/demos/Modal/examples/Modal.md +54 -66
- package/docs/demos/Nav/examples/Nav.md +47 -47
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
- package/docs/demos/Page/examples/Page.md +37 -37
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -33
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +74 -64
- package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
- package/docs/demos/Table/examples/Table.md +2454 -467
- package/docs/demos/Tabs/examples/Tabs.md +141 -90
- package/docs/demos/Toolbar/examples/Toolbar.md +1808 -174
- package/docs/demos/Wizard/examples/Wizard.md +289 -266
- package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
- package/docs/layouts/Flex/examples/Flex.md +98 -98
- package/docs/layouts/Gallery/examples/Gallery.md +7 -7
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/layouts/Level/examples/Level.md +5 -5
- package/docs/layouts/Split/examples/Split.md +7 -7
- package/docs/layouts/Stack/examples/Stack.md +6 -6
- package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +6 -6
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
- package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
- package/docs/utilities/Display/examples/Display.md +11 -11
- package/docs/utilities/Flex/examples/Flex.md +34 -34
- package/docs/utilities/Float/examples/Float.md +4 -4
- package/docs/utilities/Sizing/examples/Sizing.md +50 -50
- package/docs/utilities/Spacing/examples/Spacing.md +34 -34
- package/docs/utilities/Text/examples/Text.md +27 -27
- package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
- package/layouts/Gallery/gallery.css +1 -1
- package/layouts/Gallery/gallery.scss +1 -1
- package/layouts/Grid/grid.css +7 -7
- package/layouts/Grid/grid.scss +2 -2
- package/package.json +59 -65
- package/patternfly-base-no-reset.css +23 -47
- package/patternfly-base.css +23 -47
- package/patternfly-no-reset.css +781 -656
- package/patternfly.css +781 -656
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +8 -24
- package/sass-utilities/mixins.scss +15 -39
- package/sass-utilities/scss-variables.scss +1 -1
- package/sass-utilities/themes/dark/scss-variables.scss +1 -1
- package/utilities/Spacing/spacing.scss +2 -2
- package/base/_shield-inheritable.scss +0 -69
- package/base/_shield-noninheritable.scss +0 -13
- package/base/patternfly-shield-inheritable.css +0 -66
- package/base/patternfly-shield-inheritable.scss +0 -4
- package/base/patternfly-shield-noninheritable.css +0 -9
- package/base/patternfly-shield-noninheritable.scss +0 -4
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
--pf-c-label--PaddingRight: var(--pf-global--spacer--sm);
|
|
4
4
|
--pf-c-label--PaddingBottom: var(--pf-global--spacer--xs);
|
|
5
5
|
--pf-c-label--PaddingLeft: var(--pf-global--spacer--sm);
|
|
6
|
+
--pf-c-label--MaxWidth: 100%;
|
|
6
7
|
--pf-c-label--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
7
8
|
--pf-c-label--BackgroundColor: var(--pf-global--palette--black-150);
|
|
8
9
|
--pf-c-label--Color: var(--pf-global--Color--100);
|
|
@@ -105,21 +106,22 @@
|
|
|
105
106
|
--pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);
|
|
106
107
|
--pf-c-label--m-compact--m-editable--TextDecorationOffset: 0.0625rem;
|
|
107
108
|
--pf-c-label__content--Color: var(--pf-global--Color--100);
|
|
109
|
+
--pf-c-label__content--BackgroundColor: transparent;
|
|
108
110
|
--pf-c-label__content--MaxWidth: 100%;
|
|
109
111
|
--pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
|
|
110
112
|
--pf-c-label--m-editable__content--MaxWidth: 16ch;
|
|
111
|
-
--pf-c-label__text--MaxWidth:
|
|
113
|
+
--pf-c-label__text--MaxWidth: 100%;
|
|
112
114
|
--pf-c-label__icon--Color: var(--pf-global--Color--100);
|
|
113
115
|
--pf-c-label__icon--MarginRight: var(--pf-global--spacer--xs);
|
|
114
|
-
--pf-c-
|
|
115
|
-
--pf-c-
|
|
116
|
-
--pf-c-
|
|
117
|
-
--pf-c-
|
|
118
|
-
--pf-c-
|
|
119
|
-
--pf-c-
|
|
120
|
-
--pf-c-
|
|
121
|
-
--pf-c-
|
|
122
|
-
--pf-c-
|
|
116
|
+
--pf-c-label__actions--FontSize: var(--pf-global--FontSize--xs);
|
|
117
|
+
--pf-c-label__actions--MarginRight: calc(var(--pf-c-label__actions--c-button--PaddingRight) * -1);
|
|
118
|
+
--pf-c-label__actions--c-button--FontSize: var(--pf-global--FontSize--xs);
|
|
119
|
+
--pf-c-label__actions--c-button--MarginTop: calc(var(--pf-c-label__actions--c-button--PaddingTop) * -1);
|
|
120
|
+
--pf-c-label__actions--c-button--MarginBottom: calc(var(--pf-c-label__actions--c-button--PaddingBottom) * -1);
|
|
121
|
+
--pf-c-label__actions--c-button--PaddingTop: var(--pf-global--spacer--xs);
|
|
122
|
+
--pf-c-label__actions--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
123
|
+
--pf-c-label__actions--c-button--PaddingBottom: var(--pf-global--spacer--xs);
|
|
124
|
+
--pf-c-label__actions--c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
123
125
|
--pf-c-label--m-editable--Cursor: pointer;
|
|
124
126
|
--pf-c-label--m-editable--TextDecoration: underline;
|
|
125
127
|
--pf-c-label--m-editable--TextDecorationStyle: dashed;
|
|
@@ -140,6 +142,7 @@
|
|
|
140
142
|
--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
|
|
141
143
|
--pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
|
|
142
144
|
position: relative;
|
|
145
|
+
max-width: var(--pf-c-label--MaxWidth);
|
|
143
146
|
padding: var(--pf-c-label--PaddingTop) var(--pf-c-label--PaddingRight) var(--pf-c-label--PaddingBottom) var(--pf-c-label--PaddingLeft);
|
|
144
147
|
font-size: var(--pf-c-label--FontSize);
|
|
145
148
|
color: var(--pf-c-label--Color);
|
|
@@ -284,12 +287,6 @@
|
|
|
284
287
|
}
|
|
285
288
|
|
|
286
289
|
.pf-c-label.pf-m-editable {
|
|
287
|
-
text-decoration: var(--pf-c-label--m-editable--TextDecoration);
|
|
288
|
-
cursor: var(--pf-c-label--m-editable--Cursor);
|
|
289
|
-
text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
|
|
290
|
-
text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
|
|
291
|
-
text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
|
|
292
|
-
text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
|
|
293
290
|
--pf-c-label__content--MaxWidth: var(--pf-c-label--m-editable__content--MaxWidth);
|
|
294
291
|
--pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
|
|
295
292
|
--pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable__content--before--BorderColor);
|
|
@@ -299,6 +296,12 @@
|
|
|
299
296
|
--pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-editable__content--focus--before--BorderColor);
|
|
300
297
|
--pf-c-label--m-outline__content--link--hover--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
|
|
301
298
|
--pf-c-label--m-outline__content--link--focus--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
|
|
299
|
+
text-decoration: var(--pf-c-label--m-editable--TextDecoration);
|
|
300
|
+
text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
|
|
301
|
+
text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
|
|
302
|
+
text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
|
|
303
|
+
text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
|
|
304
|
+
cursor: var(--pf-c-label--m-editable--Cursor);
|
|
302
305
|
}
|
|
303
306
|
.pf-c-label.pf-m-editable:hover {
|
|
304
307
|
--pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
|
|
@@ -311,17 +314,6 @@
|
|
|
311
314
|
--pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
|
|
312
315
|
--pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
|
|
313
316
|
}
|
|
314
|
-
.pf-c-label .pf-c-button {
|
|
315
|
-
--pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
|
|
316
|
-
--pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
|
|
317
|
-
--pf-c-button--PaddingRight: var(--pf-c-label__c-button--PaddingRight);
|
|
318
|
-
--pf-c-button--PaddingBottom: var(--pf-c-label__c-button--PaddingBottom);
|
|
319
|
-
--pf-c-button--PaddingLeft: var(--pf-c-label__c-button--PaddingLeft);
|
|
320
|
-
margin-top: var(--pf-c-label__c-button--MarginTop);
|
|
321
|
-
margin-right: var(--pf-c-label__c-button--MarginRight);
|
|
322
|
-
margin-bottom: var(--pf-c-label__c-button--MarginBottom);
|
|
323
|
-
margin-left: var(--pf-c-label__c-button--MarginLeft);
|
|
324
|
-
}
|
|
325
317
|
.pf-c-label.pf-m-overflow, .pf-c-label.pf-m-add {
|
|
326
318
|
--pf-c-label__content--Color: var(--pf-c-label--m-overflow__content--Color);
|
|
327
319
|
--pf-c-label--BackgroundColor: var(--pf-c-label--m-overflow__content--BackgroundColor);
|
|
@@ -347,11 +339,10 @@
|
|
|
347
339
|
}
|
|
348
340
|
|
|
349
341
|
.pf-c-label__content {
|
|
350
|
-
overflow: hidden;
|
|
351
|
-
text-overflow: ellipsis;
|
|
352
|
-
white-space: nowrap;
|
|
353
342
|
max-width: var(--pf-c-label__content--MaxWidth);
|
|
343
|
+
overflow: hidden;
|
|
354
344
|
color: var(--pf-c-label__content--Color);
|
|
345
|
+
background-color: var(--pf-c-label__content--BackgroundColor);
|
|
355
346
|
border-width: 0;
|
|
356
347
|
}
|
|
357
348
|
.pf-c-label__content::before {
|
|
@@ -365,9 +356,17 @@
|
|
|
365
356
|
border: var(--pf-c-label__content--before--BorderWidth) solid var(--pf-c-label__content--before--BorderColor);
|
|
366
357
|
border-radius: var(--pf-c-label--BorderRadius);
|
|
367
358
|
}
|
|
359
|
+
input.pf-c-label__content {
|
|
360
|
+
overflow: hidden;
|
|
361
|
+
text-overflow: ellipsis;
|
|
362
|
+
white-space: nowrap;
|
|
363
|
+
}
|
|
364
|
+
|
|
368
365
|
a.pf-c-label__content,
|
|
369
366
|
button.pf-c-label__content {
|
|
367
|
+
padding: 0;
|
|
370
368
|
cursor: pointer;
|
|
369
|
+
background-color: transparent;
|
|
371
370
|
border: none;
|
|
372
371
|
}
|
|
373
372
|
a.pf-c-label__content, a.pf-c-label__content:hover, a.pf-c-label__content:focus,
|
|
@@ -392,6 +391,20 @@ button.pf-c-label__content:focus {
|
|
|
392
391
|
color: var(--pf-c-label__icon--Color);
|
|
393
392
|
}
|
|
394
393
|
|
|
394
|
+
.pf-c-label__actions {
|
|
395
|
+
margin-right: var(--pf-c-label__actions--MarginRight);
|
|
396
|
+
font-size: var(--pf-c-label__actions--FontSize);
|
|
397
|
+
}
|
|
398
|
+
.pf-c-label__actions .pf-c-button {
|
|
399
|
+
--pf-c-button--FontSize: var(--pf-c-label__actions--c-button--FontSize);
|
|
400
|
+
--pf-c-button--PaddingTop: var(--pf-c-label__actions--c-button--PaddingTop);
|
|
401
|
+
--pf-c-button--PaddingRight: var(--pf-c-label__actions--c-button--PaddingRight);
|
|
402
|
+
--pf-c-button--PaddingBottom: var(--pf-c-label__actions--c-button--PaddingBottom);
|
|
403
|
+
--pf-c-button--PaddingLeft: var(--pf-c-label__actions--c-button--PaddingLeft);
|
|
404
|
+
margin-top: var(--pf-c-label__actions--c-button--MarginTop);
|
|
405
|
+
margin-bottom: var(--pf-c-label__actions--c-button--MarginBottom);
|
|
406
|
+
}
|
|
407
|
+
|
|
395
408
|
:where(.pf-theme-dark) .pf-c-label {
|
|
396
409
|
--pf-c-label--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
397
410
|
--pf-c-label--m-blue--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
--pf-c-label--PaddingRight: var(--pf-global--spacer--sm);
|
|
5
5
|
--pf-c-label--PaddingBottom: var(--pf-global--spacer--xs);
|
|
6
6
|
--pf-c-label--PaddingLeft: var(--pf-global--spacer--sm);
|
|
7
|
+
--pf-c-label--MaxWidth: 100%;
|
|
7
8
|
--pf-c-label--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
8
9
|
--pf-c-label--BackgroundColor: var(--pf-global--palette--black-150);
|
|
9
10
|
--pf-c-label--Color: var(--pf-global--Color--100);
|
|
@@ -134,27 +135,30 @@
|
|
|
134
135
|
|
|
135
136
|
// Content
|
|
136
137
|
--pf-c-label__content--Color: var(--pf-global--Color--100);
|
|
138
|
+
--pf-c-label__content--BackgroundColor: transparent;
|
|
137
139
|
--pf-c-label__content--MaxWidth: 100%;
|
|
138
140
|
--pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
|
|
139
141
|
--pf-c-label--m-editable__content--MaxWidth: 16ch;
|
|
140
142
|
|
|
141
|
-
//
|
|
142
|
-
--pf-c-label__text--MaxWidth:
|
|
143
|
+
// Text
|
|
144
|
+
--pf-c-label__text--MaxWidth: 100%;
|
|
143
145
|
|
|
144
146
|
// Icon
|
|
145
147
|
--pf-c-label__icon--Color: var(--pf-global--Color--100);
|
|
146
148
|
--pf-c-label__icon--MarginRight: var(--pf-global--spacer--xs);
|
|
147
149
|
|
|
148
|
-
//
|
|
149
|
-
--pf-c-
|
|
150
|
-
--pf-c-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
--pf-c-
|
|
154
|
-
--pf-c-
|
|
155
|
-
--pf-c-
|
|
156
|
-
--pf-c-
|
|
157
|
-
--pf-c-
|
|
150
|
+
// Actions
|
|
151
|
+
--pf-c-label__actions--FontSize: var(--pf-global--FontSize--xs);
|
|
152
|
+
--pf-c-label__actions--MarginRight: calc(var(--pf-c-label__actions--c-button--PaddingRight) * -1);
|
|
153
|
+
|
|
154
|
+
// Actions button (close)
|
|
155
|
+
--pf-c-label__actions--c-button--FontSize: var(--pf-global--FontSize--xs);
|
|
156
|
+
--pf-c-label__actions--c-button--MarginTop: calc(var(--pf-c-label__actions--c-button--PaddingTop) * -1);
|
|
157
|
+
--pf-c-label__actions--c-button--MarginBottom: calc(var(--pf-c-label__actions--c-button--PaddingBottom) * -1);
|
|
158
|
+
--pf-c-label__actions--c-button--PaddingTop: var(--pf-global--spacer--xs);
|
|
159
|
+
--pf-c-label__actions--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
160
|
+
--pf-c-label__actions--c-button--PaddingBottom: var(--pf-global--spacer--xs);
|
|
161
|
+
--pf-c-label__actions--c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
158
162
|
|
|
159
163
|
// Editable
|
|
160
164
|
--pf-c-label--m-editable--Cursor: pointer;
|
|
@@ -180,6 +184,7 @@
|
|
|
180
184
|
--pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
|
|
181
185
|
|
|
182
186
|
position: relative;
|
|
187
|
+
max-width: var(--pf-c-label--MaxWidth);
|
|
183
188
|
padding: var(--pf-c-label--PaddingTop) var(--pf-c-label--PaddingRight) var(--pf-c-label--PaddingBottom) var(--pf-c-label--PaddingLeft);
|
|
184
189
|
font-size: var(--pf-c-label--FontSize);
|
|
185
190
|
color: var(--pf-c-label--Color);
|
|
@@ -340,13 +345,6 @@
|
|
|
340
345
|
}
|
|
341
346
|
|
|
342
347
|
&.pf-m-editable {
|
|
343
|
-
text-decoration: var(--pf-c-label--m-editable--TextDecoration);
|
|
344
|
-
cursor: var(--pf-c-label--m-editable--Cursor);
|
|
345
|
-
text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
|
|
346
|
-
text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
|
|
347
|
-
text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
|
|
348
|
-
text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
|
|
349
|
-
|
|
350
348
|
--pf-c-label__content--MaxWidth: var(--pf-c-label--m-editable__content--MaxWidth);
|
|
351
349
|
--pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
|
|
352
350
|
--pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable__content--before--BorderColor);
|
|
@@ -359,6 +357,13 @@
|
|
|
359
357
|
--pf-c-label--m-outline__content--link--hover--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
|
|
360
358
|
--pf-c-label--m-outline__content--link--focus--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
|
|
361
359
|
|
|
360
|
+
text-decoration: var(--pf-c-label--m-editable--TextDecoration);
|
|
361
|
+
text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
|
|
362
|
+
text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
|
|
363
|
+
text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
|
|
364
|
+
text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
|
|
365
|
+
cursor: var(--pf-c-label--m-editable--Cursor);
|
|
366
|
+
|
|
362
367
|
&:hover {
|
|
363
368
|
--pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
|
|
364
369
|
}
|
|
@@ -374,19 +379,6 @@
|
|
|
374
379
|
--pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
|
|
375
380
|
}
|
|
376
381
|
|
|
377
|
-
.pf-c-button {
|
|
378
|
-
--pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
|
|
379
|
-
--pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
|
|
380
|
-
--pf-c-button--PaddingRight: var(--pf-c-label__c-button--PaddingRight);
|
|
381
|
-
--pf-c-button--PaddingBottom: var(--pf-c-label__c-button--PaddingBottom);
|
|
382
|
-
--pf-c-button--PaddingLeft: var(--pf-c-label__c-button--PaddingLeft);
|
|
383
|
-
|
|
384
|
-
margin-top: var(--pf-c-label__c-button--MarginTop);
|
|
385
|
-
margin-right: var(--pf-c-label__c-button--MarginRight);
|
|
386
|
-
margin-bottom: var(--pf-c-label__c-button--MarginBottom);
|
|
387
|
-
margin-left: var(--pf-c-label__c-button--MarginLeft);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
382
|
&.pf-m-overflow,
|
|
391
383
|
&.pf-m-add {
|
|
392
384
|
--pf-c-label__content--Color: var(--pf-c-label--m-overflow__content--Color);
|
|
@@ -413,10 +405,10 @@
|
|
|
413
405
|
}
|
|
414
406
|
|
|
415
407
|
.pf-c-label__content {
|
|
416
|
-
@include pf-text-overflow;
|
|
417
|
-
|
|
418
408
|
max-width: var(--pf-c-label__content--MaxWidth);
|
|
409
|
+
overflow: hidden;
|
|
419
410
|
color: var(--pf-c-label__content--Color);
|
|
411
|
+
background-color: var(--pf-c-label__content--BackgroundColor);
|
|
420
412
|
border-width: 0;
|
|
421
413
|
|
|
422
414
|
&::before {
|
|
@@ -431,11 +423,18 @@
|
|
|
431
423
|
border-radius: var(--pf-c-label--BorderRadius);
|
|
432
424
|
}
|
|
433
425
|
|
|
426
|
+
// truncate input fields
|
|
427
|
+
@at-root input#{&} {
|
|
428
|
+
@include pf-text-overflow;
|
|
429
|
+
}
|
|
430
|
+
|
|
434
431
|
// the content element can be used as a link
|
|
435
432
|
@at-root {
|
|
436
433
|
a#{&},
|
|
437
434
|
button#{&} {
|
|
435
|
+
padding: 0;
|
|
438
436
|
cursor: pointer;
|
|
437
|
+
background-color: transparent;
|
|
439
438
|
border: none;
|
|
440
439
|
|
|
441
440
|
&,
|
|
@@ -462,6 +461,22 @@
|
|
|
462
461
|
color: var(--pf-c-label__icon--Color);
|
|
463
462
|
}
|
|
464
463
|
|
|
464
|
+
.pf-c-label__actions {
|
|
465
|
+
margin-right: var(--pf-c-label__actions--MarginRight);
|
|
466
|
+
font-size: var(--pf-c-label__actions--FontSize);
|
|
467
|
+
|
|
468
|
+
.pf-c-button {
|
|
469
|
+
--pf-c-button--FontSize: var(--pf-c-label__actions--c-button--FontSize);
|
|
470
|
+
--pf-c-button--PaddingTop: var(--pf-c-label__actions--c-button--PaddingTop);
|
|
471
|
+
--pf-c-button--PaddingRight: var(--pf-c-label__actions--c-button--PaddingRight);
|
|
472
|
+
--pf-c-button--PaddingBottom: var(--pf-c-label__actions--c-button--PaddingBottom);
|
|
473
|
+
--pf-c-button--PaddingLeft: var(--pf-c-label__actions--c-button--PaddingLeft);
|
|
474
|
+
|
|
475
|
+
margin-top: var(--pf-c-label__actions--c-button--MarginTop);
|
|
476
|
+
margin-bottom: var(--pf-c-label__actions--c-button--MarginBottom);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
465
480
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
466
481
|
@import "themes/dark/label";
|
|
467
482
|
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
.pf-c-label-group {
|
|
2
|
-
--pf-c-label-
|
|
3
|
-
--pf-c-label-
|
|
2
|
+
--pf-c-label-group--RowGap: var(--pf-global--spacer--sm);
|
|
3
|
+
--pf-c-label-group--ColumnGap: 0;
|
|
4
|
+
--pf-c-label-group-m-vertical--RowGap: var(--pf-global--spacer--sm);
|
|
5
|
+
--pf-c-label-group-m-vertical--ColumnGap: var(--pf-global--spacer--sm);
|
|
6
|
+
--pf-c-label-group__main--RowGap: var(--pf-global--spacer--xs);
|
|
7
|
+
--pf-c-label-group__main--ColumnGap: var(--pf-global--spacer--sm);
|
|
8
|
+
--pf-c-label-group-m-vertical__main--RowGap: var(--pf-global--spacer--sm);
|
|
9
|
+
--pf-c-label-group-m-vertical__main--ColumnGap: var(--pf-global--spacer--xs);
|
|
10
|
+
--pf-c-label-group__list--RowGap: var(--pf-global--spacer--xs);
|
|
11
|
+
--pf-c-label-group__list--ColumnGap: var(--pf-global--spacer--xs);
|
|
12
|
+
--pf-c-label-group-m-vertical__list--RowGap: var(--pf-global--spacer--xs);
|
|
13
|
+
--pf-c-label-group-m-vertical__list--ColumnGap: var(--pf-global--spacer--xs);
|
|
4
14
|
--pf-c-label-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
|
|
5
15
|
--pf-c-label-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
|
|
6
16
|
--pf-c-label-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
|
|
@@ -10,26 +20,22 @@
|
|
|
10
20
|
--pf-c-label-group--m-category--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
11
21
|
--pf-c-label-group--m-category--BorderColor: var(--pf-global--BorderColor--300);
|
|
12
22
|
--pf-c-label-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
13
|
-
--pf-c-label-group__label--MarginRight: var(--pf-global--spacer--sm);
|
|
14
|
-
--pf-c-label-group__label--MarginBottom: 0;
|
|
15
|
-
--pf-c-label-group--m-vertical__label--MarginBottom: var(--pf-global--spacer--sm);
|
|
16
23
|
--pf-c-label-group__label--FontSize: var(--pf-global--FontSize--sm);
|
|
17
24
|
--pf-c-label-group__label--MaxWidth: 18ch;
|
|
18
25
|
--pf-c-label-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
|
|
19
26
|
--pf-c-label-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
20
27
|
--pf-c-label-group--m-vertical__close--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
21
28
|
--pf-c-label-group--m-vertical__close--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);
|
|
22
|
-
--pf-c-label-group--m-vertical__close--MarginLeft: var(--pf-global--spacer--sm);
|
|
23
29
|
--pf-c-label-group--m-vertical__close--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
24
30
|
--pf-c-label-group--m-vertical__close--c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
25
|
-
--pf-c-label-group__list-item--MarginRight: var(--pf-global--spacer--xs);
|
|
26
|
-
--pf-c-label-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
|
|
27
31
|
--pf-c-label-group__textarea--MinWidth: 12.5rem;
|
|
28
32
|
--pf-c-label-group__textarea--PaddingTop: 0.125rem;
|
|
29
33
|
--pf-c-label-group__textarea--PaddingRight: var(--pf-global--spacer--xs);
|
|
30
34
|
--pf-c-label-group__textarea--PaddingBottom: 0;
|
|
31
35
|
--pf-c-label-group__textarea--PaddingLeft: var(--pf-global--spacer--xs);
|
|
32
36
|
display: inline-flex;
|
|
37
|
+
row-gap: var(--pf-c-label-group--RowGap);
|
|
38
|
+
column-gap: var(--pf-c-label-group--ColumnGap);
|
|
33
39
|
align-items: center;
|
|
34
40
|
}
|
|
35
41
|
.pf-c-label-group.pf-m-category {
|
|
@@ -42,11 +48,12 @@
|
|
|
42
48
|
border-radius: var(--pf-c-label-group--m-category--BorderRadius);
|
|
43
49
|
}
|
|
44
50
|
.pf-c-label-group.pf-m-vertical {
|
|
45
|
-
--pf-c-label-
|
|
46
|
-
--pf-c-label-
|
|
47
|
-
--pf-c-label-
|
|
48
|
-
--pf-c-label-
|
|
49
|
-
--pf-c-label-
|
|
51
|
+
--pf-c-label-group--RowGap: var(--pf-c-label-group-m-vertical--RowGap);
|
|
52
|
+
--pf-c-label-group--ColumnGap: var(--pf-c-label-group-m-vertical--ColumnGap);
|
|
53
|
+
--pf-c-label-group__main--RowGap: var(--pf-c-label-group-m-vertical__main--RowGap);
|
|
54
|
+
--pf-c-label-group__main--ColumnGap: var(--pf-c-label-group-m-vertical__main--ColumnGap);
|
|
55
|
+
--pf-c-label-group__list--RowGap: var(--pf-c-label-group-m-vertical__list--RowGap);
|
|
56
|
+
--pf-c-label-group__list--ColumnGap: var(--pf-c-label-group-m-vertical__list--ColumnGap);
|
|
50
57
|
--pf-c-label-group__close--MarginTop: var(--pf-c-label-group--m-vertical__close--MarginTop);
|
|
51
58
|
--pf-c-label-group__close--MarginLeft: var(--pf-c-label-group--m-vertical__close--MarginLeft);
|
|
52
59
|
--pf-c-label-group__close--MarginBottom: 0;
|
|
@@ -63,9 +70,6 @@
|
|
|
63
70
|
.pf-c-label-group.pf-m-vertical .pf-c-label-group__main {
|
|
64
71
|
flex-direction: column;
|
|
65
72
|
}
|
|
66
|
-
.pf-c-label-group.pf-m-vertical .pf-c-label-group__list-item:last-child {
|
|
67
|
-
--pf-c-label-group__list-item--MarginBottom: 0;
|
|
68
|
-
}
|
|
69
73
|
.pf-c-label-group.pf-m-vertical .pf-c-label-group__close .pf-c-button {
|
|
70
74
|
--pf-c-button--PaddingLeft: var(--pf-c-label-group--m-vertical__close--c-button--PaddingLeft);
|
|
71
75
|
--pf-c-button--PaddingRight: var(--pf-c-label-group--m-vertical__close--c-button--PaddingRight);
|
|
@@ -86,20 +90,20 @@
|
|
|
86
90
|
display: flex;
|
|
87
91
|
flex: 1;
|
|
88
92
|
flex-wrap: wrap;
|
|
93
|
+
row-gap: var(--pf-c-label-group__main--RowGap);
|
|
94
|
+
column-gap: var(--pf-c-label-group__main--ColumnGap);
|
|
89
95
|
align-items: baseline;
|
|
90
96
|
}
|
|
91
97
|
|
|
92
98
|
.pf-c-label-group__list {
|
|
93
99
|
display: inline-flex;
|
|
94
100
|
flex-wrap: wrap;
|
|
95
|
-
|
|
96
|
-
|
|
101
|
+
row-gap: var(--pf-c-label-group__list--RowGap);
|
|
102
|
+
column-gap: var(--pf-c-label-group__list--ColumnGap);
|
|
97
103
|
}
|
|
98
104
|
|
|
99
105
|
.pf-c-label-group__list-item {
|
|
100
106
|
display: inline-flex;
|
|
101
|
-
margin-right: var(--pf-c-label-group__list-item--MarginRight);
|
|
102
|
-
margin-bottom: var(--pf-c-label-group__list-item--MarginBottom);
|
|
103
107
|
}
|
|
104
108
|
|
|
105
109
|
.pf-c-label-group__label {
|
|
@@ -107,12 +111,12 @@
|
|
|
107
111
|
text-overflow: ellipsis;
|
|
108
112
|
white-space: nowrap;
|
|
109
113
|
max-width: var(--pf-c-label-group__label--MaxWidth);
|
|
110
|
-
margin-right: var(--pf-c-label-group__label--MarginRight);
|
|
111
|
-
margin-bottom: var(--pf-c-label-group__label--MarginBottom);
|
|
112
114
|
font-size: var(--pf-c-label-group__label--FontSize);
|
|
113
115
|
}
|
|
114
116
|
|
|
115
117
|
.pf-c-label-group__close {
|
|
118
|
+
display: flex;
|
|
119
|
+
align-self: start;
|
|
116
120
|
margin-top: var(--pf-c-label-group__close--MarginTop);
|
|
117
121
|
margin-right: var(--pf-c-label-group__close--MarginRight);
|
|
118
122
|
margin-bottom: var(--pf-c-label-group__close--MarginBottom);
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
.pf-c-label-group {
|
|
2
|
-
//
|
|
3
|
-
--pf-c-label-
|
|
4
|
-
--pf-c-label-
|
|
2
|
+
// Label group - spaces main with the close button
|
|
3
|
+
--pf-c-label-group--RowGap: var(--pf-global--spacer--sm);
|
|
4
|
+
--pf-c-label-group--ColumnGap: 0;
|
|
5
|
+
--pf-c-label-group-m-vertical--RowGap: var(--pf-global--spacer--sm);
|
|
6
|
+
--pf-c-label-group-m-vertical--ColumnGap: var(--pf-global--spacer--sm);
|
|
7
|
+
|
|
8
|
+
// Main - spaces the category label with the list
|
|
9
|
+
--pf-c-label-group__main--RowGap: var(--pf-global--spacer--xs);
|
|
10
|
+
--pf-c-label-group__main--ColumnGap: var(--pf-global--spacer--sm);
|
|
11
|
+
--pf-c-label-group-m-vertical__main--RowGap: var(--pf-global--spacer--sm);
|
|
12
|
+
--pf-c-label-group-m-vertical__main--ColumnGap: var(--pf-global--spacer--xs);
|
|
13
|
+
|
|
14
|
+
// List - spaces the items
|
|
15
|
+
--pf-c-label-group__list--RowGap: var(--pf-global--spacer--xs);
|
|
16
|
+
--pf-c-label-group__list--ColumnGap: var(--pf-global--spacer--xs);
|
|
17
|
+
--pf-c-label-group-m-vertical__list--RowGap: var(--pf-global--spacer--xs);
|
|
18
|
+
--pf-c-label-group-m-vertical__list--ColumnGap: var(--pf-global--spacer--xs);
|
|
5
19
|
|
|
6
20
|
// Category
|
|
7
21
|
--pf-c-label-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
|
|
@@ -15,9 +29,6 @@
|
|
|
15
29
|
--pf-c-label-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
16
30
|
|
|
17
31
|
// Label
|
|
18
|
-
--pf-c-label-group__label--MarginRight: var(--pf-global--spacer--sm);
|
|
19
|
-
--pf-c-label-group__label--MarginBottom: 0;
|
|
20
|
-
--pf-c-label-group--m-vertical__label--MarginBottom: var(--pf-global--spacer--sm);
|
|
21
32
|
--pf-c-label-group__label--FontSize: var(--pf-global--FontSize--sm);
|
|
22
33
|
--pf-c-label-group__label--MaxWidth: 18ch;
|
|
23
34
|
|
|
@@ -26,14 +37,9 @@
|
|
|
26
37
|
--pf-c-label-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
27
38
|
--pf-c-label-group--m-vertical__close--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
28
39
|
--pf-c-label-group--m-vertical__close--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);
|
|
29
|
-
--pf-c-label-group--m-vertical__close--MarginLeft: var(--pf-global--spacer--sm);
|
|
30
40
|
--pf-c-label-group--m-vertical__close--c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
31
41
|
--pf-c-label-group--m-vertical__close--c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
32
42
|
|
|
33
|
-
// List item
|
|
34
|
-
--pf-c-label-group__list-item--MarginRight: var(--pf-global--spacer--xs);
|
|
35
|
-
--pf-c-label-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
|
|
36
|
-
|
|
37
43
|
// Textarea
|
|
38
44
|
--pf-c-label-group__textarea--MinWidth: #{pf-size-prem(200px)};
|
|
39
45
|
--pf-c-label-group__textarea--PaddingTop: #{pf-size-prem(2px)};
|
|
@@ -42,6 +48,8 @@
|
|
|
42
48
|
--pf-c-label-group__textarea--PaddingLeft: var(--pf-global--spacer--xs);
|
|
43
49
|
|
|
44
50
|
display: inline-flex;
|
|
51
|
+
row-gap: var(--pf-c-label-group--RowGap);
|
|
52
|
+
column-gap: var(--pf-c-label-group--ColumnGap);
|
|
45
53
|
align-items: center;
|
|
46
54
|
|
|
47
55
|
&.pf-m-category {
|
|
@@ -55,11 +63,12 @@
|
|
|
55
63
|
}
|
|
56
64
|
|
|
57
65
|
&.pf-m-vertical {
|
|
58
|
-
--pf-c-label-
|
|
59
|
-
--pf-c-label-
|
|
60
|
-
--pf-c-label-
|
|
61
|
-
--pf-c-label-
|
|
62
|
-
--pf-c-label-
|
|
66
|
+
--pf-c-label-group--RowGap: var(--pf-c-label-group-m-vertical--RowGap);
|
|
67
|
+
--pf-c-label-group--ColumnGap: var(--pf-c-label-group-m-vertical--ColumnGap);
|
|
68
|
+
--pf-c-label-group__main--RowGap: var(--pf-c-label-group-m-vertical__main--RowGap);
|
|
69
|
+
--pf-c-label-group__main--ColumnGap: var(--pf-c-label-group-m-vertical__main--ColumnGap);
|
|
70
|
+
--pf-c-label-group__list--RowGap: var(--pf-c-label-group-m-vertical__list--RowGap);
|
|
71
|
+
--pf-c-label-group__list--ColumnGap: var(--pf-c-label-group-m-vertical__list--ColumnGap);
|
|
63
72
|
--pf-c-label-group__close--MarginTop: var(--pf-c-label-group--m-vertical__close--MarginTop);
|
|
64
73
|
--pf-c-label-group__close--MarginLeft: var(--pf-c-label-group--m-vertical__close--MarginLeft);
|
|
65
74
|
--pf-c-label-group__close--MarginBottom: 0;
|
|
@@ -79,10 +88,6 @@
|
|
|
79
88
|
flex-direction: column;
|
|
80
89
|
}
|
|
81
90
|
|
|
82
|
-
.pf-c-label-group__list-item:last-child {
|
|
83
|
-
--pf-c-label-group__list-item--MarginBottom: 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
91
|
.pf-c-label-group__close .pf-c-button {
|
|
87
92
|
--pf-c-button--PaddingLeft: var(--pf-c-label-group--m-vertical__close--c-button--PaddingLeft);
|
|
88
93
|
--pf-c-button--PaddingRight: var(--pf-c-label-group--m-vertical__close--c-button--PaddingRight);
|
|
@@ -109,32 +114,32 @@
|
|
|
109
114
|
display: flex;
|
|
110
115
|
flex: 1;
|
|
111
116
|
flex-wrap: wrap;
|
|
117
|
+
row-gap: var(--pf-c-label-group__main--RowGap);
|
|
118
|
+
column-gap: var(--pf-c-label-group__main--ColumnGap);
|
|
112
119
|
align-items: baseline;
|
|
113
120
|
}
|
|
114
121
|
|
|
115
122
|
.pf-c-label-group__list {
|
|
116
123
|
display: inline-flex;
|
|
117
124
|
flex-wrap: wrap;
|
|
118
|
-
|
|
119
|
-
|
|
125
|
+
row-gap: var(--pf-c-label-group__list--RowGap);
|
|
126
|
+
column-gap: var(--pf-c-label-group__list--ColumnGap);
|
|
120
127
|
}
|
|
121
128
|
|
|
122
129
|
.pf-c-label-group__list-item {
|
|
123
130
|
display: inline-flex;
|
|
124
|
-
margin-right: var(--pf-c-label-group__list-item--MarginRight);
|
|
125
|
-
margin-bottom: var(--pf-c-label-group__list-item--MarginBottom);
|
|
126
131
|
}
|
|
127
132
|
|
|
128
133
|
.pf-c-label-group__label {
|
|
129
134
|
@include pf-text-overflow;
|
|
130
135
|
|
|
131
136
|
max-width: var(--pf-c-label-group__label--MaxWidth);
|
|
132
|
-
margin-right: var(--pf-c-label-group__label--MarginRight);
|
|
133
|
-
margin-bottom: var(--pf-c-label-group__label--MarginBottom);
|
|
134
137
|
font-size: var(--pf-c-label-group__label--FontSize);
|
|
135
138
|
}
|
|
136
139
|
|
|
137
140
|
.pf-c-label-group__close {
|
|
141
|
+
display: flex;
|
|
142
|
+
align-self: start;
|
|
138
143
|
margin-top: var(--pf-c-label-group__close--MarginTop);
|
|
139
144
|
margin-right: var(--pf-c-label-group__close--MarginRight);
|
|
140
145
|
margin-bottom: var(--pf-c-label-group__close--MarginBottom);
|
|
@@ -157,10 +157,10 @@
|
|
|
157
157
|
@media (min-width: 1200px) {
|
|
158
158
|
.pf-c-login__container {
|
|
159
159
|
display: grid;
|
|
160
|
-
justify-content: center;
|
|
161
|
-
grid-column-gap: var(--pf-c-login__container--xl--GridColumnGap);
|
|
162
|
-
grid-template-columns: var(--pf-c-login__container--xl--GridTemplateColumns);
|
|
163
160
|
grid-template-areas: "main header" "main footer" "main .";
|
|
161
|
+
grid-template-columns: var(--pf-c-login__container--xl--GridTemplateColumns);
|
|
162
|
+
grid-column-gap: var(--pf-c-login__container--xl--GridColumnGap);
|
|
163
|
+
justify-content: center;
|
|
164
164
|
padding-right: var(--pf-c-login__container--PaddingRight);
|
|
165
165
|
padding-left: var(--pf-c-login__container--PaddingLeft);
|
|
166
166
|
}
|
|
@@ -182,10 +182,10 @@
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
.pf-c-login__main {
|
|
185
|
+
grid-area: main;
|
|
185
186
|
align-self: start;
|
|
186
187
|
margin-bottom: var(--pf-c-login__main--MarginBottom);
|
|
187
188
|
background-color: var(--pf-c-login__main--BackgroundColor);
|
|
188
|
-
grid-area: main;
|
|
189
189
|
}
|
|
190
190
|
.pf-c-login__main > :first-child:not(.pf-c-login__main-header) {
|
|
191
191
|
padding-top: var(--pf-c-login__main-header--PaddingTop);
|
|
@@ -197,8 +197,8 @@
|
|
|
197
197
|
.pf-c-login__main-header {
|
|
198
198
|
display: grid;
|
|
199
199
|
grid-template-columns: 100%;
|
|
200
|
-
column-gap: var(--pf-c-login__main-header--ColumnGap);
|
|
201
200
|
row-gap: var(--pf-c-login__main-header--RowGap);
|
|
201
|
+
column-gap: var(--pf-c-login__main-header--ColumnGap);
|
|
202
202
|
align-items: center;
|
|
203
203
|
padding: var(--pf-c-login__main-header--PaddingTop) var(--pf-c-login__main-header--PaddingRight) var(--pf-c-login__main-header--PaddingBottom) var(--pf-c-login__main-header--PaddingLeft);
|
|
204
204
|
}
|
|
@@ -210,26 +210,26 @@
|
|
|
210
210
|
|
|
211
211
|
.pf-c-login__main-header-utilities,
|
|
212
212
|
.pf-c-login__main-header .pf-c-dropdown {
|
|
213
|
-
grid-column: auto;
|
|
214
213
|
grid-row: auto;
|
|
214
|
+
grid-column: auto;
|
|
215
215
|
}
|
|
216
216
|
@media (min-width: 768px) {
|
|
217
217
|
.pf-c-login__main-header-utilities,
|
|
218
|
-
.pf-c-login__main-header .pf-c-dropdown {
|
|
219
|
-
grid-column: 2/3;
|
|
218
|
+
.pf-c-login__main-header .pf-c-dropdown {
|
|
220
219
|
grid-row: 1;
|
|
220
|
+
grid-column: 2/3;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.pf-c-login__main-header-utilities .pf-c-dropdown {
|
|
225
|
-
grid-column: auto;
|
|
226
225
|
grid-row: auto;
|
|
226
|
+
grid-column: auto;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.pf-c-login__main-header-desc {
|
|
230
|
+
grid-column: 1/-1;
|
|
230
231
|
margin-bottom: var(--pf-c-login__main-header-desc--MarginBottom);
|
|
231
232
|
font-size: var(--pf-c-login__main-header-desc--FontSize);
|
|
232
|
-
grid-column: 1/-1;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
.pf-c-login__main-body {
|
|
@@ -264,11 +264,11 @@
|
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
.pf-c-login__main-footer-links-item-link svg {
|
|
267
|
-
fill: var(--pf-c-login__main-footer-links-item-link-svg--Fill);
|
|
268
267
|
width: 100%;
|
|
269
268
|
max-width: var(--pf-c-login__main-footer-links-item-link-svg--Width);
|
|
270
269
|
height: 100%;
|
|
271
270
|
max-height: var(--pf-c-login__main-footer-links-item-link-svg--Height);
|
|
271
|
+
fill: var(--pf-c-login__main-footer-links-item-link-svg--Fill);
|
|
272
272
|
}
|
|
273
273
|
.pf-c-login__main-footer-links-item-link:hover svg {
|
|
274
274
|
fill: var(--pf-c-login__main-footer-links-item-link-svg--hover--Fill);
|