@patternfly/patternfly 6.0.0-alpha.113 → 6.0.0-alpha.115
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/assets/images/pf_logo.svg +11 -11
- package/assets/images/pf_logo_white.svg +2 -2
- package/base/_chart-globals.scss +320 -320
- package/base/_fa-icons.scss +2 -2
- package/base/_fonts.scss +16 -16
- package/base/_globals.scss +4 -11
- package/base/_variables.scss +221 -221
- package/base/patternfly-globals.css +2 -6
- package/base/patternfly-variables.css +13 -9
- package/base/themes/dark/_chart-globals.scss +25 -25
- package/base/tokens/_tokens-font.scss +8 -0
- package/components/AboutModalBox/about-modal-box.css +1 -1
- package/components/AboutModalBox/about-modal-box.scss +1 -1
- package/components/Alert/alert-group.css +1 -1
- package/components/Alert/alert-group.scss +1 -1
- package/components/Alert/alert.css +1 -1
- package/components/Alert/alert.scss +1 -1
- package/components/AppLauncher/app-launcher.css +1 -1
- package/components/AppLauncher/app-launcher.scss +1 -1
- package/components/Banner/banner.css +1 -1
- package/components/Banner/banner.scss +1 -1
- package/components/Button/button.css +3 -3
- package/components/Button/button.scss +3 -3
- package/components/Card/card.css +1 -1
- package/components/Card/card.scss +1 -1
- package/components/Content/content.css +1 -1
- package/components/Content/content.scss +1 -1
- package/components/ContextSelector/context-selector.css +1 -1
- package/components/ContextSelector/context-selector.scss +1 -1
- package/components/Drawer/drawer.css +2 -2
- package/components/Drawer/drawer.scss +2 -2
- package/components/Dropdown/dropdown.css +2 -2
- package/components/Dropdown/dropdown.scss +2 -2
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/DualListSelector/dual-list-selector.scss +3 -3
- package/components/Form/form.css +1 -1
- package/components/Form/form.scss +1 -1
- package/components/JumpLinks/jump-links.css +1 -1
- package/components/JumpLinks/jump-links.scss +1 -1
- package/components/List/list.css +1 -1
- package/components/List/list.scss +1 -1
- package/components/Menu/menu.css +4 -4
- package/components/Menu/menu.scss +4 -4
- package/components/ModalBox/modal-box.css +1 -1
- package/components/ModalBox/modal-box.scss +1 -1
- package/components/Nav/nav.css +1 -1
- package/components/Nav/nav.scss +1 -1
- package/components/OptionsMenu/options-menu.css +1 -1
- package/components/OptionsMenu/options-menu.scss +1 -1
- package/components/Page/page.css +8 -8
- package/components/Page/page.scss +14 -14
- package/components/ProgressStepper/progress-stepper.css +1 -1
- package/components/ProgressStepper/progress-stepper.scss +1 -1
- package/components/Select/select.css +1 -1
- package/components/Select/select.scss +1 -1
- package/components/Sidebar/sidebar.css +1 -1
- package/components/Sidebar/sidebar.scss +1 -1
- package/components/SkipToContent/skip-to-content.css +1 -1
- package/components/SkipToContent/skip-to-content.scss +1 -1
- package/components/Table/table.css +1 -1
- package/components/Table/table.scss +1 -1
- package/components/Toolbar/toolbar.css +1 -1
- package/components/Toolbar/toolbar.scss +1 -1
- package/components/TreeView/tree-view.scss +2 -2
- package/components/Wizard/wizard.css +1 -1
- package/components/Wizard/wizard.scss +1 -1
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +18 -18
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
- package/docs/components/Table/examples/Table.md +2 -2
- package/docs/components/Tabs/examples/Tabs.md +102 -102
- package/docs/demos/Card/examples/Card.md +160 -135
- package/docs/demos/Dashboard/examples/Dashboard.md +8 -8
- package/docs/demos/DescriptionList/examples/DescriptionList.md +5 -5
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +5 -5
- package/docs/demos/Table/examples/Table.md +2 -2
- package/docs/demos/Toolbar/examples/Toolbar.css +3 -3
- package/docs/utilities/Text/examples/Text.md +0 -1
- package/package.json +1 -1
- package/patternfly-base-no-globals-theme-dark-unversioned.css +13 -69
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +2 -2
- package/patternfly-base-no-globals.css +13 -69
- package/patternfly-base-no-globals.scss +2 -2
- package/patternfly-base-theme-dark-unversioned.css +15 -71
- package/patternfly-base.css +15 -71
- package/patternfly-base.scss +0 -1
- package/patternfly-charts.scss +319 -319
- package/patternfly-no-globals.css +60 -89
- package/patternfly-no-globals.scss +2 -2
- package/patternfly-theme-dark-unversioned.css +84 -113
- package/patternfly-theme-dark-unversioned.scss +1 -1
- package/patternfly.css +62 -91
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/_init.scss +3 -3
- package/sass-utilities/colors.scss +81 -81
- package/sass-utilities/functions.scss +2 -2
- package/sass-utilities/mixins.scss +1 -1
- package/sass-utilities/scss-variables.scss +149 -149
- package/sass-utilities/themes/dark/colors.scss +15 -15
- package/sass-utilities/themes/dark/scss-variables.scss +74 -74
- package/themes/dark/_patternfly-charts-theme-dark.scss +25 -25
- package/base/_themes.scss +0 -43
- package/base/patternfly-themes.css +0 -82
- package/base/patternfly-themes.scss +0 -2
- package/base/themes/dark/_globals.scss +0 -5
|
@@ -7,36 +7,36 @@ $chart: #{$pf-prefix} + 'chart';
|
|
|
7
7
|
// Chart colors
|
|
8
8
|
|
|
9
9
|
// blue
|
|
10
|
-
$pf-
|
|
11
|
-
$pf-
|
|
12
|
-
$pf-
|
|
13
|
-
$pf-
|
|
14
|
-
$pf-
|
|
10
|
+
$pf-v6-chart-color-blue-100: #add6ff;
|
|
11
|
+
$pf-v6-chart-color-blue-200: #85c2ff;
|
|
12
|
+
$pf-v6-chart-color-blue-300: #47a3ff;
|
|
13
|
+
$pf-v6-chart-color-blue-400: #0a85ff;
|
|
14
|
+
$pf-v6-chart-color-blue-500: $pf-v6-color-blue-400;
|
|
15
15
|
|
|
16
16
|
// green
|
|
17
|
-
$pf-
|
|
18
|
-
$pf-
|
|
19
|
-
$pf-
|
|
20
|
-
$pf-
|
|
21
|
-
$pf-
|
|
17
|
+
$pf-v6-chart-color-green-100: #d6eed3;
|
|
18
|
+
$pf-v6-chart-color-green-200: #aedca7;
|
|
19
|
+
$pf-v6-chart-color-green-300: #85cb7c;
|
|
20
|
+
$pf-v6-chart-color-green-400: #5cb950;
|
|
21
|
+
$pf-v6-chart-color-green-500: $pf-v6-color-green-500;
|
|
22
22
|
|
|
23
23
|
// cyan
|
|
24
|
-
$pf-
|
|
25
|
-
$pf-
|
|
26
|
-
$pf-
|
|
27
|
-
$pf-
|
|
28
|
-
$pf-
|
|
24
|
+
$pf-v6-chart-color-cyan-100: #b9feff;
|
|
25
|
+
$pf-v6-chart-color-cyan-200: #86fdff;
|
|
26
|
+
$pf-v6-chart-color-cyan-300: #00b5b8;
|
|
27
|
+
$pf-v6-chart-color-cyan-400: #008c8f;
|
|
28
|
+
$pf-v6-chart-color-cyan-500: $pf-v6-color-cyan-400;
|
|
29
29
|
|
|
30
30
|
// purple
|
|
31
|
-
$pf-
|
|
32
|
-
$pf-
|
|
33
|
-
$pf-
|
|
34
|
-
$pf-
|
|
35
|
-
$pf-
|
|
31
|
+
$pf-v6-chart-color-purple-100: #cec8e4;
|
|
32
|
+
$pf-v6-chart-color-purple-200: #a99fd1;
|
|
33
|
+
$pf-v6-chart-color-purple-300: #9183c3;
|
|
34
|
+
$pf-v6-chart-color-purple-400: #7968b6;
|
|
35
|
+
$pf-v6-chart-color-purple-500: $pf-v6-color-purple-500;
|
|
36
36
|
|
|
37
37
|
// red
|
|
38
|
-
$pf-
|
|
39
|
-
$pf-
|
|
40
|
-
$pf-
|
|
41
|
-
$pf-
|
|
42
|
-
$pf-
|
|
38
|
+
$pf-v6-chart-color-red-100: #ffadad;
|
|
39
|
+
$pf-v6-chart-color-red-200: #ff7070;
|
|
40
|
+
$pf-v6-chart-color-red-300: #ff4747;
|
|
41
|
+
$pf-v6-chart-color-red-400: #ff0a0a;
|
|
42
|
+
$pf-v6-chart-color-red-500: $pf-v6-color-red-200;
|
|
@@ -145,4 +145,12 @@
|
|
|
145
145
|
var(--pf-t--global--box-shadow--blur--lg)
|
|
146
146
|
var(--pf-t--global--box-shadow--spread--lg)
|
|
147
147
|
var(--pf-t--global--box-shadow--color--lg);
|
|
148
|
+
|
|
149
|
+
// Transitions
|
|
150
|
+
--pf-t--global--transition: all 250ms cubic-bezier(.42, 0, .58, 1);
|
|
151
|
+
--pf-t--global--transition--timing-function: cubic-bezier(.645, .045, .355, 1);
|
|
152
|
+
--pf-t--global--transition--duration: 250ms;
|
|
153
|
+
|
|
154
|
+
// List bullet/marker
|
|
155
|
+
--pf-t--global--list-style: disc outside;
|
|
148
156
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
--pf-v6-c-about-modal-box__brand--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
|
|
20
20
|
--pf-v6-c-about-modal-box__brand--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
|
|
21
21
|
--pf-v6-c-about-modal-box__brand--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
|
|
22
|
-
--pf-v6-c-about-modal-box__close--ZIndex: var(--pf-
|
|
22
|
+
--pf-v6-c-about-modal-box__close--ZIndex: var(--pf-t--global--Zindex--2xl);
|
|
23
23
|
--pf-v6-c-about-modal-box__close--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
24
24
|
--pf-v6-c-about-modal-box__close--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
25
25
|
--pf-v6-c-about-modal-box__close--PaddingBottom: var(--pf-t--global--spacer--xl);
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
// Close
|
|
41
|
-
--#{$about-modal-box}__close--ZIndex: var(
|
|
41
|
+
--#{$about-modal-box}__close--ZIndex: var(--pf-t--global--Zindex--2xl);
|
|
42
42
|
--#{$about-modal-box}__close--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
43
43
|
--#{$about-modal-box}__close--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
44
44
|
--#{$about-modal-box}__close--PaddingBottom: var(--pf-t--global--spacer--xl);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--pf-v6-c-alert-group--m-toast--Top: var(--pf-t--global--spacer--2xl);
|
|
4
4
|
--pf-v6-c-alert-group--m-toast--Right: var(--pf-t--global--spacer--xl);
|
|
5
5
|
--pf-v6-c-alert-group--m-toast--MaxWidth: 37.5rem;
|
|
6
|
-
--pf-v6-c-alert-group--m-toast--ZIndex: var(--pf-
|
|
6
|
+
--pf-v6-c-alert-group--m-toast--ZIndex: var(--pf-t--global--Zindex--2xl);
|
|
7
7
|
--pf-v6-c-alert-group__overflow-button--BorderWidth: 0;
|
|
8
8
|
--pf-v6-c-alert-group__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
9
9
|
--pf-v6-c-alert-group__overflow-button--PaddingTop: var(--pf-t--global--spacer--md);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--#{$alert-group}--m-toast--Top: var(--pf-t--global--spacer--2xl);
|
|
10
10
|
--#{$alert-group}--m-toast--Right: var(--pf-t--global--spacer--xl);
|
|
11
11
|
--#{$alert-group}--m-toast--MaxWidth: #{pf-size-prem(600px)};
|
|
12
|
-
--#{$alert-group}--m-toast--ZIndex: var(
|
|
12
|
+
--#{$alert-group}--m-toast--ZIndex: var(--pf-t--global--Zindex--2xl);
|
|
13
13
|
|
|
14
14
|
// Overflow button
|
|
15
15
|
--#{$alert-group}__overflow-button--BorderWidth: 0;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
--pf-v6-c-alert__toggle--MarginBottom: calc(-1 * var(--pf-t--global--spacer--button--vertical--default));
|
|
19
19
|
--pf-v6-c-alert__toggle--MarginRight: var(--pf-t--global--spacer--sm);
|
|
20
20
|
--pf-v6-c-alert__toggle-icon--Rotate: 0;
|
|
21
|
-
--pf-v6-c-alert__toggle-icon--Transition: var(--pf-
|
|
21
|
+
--pf-v6-c-alert__toggle-icon--Transition: var(--pf-t--global--transition);
|
|
22
22
|
--pf-v6-c-alert__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
23
23
|
--pf-v6-c-alert__icon--MarginTop: 0.25rem;
|
|
24
24
|
--pf-v6-c-alert__icon--MarginRight: var(--pf-t--global--spacer--sm);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
// Toggle icon
|
|
27
27
|
--#{$alert}__toggle-icon--Rotate: 0;
|
|
28
|
-
--#{$alert}__toggle-icon--Transition: var(
|
|
28
|
+
--#{$alert}__toggle-icon--Transition: var(--pf-t--global--transition);
|
|
29
29
|
|
|
30
30
|
// Icon
|
|
31
31
|
--#{$alert}__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--pf-v6-c-app-launcher__menu--PaddingTop: var(--pf-v6-global--spacer--sm);
|
|
5
5
|
--pf-v6-c-app-launcher__menu--PaddingBottom: var(--pf-v6-global--spacer--sm);
|
|
6
6
|
--pf-v6-c-app-launcher__menu--Top: calc(100% + var(--pf-v6-global--spacer--xs));
|
|
7
|
-
--pf-v6-c-app-launcher__menu--ZIndex: var(--pf-
|
|
7
|
+
--pf-v6-c-app-launcher__menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
8
8
|
--pf-v6-c-app-launcher--m-top__menu--Top: 0;
|
|
9
9
|
--pf-v6-c-app-launcher--m-top__menu--TranslateY: calc(-100% - var(--pf-v6-global--spacer--xs));
|
|
10
10
|
--pf-v6-c-app-launcher__toggle--PaddingTop: var(--pf-v6-global--spacer--form-element);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--#{$app-launcher}__menu--PaddingTop: var(--#{$pf-global}--spacer--sm);
|
|
10
10
|
--#{$app-launcher}__menu--PaddingBottom: var(--#{$pf-global}--spacer--sm);
|
|
11
11
|
--#{$app-launcher}__menu--Top: calc(100% + var(--#{$pf-global}--spacer--xs));
|
|
12
|
-
--#{$app-launcher}__menu--ZIndex: var(
|
|
12
|
+
--#{$app-launcher}__menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
13
13
|
--#{$app-launcher}--m-top__menu--Top: 0;
|
|
14
14
|
--#{$app-launcher}--m-top__menu--TranslateY: calc(-100% - var(--#{$pf-global}--spacer--xs)); // The "dropup" menu must be transformed up and this calculates how much to create space between the toggle and menu
|
|
15
15
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
--pf-v6-c-banner--link--hover--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
15
15
|
--pf-v6-c-banner--link--disabled--Color: var(--pf-v6-c-banner--Color);
|
|
16
16
|
--pf-v6-c-banner--link--disabled--TextDecoration: none;
|
|
17
|
-
--pf-v6-c-banner--m-sticky--ZIndex: var(--pf-
|
|
17
|
+
--pf-v6-c-banner--m-sticky--ZIndex: var(--pf-t--global--Zindex--md);
|
|
18
18
|
--pf-v6-c-banner--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
19
19
|
--pf-v6-c-banner--m-danger--BackgroundColor: var(--pf-t--global--color--status--danger--default);
|
|
20
20
|
--pf-v6-c-banner--m-danger--Color: var(--pf-t--global--text--color--status--on-danger--default);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--#{$banner}--link--disabled--TextDecoration: none;
|
|
26
26
|
|
|
27
27
|
// modifier variables
|
|
28
|
-
--#{$banner}--m-sticky--ZIndex: var(
|
|
28
|
+
--#{$banner}--m-sticky--ZIndex: var(--pf-t--global--Zindex--md);
|
|
29
29
|
--#{$banner}--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
30
30
|
|
|
31
31
|
// status modifier variables
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
--pf-v6-c-button--m-clicked__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
200
200
|
--pf-v6-c-button__icon--m-start--MarginRight: var(--pf-t--global--spacer--xs);
|
|
201
201
|
--pf-v6-c-button__icon--m-end--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
202
|
-
--pf-v6-c-button__progress--width: calc(var(--pf-v6-
|
|
202
|
+
--pf-v6-c-button__progress--width: calc(var(--pf-v6-c-spinner--m-md--diameter) + var(--pf-t--global--spacer--sm));
|
|
203
203
|
--pf-v6-c-button__progress--Opacity: 0;
|
|
204
204
|
--pf-v6-c-button__progress--TranslateY: -50%;
|
|
205
205
|
--pf-v6-c-button__progress--TranslateX: 0;
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
--pf-v6-c-button__progress--Left: var(--pf-t--global--spacer--md);
|
|
208
208
|
--pf-v6-c-button__progress--Color: var(--pf-v6-c-button__icon--Color);
|
|
209
209
|
--pf-v6-c-button--m-progress--TransitionProperty: padding;
|
|
210
|
-
--pf-v6-c-button--m-progress--TransitionDuration: var(--pf-
|
|
210
|
+
--pf-v6-c-button--m-progress--TransitionDuration: var(--pf-t--global--transitionDuration);
|
|
211
211
|
--pf-v6-c-button--m-progress--PaddingRight: calc(var(--pf-t--global--spacer--md) + var(--pf-v6-c-button__progress--width) / 2);
|
|
212
212
|
--pf-v6-c-button--m-progress--PaddingLeft: calc(var(--pf-t--global--spacer--md) + var(--pf-v6-c-button__progress--width) / 2);
|
|
213
213
|
--pf-v6-c-button--m-in-progress--PaddingRight: var(--pf-t--global--spacer--md);
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
--pf-v6-c-button--m-in-progress--m-plain--Color: var(--pf-v6-c-spinner--Color);
|
|
216
216
|
--pf-v6-c-button--m-in-progress--m-plain__progress--Left: 50%;
|
|
217
217
|
--pf-v6-c-button--m-in-progress--m-plain__progress--TranslateX: -50%;
|
|
218
|
-
--pf-v6-c-button__count--MarginLeft: var(--pf-
|
|
218
|
+
--pf-v6-c-button__count--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
219
219
|
--pf-v6-c-button--disabled__c-badge--Color: var(--pf-t--global--text--color--disabled);
|
|
220
220
|
--pf-v6-c-button--disabled__c-badge--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
221
221
|
--pf-v6-c-button--m-primary__c-badge--BorderColor: var(--pf-t--global--border--color--default);
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
--#{$button}__icon--m-end--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
244
244
|
|
|
245
245
|
// Progress
|
|
246
|
-
--#{$button}__progress--width: calc(var(--#{$
|
|
246
|
+
--#{$button}__progress--width: calc(var(--#{$spinner}--m-md--diameter) + var(--pf-t--global--spacer--sm)); // matches medium spinner diameter plus a spacer
|
|
247
247
|
--#{$button}__progress--Opacity: 0;
|
|
248
248
|
--#{$button}__progress--TranslateY: -50%;
|
|
249
249
|
--#{$button}__progress--TranslateX: 0;
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
--#{$button}__progress--Left: var(--pf-t--global--spacer--md);
|
|
252
252
|
--#{$button}__progress--Color: var(--#{$button}__icon--Color);
|
|
253
253
|
--#{$button}--m-progress--TransitionProperty: padding;
|
|
254
|
-
--#{$button}--m-progress--TransitionDuration: var(
|
|
254
|
+
--#{$button}--m-progress--TransitionDuration: var(--pf-t--global--transitionDuration);
|
|
255
255
|
--#{$button}--m-progress--PaddingRight: calc(var(--pf-t--global--spacer--md) + var(--#{$button}__progress--width) / 2);
|
|
256
256
|
--#{$button}--m-progress--PaddingLeft: calc(var(--pf-t--global--spacer--md) + var(--#{$button}__progress--width) / 2);
|
|
257
257
|
--#{$button}--m-in-progress--PaddingRight: var(--pf-t--global--spacer--md);
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
--#{$button}--m-in-progress--m-plain__progress--TranslateX: -50%;
|
|
262
262
|
|
|
263
263
|
// Count
|
|
264
|
-
--#{$button}__count--MarginLeft: var(
|
|
264
|
+
--#{$button}__count--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
265
265
|
--#{$button}--disabled__c-badge--Color: var(--pf-t--global--text--color--disabled);
|
|
266
266
|
--#{$button}--disabled__c-badge--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
267
267
|
--#{$button}--m-primary__c-badge--BorderColor: var(--pf-t--global--border--color--default);
|
package/components/Card/card.css
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--pf-v6-c-card__header-toggle--MarginRight: var(--pf-t--global--spacer--xs);
|
|
29
29
|
--pf-v6-c-card__header-toggle--MarginBottom: calc(var(--pf-t--global--spacer--button--vertical--default) * -1);
|
|
30
30
|
--pf-v6-c-card__header-toggle--MarginLeft: calc(var(--pf-t--global--spacer--md) * -1);
|
|
31
|
-
--pf-v6-c-card__header-toggle-icon--Transition: var(--pf-
|
|
31
|
+
--pf-v6-c-card__header-toggle-icon--Transition: var(--pf-t--global--transition);
|
|
32
32
|
--pf-v6-c-card--m-expanded__header-toggle-icon--Rotate: 90deg;
|
|
33
33
|
--pf-v6-c-card--m-selectable--BorderWidth: var(--pf-v6-c-card--BorderWidth);
|
|
34
34
|
--pf-v6-c-card--m-selectable--m-selected--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--#{$card}__header-toggle--MarginRight: var(--pf-t--global--spacer--xs);
|
|
33
33
|
--#{$card}__header-toggle--MarginBottom: calc(var(--pf-t--global--spacer--button--vertical--default) * -1);
|
|
34
34
|
--#{$card}__header-toggle--MarginLeft: calc(var(--pf-t--global--spacer--md) * -1);
|
|
35
|
-
--#{$card}__header-toggle-icon--Transition: var(
|
|
35
|
+
--#{$card}__header-toggle-icon--Transition: var(--pf-t--global--transition);
|
|
36
36
|
--#{$card}--m-expanded__header-toggle-icon--Rotate: 90deg;
|
|
37
37
|
|
|
38
38
|
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
--pf-v6-c-content--ul--MarginLeft: var(--pf-t--global--spacer--lg);
|
|
60
60
|
--pf-v6-c-content--ul--nested--MarginTop: var(--pf-t--global--spacer--sm);
|
|
61
61
|
--pf-v6-c-content--ul--nested--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
62
|
-
--pf-v6-c-content--ul--ListStyle: var(--pf-
|
|
62
|
+
--pf-v6-c-content--ul--ListStyle: var(--pf-t--global--list-style);
|
|
63
63
|
--pf-v6-c-content--li--MarginTop: var(--pf-t--global--spacer--sm);
|
|
64
64
|
--pf-v6-c-content--dl--ColumnGap: var(--pf-t--global--spacer--2xl);
|
|
65
65
|
--pf-v6-c-content--dl--RowGap: var(--pf-t--global--spacer--md);
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
--#{$content}--ul--MarginLeft: var(--pf-t--global--spacer--lg);
|
|
87
87
|
--#{$content}--ul--nested--MarginTop: var(--pf-t--global--spacer--sm);
|
|
88
88
|
--#{$content}--ul--nested--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
89
|
-
--#{$content}--ul--ListStyle: var(
|
|
89
|
+
--#{$content}--ul--ListStyle: var(--pf-t--global--list-style);
|
|
90
90
|
--#{$content}--li--MarginTop: var(--pf-t--global--spacer--sm);
|
|
91
91
|
--#{$content}--dl--ColumnGap: var(--pf-t--global--spacer--2xl);
|
|
92
92
|
--#{$content}--dl--RowGap: var(--pf-t--global--spacer--md);
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
--pf-v6-c-context-selector--m-plain__toggle-icon--Color: var(--pf-v6-global--Color--200);
|
|
46
46
|
--pf-v6-c-context-selector--m-plain--hover__toggle-icon--Color: var(--pf-v6-global--Color--100);
|
|
47
47
|
--pf-v6-c-context-selector__menu--Top: calc(100% + var(--pf-v6-global--spacer--xs));
|
|
48
|
-
--pf-v6-c-context-selector__menu--ZIndex: var(--pf-
|
|
48
|
+
--pf-v6-c-context-selector__menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
49
49
|
--pf-v6-c-context-selector__menu--PaddingTop: var(--pf-v6-global--spacer--sm);
|
|
50
50
|
--pf-v6-c-context-selector__menu--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-100);
|
|
51
51
|
--pf-v6-c-context-selector__menu--BoxShadow: var(--pf-v6-global--BoxShadow--md);
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
// Menu
|
|
46
46
|
--#{$context-selector}__menu--Top: calc(100% + var(--#{$pf-global}--spacer--xs));
|
|
47
|
-
--#{$context-selector}__menu--ZIndex: var(
|
|
47
|
+
--#{$context-selector}__menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
48
48
|
--#{$context-selector}__menu--PaddingTop: var(--#{$pf-global}--spacer--sm); // remove at breaking change
|
|
49
49
|
--#{$context-selector}__menu--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-100);
|
|
50
50
|
--#{$context-selector}__menu--BoxShadow: var(--#{$pf-global}--BoxShadow--md);
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
|
|
121
121
|
.pf-v6-c-drawer {
|
|
122
122
|
--pf-v6-c-drawer--m-expanded__panel--BoxShadow: var(--pf-t--global--box-shadow--lg--left);
|
|
123
|
-
--pf-v6-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-
|
|
123
|
+
--pf-v6-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-t--global--box-shadow--lg--right);
|
|
124
124
|
display: flex;
|
|
125
125
|
flex-direction: column;
|
|
126
126
|
height: 100%;
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-drawer {
|
|
134
|
-
--pf-v6-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-
|
|
134
|
+
--pf-v6-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-t--global--box-shadow--lg--left);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable), .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
@@ -160,8 +160,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
160
160
|
);
|
|
161
161
|
@include pf-v6-bidirectional-style(
|
|
162
162
|
$prop: --#{$drawer}--m-expanded--m-panel-left__panel--BoxShadow,
|
|
163
|
-
$ltr-val: var(
|
|
164
|
-
$rtl-val: var(
|
|
163
|
+
$ltr-val: var(--pf-t--global--box-shadow--lg--right),
|
|
164
|
+
$rtl-val: var(--pf-t--global--box-shadow--lg--left)
|
|
165
165
|
);
|
|
166
166
|
|
|
167
167
|
display: flex;
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
--pf-v6-c-dropdown__menu--PaddingTop: var(--pf-v6-global--spacer--sm);
|
|
99
99
|
--pf-v6-c-dropdown__menu--PaddingBottom: var(--pf-v6-global--spacer--sm);
|
|
100
100
|
--pf-v6-c-dropdown__menu--Top: calc(100% + var(--pf-v6-global--spacer--xs));
|
|
101
|
-
--pf-v6-c-dropdown__menu--ZIndex: var(--pf-
|
|
101
|
+
--pf-v6-c-dropdown__menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
102
102
|
--pf-v6-c-dropdown--m-top__menu--Top: 0;
|
|
103
103
|
--pf-v6-c-dropdown--m-top__menu--TranslateY: calc(-100% - var(--pf-v6-global--spacer--xs));
|
|
104
104
|
--pf-v6-c-dropdown__menu-item--BackgroundColor: transparent;
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
--pf-v6-c-dropdown__toggle--c-badge__toggle-icon--MarginLeft: var(--pf-v6-global--spacer--xs);
|
|
136
136
|
--pf-v6-c-dropdown__toggle--c-badge__toggle-icon--MarginRight: 0;
|
|
137
137
|
--pf-v6-c-dropdown--c-menu--Top: calc(100% + var(--pf-v6-global--spacer--xs));
|
|
138
|
-
--pf-v6-c-dropdown--c-menu--ZIndex: var(--pf-
|
|
138
|
+
--pf-v6-c-dropdown--c-menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
139
139
|
--pf-v6-c-dropdown--m-top--c-menu--Top: 0;
|
|
140
140
|
--pf-v6-c-dropdown--m-top--c-menu--TranslateY: calc(-100% - var(--pf-v6-global--spacer--xs));
|
|
141
141
|
--pf-v6-c-dropdown--m-full-height__toggle--before--BorderTopWidth: 0;
|
|
@@ -124,7 +124,7 @@ $pf-v6-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
|
|
|
124
124
|
--#{$dropdown}__menu--PaddingTop: var(--#{$pf-global}--spacer--sm);
|
|
125
125
|
--#{$dropdown}__menu--PaddingBottom: var(--#{$pf-global}--spacer--sm);
|
|
126
126
|
--#{$dropdown}__menu--Top: calc(100% + var(--#{$pf-global}--spacer--xs)); // The top of the menu must be pushed down to create space between the toggle and menu
|
|
127
|
-
--#{$dropdown}__menu--ZIndex: var(
|
|
127
|
+
--#{$dropdown}__menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
128
128
|
--#{$dropdown}--m-top__menu--Top: 0;
|
|
129
129
|
--#{$dropdown}--m-top__menu--TranslateY: calc(-100% - var(--#{$pf-global}--spacer--xs)); // The "dropup" menu must be transformed up and this calculates how much to create space between the toggle and menu
|
|
130
130
|
|
|
@@ -175,7 +175,7 @@ $pf-v6-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
|
|
|
175
175
|
|
|
176
176
|
// menu
|
|
177
177
|
--#{$dropdown}--c-menu--Top: calc(100% + var(--#{$pf-global}--spacer--xs)); // The top of the menu must be pushed down to create space between the toggle and menu
|
|
178
|
-
--#{$dropdown}--c-menu--ZIndex: var(
|
|
178
|
+
--#{$dropdown}--c-menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
179
179
|
--#{$dropdown}--m-top--c-menu--Top: 0;
|
|
180
180
|
--#{$dropdown}--m-top--c-menu--TranslateY: calc(-100% - var(--#{$pf-global}--spacer--xs)); // The "dropup" menu must be transformed up and this calculates how much to create space between the toggle and menu
|
|
181
181
|
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
--pf-v6-c-dual-list-selector__item--c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
53
53
|
--pf-v6-c-dual-list-selector__item-toggle-icon--Rotate: 0;
|
|
54
54
|
--pf-v6-c-dual-list-selector__list-item--m-expanded__item-toggle-icon--Rotate: 90deg;
|
|
55
|
-
--pf-v6-c-dual-list-selector__item-toggle-icon--Transition: var(--pf-
|
|
55
|
+
--pf-v6-c-dual-list-selector__item-toggle-icon--Transition: var(--pf-t--global--transition);
|
|
56
56
|
--pf-v6-c-dual-list-selector__item-toggle-icon--MinWidth: var(--pf-v6-c-dual-list-selector__list-item-row--FontSize);
|
|
57
57
|
--pf-v6-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
|
|
58
58
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @debug $dual-list-selector; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
$pf-
|
|
2
|
+
$pf-v6-c-dual-list-selector__item--MaxNesting: 10;
|
|
3
3
|
|
|
4
4
|
:where(:root), :where(.#{$dual-list-selector}) {
|
|
5
5
|
// Grid
|
|
@@ -82,7 +82,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
82
82
|
// Icon
|
|
83
83
|
--#{$dual-list-selector}__item-toggle-icon--Rotate: 0;
|
|
84
84
|
--#{$dual-list-selector}__list-item--m-expanded__item-toggle-icon--Rotate: 90deg;
|
|
85
|
-
--#{$dual-list-selector}__item-toggle-icon--Transition: var(
|
|
85
|
+
--#{$dual-list-selector}__item-toggle-icon--Transition: var(--pf-t--global--transition);
|
|
86
86
|
--#{$dual-list-selector}__item-toggle-icon--MinWidth: var(--#{$dual-list-selector}__list-item-row--FontSize);
|
|
87
87
|
--#{$dual-list-selector}__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
|
|
88
88
|
}
|
|
@@ -345,7 +345,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
345
345
|
$root: &;
|
|
346
346
|
$nested-item: &;
|
|
347
347
|
|
|
348
|
-
@for $i from 1 through $pf-
|
|
348
|
+
@for $i from 1 through $pf-v6-c-dual-list-selector__item--MaxNesting {
|
|
349
349
|
#{$nested-item} {
|
|
350
350
|
--#{$dual-list-selector}__item--PaddingLeft: calc(var(--#{$dual-list-selector}__item--nested-indent--base) * #{$i} + var(--#{$dual-list-selector}__item--indent--base));
|
|
351
351
|
--#{$dual-list-selector}__list__list__item-toggle--Left: var(--#{$dual-list-selector}__item--PaddingLeft);
|
package/components/Form/form.css
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
--pf-v6-c-form__field-group__field-group--field-group__field-group-toggle--after--BorderTopWidth: var(--pf-v6-c-form__field-group-header-toggle--BorderWidth--base);
|
|
58
58
|
--pf-v6-c-form__field-group-toggle-button--MarginTop: calc(var(--pf-v6-c-button--m-plain--PaddingTop) * -1);
|
|
59
59
|
--pf-v6-c-form__field-group-toggle-button--MarginBottom: calc(var(--pf-v6-c-button--m-plain--PaddingBottom) * -1);
|
|
60
|
-
--pf-v6-c-form__field-group-toggle-icon--Transition: var(--pf-
|
|
60
|
+
--pf-v6-c-form__field-group-toggle-icon--Transition: var(--pf-t--global--transition);
|
|
61
61
|
--pf-v6-c-form__field-group-toggle-icon--MinWidth: var(--pf-t--global--font--size--body--default);
|
|
62
62
|
--pf-v6-c-form__field-group-toggle-icon--Rotate: 0;
|
|
63
63
|
--pf-v6-c-form__field-group--m-expanded__toggle-icon--Rotate: 90deg;
|
|
@@ -133,7 +133,7 @@ $pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
133
133
|
--#{$form}__field-group__field-group--field-group__field-group-toggle--after--BorderTopWidth: var(--#{$form}__field-group-header-toggle--BorderWidth--base);
|
|
134
134
|
--#{$form}__field-group-toggle-button--MarginTop: calc(var(--#{$button}--m-plain--PaddingTop) * -1);
|
|
135
135
|
--#{$form}__field-group-toggle-button--MarginBottom: calc(var(--#{$button}--m-plain--PaddingBottom) * -1);
|
|
136
|
-
--#{$form}__field-group-toggle-icon--Transition: var(
|
|
136
|
+
--#{$form}__field-group-toggle-icon--Transition: var(--pf-t--global--transition);
|
|
137
137
|
--#{$form}__field-group-toggle-icon--MinWidth: var(--pf-t--global--font--size--body--default);
|
|
138
138
|
--#{$form}__field-group-toggle-icon--Rotate: 0;
|
|
139
139
|
--#{$form}__field-group--m-expanded__toggle-icon--Rotate: 90deg;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
--pf-v6-c-jump-links__toggle--MarginLeft: calc(-1 * var(--pf-t--global--spacer--md));
|
|
50
50
|
--pf-v6-c-jump-links__toggle--Display: none;
|
|
51
51
|
--pf-v6-c-jump-links__toggle-icon--Color: currentcolor;
|
|
52
|
-
--pf-v6-c-jump-links__toggle-icon--Transition: var(--pf-
|
|
52
|
+
--pf-v6-c-jump-links__toggle-icon--Transition: var(--pf-t--global--transition);
|
|
53
53
|
--pf-v6-c-jump-links__toggle-icon--Rotate: 0;
|
|
54
54
|
--pf-v6-c-jump-links--m-expanded__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
55
55
|
--pf-v6-c-jump-links--m-expanded__toggle-icon--Rotate: 90deg;
|
|
@@ -65,7 +65,7 @@ $pf-v6-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
|
|
|
65
65
|
|
|
66
66
|
// toggle icon
|
|
67
67
|
--#{$jump-links}__toggle-icon--Color: currentcolor;
|
|
68
|
-
--#{$jump-links}__toggle-icon--Transition: var(
|
|
68
|
+
--#{$jump-links}__toggle-icon--Transition: var(--pf-t--global--transition);
|
|
69
69
|
--#{$jump-links}__toggle-icon--Rotate: 0;
|
|
70
70
|
--#{$jump-links}--m-expanded__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
71
71
|
--#{$jump-links}--m-expanded__toggle-icon--Rotate: 90deg;
|
package/components/List/list.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--pf-v6-c-list--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
3
3
|
--pf-v6-c-list--nested--MarginTop: var(--pf-t--global--spacer--sm);
|
|
4
4
|
--pf-v6-c-list--nested--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
5
|
-
--pf-v6-c-list--ul--ListStyle: var(--pf-
|
|
5
|
+
--pf-v6-c-list--ul--ListStyle: var(--pf-t--global--list-style);
|
|
6
6
|
--pf-v6-c-list--li--MarginTop: var(--pf-t--global--spacer--sm);
|
|
7
7
|
--pf-v6-c-list--m-inline--li--MarginRight: var(--pf-t--global--spacer--lg);
|
|
8
8
|
--pf-v6-c-list--m-bordered--li--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--#{$list}--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
6
6
|
--#{$list}--nested--MarginTop: var(--pf-t--global--spacer--sm);
|
|
7
7
|
--#{$list}--nested--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
8
|
-
--#{$list}--ul--ListStyle: var(
|
|
8
|
+
--#{$list}--ul--ListStyle: var(--pf-t--global--list-style);
|
|
9
9
|
--#{$list}--li--MarginTop: var(--pf-t--global--spacer--sm);
|
|
10
10
|
|
|
11
11
|
// inline
|
package/components/Menu/menu.css
CHANGED
|
@@ -141,13 +141,13 @@
|
|
|
141
141
|
--pf-v6-c-menu--m-flyout__menu--Left: calc(100% + var(--pf-v6-c-menu--m-flyout__menu--left-offset));
|
|
142
142
|
--pf-v6-c-menu--m-flyout__menu--m-top--Bottom: calc(var(--pf-v6-c-menu__list--PaddingBlockStart) * -1);
|
|
143
143
|
--pf-v6-c-menu--m-flyout__menu--m-left--Right: calc(100% + var(--pf-v6-c-menu--m-flyout__menu--m-left--right-offset));
|
|
144
|
-
--pf-v6-c-menu--m-drilldown__content--TransitionDuration--height: var(--pf-
|
|
145
|
-
--pf-v6-c-menu--m-drilldown__content--TransitionDuration--transform: var(--pf-
|
|
144
|
+
--pf-v6-c-menu--m-drilldown__content--TransitionDuration--height: var(--pf-t--global--transitionDuration);
|
|
145
|
+
--pf-v6-c-menu--m-drilldown__content--TransitionDuration--transform: var(--pf-t--global--transitionDuration);
|
|
146
146
|
--pf-v6-c-menu--m-drilldown__content--Transition: transform var(--pf-v6-c-menu--m-drilldown__content--TransitionDuration--transform), height var(--pf-v6-c-menu--m-drilldown__content--TransitionDuration--height);
|
|
147
147
|
--pf-v6-c-menu--m-drilldown--c-menu--Top: 0;
|
|
148
|
-
--pf-v6-c-menu--m-drilldown--c-menu--TransitionDuration--transform: var(--pf-
|
|
148
|
+
--pf-v6-c-menu--m-drilldown--c-menu--TransitionDuration--transform: var(--pf-t--global--transitionDuration);
|
|
149
149
|
--pf-v6-c-menu--m-drilldown--c-menu--Transition: transform var(--pf-v6-c-menu--m-drilldown--c-menu--TransitionDuration--transform);
|
|
150
|
-
--pf-v6-c-menu--m-drilldown__list--TransitionDuration--transform: var(--pf-
|
|
150
|
+
--pf-v6-c-menu--m-drilldown__list--TransitionDuration--transform: var(--pf-t--global--transitionDuration);
|
|
151
151
|
--pf-v6-c-menu--m-drilldown__list--Transition: transform var(--pf-v6-c-menu--m-drilldown__list--TransitionDuration--transform);
|
|
152
152
|
--pf-v6-c-menu--m-drilled-in--c-menu__list-item--m-current-path--c-menu--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
153
153
|
}
|
|
@@ -121,17 +121,17 @@
|
|
|
121
121
|
--#{$menu}--m-flyout__menu--m-left--Right: calc(100% + var(--#{$menu}--m-flyout__menu--m-left--right-offset));
|
|
122
122
|
|
|
123
123
|
// * Menu drilldown content
|
|
124
|
-
--#{$menu}--m-drilldown__content--TransitionDuration--height: var(
|
|
125
|
-
--#{$menu}--m-drilldown__content--TransitionDuration--transform: var(
|
|
124
|
+
--#{$menu}--m-drilldown__content--TransitionDuration--height: var(--pf-t--global--transitionDuration);
|
|
125
|
+
--#{$menu}--m-drilldown__content--TransitionDuration--transform: var(--pf-t--global--transitionDuration);
|
|
126
126
|
--#{$menu}--m-drilldown__content--Transition: transform var(--#{$menu}--m-drilldown__content--TransitionDuration--transform), height var(--#{$menu}--m-drilldown__content--TransitionDuration--height);
|
|
127
127
|
|
|
128
128
|
// * Menu drilldown menu
|
|
129
129
|
--#{$menu}--m-drilldown--c-menu--Top: 0;
|
|
130
|
-
--#{$menu}--m-drilldown--c-menu--TransitionDuration--transform: var(
|
|
130
|
+
--#{$menu}--m-drilldown--c-menu--TransitionDuration--transform: var(--pf-t--global--transitionDuration);
|
|
131
131
|
--#{$menu}--m-drilldown--c-menu--Transition: transform var(--#{$menu}--m-drilldown--c-menu--TransitionDuration--transform);
|
|
132
132
|
|
|
133
133
|
// * Menu drilldown list
|
|
134
|
-
--#{$menu}--m-drilldown__list--TransitionDuration--transform: var(
|
|
134
|
+
--#{$menu}--m-drilldown__list--TransitionDuration--transform: var(--pf-t--global--transitionDuration);
|
|
135
135
|
--#{$menu}--m-drilldown__list--Transition: transform var(--#{$menu}--m-drilldown__list--TransitionDuration--transform);
|
|
136
136
|
|
|
137
137
|
// * Menu drilled in
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--pf-v6-c-modal-box--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
3
3
|
--pf-v6-c-modal-box--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
4
4
|
--pf-v6-c-modal-box--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
5
|
-
--pf-v6-c-modal-box--ZIndex: var(--pf-
|
|
5
|
+
--pf-v6-c-modal-box--ZIndex: var(--pf-t--global--Zindex--xl);
|
|
6
6
|
--pf-v6-c-modal-box--Width: 100%;
|
|
7
7
|
--pf-v6-c-modal-box--MaxWidth: calc(100% - var(--pf-t--global--spacer--xl));
|
|
8
8
|
--pf-v6-c-modal-box--m-sm--sm--MaxWidth: 35rem;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--#{$modal-box}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
5
5
|
--#{$modal-box}--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
6
6
|
--#{$modal-box}--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
7
|
-
--#{$modal-box}--ZIndex: var(
|
|
7
|
+
--#{$modal-box}--ZIndex: var(--pf-t--global--Zindex--xl); // TODO use a z-index token
|
|
8
8
|
--#{$modal-box}--Width: 100%;
|
|
9
9
|
--#{$modal-box}--MaxWidth: calc(100% - var(--pf-t--global--spacer--xl)); // Ensure modal has gutters at full width
|
|
10
10
|
--#{$modal-box}--m-sm--sm--MaxWidth: #{pf-size-prem(560px)}; // MaxWidth is based on optimal line length for reading
|
package/components/Nav/nav.css
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--pf-v6-c-nav--FontSize: var(--pf-t--global--font--size--body--default);
|
|
17
17
|
--pf-v6-c-nav--FontWeight: var(--pf-t--global--font--weight--body);
|
|
18
18
|
--pf-v6-c-nav--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
19
|
-
--pf-v6-c-nav--OutlineOffset: calc(var(--pf-
|
|
19
|
+
--pf-v6-c-nav--OutlineOffset: calc(var(--pf-t--global--spacer--xs) * -1);
|
|
20
20
|
--pf-v6-c-nav--BackgroundColor: transparent;
|
|
21
21
|
--pf-v6-c-nav__list--ScrollSnapTypeAxis: x;
|
|
22
22
|
--pf-v6-c-nav__list--ScrollSnapTypeStrictness: proximity;
|
package/components/Nav/nav.scss
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
--#{$nav}--FontSize: var(--pf-t--global--font--size--body--default);
|
|
20
20
|
--#{$nav}--FontWeight: var(--pf-t--global--font--weight--body);
|
|
21
21
|
--#{$nav}--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
22
|
-
--#{$nav}--OutlineOffset: calc(var(
|
|
22
|
+
--#{$nav}--OutlineOffset: calc(var(--pf-t--global--spacer--xs) * -1);
|
|
23
23
|
--#{$nav}--BackgroundColor: transparent;
|
|
24
24
|
|
|
25
25
|
// * Nav list
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
--pf-v6-c-options-menu__menu--PaddingTop: var(--pf-v6-global--spacer--sm);
|
|
41
41
|
--pf-v6-c-options-menu__menu--PaddingBottom: var(--pf-v6-global--spacer--sm);
|
|
42
42
|
--pf-v6-c-options-menu__menu--Top: calc(100% + var(--pf-v6-global--spacer--xs));
|
|
43
|
-
--pf-v6-c-options-menu__menu--ZIndex: var(--pf-
|
|
43
|
+
--pf-v6-c-options-menu__menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
44
44
|
--pf-v6-c-options-menu--m-top__menu--Top: 0;
|
|
45
45
|
--pf-v6-c-options-menu--m-top__menu--TranslateY: calc(-100% - var(--pf-v6-global--spacer--xs));
|
|
46
46
|
--pf-v6-c-options-menu__menu-item--BackgroundColor: transparent;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
--#{$options-menu}__menu--PaddingTop: var(--#{$pf-global}--spacer--sm);
|
|
50
50
|
--#{$options-menu}__menu--PaddingBottom: var(--#{$pf-global}--spacer--sm);
|
|
51
51
|
--#{$options-menu}__menu--Top: calc(100% + var(--#{$pf-global}--spacer--xs));
|
|
52
|
-
--#{$options-menu}__menu--ZIndex: var(
|
|
52
|
+
--#{$options-menu}__menu--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
53
53
|
--#{$options-menu}--m-top__menu--Top: 0;
|
|
54
54
|
--#{$options-menu}--m-top__menu--TranslateY: calc(-100% - var(--#{$pf-global}--spacer--xs)); // The "dropup" menu must be transformed up and this calculates how much to create space between the toggle and menu
|
|
55
55
|
|