@patternfly/patternfly 6.0.0-alpha.5 → 6.0.0-alpha.51
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/CODE_OF_CONDUCT.md +1 -2
- package/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +29 -4
- package/base/_globals.scss +5 -7
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -4
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +889 -787
- package/base/tokens/_tokens-dark.scss +322 -265
- package/base/tokens/_tokens-default.scss +428 -306
- package/base/tokens/_tokens-font.scss +41 -46
- package/base/tokens/_tokens-palette.scss +69 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +78 -104
- package/components/AboutModalBox/about-modal-box.scss +62 -74
- package/components/Accordion/accordion.css +96 -175
- package/components/Accordion/accordion.scss +106 -193
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -15
- package/components/BackToTop/back-to-top.scss +14 -13
- package/components/Backdrop/backdrop.css +8 -4
- package/components/Backdrop/backdrop.scss +7 -4
- package/components/BackgroundImage/background-image.css +11 -4
- package/components/BackgroundImage/background-image.scss +13 -4
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +95 -69
- package/components/Banner/banner.scss +100 -34
- package/components/Breadcrumb/breadcrumb.css +28 -19
- package/components/Breadcrumb/breadcrumb.scss +26 -19
- package/components/Button/button.css +401 -358
- package/components/Button/button.scss +459 -486
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +28 -17
- package/components/Card/card.scss +32 -17
- package/components/Check/check.css +25 -22
- package/components/Check/check.scss +26 -24
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +40 -37
- package/components/Content/content.scss +40 -37
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +165 -209
- package/components/DataList/data-list.scss +138 -185
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/Divider/divider.css +97 -177
- package/components/Divider/divider.scss +60 -79
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -62
- package/components/Drawer/drawer.scss +94 -44
- package/components/Dropdown/dropdown.css +76 -69
- package/components/Dropdown/dropdown.scss +67 -62
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +64 -38
- package/components/EmptyState/empty-state.scss +70 -38
- package/components/ExpandableSection/expandable-section.css +75 -66
- package/components/ExpandableSection/expandable-section.scss +82 -80
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +111 -154
- package/components/Form/form.scss +101 -160
- package/components/FormControl/form-control.css +95 -111
- package/components/FormControl/form-control.scss +97 -92
- package/components/HelperText/helper-text.css +29 -35
- package/components/HelperText/helper-text.scss +31 -41
- package/components/Hint/hint.css +37 -27
- package/components/Hint/hint.scss +37 -30
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +9 -9
- package/components/InlineEdit/inline-edit.scss +9 -9
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +273 -498
- package/components/Masthead/masthead.scss +137 -282
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +37 -31
- package/components/MenuToggle/menu-toggle.scss +37 -33
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +249 -898
- package/components/Nav/nav.scss +316 -1071
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +130 -128
- package/components/NotificationDrawer/notification-drawer.scss +130 -129
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +232 -271
- package/components/Page/page.scss +180 -231
- package/components/Pagination/pagination.css +71 -121
- package/components/Pagination/pagination.scss +56 -127
- package/components/Panel/panel.css +40 -30
- package/components/Panel/panel.scss +42 -33
- package/components/Popover/popover.css +108 -87
- package/components/Popover/popover.scss +120 -109
- package/components/Progress/progress.css +40 -52
- package/components/Progress/progress.scss +48 -62
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +30 -23
- package/components/Radio/radio.scss +31 -25
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +45 -56
- package/components/SimpleList/simple-list.scss +51 -55
- package/components/Skeleton/skeleton.css +24 -25
- package/components/Skeleton/skeleton.scss +21 -26
- package/components/SkipToContent/skip-to-content.css +9 -6
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +80 -55
- package/components/Slider/slider.scss +96 -65
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +49 -41
- package/components/Switch/switch.scss +51 -42
- package/components/TabContent/tab-content.css +21 -12
- package/components/TabContent/tab-content.scss +22 -15
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +105 -89
- package/components/Table/table.scss +105 -89
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +57 -43
- package/components/Toolbar/toolbar.scss +45 -25
- package/components/Tooltip/tooltip.css +74 -44
- package/components/Tooltip/tooltip.scss +93 -77
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +13 -0
- package/components/Truncate/truncate.scss +19 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +6 -2
- package/docs/components/Button/examples/Button.md +1425 -87
- package/docs/components/Card/examples/Card.md +143 -37
- package/docs/components/Check/examples/Check.md +71 -58
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +4 -5
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/Label/examples/Label.md +12 -12
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +250 -160
- package/docs/components/Login/examples/Login.md +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +594 -543
- package/docs/components/MenuToggle/examples/MenuToggle.md +109 -96
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -47
- package/docs/components/Nav/examples/Navigation.md +305 -353
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/Radio/examples/Radio.md +62 -54
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +10 -10
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.md +663 -2894
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +103 -30
- package/docs/demos/Alert/examples/Alert.md +327 -84
- package/docs/demos/BackToTop/examples/BackToTop.md +101 -28
- package/docs/demos/Banner/examples/Banner.md +209 -58
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +28 -12
- package/docs/demos/CardView/examples/CardView.md +263 -205
- package/docs/demos/ContextSelector/examples/ContextSelector.md +373 -90
- package/docs/demos/Dashboard/examples/Dashboard.md +104 -31
- package/docs/demos/DataList/examples/DataList.md +995 -928
- package/docs/demos/DescriptionList/examples/DescriptionList.md +303 -84
- package/docs/demos/Drawer/examples/Drawer.md +505 -140
- package/docs/demos/Form/examples/BasicForms.md +131 -80
- package/docs/demos/JumpLinks/examples/JumpLinks.md +606 -168
- package/docs/demos/Masthead/examples/Masthead.md +767 -323
- package/docs/demos/Modal/examples/Modal.md +639 -192
- package/docs/demos/Nav/examples/Nav.md +685 -896
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +510 -140
- package/docs/demos/Page/examples/Page.md +933 -264
- package/docs/demos/Page/examples/Penta.md +569 -501
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1296 -917
- package/docs/demos/Skeleton/examples/Skeleton.md +108 -63
- package/docs/demos/Table/examples/Table.md +3832 -3390
- package/docs/demos/Tabs/examples/Tabs.md +636 -191
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1331 -1493
- package/docs/demos/Wizard/examples/Wizard.md +909 -252
- package/docs/layouts/Flex/examples/Flex.md +16 -16
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +36 -32
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +923 -799
- package/patternfly-base-no-globals.css +923 -799
- package/patternfly-base-theme-dark-unversioned.css +928 -803
- package/patternfly-base.css +928 -803
- package/patternfly-no-globals.css +6119 -6639
- package/patternfly-theme-dark-unversioned.css +6128 -6647
- package/patternfly.css +6128 -6647
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Button/themes/dark/button.scss +0 -51
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/docs/components/Avatar/examples/Avatar.css +0 -3
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
package/components/Chip/chip.css
CHANGED
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
--pf-v5-c-chip__content--ColumnGap: var(--pf-v5-global--spacer--xs);
|
|
29
29
|
--pf-v5-c-chip__text--Color: var(--pf-v5-global--Color--100);
|
|
30
30
|
--pf-v5-c-chip__text--MaxWidth: 16ch;
|
|
31
|
+
--pf-v5-c-chip__c-badge--MarginLeft: var(--pf-v5-global--spacer--xs);
|
|
31
32
|
--pf-v5-c-chip__actions--FontSize: var(--pf-v5-global--FontSize--xs);
|
|
32
33
|
--pf-v5-c-chip__actions--c-button--PaddingTop: var(--pf-v5-global--spacer--xs);
|
|
33
34
|
--pf-v5-c-chip__actions--c-button--PaddingRight: var(--pf-v5-global--spacer--sm);
|
|
@@ -43,17 +44,20 @@
|
|
|
43
44
|
display: inline-flex;
|
|
44
45
|
align-items: center;
|
|
45
46
|
min-width: 0;
|
|
46
|
-
padding: var(--pf-v5-c-chip--PaddingTop)
|
|
47
|
+
padding-block-start: var(--pf-v5-c-chip--PaddingTop);
|
|
48
|
+
padding-block-end: var(--pf-v5-c-chip--PaddingBottom);
|
|
49
|
+
padding-inline-start: var(--pf-v5-c-chip--PaddingLeft);
|
|
50
|
+
padding-inline-end: var(--pf-v5-c-chip--PaddingRight);
|
|
47
51
|
list-style: none;
|
|
48
52
|
background-color: var(--pf-v5-c-chip--BackgroundColor);
|
|
49
53
|
border-radius: var(--pf-v5-c-chip--BorderRadius);
|
|
50
54
|
}
|
|
51
55
|
.pf-v5-c-chip::before {
|
|
52
56
|
position: absolute;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
inset-block-start: 0;
|
|
58
|
+
inset-block-end: 0;
|
|
59
|
+
inset-inline-start: 0;
|
|
60
|
+
inset-inline-end: 0;
|
|
57
61
|
content: "";
|
|
58
62
|
border: var(--pf-v5-c-chip--before--BorderWidth) solid var(--pf-v5-c-chip--before--BorderColor);
|
|
59
63
|
border-radius: var(--pf-v5-c-chip--before--BorderRadius);
|
|
@@ -80,10 +84,13 @@
|
|
|
80
84
|
max-width: var(--pf-v5-c-chip__text--MaxWidth);
|
|
81
85
|
color: var(--pf-v5-c-chip__text--Color);
|
|
82
86
|
}
|
|
87
|
+
.pf-v5-c-chip__text .pf-v5-c-badge {
|
|
88
|
+
margin-inline-start: var(--pf-v5-c-chip__c-badge--MarginLeft);
|
|
89
|
+
}
|
|
83
90
|
|
|
84
91
|
.pf-v5-c-chip__icon + .pf-v5-c-chip__text,
|
|
85
92
|
.pf-v5-c-chip__text + .pf-v5-c-chip__icon {
|
|
86
|
-
margin-
|
|
93
|
+
margin-inline-start: var(--pf-v5-c-chip__icon--MarginLeft);
|
|
87
94
|
}
|
|
88
95
|
|
|
89
96
|
.pf-v5-c-chip__content {
|
|
@@ -102,9 +109,9 @@
|
|
|
102
109
|
--pf-v5-c-button--PaddingBottom: var(--pf-v5-c-chip__actions--c-button--PaddingBottom);
|
|
103
110
|
--pf-v5-c-button--PaddingLeft: var(--pf-v5-c-chip__actions--c-button--PaddingLeft);
|
|
104
111
|
--pf-v5-c-button--FontSize: var(--pf-v5-c-chip__actions--c-button--FontSize);
|
|
105
|
-
margin-
|
|
106
|
-
margin-
|
|
107
|
-
margin-
|
|
112
|
+
margin-block-start: var(--pf-v5-c-chip__actions--c-button--MarginTop);
|
|
113
|
+
margin-block-end: var(--pf-v5-c-chip__actions--c-button--MarginBottom);
|
|
114
|
+
margin-inline-end: var(--pf-v5-c-chip__actions--c-button--MarginRight);
|
|
108
115
|
line-height: 1;
|
|
109
116
|
}
|
|
110
117
|
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
// chip text
|
|
27
27
|
--#{$chip}__text--Color: var(--#{$pf-global}--Color--100);
|
|
28
28
|
--#{$chip}__text--MaxWidth: 16ch;
|
|
29
|
+
--#{$chip}__c-badge--MarginLeft: var(--#{$pf-global}--spacer--xs);
|
|
29
30
|
|
|
30
31
|
// chip actions
|
|
31
32
|
--#{$chip}__actions--FontSize: var(--#{$pf-global}--FontSize--xs);
|
|
@@ -49,17 +50,20 @@
|
|
|
49
50
|
display: inline-flex;
|
|
50
51
|
align-items: center;
|
|
51
52
|
min-width: 0;
|
|
52
|
-
padding: var(--#{$chip}--PaddingTop)
|
|
53
|
+
padding-block-start: var(--#{$chip}--PaddingTop);
|
|
54
|
+
padding-block-end: var(--#{$chip}--PaddingBottom);
|
|
55
|
+
padding-inline-start: var(--#{$chip}--PaddingLeft);
|
|
56
|
+
padding-inline-end: var(--#{$chip}--PaddingRight);
|
|
53
57
|
list-style: none;
|
|
54
58
|
background-color: var(--#{$chip}--BackgroundColor);
|
|
55
59
|
border-radius: var(--#{$chip}--BorderRadius);
|
|
56
60
|
|
|
57
61
|
&::before {
|
|
58
62
|
position: absolute;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
inset-block-start: 0;
|
|
64
|
+
inset-block-end: 0;
|
|
65
|
+
inset-inline-start: 0;
|
|
66
|
+
inset-inline-end: 0;
|
|
63
67
|
content: "";
|
|
64
68
|
border: var(--#{$chip}--before--BorderWidth) solid var(--#{$chip}--before--BorderColor);
|
|
65
69
|
border-radius: var(--#{$chip}--before--BorderRadius);
|
|
@@ -92,11 +96,15 @@
|
|
|
92
96
|
position: relative;
|
|
93
97
|
max-width: var(--#{$chip}__text--MaxWidth);
|
|
94
98
|
color: var(--#{$chip}__text--Color);
|
|
99
|
+
|
|
100
|
+
.#{$badge} {
|
|
101
|
+
margin-inline-start: var(--#{$chip}__c-badge--MarginLeft); // remove in breaking change
|
|
102
|
+
}
|
|
95
103
|
}
|
|
96
104
|
|
|
97
105
|
.#{$chip}__icon + .#{$chip}__text,
|
|
98
106
|
.#{$chip}__text + .#{$chip}__icon {
|
|
99
|
-
margin-
|
|
107
|
+
margin-inline-start: var(--#{$chip}__icon--MarginLeft);
|
|
100
108
|
}
|
|
101
109
|
|
|
102
110
|
.#{$chip}__content {
|
|
@@ -117,9 +125,9 @@
|
|
|
117
125
|
--#{$button}--PaddingLeft: var(--#{$chip}__actions--c-button--PaddingLeft);
|
|
118
126
|
--#{$button}--FontSize: var(--#{$chip}__actions--c-button--FontSize);
|
|
119
127
|
|
|
120
|
-
margin-
|
|
121
|
-
margin-
|
|
122
|
-
margin-
|
|
128
|
+
margin-block-start: var(--#{$chip}__actions--c-button--MarginTop);
|
|
129
|
+
margin-block-end: var(--#{$chip}__actions--c-button--MarginBottom);
|
|
130
|
+
margin-inline-end: var(--#{$chip}__actions--c-button--MarginRight);
|
|
123
131
|
line-height: 1;
|
|
124
132
|
}
|
|
125
133
|
}
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
}
|
|
31
31
|
.pf-v5-c-clipboard-copy.pf-m-inline {
|
|
32
32
|
display: inline;
|
|
33
|
-
padding-
|
|
34
|
-
padding-
|
|
35
|
-
padding-
|
|
33
|
+
padding-block-start: var(--pf-v5-c-clipboard-copy--m-inline--PaddingTop);
|
|
34
|
+
padding-block-end: var(--pf-v5-c-clipboard-copy--m-inline--PaddingBottom);
|
|
35
|
+
padding-inline-start: var(--pf-v5-c-clipboard-copy--m-inline--PaddingLeft);
|
|
36
36
|
white-space: nowrap;
|
|
37
37
|
background-color: var(--pf-v5-c-clipboard-copy--m-inline--BackgroundColor);
|
|
38
38
|
}
|
|
@@ -44,20 +44,29 @@
|
|
|
44
44
|
display: flex;
|
|
45
45
|
}
|
|
46
46
|
.pf-v5-c-clipboard-copy__group > * + * {
|
|
47
|
-
margin-
|
|
47
|
+
margin-inline-start: -1px;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.pf-v5-c-clipboard-copy__toggle-icon {
|
|
51
51
|
transition: var(--pf-v5-c-clipboard-copy__toggle-icon--Transition);
|
|
52
52
|
}
|
|
53
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-clipboard-copy__toggle-icon {
|
|
54
|
+
scale: -1 1;
|
|
55
|
+
}
|
|
53
56
|
|
|
54
57
|
.pf-v5-c-clipboard-copy__expandable-content {
|
|
55
|
-
padding: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingTop)
|
|
58
|
+
padding-block-start: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingTop);
|
|
59
|
+
padding-block-end: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingBottom);
|
|
60
|
+
padding-inline-start: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingLeft);
|
|
61
|
+
padding-inline-end: var(--pf-v5-c-clipboard-copy__expandable-content--PaddingRight);
|
|
56
62
|
word-wrap: break-word;
|
|
57
63
|
background-color: var(--pf-v5-c-clipboard-copy__expandable-content--BackgroundColor);
|
|
58
64
|
background-clip: padding-box;
|
|
59
65
|
border: solid var(--pf-v5-c-clipboard-copy__expandable-content--BorderColor);
|
|
60
|
-
border-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderTopWidth)
|
|
66
|
+
border-block-start-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderTopWidth);
|
|
67
|
+
border-block-end-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderBottomWidth);
|
|
68
|
+
border-inline-start-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderLeftWidth);
|
|
69
|
+
border-inline-end-width: var(--pf-v5-c-clipboard-copy__expandable-content--BorderRightWidth);
|
|
61
70
|
box-shadow: var(--pf-v5-c-clipboard-copy__expandable-content--BoxShadow);
|
|
62
71
|
}
|
|
63
72
|
.pf-v5-c-clipboard-copy__expandable-content pre {
|
|
@@ -78,8 +87,8 @@
|
|
|
78
87
|
}
|
|
79
88
|
|
|
80
89
|
.pf-v5-c-clipboard-copy__actions-item {
|
|
81
|
-
margin-
|
|
82
|
-
margin-
|
|
90
|
+
margin-block-start: calc(-1 * var(--pf-v5-c-clipboard-copy__actions-item--button--PaddingTop));
|
|
91
|
+
margin-block-end: calc(-1 * var(--pf-v5-c-clipboard-copy__actions-item--button--PaddingBottom));
|
|
83
92
|
}
|
|
84
93
|
.pf-v5-c-clipboard-copy__actions-item .pf-v5-c-button {
|
|
85
94
|
--pf-v5-c-button--PaddingTop: var(--pf-v5-c-clipboard-copy__actions-item--button--PaddingTop);
|
|
@@ -92,8 +101,8 @@
|
|
|
92
101
|
--pf-v5-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
93
102
|
}
|
|
94
103
|
:where(.pf-v5-theme-dark) .pf-v5-c-clipboard-copy__group > * + * {
|
|
95
|
-
margin-
|
|
96
|
-
border-
|
|
104
|
+
margin-inline-start: 0;
|
|
105
|
+
border-inline-start: 1px solid var(--pf-v5-global--palette--black-700) !important;
|
|
97
106
|
}
|
|
98
107
|
:where(.pf-v5-theme-dark) .pf-v5-c-clipboard-copy__expandable-content {
|
|
99
108
|
border: 0;
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
|
|
46
46
|
&.pf-m-inline {
|
|
47
47
|
display: inline;
|
|
48
|
-
padding-
|
|
49
|
-
padding-
|
|
50
|
-
padding-
|
|
48
|
+
padding-block-start: var(--#{$clipboard-copy}--m-inline--PaddingTop);
|
|
49
|
+
padding-block-end: var(--#{$clipboard-copy}--m-inline--PaddingBottom);
|
|
50
|
+
padding-inline-start: var(--#{$clipboard-copy}--m-inline--PaddingLeft);
|
|
51
51
|
white-space: nowrap;
|
|
52
52
|
background-color: var(--#{$clipboard-copy}--m-inline--BackgroundColor);
|
|
53
53
|
|
|
@@ -61,21 +61,29 @@
|
|
|
61
61
|
display: flex;
|
|
62
62
|
|
|
63
63
|
> * + * {
|
|
64
|
-
margin-
|
|
64
|
+
margin-inline-start: -1px;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.#{$clipboard-copy}__toggle-icon {
|
|
69
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
70
|
+
|
|
69
71
|
transition: var(--#{$clipboard-copy}__toggle-icon--Transition);
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
.#{$clipboard-copy}__expandable-content {
|
|
73
|
-
padding: var(--#{$clipboard-copy}__expandable-content--PaddingTop)
|
|
75
|
+
padding-block-start: var(--#{$clipboard-copy}__expandable-content--PaddingTop);
|
|
76
|
+
padding-block-end: var(--#{$clipboard-copy}__expandable-content--PaddingBottom);
|
|
77
|
+
padding-inline-start: var(--#{$clipboard-copy}__expandable-content--PaddingLeft);
|
|
78
|
+
padding-inline-end: var(--#{$clipboard-copy}__expandable-content--PaddingRight);
|
|
74
79
|
word-wrap: break-word;
|
|
75
80
|
background-color: var(--#{$clipboard-copy}__expandable-content--BackgroundColor);
|
|
76
81
|
background-clip: padding-box;
|
|
77
82
|
border: solid var(--#{$clipboard-copy}__expandable-content--BorderColor);
|
|
78
|
-
border-width: var(--#{$clipboard-copy}__expandable-content--BorderTopWidth)
|
|
83
|
+
border-block-start-width: var(--#{$clipboard-copy}__expandable-content--BorderTopWidth);
|
|
84
|
+
border-block-end-width: var(--#{$clipboard-copy}__expandable-content--BorderBottomWidth);
|
|
85
|
+
border-inline-start-width: var(--#{$clipboard-copy}__expandable-content--BorderLeftWidth);
|
|
86
|
+
border-inline-end-width: var(--#{$clipboard-copy}__expandable-content--BorderRightWidth);
|
|
79
87
|
box-shadow: var(--#{$clipboard-copy}__expandable-content--BoxShadow);
|
|
80
88
|
|
|
81
89
|
pre {
|
|
@@ -98,8 +106,8 @@
|
|
|
98
106
|
}
|
|
99
107
|
|
|
100
108
|
.#{$clipboard-copy}__actions-item {
|
|
101
|
-
margin-
|
|
102
|
-
margin-
|
|
109
|
+
margin-block-start: calc(-1 * var(--#{$clipboard-copy}__actions-item--button--PaddingTop));
|
|
110
|
+
margin-block-end: calc(-1 * var(--#{$clipboard-copy}__actions-item--button--PaddingBottom));
|
|
103
111
|
|
|
104
112
|
.#{$button} {
|
|
105
113
|
--#{$button}--PaddingTop: var(--#{$clipboard-copy}__actions-item--button--PaddingTop);
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
.#{$clipboard-copy}__group {
|
|
9
9
|
> * + * {
|
|
10
|
-
margin-
|
|
10
|
+
margin-inline-start: 0;
|
|
11
11
|
// stylelint-disable-next-line
|
|
12
|
-
border-
|
|
12
|
+
border-inline-start: 1px solid var(--#{$pf-global}--palette--black-700) !important;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -13,16 +13,19 @@
|
|
|
13
13
|
|
|
14
14
|
.pf-v5-c-code-block__header {
|
|
15
15
|
display: flex;
|
|
16
|
-
border-
|
|
16
|
+
border-block-end: var(--pf-v5-c-code-block__header--BorderBottomWidth) solid var(--pf-v5-c-code-block__header--BorderBottomColor);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.pf-v5-c-code-block__actions {
|
|
20
20
|
display: flex;
|
|
21
|
-
margin-
|
|
21
|
+
margin-inline-start: auto;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.pf-v5-c-code-block__content {
|
|
25
|
-
padding: var(--pf-v5-c-code-block__content--PaddingTop)
|
|
25
|
+
padding-block-start: var(--pf-v5-c-code-block__content--PaddingTop);
|
|
26
|
+
padding-block-end: var(--pf-v5-c-code-block__content--PaddingBottom);
|
|
27
|
+
padding-inline-start: var(--pf-v5-c-code-block__content--PaddingLeft);
|
|
28
|
+
padding-inline-end: var(--pf-v5-c-code-block__content--PaddingRight);
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
.pf-v5-c-code-block__pre {
|
|
@@ -16,16 +16,19 @@
|
|
|
16
16
|
|
|
17
17
|
.#{$code-block}__header {
|
|
18
18
|
display: flex;
|
|
19
|
-
border-
|
|
19
|
+
border-block-end: var(--#{$code-block}__header--BorderBottomWidth) solid var(--#{$code-block}__header--BorderBottomColor);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.#{$code-block}__actions {
|
|
23
23
|
display: flex;
|
|
24
|
-
margin-
|
|
24
|
+
margin-inline-start: auto;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.#{$code-block}__content {
|
|
28
|
-
padding
|
|
28
|
+
padding-block-start: var(--#{$code-block}__content--PaddingTop);
|
|
29
|
+
padding-block-end: var(--#{$code-block}__content--PaddingBottom);
|
|
30
|
+
padding-inline-start: var(--#{$code-block}__content--PaddingLeft);
|
|
31
|
+
padding-inline-end: var(--#{$code-block}__content--PaddingRight);
|
|
29
32
|
}
|
|
30
33
|
|
|
31
34
|
.#{$code-block}__pre {
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
}
|
|
46
46
|
.pf-v5-c-code-editor__header::before {
|
|
47
47
|
position: absolute;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
inset-block-end: 0;
|
|
49
|
+
inset-inline-start: 0;
|
|
50
|
+
inset-inline-end: 0;
|
|
51
51
|
pointer-events: none;
|
|
52
52
|
content: "";
|
|
53
|
-
border-
|
|
53
|
+
border-block-end: var(--pf-v5-c-code-editor__header--before--BorderBottomWidth) solid var(--pf-v5-c-code-editor__header--before--BorderBottomColor);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.pf-v5-c-code-editor__controls {
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
--pf-v5-c-code-editor__controls--c-button--m-control--Color: var(--pf-v5-c-code-editor__controls--c-button--m-control--focus--Color);
|
|
67
67
|
}
|
|
68
68
|
.pf-v5-c-code-editor__controls .pf-v5-c-button.pf-m-control:disabled::after {
|
|
69
|
-
border-
|
|
69
|
+
border-block-end-color: var(--pf-v5-c-code-editor__controls--c-button--m-control--disabled--after--BorderBottomColor);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.pf-v5-c-code-editor__header-main {
|
|
73
73
|
flex-grow: 1;
|
|
74
|
-
padding-
|
|
75
|
-
padding-
|
|
74
|
+
padding-inline-start: var(--pf-v5-c-code-editor__header-main--PaddingLeft);
|
|
75
|
+
padding-inline-end: var(--pf-v5-c-code-editor__header-main--PaddingRight);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.pf-v5-c-code-editor__main {
|
|
@@ -84,20 +84,20 @@
|
|
|
84
84
|
}
|
|
85
85
|
.pf-v5-c-code-editor__main.pf-m-drag-hover::after {
|
|
86
86
|
position: absolute;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
inset-block-start: 0;
|
|
88
|
+
inset-block-end: 0;
|
|
89
|
+
inset-inline-start: 0;
|
|
90
|
+
inset-inline-end: 0;
|
|
91
91
|
content: "";
|
|
92
92
|
background-color: var(--pf-v5-c-code-editor__main--m-drag-hover--after--BackgroundColor);
|
|
93
93
|
opacity: var(--pf-v5-c-code-editor__main--m-drag-hover--after--Opacity);
|
|
94
94
|
}
|
|
95
95
|
.pf-v5-c-code-editor__main.pf-m-drag-hover::before {
|
|
96
96
|
position: absolute;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
inset-block-start: 0;
|
|
98
|
+
inset-block-end: 0;
|
|
99
|
+
inset-inline-start: 0;
|
|
100
|
+
inset-inline-end: 0;
|
|
101
101
|
content: "";
|
|
102
102
|
border: var(--pf-v5-c-code-editor__main--m-drag-hover--before--BorderWidth) solid var(--pf-v5-c-code-editor__main--m-drag-hover--before--BorderColor);
|
|
103
103
|
}
|
|
@@ -106,12 +106,15 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.pf-v5-c-code-editor__header + .pf-v5-c-code-editor__main {
|
|
109
|
-
border-
|
|
109
|
+
border-block-start-width: 0;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.pf-v5-c-code-editor__code {
|
|
113
113
|
position: relative;
|
|
114
|
-
padding: var(--pf-v5-c-code-editor__code--PaddingTop)
|
|
114
|
+
padding-block-start: var(--pf-v5-c-code-editor__code--PaddingTop);
|
|
115
|
+
padding-block-end: var(--pf-v5-c-code-editor__code--PaddingBottom);
|
|
116
|
+
padding-inline-start: var(--pf-v5-c-code-editor__code--PaddingLeft);
|
|
117
|
+
padding-inline-end: var(--pf-v5-c-code-editor__code--PaddingRight);
|
|
115
118
|
}
|
|
116
119
|
.pf-v5-c-code-editor__code .pf-v5-c-code-editor__code-pre {
|
|
117
120
|
font-family: var(--pf-v5-c-code-editor__code-pre--FontFamily);
|
|
@@ -123,17 +126,23 @@
|
|
|
123
126
|
position: relative;
|
|
124
127
|
display: flex;
|
|
125
128
|
align-items: center;
|
|
126
|
-
padding: var(--pf-v5-c-code-editor__tab--PaddingTop)
|
|
127
|
-
|
|
129
|
+
padding-block-start: var(--pf-v5-c-code-editor__tab--PaddingTop);
|
|
130
|
+
padding-block-end: var(--pf-v5-c-code-editor__tab--PaddingBottom);
|
|
131
|
+
padding-inline-start: var(--pf-v5-c-code-editor__tab--PaddingLeft);
|
|
132
|
+
padding-inline-end: var(--pf-v5-c-code-editor__tab--PaddingRight);
|
|
133
|
+
margin-inline-start: auto;
|
|
128
134
|
color: var(--pf-v5-c-code-editor__tab--Color);
|
|
129
135
|
background-color: var(--pf-v5-c-code-editor__tab--BackgroundColor);
|
|
130
136
|
border-color: var(--pf-v5-c-code-editor__tab--BorderColor);
|
|
131
137
|
border-style: solid;
|
|
132
|
-
border-width: var(--pf-v5-c-code-editor__tab--BorderTopWidth)
|
|
138
|
+
border-block-start-width: var(--pf-v5-c-code-editor__tab--BorderTopWidth);
|
|
139
|
+
border-block-end-width: var(--pf-v5-c-code-editor__tab--BorderBottomWidth);
|
|
140
|
+
border-inline-start-width: var(--pf-v5-c-code-editor__tab--BorderLeftWidth);
|
|
141
|
+
border-inline-end-width: var(--pf-v5-c-code-editor__tab--BorderRightWidth);
|
|
133
142
|
}
|
|
134
143
|
|
|
135
144
|
.pf-v5-c-code-editor__tab-icon + .pf-v5-c-code-editor__tab-text {
|
|
136
|
-
margin-
|
|
145
|
+
margin-inline-start: var(--pf-v5-c-code-editor__tab-icon--text--MarginLeft);
|
|
137
146
|
}
|
|
138
147
|
|
|
139
148
|
:where(.pf-v5-theme-dark) .pf-v5-c-code-editor {
|
|
@@ -141,5 +150,5 @@
|
|
|
141
150
|
--pf-v5-c-code-editor--m-read-only__main--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
|
142
151
|
}
|
|
143
152
|
:where(.pf-v5-theme-dark) .pf-v5-c-code-editor__controls > * + * {
|
|
144
|
-
border-
|
|
153
|
+
border-inline-start: 1px solid var(--pf-v5-global--palette--black-700);
|
|
145
154
|
}
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
|
|
62
62
|
&::before {
|
|
63
63
|
position: absolute;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
inset-block-end: 0;
|
|
65
|
+
inset-inline-start: 0;
|
|
66
|
+
inset-inline-end: 0;
|
|
67
67
|
pointer-events: none;
|
|
68
68
|
content: "";
|
|
69
|
-
border-
|
|
69
|
+
border-block-end: var(--#{$code-editor}__header--before--BorderBottomWidth) solid var(--#{$code-editor}__header--before--BorderBottomColor);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
|
|
87
87
|
&:disabled {
|
|
88
88
|
&::after {
|
|
89
|
-
border-
|
|
89
|
+
border-block-end-color: var(--#{$code-editor}__controls--c-button--m-control--disabled--after--BorderBottomColor);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
|
|
95
95
|
.#{$code-editor}__header-main {
|
|
96
96
|
flex-grow: 1;
|
|
97
|
-
padding-
|
|
98
|
-
padding-
|
|
97
|
+
padding-inline-start: var(--#{$code-editor}__header-main--PaddingLeft);
|
|
98
|
+
padding-inline-end: var(--#{$code-editor}__header-main--PaddingRight);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.#{$code-editor}__main {
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
&.pf-m-drag-hover {
|
|
109
109
|
&::after {
|
|
110
110
|
position: absolute;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
111
|
+
inset-block-start: 0;
|
|
112
|
+
inset-block-end: 0;
|
|
113
|
+
inset-inline-start: 0;
|
|
114
|
+
inset-inline-end: 0;
|
|
115
115
|
content: "";
|
|
116
116
|
background-color: var(--#{$code-editor}__main--m-drag-hover--after--BackgroundColor);
|
|
117
117
|
opacity: var(--#{$code-editor}__main--m-drag-hover--after--Opacity);
|
|
@@ -119,10 +119,10 @@
|
|
|
119
119
|
|
|
120
120
|
&::before {
|
|
121
121
|
position: absolute;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
inset-block-start: 0;
|
|
123
|
+
inset-block-end: 0;
|
|
124
|
+
inset-inline-start: 0;
|
|
125
|
+
inset-inline-end: 0;
|
|
126
126
|
content: "";
|
|
127
127
|
border: var(--#{$code-editor}__main--m-drag-hover--before--BorderWidth) solid var(--#{$code-editor}__main--m-drag-hover--before--BorderColor);
|
|
128
128
|
}
|
|
@@ -136,12 +136,15 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.#{$code-editor}__header + .#{$code-editor}__main {
|
|
139
|
-
border-
|
|
139
|
+
border-block-start-width: 0;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.#{$code-editor}__code {
|
|
143
143
|
position: relative;
|
|
144
|
-
padding: var(--#{$code-editor}__code--PaddingTop)
|
|
144
|
+
padding-block-start: var(--#{$code-editor}__code--PaddingTop);
|
|
145
|
+
padding-block-end: var(--#{$code-editor}__code--PaddingBottom);
|
|
146
|
+
padding-inline-start: var(--#{$code-editor}__code--PaddingLeft);
|
|
147
|
+
padding-inline-end: var(--#{$code-editor}__code--PaddingRight);
|
|
145
148
|
|
|
146
149
|
.#{$code-editor}__code-pre {
|
|
147
150
|
font-family: var(--#{$code-editor}__code-pre--FontFamily);
|
|
@@ -154,17 +157,23 @@
|
|
|
154
157
|
position: relative;
|
|
155
158
|
display: flex;
|
|
156
159
|
align-items: center;
|
|
157
|
-
padding: var(--#{$code-editor}__tab--PaddingTop)
|
|
158
|
-
|
|
160
|
+
padding-block-start: var(--#{$code-editor}__tab--PaddingTop);
|
|
161
|
+
padding-block-end: var(--#{$code-editor}__tab--PaddingBottom);
|
|
162
|
+
padding-inline-start: var(--#{$code-editor}__tab--PaddingLeft);
|
|
163
|
+
padding-inline-end: var(--#{$code-editor}__tab--PaddingRight);
|
|
164
|
+
margin-inline-start: auto; // remove at breaking change
|
|
159
165
|
color: var(--#{$code-editor}__tab--Color);
|
|
160
166
|
background-color: var(--#{$code-editor}__tab--BackgroundColor);
|
|
161
167
|
border-color: var(--#{$code-editor}__tab--BorderColor);
|
|
162
168
|
border-style: solid;
|
|
163
|
-
border-width: var(--#{$code-editor}__tab--BorderTopWidth)
|
|
169
|
+
border-block-start-width: var(--#{$code-editor}__tab--BorderTopWidth);
|
|
170
|
+
border-block-end-width: var(--#{$code-editor}__tab--BorderBottomWidth);
|
|
171
|
+
border-inline-start-width: var(--#{$code-editor}__tab--BorderLeftWidth);
|
|
172
|
+
border-inline-end-width: var(--#{$code-editor}__tab--BorderRightWidth);
|
|
164
173
|
}
|
|
165
174
|
|
|
166
175
|
.#{$code-editor}__tab-icon + .#{$code-editor}__tab-text {
|
|
167
|
-
margin-
|
|
176
|
+
margin-inline-start: var(--#{$code-editor}__tab-icon--text--MarginLeft);
|
|
168
177
|
}
|
|
169
178
|
|
|
170
179
|
// stylelint-disable no-invalid-position-at-import-rule
|