@patternfly/patternfly 6.0.0-alpha.98 → 6.0.0-alpha.99
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/components/Card/card.css +1 -0
- package/components/Card/card.scss +1 -0
- package/components/Check/check.css +10 -3
- package/components/Check/check.scss +17 -4
- package/components/Masthead/masthead.css +17 -9
- package/components/Masthead/masthead.scss +18 -9
- package/components/MenuToggle/menu-toggle.css +4 -4
- package/components/MenuToggle/menu-toggle.scss +4 -4
- package/components/ModalBox/modal-box.css +11 -7
- package/components/ModalBox/modal-box.scss +27 -12
- package/components/Nav/nav.css +64 -110
- package/components/Nav/nav.scss +70 -143
- package/components/Page/page.css +9 -17
- package/components/Page/page.scss +10 -23
- package/components/Radio/radio.css +12 -5
- package/components/Radio/radio.scss +21 -6
- package/components/Table/table-grid.css +30 -35
- package/components/Table/table-grid.scss +44 -32
- package/components/Table/table-scrollable.css +14 -6
- package/components/Table/table-scrollable.scss +6 -1
- package/components/Table/table-tree-view.css +5 -5
- package/components/Table/table-tree-view.scss +14 -8
- package/components/Table/table.css +90 -254
- package/components/Table/table.scss +158 -347
- package/components/Toolbar/toolbar.css +66 -2
- package/components/Toolbar/toolbar.scss +21 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
- package/docs/components/Accordion/examples/Accordion.md +19 -19
- package/docs/components/ActionList/examples/ActionList.md +5 -5
- package/docs/components/Alert/examples/Alert.md +26 -26
- package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
- package/docs/components/Avatar/examples/Avatar.md +8 -8
- package/docs/components/BackToTop/examples/BackToTop.md +3 -3
- package/docs/components/Backdrop/examples/Backdrop.md +3 -3
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +6 -6
- package/docs/components/Banner/examples/Banner.md +17 -17
- package/docs/components/Brand/examples/Brand.css +3 -3
- package/docs/components/Brand/examples/Brand.md +7 -7
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
- package/docs/components/Card/examples/Card.md +30 -30
- package/docs/components/Check/examples/Check.md +12 -12
- package/docs/components/Chip/examples/Chip.md +21 -21
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
- package/docs/components/DataList/examples/DataList.md +177 -112
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
- package/docs/components/Divider/examples/Divider.md +7 -7
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +36 -36
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
- package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
- package/docs/components/EmptyState/examples/EmptyState.md +21 -21
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +52 -52
- package/docs/components/FormControl/examples/FormControl.md +22 -22
- package/docs/components/HelperText/examples/HelperText.md +11 -11
- package/docs/components/Hint/examples/Hint.md +6 -6
- package/docs/components/Icon/examples/Icon.md +13 -13
- package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
- package/docs/components/Label/examples/Label.css +4 -4
- package/docs/components/Label/examples/Label.md +45 -45
- package/docs/components/List/examples/List.md +6 -6
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +45 -165
- package/docs/components/Login/examples/Login.md +21 -21
- package/docs/components/Masthead/examples/masthead.md +7 -7
- package/docs/components/Menu/examples/Menu.md +60 -60
- package/docs/components/MenuToggle/examples/MenuToggle.md +34 -106
- package/docs/components/ModalBox/examples/ModalBox.md +75 -34
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
- package/docs/components/Nav/examples/Navigation.css +20 -3
- package/docs/components/Nav/examples/Navigation.md +44 -50
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
- package/docs/components/NumberInput/examples/NumberInput.md +13 -13
- package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
- package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
- package/docs/components/Page/deprecated/PageHeader.md +30 -30
- package/docs/components/Page/examples/Page.md +55 -54
- package/docs/components/Pagination/examples/Pagination.md +25 -25
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +30 -30
- package/docs/components/Progress/examples/Progress.md +31 -31
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
- package/docs/components/Radio/examples/Radio.md +9 -9
- package/docs/components/Select/deprecated/Select.md +110 -110
- package/docs/components/Sidebar/examples/Sidebar.md +16 -16
- package/docs/components/SimpleList/examples/SimpleList.md +9 -9
- package/docs/components/Skeleton/examples/Skeleton.md +14 -14
- package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
- package/docs/components/Slider/examples/Slider.md +33 -33
- package/docs/components/Spinner/examples/Spinner.md +14 -14
- package/docs/components/Switch/examples/Switch.md +14 -14
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +5395 -15077
- package/docs/components/Tabs/examples/Tabs.md +39 -39
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
- package/docs/components/Tile/examples/Tile.md +12 -12
- package/docs/components/Timestamp/examples/Timestamp.md +4 -4
- package/docs/components/Title/examples/Title.md +20 -20
- package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
- package/docs/components/Toolbar/examples/Toolbar.md +68 -200
- package/docs/components/Tooltip/examples/Tooltip.md +9 -9
- package/docs/components/TreeView/examples/TreeView.md +31 -31
- package/docs/components/Truncate/examples/Truncate.md +8 -8
- package/docs/components/Wizard/examples/Wizard.md +46 -46
- package/docs/demos/AboutModal/examples/AboutModal.md +4 -52
- package/docs/demos/Alert/examples/Alert.md +12 -156
- package/docs/demos/BackToTop/examples/BackToTop.md +4 -52
- package/docs/demos/Banner/examples/Banner.md +9 -105
- package/docs/demos/Card/examples/Card.md +12 -19
- package/docs/demos/CardView/examples/CardView.md +5 -65
- package/docs/demos/ContextSelector/examples/ContextSelector.md +12 -156
- package/docs/demos/Dashboard/examples/Dashboard.md +4 -52
- package/docs/demos/DataList/examples/DataList.md +200 -553
- package/docs/demos/DescriptionList/examples/DescriptionList.md +18 -156
- package/docs/demos/Drawer/examples/Drawer.md +20 -260
- package/docs/demos/JumpLinks/examples/JumpLinks.md +24 -312
- package/docs/demos/Masthead/examples/Masthead.md +23 -255
- package/docs/demos/Modal/examples/Modal.md +24 -312
- package/docs/demos/Nav/examples/Nav.md +69 -461
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +20 -260
- package/docs/demos/Page/examples/Page.md +39 -505
- package/docs/demos/Page/examples/Penta.md +120 -53
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +35 -455
- package/docs/demos/Skeleton/examples/Skeleton.md +4 -52
- package/docs/demos/Table/examples/Table.md +1598 -6045
- package/docs/demos/Tabs/examples/Tabs.md +143 -499
- package/docs/demos/Toolbar/examples/Toolbar.md +245 -925
- package/docs/demos/Wizard/examples/Wizard.md +36 -468
- package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
- package/docs/layouts/Flex/examples/Flex.md +76 -76
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.md +8 -8
- package/docs/layouts/Level/examples/Level.md +4 -4
- package/docs/layouts/Split/examples/Split.md +6 -6
- package/docs/layouts/Stack/examples/Stack.md +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.md +4 -4
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
- package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
- package/docs/utilities/Display/examples/Display.md +9 -9
- package/docs/utilities/Flex/examples/Flex.md +32 -32
- package/docs/utilities/Float/examples/Float.md +2 -2
- package/docs/utilities/Sizing/examples/Sizing.md +41 -41
- package/docs/utilities/Spacing/examples/Spacing.md +11 -11
- package/docs/utilities/Text/examples/Text.md +28 -28
- package/package.json +2 -1
- package/patternfly-no-globals.css +347 -463
- package/patternfly-theme-dark-unversioned.css +347 -463
- package/patternfly.css +347 -463
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/Table/themes/dark/table.scss +0 -16
package/components/Card/card.css
CHANGED
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
.pf-v6-c-check {
|
|
3
3
|
--pf-v6-c-check--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
4
4
|
--pf-v6-c-check--AccentColor: var(--pf-t--global--color--brand--default);
|
|
5
|
+
--pf-v6-c-check--Height: calc(var(--pf-v6-c-check__label--FontSize) * var(--pf-v6-c-check__label--LineHeight));
|
|
5
6
|
--pf-v6-c-check__label--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
6
7
|
--pf-v6-c-check__label--Color: var(--pf-t--global--text--color--regular);
|
|
7
8
|
--pf-v6-c-check__label--FontWeight: var(--pf-t--global--font--weight--body);
|
|
8
9
|
--pf-v6-c-check__label--FontSize: var(--pf-t--global--font--size--body--default);
|
|
9
10
|
--pf-v6-c-check__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
10
|
-
--pf-v6-c-check__input--TranslateY: calc((var(--pf-v6-c-check__label--LineHeight) * var(--pf-v6-c-check__label--FontSize) / 2 ) - 50%);
|
|
11
11
|
--pf-v6-c-check__description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
12
12
|
--pf-v6-c-check__description--Color: var(--pf-t--global--text--color--subtle);
|
|
13
13
|
--pf-v6-c-check__label-required--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
14
14
|
--pf-v6-c-check__label-required--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
15
15
|
--pf-v6-c-check__label-required--Color: var(--pf-t--global--color--status--danger--default);
|
|
16
|
+
--pf-v6-c-check__input--TranslateY: calc((var(--pf-v6-c-check__label--LineHeight) * var(--pf-v6-c-check__label--FontSize) / 2 ) - 50%);
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
.pf-v6-c-check {
|
|
@@ -22,13 +23,19 @@
|
|
|
22
23
|
accent-color: var(--pf-v6-c-check--AccentColor);
|
|
23
24
|
}
|
|
24
25
|
.pf-v6-c-check.pf-m-standalone {
|
|
25
|
-
--pf-v6-c-check--GridGap: 0;
|
|
26
|
-
--pf-v6-c-check__input--TranslateY: none;
|
|
27
26
|
display: inline-grid;
|
|
27
|
+
grid-template-columns: auto;
|
|
28
|
+
height: var(--pf-v6-c-check--Height);
|
|
29
|
+
}
|
|
30
|
+
.pf-v6-c-check.pf-m-standalone .pf-v6-c-check__input {
|
|
31
|
+
align-self: center;
|
|
32
|
+
transform: none;
|
|
28
33
|
}
|
|
29
34
|
|
|
30
35
|
.pf-v6-c-check__input {
|
|
31
36
|
align-self: start;
|
|
37
|
+
font-size: var(--pf-v6-c-check__label--FontSize);
|
|
38
|
+
line-height: var(--pf-v6-c-check__label--LineHeight);
|
|
32
39
|
transform: translateY(var(--pf-v6-c-check__input--TranslateY));
|
|
33
40
|
}
|
|
34
41
|
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
.#{$check} {
|
|
5
5
|
--#{$check}--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
6
6
|
--#{$check}--AccentColor: var(--pf-t--global--color--brand--default);
|
|
7
|
+
--#{$check}--Height: calc(var(--#{$check}__label--FontSize) * var(--#{$check}__label--LineHeight));
|
|
8
|
+
|
|
9
|
+
// TODO: update to `--#{$check}--FontSize` `--#{$check}--LineHeight`
|
|
7
10
|
--#{$check}__label--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
8
11
|
--#{$check}__label--Color: var(--pf-t--global--text--color--regular);
|
|
9
12
|
--#{$check}__label--FontWeight: var(--pf-t--global--font--weight--body);
|
|
10
13
|
--#{$check}__label--FontSize: var(--pf-t--global--font--size--body--default);
|
|
11
14
|
--#{$check}__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
12
|
-
--#{$check}__input--TranslateY: calc((var(--#{$check}__label--LineHeight) * var(--#{$check}__label--FontSize) / 2 ) - 50%); // find height of single label, divide by two, offset by 50% of own height
|
|
13
15
|
--#{$check}__description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
14
16
|
--#{$check}__description--Color: var(--pf-t--global--text--color--subtle);
|
|
15
17
|
|
|
@@ -17,8 +19,12 @@
|
|
|
17
19
|
--#{$check}__label-required--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
18
20
|
--#{$check}__label-required--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
19
21
|
--#{$check}__label-required--Color: var(--pf-t--global--color--status--danger--default);
|
|
22
|
+
|
|
23
|
+
// TODO: due to subpixel rendering and this value resolving to 21px, the checkbox vertical centering is off by 1px. Mozilla rounds subpixels up while chrome rounds down. This is a temporary fix until we can find a better solution.
|
|
24
|
+
--#{$check}__input--TranslateY: calc((var(--#{$check}__label--LineHeight) * var(--#{$check}__label--FontSize) / 2 ) - 50%); // find height of single label, divide by two, offset by 50% of own height
|
|
20
25
|
}
|
|
21
26
|
|
|
27
|
+
// - Check
|
|
22
28
|
.#{$check} {
|
|
23
29
|
display: grid;
|
|
24
30
|
grid-template-columns: auto 1fr;
|
|
@@ -26,15 +32,22 @@
|
|
|
26
32
|
accent-color: var(--#{$check}--AccentColor);
|
|
27
33
|
|
|
28
34
|
&.pf-m-standalone {
|
|
29
|
-
--#{$check}--GridGap: 0;
|
|
30
|
-
--#{$check}__input--TranslateY: none;
|
|
31
|
-
|
|
32
35
|
display: inline-grid;
|
|
36
|
+
grid-template-columns: auto;
|
|
37
|
+
height: var(--#{$check}--Height);
|
|
38
|
+
|
|
39
|
+
.#{$check}__input {
|
|
40
|
+
align-self: center;
|
|
41
|
+
transform: none;
|
|
42
|
+
}
|
|
33
43
|
}
|
|
34
44
|
}
|
|
35
45
|
|
|
46
|
+
// - Check input
|
|
36
47
|
.#{$check}__input {
|
|
37
48
|
align-self: start;
|
|
49
|
+
font-size: var(--#{$check}__label--FontSize);
|
|
50
|
+
line-height: var(--#{$check}__label--LineHeight);
|
|
38
51
|
|
|
39
52
|
// find height of single label, divide by two, offset by 50% of own height
|
|
40
53
|
transform: translateY(var(--#{$check}__input--TranslateY));
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
|
|
1
|
+
:where(:root),
|
|
2
|
+
:where(.pf-v6-c-masthead) {
|
|
3
3
|
--pf-v6-c-masthead--RowGap: var(--pf-t--global--spacer--sm);
|
|
4
4
|
--pf-v6-c-masthead--ColumnGap: var(--pf-t--global--spacer--md);
|
|
5
5
|
--pf-v6-c-masthead--BorderWidth: var(--pf-t--global--border--width--divider--default);
|
|
6
6
|
--pf-v6-c-masthead--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
7
7
|
--pf-v6-c-masthead--PaddingInline: var(--pf-t--global--spacer--lg);
|
|
8
8
|
--pf-v6-c-masthead--BorderColor: var(--pf-t--global--border--color--default);
|
|
9
|
+
--pf-v6-c-masthead--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
9
10
|
--pf-v6-c-masthead__brand--MarginInlineEnd: var(--pf-t--global--spacer--md);
|
|
10
11
|
--pf-v6-c-masthead__brand--MaxHeight: 2.375rem;
|
|
11
12
|
--pf-v6-c-masthead__toggle--Size: var(--pf-t--global--icon--size--xl);
|
|
@@ -25,15 +26,12 @@
|
|
|
25
26
|
--pf-v6-c-masthead--m-display-inline__content--Order: 0;
|
|
26
27
|
--pf-v6-c-masthead__expandable-content--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
27
28
|
--pf-v6-c-masthead__expandable-content--BorderBlockStart: var(--pf-v6-c-masthead--BorderWidth) solid var(--pf-v6-c-masthead--BorderColor);
|
|
28
|
-
--pf-v6-c-masthead--
|
|
29
|
-
--pf-v6-c-masthead--
|
|
30
|
-
--pf-v6-c-masthead--
|
|
29
|
+
--pf-v6-c-masthead--c-toolbar--Width: 100%;
|
|
30
|
+
--pf-v6-c-masthead--c-toolbar--PaddingBlock: 0;
|
|
31
|
+
--pf-v6-c-masthead--c-toolbar--PaddingInline: 0;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
.pf-v6-c-masthead {
|
|
34
|
-
--pf-v6-c-toolbar--Width: var(--pf-v6-c-masthead--pf-v6-c-toolbar--Width);
|
|
35
|
-
--pf-v6-c-toolbar__content--PaddingBlock: var(--pf-v6-c-masthead--pf-v6-c-toolbar--PaddingBlock);
|
|
36
|
-
--pf-v6-c-toolbar__content--PaddingInline: var(--pf-v6-c-masthead--pf-v6-c-toolbar--PaddingInline);
|
|
37
35
|
--pf-v6-c-masthead--GridTemplateColumns: var(--pf-v6-c-masthead--m-display-stack--GridTemplateColumns);
|
|
38
36
|
--pf-v6-c-masthead__main--GridColumn: var(--pf-v6-c-masthead--m-display-stack__main--GridColumn);
|
|
39
37
|
--pf-v6-c-masthead__main--Order: var(--pf-v6-c-masthead--m-display-stack__main--Order);
|
|
@@ -51,7 +49,13 @@
|
|
|
51
49
|
padding-block-end: var(--pf-v6-c-masthead--PaddingBlockEnd, var(--pf-v6-c-masthead--PaddingBlock));
|
|
52
50
|
padding-inline-start: var(--pf-v6-c-masthead--PaddingInlineStart, var(--pf-v6-c-masthead--PaddingInline));
|
|
53
51
|
padding-inline-end: var(--pf-v6-c-masthead--PaddingInlineEnd, var(--pf-v6-c-masthead--PaddingInline));
|
|
54
|
-
background-color: var(--pf-v6-c-masthead--BackgroundColor
|
|
52
|
+
background-color: var(--pf-v6-c-masthead--BackgroundColor);
|
|
53
|
+
}
|
|
54
|
+
.pf-v6-c-masthead .pf-v6-c-toolbar {
|
|
55
|
+
--pf-v6-c-toolbar--Width: var(--pf-v6-c-masthead--c-toolbar--Width);
|
|
56
|
+
--pf-v6-c-toolbar__content--PaddingBlock: var(--pf-v6-c-masthead--c-toolbar--PaddingBlock);
|
|
57
|
+
--pf-v6-c-toolbar__content--PaddingInline: var(--pf-v6-c-masthead--c-toolbar--PaddingInline);
|
|
58
|
+
--pf-v6-c-toolbar__content--MinWidth: 0;
|
|
55
59
|
}
|
|
56
60
|
@media screen and (min-width: 768px) {
|
|
57
61
|
:where(:not(.pf-m-resize-observer)) .pf-v6-c-masthead {
|
|
@@ -64,6 +68,10 @@
|
|
|
64
68
|
--pf-v6-c-masthead__content--Order: var(--pf-v6-c-masthead--m-display-inline__content--Order);
|
|
65
69
|
}
|
|
66
70
|
}
|
|
71
|
+
.pf-v6-c-masthead .pf-v6-c-toolbar__content-section {
|
|
72
|
+
flex-wrap: nowrap;
|
|
73
|
+
min-width: 0;
|
|
74
|
+
}
|
|
67
75
|
.pf-v6-c-masthead .pf-v6-c-toolbar__expandable-content {
|
|
68
76
|
inset-block-start: 100%;
|
|
69
77
|
border-block-start: var(--pf-v6-c-masthead__expandable-content--BorderBlockStart);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
$pf-v5-c-masthead--breakpoint-map: build-breakpoint-map();
|
|
2
2
|
$pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
3
3
|
|
|
4
|
-
:root,
|
|
5
|
-
|
|
4
|
+
:where(:root),
|
|
5
|
+
:where(.#{$masthead}) {
|
|
6
6
|
// * Masthead
|
|
7
7
|
--#{$masthead}--RowGap: var(--pf-t--global--spacer--sm);
|
|
8
8
|
--#{$masthead}--ColumnGap: var(--pf-t--global--spacer--md);
|
|
@@ -10,6 +10,7 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
10
10
|
--#{$masthead}--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
11
11
|
--#{$masthead}--PaddingInline: var(--pf-t--global--spacer--lg);
|
|
12
12
|
--#{$masthead}--BorderColor: var(--pf-t--global--border--color--default);
|
|
13
|
+
--#{$masthead}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
13
14
|
|
|
14
15
|
// * Masthead brand
|
|
15
16
|
--#{$masthead}__brand--MarginInlineEnd: var(--pf-t--global--spacer--md);
|
|
@@ -41,9 +42,9 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
41
42
|
--#{$masthead}__expandable-content--BorderBlockStart: var(--#{$masthead}--BorderWidth) solid var(--#{$masthead}--BorderColor);
|
|
42
43
|
|
|
43
44
|
// * Masthead toolbar
|
|
44
|
-
--#{$masthead}
|
|
45
|
-
--#{$masthead}
|
|
46
|
-
--#{$masthead}
|
|
45
|
+
--#{$masthead}--c-toolbar--Width: 100%;
|
|
46
|
+
--#{$masthead}--c-toolbar--PaddingBlock: 0;
|
|
47
|
+
--#{$masthead}--c-toolbar--PaddingInline: 0;
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
// * Masthead display stack
|
|
@@ -70,9 +71,12 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
70
71
|
|
|
71
72
|
// - Masthead
|
|
72
73
|
.#{$masthead} {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
.#{$toolbar} {
|
|
75
|
+
--#{$toolbar}--Width: var(--#{$masthead}--c-toolbar--Width);
|
|
76
|
+
--#{$toolbar}__content--PaddingBlock: var(--#{$masthead}--c-toolbar--PaddingBlock);
|
|
77
|
+
--#{$toolbar}__content--PaddingInline: var(--#{$masthead}--c-toolbar--PaddingInline);
|
|
78
|
+
--#{$toolbar}__content--MinWidth: 0;
|
|
79
|
+
}
|
|
76
80
|
|
|
77
81
|
// Set layout to stack by default
|
|
78
82
|
@include pf-v5-c-masthead--m-display-stack;
|
|
@@ -97,7 +101,12 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
97
101
|
padding-block-end: var(--#{$masthead}--PaddingBlockEnd, var(--#{$masthead}--PaddingBlock));
|
|
98
102
|
padding-inline-start: var(--#{$masthead}--PaddingInlineStart, var(--#{$masthead}--PaddingInline));
|
|
99
103
|
padding-inline-end: var(--#{$masthead}--PaddingInlineEnd, var(--#{$masthead}--PaddingInline));
|
|
100
|
-
background-color: var(--#{$masthead}--BackgroundColor
|
|
104
|
+
background-color: var(--#{$masthead}--BackgroundColor);
|
|
105
|
+
|
|
106
|
+
.#{$toolbar}__content-section {
|
|
107
|
+
flex-wrap: nowrap;
|
|
108
|
+
min-width: 0;
|
|
109
|
+
}
|
|
101
110
|
|
|
102
111
|
// - Masthead toolbar expandable content
|
|
103
112
|
.#{$toolbar}__expandable-content {
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
--pf-v6-c-menu-toggle--expanded__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
30
30
|
--pf-v6-c-menu-toggle--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
|
31
31
|
--pf-v6-c-menu-toggle--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
32
|
-
--pf-v6-c-menu-toggle__icon--
|
|
33
|
-
--pf-v6-c-menu-toggle__toggle-icon--
|
|
32
|
+
--pf-v6-c-menu-toggle__icon--MinHeight: calc(var(--pf-v6-c-menu__item--FontSize) * var(--pf-v6-c-menu__item--LineHeight));
|
|
33
|
+
--pf-v6-c-menu-toggle__toggle-icon--MinHeight: calc(var(--pf-v6-c-menu__item--FontSize) * var(--pf-v6-c-menu__item--LineHeight));
|
|
34
34
|
--pf-v6-c-menu-toggle--m-button--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
35
35
|
--pf-v6-c-menu-toggle--m-button--PaddingRight: var(--pf-t--global--spacer--md);
|
|
36
36
|
--pf-v6-c-menu-toggle--m-button--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
|
|
371
371
|
.pf-v6-c-menu-toggle__icon {
|
|
372
372
|
flex-shrink: 0;
|
|
373
|
-
height: var(--pf-v6-c-menu-toggle__icon--
|
|
373
|
+
min-height: var(--pf-v6-c-menu-toggle__icon--MinHeight);
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
.pf-v6-c-menu-toggle__controls {
|
|
@@ -379,6 +379,6 @@
|
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
.pf-v6-c-menu-toggle__toggle-icon {
|
|
382
|
-
height: var(--pf-v6-c-menu-toggle__toggle-icon--
|
|
382
|
+
min-height: var(--pf-v6-c-menu-toggle__toggle-icon--MinHeight);
|
|
383
383
|
color: var(--pf-v6-c-menu-toggle__toggle-icon--Color, inherit);
|
|
384
384
|
}
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
--#{$menu-toggle}--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
50
50
|
|
|
51
51
|
// * Menu toggle icon
|
|
52
|
-
--#{$menu-toggle}__icon--
|
|
52
|
+
--#{$menu-toggle}__icon--MinHeight: calc(var(--#{$menu}__item--FontSize) * var(--#{$menu}__item--LineHeight));
|
|
53
53
|
|
|
54
54
|
// * Menu toggle toggle icon
|
|
55
|
-
--#{$menu-toggle}__toggle-icon--
|
|
55
|
+
--#{$menu-toggle}__toggle-icon--MinHeight: calc(var(--#{$menu}__item--FontSize) * var(--#{$menu}__item--LineHeight));
|
|
56
56
|
|
|
57
57
|
// TODO: add pf-m-button modifier here
|
|
58
58
|
// * Menu toggle button
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
|
|
491
491
|
.#{$menu-toggle}__icon {
|
|
492
492
|
flex-shrink: 0;
|
|
493
|
-
height: var(--#{$menu-toggle}__icon--
|
|
493
|
+
min-height: var(--#{$menu-toggle}__icon--MinHeight);
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
// - Menu toggle controls
|
|
@@ -501,6 +501,6 @@
|
|
|
501
501
|
|
|
502
502
|
// - Menu toggle icon
|
|
503
503
|
.#{$menu-toggle}__toggle-icon {
|
|
504
|
-
height: var(--#{$menu-toggle}__toggle-icon--
|
|
504
|
+
min-height: var(--#{$menu-toggle}__toggle-icon--MinHeight);
|
|
505
505
|
color: var(--#{$menu-toggle}__toggle-icon--Color, inherit);
|
|
506
506
|
}
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
--pf-v6-c-modal-box__body--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
38
38
|
--pf-v6-c-modal-box__body--last-child--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
39
39
|
--pf-v6-c-modal-box__header--body--PaddingTop: var(--pf-t--global--spacer--md);
|
|
40
|
-
--pf-v6-c-modal-box__close--Top: var(--pf-
|
|
41
|
-
--pf-v6-c-modal-box__close--Right: var(--pf-
|
|
40
|
+
--pf-v6-c-modal-box__close--Top: var(--pf-v6-c-modal-box__header--PaddingTop);
|
|
41
|
+
--pf-v6-c-modal-box__close--Right: var(--pf-v6-c-modal-box__header--PaddingRight);
|
|
42
42
|
--pf-v6-c-modal-box__close--sibling--MarginRight: calc(var(--pf-t--global--spacer--xl) + var(--pf-t--global--spacer--sm));
|
|
43
43
|
--pf-v6-c-modal-box__footer--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
44
44
|
--pf-v6-c-modal-box__footer--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
@@ -81,19 +81,23 @@
|
|
|
81
81
|
max-width: var(--pf-v6-c-modal-box--m-align-top--MaxWidth);
|
|
82
82
|
max-height: var(--pf-v6-c-modal-box--m-align-top--MaxHeight);
|
|
83
83
|
}
|
|
84
|
-
.pf-v6-c-modal-box.pf-m-danger {
|
|
84
|
+
.pf-v6-c-modal-box__title.pf-m-danger, .pf-v6-c-modal-box.pf-m-danger {
|
|
85
85
|
--pf-v6-c-modal-box__title-icon--Color: var(--pf-v6-c-modal-box--m-danger__title-icon--Color);
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
|
|
88
|
+
.pf-v6-c-modal-box__title.pf-m-warning, .pf-v6-c-modal-box.pf-m-warning {
|
|
88
89
|
--pf-v6-c-modal-box__title-icon--Color: var(--pf-v6-c-modal-box--m-warning__title-icon--Color);
|
|
89
90
|
}
|
|
90
|
-
|
|
91
|
+
|
|
92
|
+
.pf-v6-c-modal-box__title.pf-m-success, .pf-v6-c-modal-box.pf-m-success {
|
|
91
93
|
--pf-v6-c-modal-box__title-icon--Color: var(--pf-v6-c-modal-box--m-success__title-icon--Color);
|
|
92
94
|
}
|
|
93
|
-
|
|
95
|
+
|
|
96
|
+
.pf-v6-c-modal-box__title.pf-m-custom, .pf-v6-c-modal-box.pf-m-custom {
|
|
94
97
|
--pf-v6-c-modal-box__title-icon--Color: var(--pf-v6-c-modal-box--m-custom__title-icon--Color);
|
|
95
98
|
}
|
|
96
|
-
|
|
99
|
+
|
|
100
|
+
.pf-v6-c-modal-box__title.pf-m-info, .pf-v6-c-modal-box.pf-m-info {
|
|
97
101
|
--pf-v6-c-modal-box__title-icon--Color: var(--pf-v6-c-modal-box--m-info__title-icon--Color);
|
|
98
102
|
}
|
|
99
103
|
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
--#{$modal-box}__header--body--PaddingTop: var(--pf-t--global--spacer--md);
|
|
60
60
|
|
|
61
61
|
// Close
|
|
62
|
-
--#{$modal-box}__close--Top: var(
|
|
63
|
-
--#{$modal-box}__close--Right: var(
|
|
62
|
+
--#{$modal-box}__close--Top: var(--#{$modal-box}__header--PaddingTop);
|
|
63
|
+
--#{$modal-box}__close--Right: var(--#{$modal-box}__header--PaddingRight);
|
|
64
64
|
--#{$modal-box}__close--sibling--MarginRight: calc(var(--pf-t--global--spacer--xl) + var(--pf-t--global--spacer--sm));
|
|
65
65
|
|
|
66
66
|
// Footer
|
|
@@ -106,24 +106,39 @@
|
|
|
106
106
|
max-height: var(--#{$modal-box}--m-align-top--MaxHeight);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
@at-root .#{$modal-box}__title,
|
|
110
|
+
& {
|
|
111
|
+
&.pf-m-danger {
|
|
112
|
+
--#{$modal-box}__title-icon--Color: var(--#{$modal-box}--m-danger__title-icon--Color);
|
|
113
|
+
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
|
|
114
|
-
|
|
116
|
+
@at-root .#{$modal-box}__title,
|
|
117
|
+
& {
|
|
118
|
+
&.pf-m-warning {
|
|
119
|
+
--#{$modal-box}__title-icon--Color: var(--#{$modal-box}--m-warning__title-icon--Color);
|
|
120
|
+
}
|
|
115
121
|
}
|
|
116
122
|
|
|
117
|
-
|
|
118
|
-
|
|
123
|
+
@at-root .#{$modal-box}__title,
|
|
124
|
+
& {
|
|
125
|
+
&.pf-m-success {
|
|
126
|
+
--#{$modal-box}__title-icon--Color: var(--#{$modal-box}--m-success__title-icon--Color);
|
|
127
|
+
}
|
|
119
128
|
}
|
|
120
129
|
|
|
121
|
-
|
|
122
|
-
|
|
130
|
+
@at-root .#{$modal-box}__title,
|
|
131
|
+
& {
|
|
132
|
+
&.pf-m-custom {
|
|
133
|
+
--#{$modal-box}__title-icon--Color: var(--#{$modal-box}--m-custom__title-icon--Color);
|
|
134
|
+
}
|
|
123
135
|
}
|
|
124
136
|
|
|
125
|
-
|
|
126
|
-
|
|
137
|
+
@at-root .#{$modal-box}__title,
|
|
138
|
+
& {
|
|
139
|
+
&.pf-m-info {
|
|
140
|
+
--#{$modal-box}__title-icon--Color: var(--#{$modal-box}--m-info__title-icon--Color);
|
|
141
|
+
}
|
|
127
142
|
}
|
|
128
143
|
}
|
|
129
144
|
|