@patternfly/patternfly 6.0.0-alpha.63 → 6.0.0-alpha.64
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/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Button/button.css +4 -9
- package/components/Button/button.scss +4 -9
- package/components/Masthead/masthead.css +15 -29
- package/components/Masthead/masthead.scss +20 -36
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Pagination/pagination.css +6 -3
- package/components/Pagination/pagination.scss +4 -3
- package/components/Toolbar/toolbar.css +2525 -1040
- package/components/Toolbar/toolbar.scss +232 -534
- package/docs/components/ActionList/examples/ActionList.md +73 -22
- package/docs/components/LogViewer/examples/LogViewer.md +50 -50
- package/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/docs/components/Toolbar/examples/Toolbar.md +374 -419
- package/docs/demos/AboutModal/examples/AboutModal.md +2 -2
- package/docs/demos/Alert/examples/Alert.md +6 -6
- package/docs/demos/BackToTop/examples/BackToTop.md +2 -2
- package/docs/demos/Banner/examples/Banner.md +4 -4
- package/docs/demos/CardView/examples/CardView.md +3 -3
- package/docs/demos/ContextSelector/examples/ContextSelector.md +7 -7
- package/docs/demos/Dashboard/examples/Dashboard.md +2 -2
- package/docs/demos/DataList/examples/DataList.md +11 -11
- package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -6
- package/docs/demos/Drawer/examples/Drawer.md +10 -10
- package/docs/demos/JumpLinks/examples/JumpLinks.md +12 -12
- package/docs/demos/Masthead/examples/Masthead.md +21 -21
- package/docs/demos/Modal/examples/Modal.md +12 -12
- package/docs/demos/Nav/examples/Nav.md +12 -12
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +10 -10
- package/docs/demos/Page/examples/Page.md +18 -18
- package/docs/demos/Page/examples/Penta.md +2 -2
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +19 -19
- package/docs/demos/Skeleton/examples/Skeleton.md +2 -2
- package/docs/demos/Table/examples/Table.md +42 -45
- package/docs/demos/Tabs/examples/Tabs.md +13 -13
- package/docs/demos/Toolbar/examples/Toolbar.md +13 -13
- package/docs/demos/Wizard/examples/Wizard.md +18 -18
- package/package.json +1 -1
- package/patternfly-no-globals.css +2579 -1114
- package/patternfly-theme-dark-unversioned.css +2579 -1114
- package/patternfly.css +2579 -1114
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-c-action-list--
|
|
3
|
-
--pf-v5-c-action-list--
|
|
4
|
-
--pf-v5-c-action-
|
|
1
|
+
:where(:root) {
|
|
2
|
+
--pf-v5-c-action-list--RowGap: var(--pf-t--global--spacer--sm);
|
|
3
|
+
--pf-v5-c-action-list--ColumnGap: var(--pf-t--global--spacer--2xl);
|
|
4
|
+
--pf-v5-c-action-list__group--ColumnGap: var(--pf-t--global--spacer--md);
|
|
5
|
+
--pf-v5-c-action-list--m-icons--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
.pf-v5-c-action-list,
|
|
8
9
|
.pf-v5-c-action-list__group {
|
|
9
|
-
--pf-v5-c-action-list--child--spacer: var(--pf-v5-c-action-list--child--spacer-base);
|
|
10
|
-
--pf-v5-c-action-list--group--spacer: var(--pf-v5-c-action-list--group--spacer-base);
|
|
11
10
|
display: flex;
|
|
12
|
-
align-items:
|
|
11
|
+
align-items: start;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.pf-v5-c-action-list {
|
|
15
|
+
row-gap: var(--pf-v5-c-action-list--RowGap);
|
|
16
|
+
column-gap: var(--pf-v5-c-action-list--ColumnGap);
|
|
13
17
|
}
|
|
14
|
-
.pf-v5-c-action-list
|
|
15
|
-
|
|
16
|
-
margin-inline-start: var(--pf-v5-c-action-list--child--spacer);
|
|
18
|
+
.pf-v5-c-action-list.pf-m-icons {
|
|
19
|
+
column-gap: var(--pf-v5-c-action-list--m-icons--ColumnGap);
|
|
17
20
|
}
|
|
18
|
-
|
|
19
|
-
.pf-v5-c-action-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
margin-inline-start: var(--pf-v5-c-action-list--group--spacer);
|
|
21
|
+
|
|
22
|
+
.pf-v5-c-action-list__group {
|
|
23
|
+
row-gap: var(--pf-v5-c-action-list__group--RowGap, var(--pf-v5-c-action-list--RowGap));
|
|
24
|
+
column-gap: var(--pf-v5-c-action-list__group--ColumnGap);
|
|
23
25
|
}
|
|
24
|
-
.pf-v5-c-action-list.pf-m-icons,
|
|
25
26
|
.pf-v5-c-action-list__group.pf-m-icons {
|
|
26
|
-
|
|
27
|
+
column-gap: var(--pf-v5-c-action-list--m-icons--ColumnGap);
|
|
27
28
|
}
|
|
@@ -1,29 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
:where(:root) {
|
|
2
|
+
--#{$action-list}--RowGap: var(--pf-t--global--spacer--sm);
|
|
3
|
+
--#{$action-list}--ColumnGap: var(--pf-t--global--spacer--2xl);
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
--#{$action-list}--
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
// * Action list group
|
|
6
|
+
--#{$action-list}__group--ColumnGap: var(--pf-t--global--spacer--md);
|
|
7
|
+
|
|
8
|
+
// * Action list icons
|
|
9
|
+
--#{$action-list}--m-icons--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
7
10
|
}
|
|
8
11
|
|
|
12
|
+
// - Action list - Action list group
|
|
9
13
|
.#{$action-list},
|
|
10
14
|
.#{$action-list}__group {
|
|
11
|
-
--#{$action-list}--child--spacer: var(--#{$action-list}--child--spacer-base);
|
|
12
|
-
--#{$action-list}--group--spacer: var(--#{$action-list}--group--spacer-base);
|
|
13
|
-
|
|
14
15
|
display: flex;
|
|
15
|
-
align-items:
|
|
16
|
+
align-items: start;
|
|
17
|
+
}
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
19
|
+
// - Action list
|
|
20
|
+
.#{$action-list} {
|
|
21
|
+
row-gap: var(--#{$action-list}--RowGap);
|
|
22
|
+
column-gap: var(--#{$action-list}--ColumnGap);
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
// - Action list icons
|
|
25
|
+
&.pf-m-icons {
|
|
26
|
+
column-gap: var(--#{$action-list}--m-icons--ColumnGap); // update prop: val to prevent potential inheritance conflicts
|
|
24
27
|
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// - Action list group
|
|
31
|
+
.#{$action-list}__group {
|
|
32
|
+
row-gap: var(--#{$action-list}__group--RowGap, var(--#{$action-list}--RowGap));
|
|
33
|
+
column-gap: var(--#{$action-list}__group--ColumnGap);
|
|
25
34
|
|
|
35
|
+
// - Action list group icons
|
|
26
36
|
&.pf-m-icons {
|
|
27
|
-
|
|
37
|
+
column-gap: var(--#{$action-list}--m-icons--ColumnGap); // update prop: val to prevent potential inheritance conflicts
|
|
28
38
|
}
|
|
29
39
|
}
|
|
@@ -14,10 +14,6 @@
|
|
|
14
14
|
--pf-v5-c-button--BorderWidth: var(--pf-t--global--border--width--button--default);
|
|
15
15
|
--pf-v5-c-button--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
16
16
|
--pf-v5-c-button--TextDecoration: none;
|
|
17
|
-
--pf-v5-c-button--BorderStartStartRadius: var(--pf-v5-c-button--BorderRadius);
|
|
18
|
-
--pf-v5-c-button--BorderStartEndRadius: var(--pf-v5-c-button--BorderRadius);
|
|
19
|
-
--pf-v5-c-button--BorderEndStartRadius: var(--pf-v5-c-button--BorderRadius);
|
|
20
|
-
--pf-v5-c-button--BorderEndEndRadius: var(--pf-v5-c-button--BorderRadius);
|
|
21
17
|
--pf-v5-c-button--MixBlendMode: normal;
|
|
22
18
|
--pf-v5-c-button--hover--BackgroundColor: transparent;
|
|
23
19
|
--pf-v5-c-button--hover--BorderColor: transparent;
|
|
@@ -247,11 +243,10 @@
|
|
|
247
243
|
user-select: none;
|
|
248
244
|
background-color: var(--pf-v5-c-button--BackgroundColor);
|
|
249
245
|
border: 0;
|
|
250
|
-
border-start-start-radius: var(--pf-v5-c-button--BorderStartStartRadius);
|
|
251
|
-
border-start-end-radius: var(--pf-v5-c-button--BorderStartEndRadius);
|
|
252
|
-
border-end-start-radius: var(--pf-v5-c-button--BorderEndStartRadius);
|
|
253
|
-
border-end-end-radius: var(--pf-v5-c-button--BorderEndEndRadius);
|
|
254
|
-
mix-blend-mode: var(--pf-v5-c-button--MixBlendMode);
|
|
246
|
+
border-start-start-radius: var(--pf-v5-c-button--BorderStartStartRadius, var(--pf-v5-c-button--BorderRadius));
|
|
247
|
+
border-start-end-radius: var(--pf-v5-c-button--BorderStartEndRadius, var(--pf-v5-c-button--BorderRadius));
|
|
248
|
+
border-end-start-radius: var(--pf-v5-c-button--BorderEndStartRadius, var(--pf-v5-c-button--BorderRadius));
|
|
249
|
+
border-end-end-radius: var(--pf-v5-c-button--BorderEndEndRadius, var(--pf-v5-c-button--BorderRadius));
|
|
255
250
|
}
|
|
256
251
|
.pf-v5-c-button::after {
|
|
257
252
|
position: absolute;
|
|
@@ -14,10 +14,6 @@
|
|
|
14
14
|
--#{$button}--BorderWidth: var(--pf-t--global--border--width--button--default);
|
|
15
15
|
--#{$button}--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
16
16
|
--#{$button}--TextDecoration: none;
|
|
17
|
-
--#{$button}--BorderStartStartRadius: var(--#{$button}--BorderRadius);
|
|
18
|
-
--#{$button}--BorderStartEndRadius: var(--#{$button}--BorderRadius);
|
|
19
|
-
--#{$button}--BorderEndStartRadius: var(--#{$button}--BorderRadius);
|
|
20
|
-
--#{$button}--BorderEndEndRadius: var(--#{$button}--BorderRadius);
|
|
21
17
|
--#{$button}--MixBlendMode: normal;
|
|
22
18
|
|
|
23
19
|
// Hover
|
|
@@ -289,11 +285,10 @@
|
|
|
289
285
|
user-select: none;
|
|
290
286
|
background-color: var(--#{$button}--BackgroundColor);
|
|
291
287
|
border: 0;
|
|
292
|
-
border-start-start-radius: var(--#{$button}--BorderStartStartRadius);
|
|
293
|
-
border-start-end-radius: var(--#{$button}--BorderStartEndRadius);
|
|
294
|
-
border-end-start-radius: var(--#{$button}--BorderEndStartRadius);
|
|
295
|
-
border-end-end-radius: var(--#{$button}--BorderEndEndRadius);
|
|
296
|
-
mix-blend-mode: var(--#{$button}--MixBlendMode);
|
|
288
|
+
border-start-start-radius: var(--#{$button}--BorderStartStartRadius, var(--#{$button}--BorderRadius));
|
|
289
|
+
border-start-end-radius: var(--#{$button}--BorderStartEndRadius, var(--#{$button}--BorderRadius));
|
|
290
|
+
border-end-start-radius: var(--#{$button}--BorderEndStartRadius, var(--#{$button}--BorderRadius));
|
|
291
|
+
border-end-end-radius: var(--#{$button}--BorderEndEndRadius, var(--#{$button}--BorderRadius));
|
|
297
292
|
|
|
298
293
|
&::after {
|
|
299
294
|
position: absolute;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
:root,
|
|
2
|
-
|
|
3
|
-
--pf-v5-c-masthead--inset: var(--pf-t--global--spacer--lg);
|
|
4
|
-
--pf-v5-c-masthead--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
5
|
-
--pf-v5-c-masthead--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
6
|
-
--pf-v5-c-masthead--PaddingInlineStart: var(--pf-v5-c-masthead--inset);
|
|
7
|
-
--pf-v5-c-masthead--PaddingInlineEnd: var(--pf-v5-c-masthead--inset);
|
|
8
|
-
--pf-v5-c-masthead--AlignItems: start;
|
|
2
|
+
[data-theme=pf-v5-c-masthead] {
|
|
9
3
|
--pf-v5-c-masthead--RowGap: var(--pf-t--global--spacer--sm);
|
|
10
4
|
--pf-v5-c-masthead--ColumnGap: var(--pf-t--global--spacer--md);
|
|
11
|
-
--pf-v5-c-masthead--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
12
5
|
--pf-v5-c-masthead--BorderWidth: var(--pf-t--global--border--width--divider--default);
|
|
6
|
+
--pf-v5-c-masthead--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
7
|
+
--pf-v5-c-masthead--PaddingInline: var(--pf-t--global--spacer--lg);
|
|
13
8
|
--pf-v5-c-masthead--BorderColor: var(--pf-t--global--border--color--default);
|
|
14
9
|
--pf-v5-c-masthead__brand--MarginInlineEnd: var(--pf-t--global--spacer--md);
|
|
15
10
|
--pf-v5-c-masthead__brand--MaxHeight: 2.375rem;
|
|
@@ -30,21 +25,15 @@
|
|
|
30
25
|
--pf-v5-c-masthead--m-display-inline__content--Order: 0;
|
|
31
26
|
--pf-v5-c-masthead__expandable-content--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
32
27
|
--pf-v5-c-masthead__expandable-content--BorderBlockStart: var(--pf-v5-c-masthead--BorderWidth) solid var(--pf-v5-c-masthead--BorderColor);
|
|
28
|
+
--pf-v5-c-masthead--pf-v5-c-toolbar--Width: 100%;
|
|
29
|
+
--pf-v5-c-masthead--pf-v5-c-toolbar--PaddingBlock: 0;
|
|
30
|
+
--pf-v5-c-masthead--pf-v5-c-toolbar--PaddingInline: 0;
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
.pf-v5-c-masthead {
|
|
36
|
-
--pf-v5-c-toolbar--
|
|
37
|
-
--pf-v5-c-
|
|
38
|
-
--pf-v5-c-toolbar__content--
|
|
39
|
-
--pf-v5-c-toolbar__content--PaddingLeft: 0;
|
|
40
|
-
--pf-v5-c-toolbar__expandable-content--PaddingTop: var(--pf-t--global--spacer--md);
|
|
41
|
-
--pf-v5-c-toolbar__expandable-content--PaddingRight: var(--pf-v5-c-masthead--inset);
|
|
42
|
-
--pf-v5-c-toolbar__expandable-content--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
43
|
-
--pf-v5-c-toolbar__expandable-content--PaddingLeft: var(--pf-v5-c-masthead--inset);
|
|
44
|
-
--pf-v5-c-toolbar__expandable-content--BackgroundColor: var(--pf-v5-c-masthead--BackgroundColor);
|
|
45
|
-
--pf-v5-c-toolbar__expandable-content--lg--PaddingRight: var(--pf-v5-c-masthead--PaddingInlineStart);
|
|
46
|
-
--pf-v5-c-toolbar__expandable-content--lg--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
47
|
-
--pf-v5-c-toolbar__expandable-content--lg--PaddingLeft: var(--pf-v5-c-masthead--PaddingInlineEnd);
|
|
34
|
+
--pf-v5-c-toolbar--Width: var(--pf-v5-c-masthead--pf-v5-c-toolbar--Width);
|
|
35
|
+
--pf-v5-c-toolbar__content--PaddingBlock: var(--pf-v5-c-masthead--pf-v5-c-toolbar--PaddingBlock);
|
|
36
|
+
--pf-v5-c-toolbar__content--PaddingInline: var(--pf-v5-c-masthead--pf-v5-c-toolbar--PaddingInline);
|
|
48
37
|
--pf-v5-c-masthead--GridTemplateColumns: var(--pf-v5-c-masthead--m-display-stack--GridTemplateColumns);
|
|
49
38
|
--pf-v5-c-masthead__main--GridColumn: var(--pf-v5-c-masthead--m-display-stack__main--GridColumn);
|
|
50
39
|
--pf-v5-c-masthead__main--Order: var(--pf-v5-c-masthead--m-display-stack__main--Order);
|
|
@@ -56,13 +45,13 @@
|
|
|
56
45
|
grid-template-columns: var(--pf-v5-c-masthead--GridTemplateColumns);
|
|
57
46
|
row-gap: var(--pf-v5-c-masthead--RowGap);
|
|
58
47
|
column-gap: var(--pf-v5-c-masthead--ColumnGap);
|
|
59
|
-
align-items:
|
|
48
|
+
align-items: start;
|
|
60
49
|
min-width: 0;
|
|
61
|
-
padding-block-start: var(--pf-v5-c-masthead--PaddingBlockStart);
|
|
62
|
-
padding-block-end: var(--pf-v5-c-masthead--PaddingBlockEnd);
|
|
63
|
-
padding-inline-start: var(--pf-v5-c-masthead--
|
|
64
|
-
padding-inline-end: var(--pf-v5-c-masthead--
|
|
65
|
-
background-color: var(--pf-v5-c-masthead--BackgroundColor);
|
|
50
|
+
padding-block-start: var(--pf-v5-c-masthead--PaddingBlockStart, var(--pf-v5-c-masthead--PaddingBlock));
|
|
51
|
+
padding-block-end: var(--pf-v5-c-masthead--PaddingBlockEnd, var(--pf-v5-c-masthead--PaddingBlock));
|
|
52
|
+
padding-inline-start: var(--pf-v5-c-masthead--PaddingInlineStart, var(--pf-v5-c-masthead--PaddingInline));
|
|
53
|
+
padding-inline-end: var(--pf-v5-c-masthead--PaddingInlineEnd, var(--pf-v5-c-masthead--PaddingInline));
|
|
54
|
+
background-color: var(--pf-v5-c-masthead--BackgroundColor, var(--pf-t--global--background--color--secondary--default));
|
|
66
55
|
}
|
|
67
56
|
@media screen and (min-width: 768px) {
|
|
68
57
|
:where(:not(.pf-m-resize-observer)) .pf-v5-c-masthead {
|
|
@@ -75,9 +64,6 @@
|
|
|
75
64
|
--pf-v5-c-masthead__content--Order: var(--pf-v5-c-masthead--m-display-inline__content--Order);
|
|
76
65
|
}
|
|
77
66
|
}
|
|
78
|
-
.pf-v5-c-masthead .pf-v5-c-toolbar {
|
|
79
|
-
width: 100%;
|
|
80
|
-
}
|
|
81
67
|
.pf-v5-c-masthead .pf-v5-c-toolbar__expandable-content {
|
|
82
68
|
inset-block-start: 100%;
|
|
83
69
|
border-block-start: var(--pf-v5-c-masthead__expandable-content--BorderBlockStart);
|
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
// @debug $masthead; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
1
|
$pf-v5-c-masthead--breakpoint-map: build-breakpoint-map();
|
|
3
2
|
$pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
4
3
|
|
|
5
4
|
:root,
|
|
6
|
-
|
|
5
|
+
[data-theme="#{$masthead}"] {
|
|
7
6
|
// * Masthead
|
|
8
|
-
--#{$masthead}--inset: var(--pf-t--global--spacer--lg);
|
|
9
|
-
--#{$masthead}--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
10
|
-
--#{$masthead}--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
11
|
-
--#{$masthead}--PaddingInlineStart: var(--#{$masthead}--inset);
|
|
12
|
-
--#{$masthead}--PaddingInlineEnd: var(--#{$masthead}--inset);
|
|
13
|
-
--#{$masthead}--AlignItems: start;
|
|
14
7
|
--#{$masthead}--RowGap: var(--pf-t--global--spacer--sm);
|
|
15
8
|
--#{$masthead}--ColumnGap: var(--pf-t--global--spacer--md);
|
|
16
|
-
--#{$masthead}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
17
9
|
--#{$masthead}--BorderWidth: var(--pf-t--global--border--width--divider--default);
|
|
10
|
+
--#{$masthead}--PaddingBlock: var(--pf-t--global--spacer--md);
|
|
11
|
+
--#{$masthead}--PaddingInline: var(--pf-t--global--spacer--lg);
|
|
18
12
|
--#{$masthead}--BorderColor: var(--pf-t--global--border--color--default);
|
|
19
13
|
|
|
20
14
|
// * Masthead brand
|
|
@@ -43,8 +37,13 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
43
37
|
--#{$masthead}--m-display-inline__content--Order: 0;
|
|
44
38
|
|
|
45
39
|
// * Masthead toolbar
|
|
46
|
-
--#{$masthead}__expandable-content--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
47
|
-
--#{$masthead}__expandable-content--BorderBlockStart: var(--#{$masthead}--BorderWidth) solid var(--#{$masthead}--BorderColor);
|
|
40
|
+
--#{$masthead}__expandable-content--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
41
|
+
--#{$masthead}__expandable-content--BorderBlockStart: var(--#{$masthead}--BorderWidth) solid var(--#{$masthead}--BorderColor);
|
|
42
|
+
|
|
43
|
+
// * Masthead toolbar
|
|
44
|
+
--#{$masthead}--#{$toolbar}--Width: 100%;
|
|
45
|
+
--#{$masthead}--#{$toolbar}--PaddingBlock: 0;
|
|
46
|
+
--#{$masthead}--#{$toolbar}--PaddingInline: 0;
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
// * Masthead display stack
|
|
@@ -71,18 +70,9 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
71
70
|
|
|
72
71
|
// - Masthead
|
|
73
72
|
.#{$masthead} {
|
|
74
|
-
--#{$toolbar}--
|
|
75
|
-
--#{$toolbar}--
|
|
76
|
-
--#{$toolbar}__content--
|
|
77
|
-
--#{$toolbar}__content--PaddingLeft: 0; // TODO: update after toolbar updates
|
|
78
|
-
--#{$toolbar}__expandable-content--PaddingTop: var(--pf-t--global--spacer--md); // TODO: update after toolbar updates
|
|
79
|
-
--#{$toolbar}__expandable-content--PaddingRight: var(--#{$masthead}--inset); // TODO: update after toolbar updates
|
|
80
|
-
--#{$toolbar}__expandable-content--PaddingBottom: var(--pf-t--global--spacer--md); // TODO: update after toolbar updates
|
|
81
|
-
--#{$toolbar}__expandable-content--PaddingLeft: var(--#{$masthead}--inset); // TODO: update after toolbar updates
|
|
82
|
-
--#{$toolbar}__expandable-content--BackgroundColor: var(--#{$masthead}--BackgroundColor); // TODO: update after toolbar updates
|
|
83
|
-
--#{$toolbar}__expandable-content--lg--PaddingRight: var(--#{$masthead}--PaddingInlineStart); // TODO: update after toolbar updates
|
|
84
|
-
--#{$toolbar}__expandable-content--lg--PaddingBottom: var(--pf-t--global--spacer--md); // TODO: update after toolbar updates
|
|
85
|
-
--#{$toolbar}__expandable-content--lg--PaddingLeft: var(--#{$masthead}--PaddingInlineEnd); // TODO: update after toolbar updates
|
|
73
|
+
--#{$toolbar}--Width: var(--#{$masthead}--#{$toolbar}--Width);
|
|
74
|
+
--#{$toolbar}__content--PaddingBlock: var(--#{$masthead}--#{$toolbar}--PaddingBlock);
|
|
75
|
+
--#{$toolbar}__content--PaddingInline: var(--#{$masthead}--#{$toolbar}--PaddingInline);
|
|
86
76
|
|
|
87
77
|
// Set layout to stack by default
|
|
88
78
|
@include pf-v5-c-masthead--m-display-stack;
|
|
@@ -99,21 +89,16 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
99
89
|
grid-template-columns: var(--#{$masthead}--GridTemplateColumns);
|
|
100
90
|
row-gap: var(--#{$masthead}--RowGap);
|
|
101
91
|
column-gap: var(--#{$masthead}--ColumnGap);
|
|
102
|
-
align-items:
|
|
92
|
+
align-items: start;
|
|
103
93
|
min-width: 0;
|
|
104
|
-
padding-block-start: var(--#{$masthead}--PaddingBlockStart);
|
|
105
|
-
padding-block-end: var(--#{$masthead}--PaddingBlockEnd);
|
|
106
|
-
padding-inline-start: var(--#{$masthead}--inset);
|
|
107
|
-
padding-inline-end: var(--#{$masthead}--inset);
|
|
108
|
-
background-color: var(--#{$masthead}--BackgroundColor);
|
|
109
94
|
|
|
110
|
-
//
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
95
|
+
// set the fallback of any customizable, nested variable to its default value
|
|
96
|
+
padding-block-start: var(--#{$masthead}--PaddingBlockStart, var(--#{$masthead}--PaddingBlock));
|
|
97
|
+
padding-block-end: var(--#{$masthead}--PaddingBlockEnd, var(--#{$masthead}--PaddingBlock));
|
|
98
|
+
padding-inline-start: var(--#{$masthead}--PaddingInlineStart, var(--#{$masthead}--PaddingInline));
|
|
99
|
+
padding-inline-end: var(--#{$masthead}--PaddingInlineEnd, var(--#{$masthead}--PaddingInline));
|
|
100
|
+
background-color: var(--#{$masthead}--BackgroundColor, var(--pf-t--global--background--color--secondary--default));
|
|
115
101
|
|
|
116
|
-
// TODO: update when toolbar updates
|
|
117
102
|
// - Masthead toolbar expandable content
|
|
118
103
|
.#{$toolbar}__expandable-content {
|
|
119
104
|
inset-block-start: 100%;
|
|
@@ -200,7 +185,6 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
200
185
|
background-color: var(--#{$masthead}--BackgroundColor);
|
|
201
186
|
}
|
|
202
187
|
|
|
203
|
-
|
|
204
188
|
// TODO: move this sass to separate file for resize observer updates
|
|
205
189
|
// TODO: make this an opt in/out
|
|
206
190
|
// stylelint-disable no-duplicate-selectors
|
|
@@ -1,66 +1,36 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-overflow-menu--ColumnGap: var(--pf-t--global--spacer--md);
|
|
3
|
+
--pf-v5-c-overflow-menu__group--ColumnGap: var(--pf-t--global--spacer--md);
|
|
4
|
+
--pf-v5-c-overflow-menu__group--m-button-group--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
5
|
+
--pf-v5-c-overflow-menu__group--m-icon-button-group--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
6
|
+
}
|
|
7
|
+
|
|
1
8
|
.pf-v5-c-overflow-menu {
|
|
2
|
-
--pf-v5-c-overflow-menu--spacer--base: var(--pf-v5-global--spacer--md);
|
|
3
|
-
--pf-v5-c-overflow-menu--spacer: var(--pf-v5-global--spacer--sm);
|
|
4
|
-
--pf-v5-c-overflow-menu__group--spacer: var(--pf-v5-c-overflow-menu--spacer--base);
|
|
5
|
-
--pf-v5-c-overflow-menu__item--spacer: var(--pf-v5-c-overflow-menu--spacer--base);
|
|
6
|
-
--pf-v5-c-overflow-menu--c-divider--m-vertical--spacer: var(--pf-v5-c-overflow-menu--spacer--base);
|
|
7
|
-
--pf-v5-c-overflow-menu__group--m-button-group--spacer: var(--pf-v5-c-overflow-menu--spacer--base);
|
|
8
|
-
--pf-v5-c-overflow-menu__group--m-button-group--space-items: var(--pf-v5-global--spacer--sm);
|
|
9
|
-
--pf-v5-c-overflow-menu__group--m-icon-button-group--spacer: var(--pf-v5-c-overflow-menu--spacer--base);
|
|
10
|
-
--pf-v5-c-overflow-menu__group--m-icon-button-group--space-items: 0;
|
|
11
9
|
display: inline-flex;
|
|
12
|
-
|
|
10
|
+
column-gap: var(--pf-v5-c-overflow-menu--ColumnGap);
|
|
13
11
|
}
|
|
14
12
|
|
|
15
|
-
.pf-v5-c-overflow-menu__content
|
|
13
|
+
.pf-v5-c-overflow-menu__content,
|
|
14
|
+
.pf-v5-c-overflow-menu__group {
|
|
16
15
|
display: flex;
|
|
17
|
-
align-items:
|
|
16
|
+
align-items: start;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.pf-v5-c-overflow-menu__group {
|
|
21
|
-
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
20
|
+
column-gap: var(--pf-v5-c-overflow-menu__group--ColumnGap);
|
|
24
21
|
}
|
|
25
22
|
.pf-v5-c-overflow-menu__group.pf-m-button-group {
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
.pf-v5-c-overflow-menu__group.pf-m-button-group > * {
|
|
29
|
-
--pf-v5-c-overflow-menu--spacer: var(--pf-v5-c-overflow-menu__group--m-button-group--space-items);
|
|
23
|
+
column-gap: var(--pf-v5-c-overflow-menu__group--m-button-group--ColumnGap);
|
|
30
24
|
}
|
|
31
25
|
.pf-v5-c-overflow-menu__group.pf-m-icon-button-group {
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
.pf-v5-c-overflow-menu__group.pf-m-icon-button-group > * {
|
|
35
|
-
--pf-v5-c-overflow-menu--spacer: var(--pf-v5-c-overflow-menu__group--m-icon-button-group--space-items);
|
|
26
|
+
column-gap: var(--pf-v5-c-overflow-menu__group--m-icon-button-group--ColumnGap);
|
|
36
27
|
}
|
|
37
28
|
|
|
38
29
|
.pf-v5-c-overflow-menu__item {
|
|
39
|
-
--pf-v5-c-overflow-
|
|
30
|
+
column-gap: var(--pf-v5-c-overflow-menu__item--ColumnGap, var(--pf-v5-c-overflow-menu--ColumnGap));
|
|
40
31
|
}
|
|
41
32
|
|
|
42
33
|
.pf-v5-c-overflow-menu__content,
|
|
43
|
-
.pf-v5-c-overflow-menu__control
|
|
44
|
-
|
|
45
|
-
.pf-v5-c-overflow-menu__item {
|
|
46
|
-
margin-inline-end: var(--pf-v5-c-overflow-menu--spacer);
|
|
47
|
-
}
|
|
48
|
-
.pf-v5-c-overflow-menu__content:last-child,
|
|
49
|
-
.pf-v5-c-overflow-menu__control:last-child,
|
|
50
|
-
.pf-v5-c-overflow-menu__group:last-child,
|
|
51
|
-
.pf-v5-c-overflow-menu__item:last-child {
|
|
52
|
-
--pf-v5-c-overflow-menu--spacer: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.pf-v5-c-overflow-menu > .pf-v5-c-divider,
|
|
56
|
-
.pf-v5-c-overflow-menu__group > .pf-v5-c-divider {
|
|
57
|
-
--pf-v5-c-overflow-menu--spacer: var(--pf-v5-c-overflow-menu--c-divider--m-vertical--spacer);
|
|
58
|
-
}
|
|
59
|
-
.pf-v5-c-overflow-menu > .pf-v5-c-divider.pf-m-vertical,
|
|
60
|
-
.pf-v5-c-overflow-menu__group > .pf-v5-c-divider.pf-m-vertical {
|
|
61
|
-
margin-inline-end: var(--pf-v5-c-overflow-menu--spacer);
|
|
62
|
-
}
|
|
63
|
-
.pf-v5-c-overflow-menu > .pf-v5-c-divider.pf-m-vertical:last-child,
|
|
64
|
-
.pf-v5-c-overflow-menu__group > .pf-v5-c-divider.pf-m-vertical:last-child {
|
|
65
|
-
--pf-v5-c-overflow-menu--spacer: 0;
|
|
34
|
+
.pf-v5-c-overflow-menu__control {
|
|
35
|
+
column-gap: var(--pf-v5-c-overflow-menu--ColumnGap);
|
|
66
36
|
}
|
|
@@ -1,89 +1,51 @@
|
|
|
1
|
-
|
|
1
|
+
:root {
|
|
2
|
+
--#{$overflow-menu}--ColumnGap: var(--pf-t--global--spacer--md);
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
--#{$overflow-menu}--spacer--base: var(--#{$pf-global}--spacer--md);
|
|
6
|
-
|
|
7
|
-
// Spacer values
|
|
8
|
-
--#{$overflow-menu}--spacer: var(--#{$pf-global}--spacer--sm);
|
|
9
|
-
--#{$overflow-menu}__group--spacer: var(--#{$overflow-menu}--spacer--base);
|
|
10
|
-
--#{$overflow-menu}__item--spacer: var(--#{$overflow-menu}--spacer--base);
|
|
11
|
-
--#{$overflow-menu}--c-divider--m-vertical--spacer: var(--#{$overflow-menu}--spacer--base);
|
|
4
|
+
// * Overflow menu group
|
|
5
|
+
--#{$overflow-menu}__group--ColumnGap: var(--pf-t--global--spacer--md);
|
|
12
6
|
|
|
13
|
-
//
|
|
14
|
-
--#{$overflow-menu}__group--m-button-group--
|
|
15
|
-
--#{$overflow-menu}__group--m-button-group--space-items: var(--#{$pf-global}--spacer--sm);
|
|
7
|
+
// * Overflow menu button group
|
|
8
|
+
--#{$overflow-menu}__group--m-button-group--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
16
9
|
|
|
17
|
-
//
|
|
18
|
-
--#{$overflow-menu}__group--m-icon-button-group--
|
|
19
|
-
|
|
10
|
+
// * Overflow menu icon button group
|
|
11
|
+
--#{$overflow-menu}__group--m-icon-button-group--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
12
|
+
}
|
|
20
13
|
|
|
14
|
+
// - Overflow menu
|
|
15
|
+
.#{$overflow-menu} {
|
|
21
16
|
display: inline-flex;
|
|
22
|
-
|
|
17
|
+
column-gap: var(--#{$overflow-menu}--ColumnGap);
|
|
23
18
|
}
|
|
24
19
|
|
|
25
|
-
//
|
|
26
|
-
.#{$overflow-menu}__content
|
|
20
|
+
// - Overflow menu content - Overflow menu group
|
|
21
|
+
.#{$overflow-menu}__content,
|
|
22
|
+
.#{$overflow-menu}__group {
|
|
27
23
|
display: flex;
|
|
28
|
-
align-items:
|
|
24
|
+
align-items: start;
|
|
29
25
|
}
|
|
30
26
|
|
|
31
|
-
//
|
|
27
|
+
// - Overflow menu group
|
|
32
28
|
.#{$overflow-menu}__group {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
29
|
+
column-gap: var(--#{$overflow-menu}__group--ColumnGap);
|
|
37
30
|
|
|
38
|
-
//
|
|
31
|
+
// - Overflow menu button group
|
|
39
32
|
&.pf-m-button-group {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
> * {
|
|
43
|
-
--#{$overflow-menu}--spacer: var(--#{$overflow-menu}__group--m-button-group--space-items);
|
|
44
|
-
}
|
|
33
|
+
column-gap: var(--#{$overflow-menu}__group--m-button-group--ColumnGap);
|
|
45
34
|
}
|
|
46
35
|
|
|
47
|
-
//
|
|
36
|
+
// - Overflow menu icon button group
|
|
48
37
|
&.pf-m-icon-button-group {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
> * {
|
|
52
|
-
--#{$overflow-menu}--spacer: var(--#{$overflow-menu}__group--m-icon-button-group--space-items);
|
|
53
|
-
}
|
|
38
|
+
column-gap: var(--#{$overflow-menu}__group--m-icon-button-group--ColumnGap);
|
|
54
39
|
}
|
|
55
40
|
}
|
|
56
41
|
|
|
57
|
-
//
|
|
42
|
+
// - Oveflow menu item
|
|
58
43
|
.#{$overflow-menu}__item {
|
|
59
|
-
|
|
60
|
-
--#{$overflow-menu}--spacer: var(--#{$overflow-menu}__item--spacer);
|
|
44
|
+
column-gap: var(--#{$overflow-menu}__item--ColumnGap, var(--#{$overflow-menu}--ColumnGap));
|
|
61
45
|
}
|
|
62
46
|
|
|
47
|
+
// - Overflow menu content - Overflow menu control
|
|
63
48
|
.#{$overflow-menu}__content,
|
|
64
|
-
.#{$overflow-menu}__control
|
|
65
|
-
|
|
66
|
-
.#{$overflow-menu}__item {
|
|
67
|
-
margin-inline-end: var(--#{$overflow-menu}--spacer);
|
|
68
|
-
|
|
69
|
-
&:last-child {
|
|
70
|
-
--#{$overflow-menu}--spacer: 0;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// Divider
|
|
75
|
-
.#{$overflow-menu},
|
|
76
|
-
.#{$overflow-menu}__group {
|
|
77
|
-
// set this var here so specificity is 20
|
|
78
|
-
> .#{$divider} {
|
|
79
|
-
--#{$overflow-menu}--spacer: var(--#{$overflow-menu}--c-divider--m-vertical--spacer);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
> .#{$divider}.pf-m-vertical {
|
|
83
|
-
margin-inline-end: var(--#{$overflow-menu}--spacer);
|
|
84
|
-
|
|
85
|
-
&:last-child {
|
|
86
|
-
--#{$overflow-menu}--spacer: 0;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
49
|
+
.#{$overflow-menu}__control {
|
|
50
|
+
column-gap: var(--#{$overflow-menu}--ColumnGap);
|
|
89
51
|
}
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
appearance: none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
:root
|
|
9
|
+
:where(:root),
|
|
10
|
+
:where(.pf-v5-c-pagination) {
|
|
10
11
|
--pf-v5-c-pagination--inset: 0;
|
|
11
12
|
--pf-v5-c-pagination--ColumnGap: var(--pf-t--global--spacer--lg);
|
|
12
13
|
--pf-v5-c-pagination--m-page-insets--inset: var(--pf-t--global--spacer--md);
|
|
@@ -46,7 +47,8 @@
|
|
|
46
47
|
--pf-v5-c-pagination--m-display-full__page-menu--Display: inline-flex;
|
|
47
48
|
}
|
|
48
49
|
@media screen and (min-width: 768px) {
|
|
49
|
-
:root
|
|
50
|
+
:where(:root),
|
|
51
|
+
:where(.pf-v5-c-pagination) {
|
|
50
52
|
--pf-v5-c-pagination--m-bottom--BoxShadow: none;
|
|
51
53
|
--pf-v5-c-pagination__page-menu--Display: inline-flex;
|
|
52
54
|
--pf-v5-c-pagination__nav--Display: inline-flex;
|
|
@@ -54,7 +56,8 @@
|
|
|
54
56
|
}
|
|
55
57
|
}
|
|
56
58
|
@media screen and (min-width: 1200px) {
|
|
57
|
-
:root
|
|
59
|
+
:where(:root),
|
|
60
|
+
:where(.pf-v5-c-pagination) {
|
|
58
61
|
--pf-v5-c-pagination--m-bottom--PaddingRight: var(--pf-v5-c-pagination--m-bottom--xl--PaddingRight);
|
|
59
62
|
--pf-v5-c-pagination--m-bottom--PaddingLeft: var(--pf-v5-c-pagination--m-bottom--xl--PaddingLeft);
|
|
60
63
|
--pf-v5-c-pagination__scroll-button--Width: var(--pf-v5-c-pagination__scroll-button--xl--Width);
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
$pf-v5-c-pagination--breakpoint-map: build-breakpoint-map();
|
|
3
3
|
$pf-v5-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
4
4
|
|
|
5
|
-
:root
|
|
5
|
+
:where(:root),
|
|
6
|
+
:where(.#{$pagination}) {
|
|
6
7
|
--#{$pagination}--inset: 0;
|
|
7
8
|
--#{$pagination}--ColumnGap: var(--pf-t--global--spacer--lg);
|
|
8
|
-
|
|
9
|
+
|
|
9
10
|
// Page insets
|
|
10
11
|
--#{$pagination}--m-page-insets--inset: var(--pf-t--global--spacer--md);
|
|
11
12
|
--#{$pagination}--m-page-insets--xl--inset: var(--pf-t--global--spacer--lg);
|
|
12
|
-
|
|
13
|
+
|
|
13
14
|
// nav
|
|
14
15
|
--#{$pagination}__nav--Display: none;
|
|
15
16
|
--#{$pagination}--m-display-summary__nav--Display: none;
|