@patternfly/patternfly 6.0.0-alpha.107 → 6.0.0-alpha.109
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/README.md +0 -1
- package/base/_common.scss +4 -4
- package/base/_globals.scss +2 -2
- package/base/_themes.scss +3 -3
- package/base/_variables.scss +14 -14
- package/base/patternfly-variables.css +18 -12
- package/base/themes/dark/_globals.scss +1 -1
- package/base/tokens/_tokens-charts.scss +1 -1
- package/base/tokens/_tokens-dark.scss +3 -3
- package/base/tokens/_tokens-default.scss +17 -11
- package/base/tokens/_tokens-palette.scss +1 -1
- package/components/AboutModalBox/about-modal-box.scss +12 -12
- package/components/Accordion/accordion.scss +2 -2
- package/components/Alert/alert.css +4 -4
- package/components/Alert/alert.scss +6 -8
- package/components/AppLauncher/app-launcher.scss +2 -2
- package/components/AppLauncher/themes/dark/app-launcher.scss +1 -1
- package/components/Avatar/avatar.scss +5 -5
- package/components/BackToTop/back-to-top.scss +1 -1
- package/components/BackgroundImage/background-image.scss +1 -1
- package/components/Banner/banner.scss +1 -1
- package/components/Brand/brand.scss +3 -3
- package/components/Breadcrumb/breadcrumb.css +2 -2
- package/components/Breadcrumb/breadcrumb.scss +3 -3
- package/components/CalendarMonth/calendar-month.scss +1 -1
- package/components/Card/card.css +5 -5
- package/components/Card/card.scss +6 -6
- package/components/Chip/chip-group.scss +2 -2
- package/components/Chip/chip.scss +4 -4
- package/components/Chip/themes/dark/chip.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.scss +1 -1
- package/components/Content/content.scss +4 -4
- package/components/ContextSelector/context-selector.scss +5 -5
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.scss +6 -6
- package/components/DataList/data-list.css +17 -17
- package/components/DataList/data-list.scss +6 -6
- package/components/DescriptionList/description-list-order.scss +1 -1
- package/components/DescriptionList/description-list.scss +5 -5
- package/components/Divider/divider.css +15 -15
- package/components/Divider/divider.scss +16 -16
- package/components/Drawer/drawer.css +2 -2
- package/components/Drawer/drawer.scss +27 -27
- package/components/Dropdown/dropdown.scss +6 -6
- package/components/Dropdown/themes/dark/dropdown.scss +1 -1
- package/components/DualListSelector/dual-list-selector.scss +4 -4
- package/components/ExpandableSection/expandable-section.scss +1 -1
- package/components/Form/form.scss +8 -8
- package/components/FormControl/form-control.css +3 -3
- package/components/FormControl/form-control.scss +3 -3
- package/components/Hint/hint.css +1 -1
- package/components/Hint/hint.scss +1 -1
- package/components/JumpLinks/jump-links.css +2 -2
- package/components/JumpLinks/jump-links.scss +6 -6
- package/components/Label/label-group.scss +1 -1
- package/components/Label/label.scss +2 -2
- package/components/LogViewer/log-viewer.scss +3 -3
- package/components/LogViewer/themes/dark/log-viewer.scss +2 -2
- package/components/Login/login.scss +13 -13
- package/components/Masthead/masthead.scss +15 -15
- package/components/Menu/menu.css +17 -17
- package/components/Menu/menu.scss +9 -9
- package/components/MenuToggle/menu-toggle.scss +1 -1
- package/components/ModalBox/modal-box.scss +3 -3
- package/components/Nav/nav.scss +3 -3
- package/components/NotificationDrawer/notification-drawer.scss +3 -3
- package/components/NumberInput/number-input.scss +1 -1
- package/components/OptionsMenu/options-menu.scss +3 -3
- package/components/OptionsMenu/themes/dark/options-menu.scss +1 -1
- package/components/Page/page.css +16 -16
- package/components/Page/page.scss +19 -19
- package/components/Pagination/pagination.scss +10 -10
- package/components/Popover/popover.css +1 -1
- package/components/Popover/popover.scss +1 -1
- package/components/Progress/progress.scss +1 -1
- package/components/ProgressStepper/progress-stepper.scss +11 -11
- package/components/Select/select.scss +5 -5
- package/components/Select/themes/dark/select.scss +1 -1
- package/components/Sidebar/sidebar.css +84 -84
- package/components/Sidebar/sidebar.scss +12 -12
- package/components/Skeleton/skeleton.scss +1 -1
- package/components/Slider/slider.scss +11 -11
- package/components/Switch/switch.scss +2 -2
- package/components/TabContent/tab-content.scss +1 -1
- package/components/Table/table-grid.scss +6 -6
- package/components/Table/table-tree-view.scss +6 -6
- package/components/Table/table.css +15 -15
- package/components/Table/table.scss +2 -2
- package/components/Tabs/tabs.scss +10 -10
- package/components/TextInputGroup/text-input-group.scss +1 -1
- package/components/ToggleGroup/toggle-group.css +2 -2
- package/components/ToggleGroup/toggle-group.scss +2 -2
- package/components/Toolbar/toolbar.css +15 -15
- package/components/Toolbar/toolbar.scss +20 -20
- package/components/TreeView/tree-view.scss +5 -5
- package/components/Truncate/truncate.scss +3 -3
- package/components/Wizard/wizard.scss +10 -10
- package/docs/components/Badge/examples/Badge.md +0 -21
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +17 -58
- package/docs/components/Menu/examples/Menu.md +14 -6
- package/docs/components/MenuToggle/examples/MenuToggle.md +19 -0
- package/layouts/Flex/flex.scss +12 -12
- package/layouts/Gallery/gallery.scss +2 -2
- package/layouts/Grid/grid.scss +5 -5
- package/package.json +1 -1
- package/patternfly-base-no-globals-theme-dark-unversioned.css +18 -12
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +1 -1
- package/patternfly-base-no-globals.css +18 -12
- package/patternfly-base-theme-dark-unversioned.css +18 -12
- package/patternfly-base.css +18 -12
- package/patternfly-charts-theme-dark-unversioned.scss +4 -4
- package/patternfly-charts-theme-dark.css +2 -2
- package/patternfly-charts-theme-dark.scss +4 -4
- package/patternfly-no-globals.css +163 -157
- package/patternfly-theme-dark-unversioned.css +163 -157
- package/patternfly.css +163 -157
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/_init.scss +3 -3
- package/sass-utilities/functions.scss +11 -11
- package/sass-utilities/mixins.scss +55 -54
- package/sass-utilities/placeholders.scss +12 -12
- package/sass-utilities/scss-variables.scss +27 -27
- package/sass-utilities/themes/dark/mixins.scss +2 -2
- package/sass-utilities/themes/dark/placeholders.scss +1 -1
- package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
- package/utilities/Accessibility/accessibility.scss +6 -6
- package/utilities/Alignment/alignment.scss +1 -1
- package/utilities/BackgroundColor/BackgroundColor.scss +1 -1
- package/utilities/BoxShadow/box-shadow.scss +1 -1
- package/utilities/Display/display.scss +1 -1
- package/utilities/Flex/flex.scss +10 -10
- package/utilities/Float/float.scss +1 -1
- package/utilities/Sizing/sizing.scss +6 -6
- package/utilities/Spacing/spacing.scss +3 -3
- package/utilities/Text/text.scss +5 -5
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
package/README.md
CHANGED
package/base/_common.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Set common reset styles for patternfly components
|
|
2
2
|
|
|
3
3
|
.#{$pf-prefix}screen-reader {
|
|
4
|
-
@include pf-
|
|
4
|
+
@include pf-v6-u-screen-reader; // for use with assistive technologies
|
|
5
5
|
|
|
6
6
|
&.pf-m-full-size {
|
|
7
7
|
width: 100%;
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
|
|
33
33
|
// Sets a block to RTL
|
|
34
34
|
.#{$pf-prefix}m-dir-rtl {
|
|
35
|
-
@include pf-
|
|
35
|
+
@include pf-v6-set-inverse;
|
|
36
36
|
|
|
37
37
|
direction: rtl;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
// Sets a block to LTR
|
|
41
41
|
.#{$pf-prefix}m-dir-ltr {
|
|
42
|
-
@include pf-
|
|
42
|
+
@include pf-v6-set-inverse(false);
|
|
43
43
|
|
|
44
44
|
direction: ltr;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
// Mirrors/flips something horizontally/inline in RTL
|
|
48
48
|
.#{$pf-prefix}m-mirror-inline-rtl {
|
|
49
|
-
@include pf-
|
|
49
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
50
50
|
}
|
package/base/_globals.scss
CHANGED
package/base/_themes.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#{$pf-
|
|
2
|
-
@extend %pf-
|
|
1
|
+
#{$pf-v6--theme-dark--placeholder--class} {
|
|
2
|
+
@extend %pf-v6-t-dark;
|
|
3
3
|
|
|
4
4
|
&.pf-m-transparent {
|
|
5
5
|
background-color: transparent;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
#{$pf-v5--theme-light--placeholder--class} {
|
|
26
|
-
@extend %pf-
|
|
26
|
+
@extend %pf-v6-t-light;
|
|
27
27
|
|
|
28
28
|
&.pf-m-transparent {
|
|
29
29
|
background-color: transparent;
|
package/base/_variables.scss
CHANGED
|
@@ -191,19 +191,19 @@
|
|
|
191
191
|
--#{$pf-global}--ZIndex--2xl: #{$pf-v5-global--ZIndex--2xl};
|
|
192
192
|
|
|
193
193
|
// Grid breakpoints
|
|
194
|
-
--#{$pf-global}--breakpoint--xs: #{$pf-
|
|
195
|
-
--#{$pf-global}--breakpoint--sm: #{$pf-
|
|
196
|
-
--#{$pf-global}--breakpoint--md: #{$pf-
|
|
197
|
-
--#{$pf-global}--breakpoint--lg: #{$pf-
|
|
198
|
-
--#{$pf-global}--breakpoint--xl: #{$pf-
|
|
199
|
-
--#{$pf-global}--breakpoint--2xl: #{$pf-
|
|
194
|
+
--#{$pf-global}--breakpoint--xs: #{$pf-v6-global--breakpoint--xs};
|
|
195
|
+
--#{$pf-global}--breakpoint--sm: #{$pf-v6-global--breakpoint--sm};
|
|
196
|
+
--#{$pf-global}--breakpoint--md: #{$pf-v6-global--breakpoint--md};
|
|
197
|
+
--#{$pf-global}--breakpoint--lg: #{$pf-v6-global--breakpoint--lg};
|
|
198
|
+
--#{$pf-global}--breakpoint--xl: #{$pf-v6-global--breakpoint--xl};
|
|
199
|
+
--#{$pf-global}--breakpoint--2xl: #{$pf-v6-global--breakpoint--2xl};
|
|
200
200
|
|
|
201
201
|
// Vertical breakpoints
|
|
202
|
-
--#{$pf-global}--height-breakpoint--sm: #{$pf-
|
|
203
|
-
--#{$pf-global}--height-breakpoint--md: #{$pf-
|
|
204
|
-
--#{$pf-global}--height-breakpoint--lg: #{$pf-
|
|
205
|
-
--#{$pf-global}--height-breakpoint--xl: #{$pf-
|
|
206
|
-
--#{$pf-global}--height-breakpoint--2xl: #{$pf-
|
|
202
|
+
--#{$pf-global}--height-breakpoint--sm: #{$pf-v6-global--height-breakpoint--sm};
|
|
203
|
+
--#{$pf-global}--height-breakpoint--md: #{$pf-v6-global--height-breakpoint--md};
|
|
204
|
+
--#{$pf-global}--height-breakpoint--lg: #{$pf-v6-global--height-breakpoint--lg};
|
|
205
|
+
--#{$pf-global}--height-breakpoint--xl: #{$pf-v6-global--height-breakpoint--xl};
|
|
206
|
+
--#{$pf-global}--height-breakpoint--2xl: #{$pf-v6-global--height-breakpoint--2xl};
|
|
207
207
|
|
|
208
208
|
// Links
|
|
209
209
|
--#{$pf-global}--link--Color: #{$pf-v5-global--link--Color};
|
|
@@ -284,11 +284,11 @@
|
|
|
284
284
|
--#{$pf-global}--target-size--MinHeight: #{$pf-v5-global--target-size--MinHeight};
|
|
285
285
|
|
|
286
286
|
// RTL
|
|
287
|
-
@include pf-
|
|
287
|
+
@include pf-v6-set-inverse(false);
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
-
@include pf-
|
|
291
|
-
@include pf-
|
|
290
|
+
@include pf-v6-rtl {
|
|
291
|
+
@include pf-v6-set-inverse;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
@@ -552,8 +552,8 @@ html .ws-preview {
|
|
|
552
552
|
--pf-t--global--color--favorite--200: var(--pf-t--color--yellow--40);
|
|
553
553
|
--pf-t--global--color--favorite--100: var(--pf-t--color--yellow--30);
|
|
554
554
|
--pf-t--global--color--disabled--300: var(--pf-t--color--gray--60);
|
|
555
|
-
--pf-t--global--color--disabled--200: var(--pf-t--color--gray--
|
|
556
|
-
--pf-t--global--color--disabled--100: var(--pf-t--color--gray--
|
|
555
|
+
--pf-t--global--color--disabled--200: var(--pf-t--color--gray--40);
|
|
556
|
+
--pf-t--global--color--disabled--100: var(--pf-t--color--gray--30);
|
|
557
557
|
--pf-t--global--color--brand--300: var(--pf-t--color--blue--60);
|
|
558
558
|
--pf-t--global--color--brand--200: var(--pf-t--color--blue--50);
|
|
559
559
|
--pf-t--global--color--brand--100: var(--pf-t--color--blue--40);
|
|
@@ -641,10 +641,10 @@ html .ws-preview {
|
|
|
641
641
|
--pf-t--global--border--width--box--default: var(--pf-t--global--border--width--100);
|
|
642
642
|
--pf-t--global--border--width--extra-strong: var(--pf-t--global--border--width--300);
|
|
643
643
|
--pf-t--global--border--width--strong: var(--pf-t--global--border--width--200);
|
|
644
|
+
--pf-t--global--border--width--regular: var(--pf-t--global--border--width--100);
|
|
644
645
|
--pf-t--global--border--width--divider--clicked: var(--pf-t--global--border--width--100);
|
|
645
646
|
--pf-t--global--border--width--divider--hover: var(--pf-t--global--border--width--100);
|
|
646
647
|
--pf-t--global--border--width--divider--default: var(--pf-t--global--border--width--100);
|
|
647
|
-
--pf-t--global--border--width--regular: var(--pf-t--global--border--width--100);
|
|
648
648
|
--pf-t--global--icon--color--300: var(--pf-t--color--white);
|
|
649
649
|
--pf-t--global--icon--color--200: var(--pf-t--color--gray--50);
|
|
650
650
|
--pf-t--global--icon--color--100: var(--pf-t--color--gray--90);
|
|
@@ -654,12 +654,18 @@ html .ws-preview {
|
|
|
654
654
|
--pf-t--global--icon--size--lg: var(--pf-t--global--icon--size--250);
|
|
655
655
|
--pf-t--global--icon--size--md: var(--pf-t--global--icon--size--200);
|
|
656
656
|
--pf-t--global--icon--size--sm: var(--pf-t--global--icon--size--100);
|
|
657
|
-
--pf-t--global--spacer--
|
|
658
|
-
--pf-t--global--spacer--control--vertical: var(--pf-t--global--spacer--200);
|
|
657
|
+
--pf-t--global--spacer--button--horizontal--plain: var(--pf-t--global--spacer--200);
|
|
659
658
|
--pf-t--global--spacer--button--horizontal--compact: var(--pf-t--global--spacer--300);
|
|
660
659
|
--pf-t--global--spacer--button--horizontal--default: var(--pf-t--global--spacer--400);
|
|
660
|
+
--pf-t--global--spacer--button--vertical--plain: var(--pf-t--global--spacer--200);
|
|
661
661
|
--pf-t--global--spacer--button--vertical--compact: var(--pf-t--global--spacer--100);
|
|
662
662
|
--pf-t--global--spacer--button--vertical--default: var(--pf-t--global--spacer--200);
|
|
663
|
+
--pf-t--global--spacer--control--horizontal--plain: var(--pf-t--global--spacer--200);
|
|
664
|
+
--pf-t--global--spacer--control--horizontal--compact: var(--pf-t--global--spacer--200);
|
|
665
|
+
--pf-t--global--spacer--control--horizontal--default: var(--pf-t--global--spacer--300);
|
|
666
|
+
--pf-t--global--spacer--control--vertical--plain: var(--pf-t--global--spacer--200);
|
|
667
|
+
--pf-t--global--spacer--control--vertical--compact: var(--pf-t--global--spacer--100);
|
|
668
|
+
--pf-t--global--spacer--control--vertical--default: var(--pf-t--global--spacer--200);
|
|
663
669
|
--pf-t--global--spacer--4xl: var(--pf-t--global--spacer--800);
|
|
664
670
|
--pf-t--global--spacer--3xl: var(--pf-t--global--spacer--700);
|
|
665
671
|
--pf-t--global--spacer--2xl: var(--pf-t--global--spacer--600);
|
|
@@ -673,7 +679,7 @@ html .ws-preview {
|
|
|
673
679
|
--pf-t--global--text--color--status--warning--default: var(--pf-t--global--color--status--warning--200);
|
|
674
680
|
--pf-t--global--text--color--required: var(--pf-t--global--text--color--400);
|
|
675
681
|
--pf-t--global--text--color--on-disabled: var(--pf-t--global--color--disabled--300);
|
|
676
|
-
--pf-t--global--text--color--disabled: var(--pf-t--global--color--disabled--
|
|
682
|
+
--pf-t--global--text--color--disabled: var(--pf-t--global--color--disabled--200);
|
|
677
683
|
--pf-t--global--text--color--inverse: var(--pf-t--global--text--color--300);
|
|
678
684
|
--pf-t--global--text--color--subtle: var(--pf-t--global--text--color--200);
|
|
679
685
|
--pf-t--global--text--color--regular: var(--pf-t--global--text--color--100);
|
|
@@ -787,7 +793,7 @@ html .ws-preview {
|
|
|
787
793
|
--pf-t--global--border--color--status--warning--hover: var(--pf-t--global--color--status--warning--300);
|
|
788
794
|
--pf-t--global--border--color--status--warning--default: var(--pf-t--global--color--status--warning--200);
|
|
789
795
|
--pf-t--global--icon--color--on-disabled: var(--pf-t--global--color--disabled--300);
|
|
790
|
-
--pf-t--global--icon--color--disabled: var(--pf-t--global--color--disabled--
|
|
796
|
+
--pf-t--global--icon--color--disabled: var(--pf-t--global--color--disabled--200);
|
|
791
797
|
--pf-t--global--icon--color--inverse: var(--pf-t--global--icon--color--300);
|
|
792
798
|
--pf-t--global--icon--color--subtle: var(--pf-t--global--icon--color--200);
|
|
793
799
|
--pf-t--global--icon--color--regular: var(--pf-t--global--icon--color--100);
|
|
@@ -963,19 +969,19 @@ html .ws-preview {
|
|
|
963
969
|
--pf-t--global--icon--color--brand--clicked: var(--pf-t--global--color--brand--clicked);
|
|
964
970
|
--pf-t--global--icon--color--brand--hover: var(--pf-t--global--color--brand--hover);
|
|
965
971
|
--pf-t--global--icon--color--brand--default: var(--pf-t--global--color--brand--default);
|
|
966
|
-
--pf-t--global--icon--size--font--body--lg: var(--pf-t--global--font--size--body--lg);
|
|
967
|
-
--pf-t--global--icon--size--font--body--default: var(--pf-t--global--font--size--body--default);
|
|
968
|
-
--pf-t--global--icon--size--font--body--sm: var(--pf-t--global--font--size--body--sm);
|
|
969
972
|
--pf-t--global--icon--size--font--heading--h6: var(--pf-t--global--font--size--heading--h6);
|
|
970
973
|
--pf-t--global--icon--size--font--heading--h5: var(--pf-t--global--font--size--heading--h5);
|
|
971
974
|
--pf-t--global--icon--size--font--heading--h4: var(--pf-t--global--font--size--heading--h4);
|
|
972
975
|
--pf-t--global--icon--size--font--heading--h3: var(--pf-t--global--font--size--heading--h3);
|
|
973
976
|
--pf-t--global--icon--size--font--heading--h2: var(--pf-t--global--font--size--heading--h2);
|
|
974
977
|
--pf-t--global--icon--size--font--heading--h1: var(--pf-t--global--font--size--heading--h1);
|
|
978
|
+
--pf-t--global--icon--size--font--body--lg: var(--pf-t--global--font--size--body--lg);
|
|
979
|
+
--pf-t--global--icon--size--font--body--default: var(--pf-t--global--font--size--body--default);
|
|
980
|
+
--pf-t--global--icon--size--font--body--sm: var(--pf-t--global--font--size--body--sm);
|
|
975
981
|
--pf-t--global--color--status--read--on-secondary: var(--pf-t--global--background--color--control--default);
|
|
976
982
|
}
|
|
977
983
|
|
|
978
|
-
:root:where(.pf-
|
|
984
|
+
:root:where(.pf-v6-theme-dark) {
|
|
979
985
|
--pf-t--global--background--color--action--plain--default: rgba(0, 0, 0, 0.0000);
|
|
980
986
|
--pf-t--global--dark--box-shadow--color--100: rgba(0, 0, 0, 0.5000);
|
|
981
987
|
--pf-t--global--dark--background--color--600: rgba(199, 199, 199, 0.1500);
|
|
@@ -1039,7 +1045,7 @@ html .ws-preview {
|
|
|
1039
1045
|
--pf-t--global--dark--color--status--success--100: var(--pf-t--color--green--40);
|
|
1040
1046
|
--pf-t--global--dark--color--favorite--200: var(--pf-t--color--yellow--20);
|
|
1041
1047
|
--pf-t--global--dark--color--favorite--100: var(--pf-t--color--yellow--30);
|
|
1042
|
-
--pf-t--global--dark--color--disabled--300: var(--pf-t--color--gray--
|
|
1048
|
+
--pf-t--global--dark--color--disabled--300: var(--pf-t--color--gray--70);
|
|
1043
1049
|
--pf-t--global--dark--color--disabled--200: var(--pf-t--color--gray--50);
|
|
1044
1050
|
--pf-t--global--dark--color--disabled--100: var(--pf-t--color--gray--40);
|
|
1045
1051
|
--pf-t--global--dark--color--brand--300: var(--pf-t--color--blue--10);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// /**
|
|
2
2
|
// * Do not edit directly
|
|
3
|
-
// * Generated on
|
|
3
|
+
// * Generated on Wed, 27 Mar 2024 20:59:01 GMT
|
|
4
4
|
// */
|
|
5
5
|
|
|
6
|
-
:root:where(.pf-
|
|
6
|
+
:root:where(.pf-v6-theme-dark) {
|
|
7
7
|
--pf-t--global--background--color--action--plain--default: rgba(0, 0, 0, 0.0000);
|
|
8
8
|
--pf-t--global--dark--box-shadow--color--100: rgba(0, 0, 0, 0.5000);
|
|
9
9
|
--pf-t--global--dark--background--color--600: rgba(199, 199, 199, 0.1500);
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
--pf-t--global--dark--color--status--success--100: var(--pf-t--color--green--40);
|
|
68
68
|
--pf-t--global--dark--color--favorite--200: var(--pf-t--color--yellow--20);
|
|
69
69
|
--pf-t--global--dark--color--favorite--100: var(--pf-t--color--yellow--30);
|
|
70
|
-
--pf-t--global--dark--color--disabled--300: var(--pf-t--color--gray--
|
|
70
|
+
--pf-t--global--dark--color--disabled--300: var(--pf-t--color--gray--70);
|
|
71
71
|
--pf-t--global--dark--color--disabled--200: var(--pf-t--color--gray--50);
|
|
72
72
|
--pf-t--global--dark--color--disabled--100: var(--pf-t--color--gray--40);
|
|
73
73
|
--pf-t--global--dark--color--brand--300: var(--pf-t--color--blue--10);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// /**
|
|
2
2
|
// * Do not edit directly
|
|
3
|
-
// * Generated on
|
|
3
|
+
// * Generated on Wed, 27 Mar 2024 20:59:01 GMT
|
|
4
4
|
// */
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -113,8 +113,8 @@
|
|
|
113
113
|
--pf-t--global--color--favorite--200: var(--pf-t--color--yellow--40);
|
|
114
114
|
--pf-t--global--color--favorite--100: var(--pf-t--color--yellow--30);
|
|
115
115
|
--pf-t--global--color--disabled--300: var(--pf-t--color--gray--60);
|
|
116
|
-
--pf-t--global--color--disabled--200: var(--pf-t--color--gray--
|
|
117
|
-
--pf-t--global--color--disabled--100: var(--pf-t--color--gray--
|
|
116
|
+
--pf-t--global--color--disabled--200: var(--pf-t--color--gray--40);
|
|
117
|
+
--pf-t--global--color--disabled--100: var(--pf-t--color--gray--30);
|
|
118
118
|
--pf-t--global--color--brand--300: var(--pf-t--color--blue--60);
|
|
119
119
|
--pf-t--global--color--brand--200: var(--pf-t--color--blue--50);
|
|
120
120
|
--pf-t--global--color--brand--100: var(--pf-t--color--blue--40);
|
|
@@ -202,10 +202,10 @@
|
|
|
202
202
|
--pf-t--global--border--width--box--default: var(--pf-t--global--border--width--100);
|
|
203
203
|
--pf-t--global--border--width--extra-strong: var(--pf-t--global--border--width--300);
|
|
204
204
|
--pf-t--global--border--width--strong: var(--pf-t--global--border--width--200);
|
|
205
|
+
--pf-t--global--border--width--regular: var(--pf-t--global--border--width--100);
|
|
205
206
|
--pf-t--global--border--width--divider--clicked: var(--pf-t--global--border--width--100);
|
|
206
207
|
--pf-t--global--border--width--divider--hover: var(--pf-t--global--border--width--100);
|
|
207
208
|
--pf-t--global--border--width--divider--default: var(--pf-t--global--border--width--100);
|
|
208
|
-
--pf-t--global--border--width--regular: var(--pf-t--global--border--width--100);
|
|
209
209
|
--pf-t--global--icon--color--300: var(--pf-t--color--white);
|
|
210
210
|
--pf-t--global--icon--color--200: var(--pf-t--color--gray--50);
|
|
211
211
|
--pf-t--global--icon--color--100: var(--pf-t--color--gray--90);
|
|
@@ -215,12 +215,18 @@
|
|
|
215
215
|
--pf-t--global--icon--size--lg: var(--pf-t--global--icon--size--250);
|
|
216
216
|
--pf-t--global--icon--size--md: var(--pf-t--global--icon--size--200);
|
|
217
217
|
--pf-t--global--icon--size--sm: var(--pf-t--global--icon--size--100);
|
|
218
|
-
--pf-t--global--spacer--
|
|
219
|
-
--pf-t--global--spacer--control--vertical: var(--pf-t--global--spacer--200);
|
|
218
|
+
--pf-t--global--spacer--button--horizontal--plain: var(--pf-t--global--spacer--200);
|
|
220
219
|
--pf-t--global--spacer--button--horizontal--compact: var(--pf-t--global--spacer--300);
|
|
221
220
|
--pf-t--global--spacer--button--horizontal--default: var(--pf-t--global--spacer--400);
|
|
221
|
+
--pf-t--global--spacer--button--vertical--plain: var(--pf-t--global--spacer--200);
|
|
222
222
|
--pf-t--global--spacer--button--vertical--compact: var(--pf-t--global--spacer--100);
|
|
223
223
|
--pf-t--global--spacer--button--vertical--default: var(--pf-t--global--spacer--200);
|
|
224
|
+
--pf-t--global--spacer--control--horizontal--plain: var(--pf-t--global--spacer--200);
|
|
225
|
+
--pf-t--global--spacer--control--horizontal--compact: var(--pf-t--global--spacer--200);
|
|
226
|
+
--pf-t--global--spacer--control--horizontal--default: var(--pf-t--global--spacer--300);
|
|
227
|
+
--pf-t--global--spacer--control--vertical--plain: var(--pf-t--global--spacer--200);
|
|
228
|
+
--pf-t--global--spacer--control--vertical--compact: var(--pf-t--global--spacer--100);
|
|
229
|
+
--pf-t--global--spacer--control--vertical--default: var(--pf-t--global--spacer--200);
|
|
224
230
|
--pf-t--global--spacer--4xl: var(--pf-t--global--spacer--800);
|
|
225
231
|
--pf-t--global--spacer--3xl: var(--pf-t--global--spacer--700);
|
|
226
232
|
--pf-t--global--spacer--2xl: var(--pf-t--global--spacer--600);
|
|
@@ -234,7 +240,7 @@
|
|
|
234
240
|
--pf-t--global--text--color--status--warning--default: var(--pf-t--global--color--status--warning--200);
|
|
235
241
|
--pf-t--global--text--color--required: var(--pf-t--global--text--color--400);
|
|
236
242
|
--pf-t--global--text--color--on-disabled: var(--pf-t--global--color--disabled--300);
|
|
237
|
-
--pf-t--global--text--color--disabled: var(--pf-t--global--color--disabled--
|
|
243
|
+
--pf-t--global--text--color--disabled: var(--pf-t--global--color--disabled--200);
|
|
238
244
|
--pf-t--global--text--color--inverse: var(--pf-t--global--text--color--300);
|
|
239
245
|
--pf-t--global--text--color--subtle: var(--pf-t--global--text--color--200);
|
|
240
246
|
--pf-t--global--text--color--regular: var(--pf-t--global--text--color--100);
|
|
@@ -348,7 +354,7 @@
|
|
|
348
354
|
--pf-t--global--border--color--status--warning--hover: var(--pf-t--global--color--status--warning--300);
|
|
349
355
|
--pf-t--global--border--color--status--warning--default: var(--pf-t--global--color--status--warning--200);
|
|
350
356
|
--pf-t--global--icon--color--on-disabled: var(--pf-t--global--color--disabled--300);
|
|
351
|
-
--pf-t--global--icon--color--disabled: var(--pf-t--global--color--disabled--
|
|
357
|
+
--pf-t--global--icon--color--disabled: var(--pf-t--global--color--disabled--200);
|
|
352
358
|
--pf-t--global--icon--color--inverse: var(--pf-t--global--icon--color--300);
|
|
353
359
|
--pf-t--global--icon--color--subtle: var(--pf-t--global--icon--color--200);
|
|
354
360
|
--pf-t--global--icon--color--regular: var(--pf-t--global--icon--color--100);
|
|
@@ -524,14 +530,14 @@
|
|
|
524
530
|
--pf-t--global--icon--color--brand--clicked: var(--pf-t--global--color--brand--clicked);
|
|
525
531
|
--pf-t--global--icon--color--brand--hover: var(--pf-t--global--color--brand--hover);
|
|
526
532
|
--pf-t--global--icon--color--brand--default: var(--pf-t--global--color--brand--default);
|
|
527
|
-
--pf-t--global--icon--size--font--body--lg: var(--pf-t--global--font--size--body--lg);
|
|
528
|
-
--pf-t--global--icon--size--font--body--default: var(--pf-t--global--font--size--body--default);
|
|
529
|
-
--pf-t--global--icon--size--font--body--sm: var(--pf-t--global--font--size--body--sm);
|
|
530
533
|
--pf-t--global--icon--size--font--heading--h6: var(--pf-t--global--font--size--heading--h6);
|
|
531
534
|
--pf-t--global--icon--size--font--heading--h5: var(--pf-t--global--font--size--heading--h5);
|
|
532
535
|
--pf-t--global--icon--size--font--heading--h4: var(--pf-t--global--font--size--heading--h4);
|
|
533
536
|
--pf-t--global--icon--size--font--heading--h3: var(--pf-t--global--font--size--heading--h3);
|
|
534
537
|
--pf-t--global--icon--size--font--heading--h2: var(--pf-t--global--font--size--heading--h2);
|
|
535
538
|
--pf-t--global--icon--size--font--heading--h1: var(--pf-t--global--font--size--heading--h1);
|
|
539
|
+
--pf-t--global--icon--size--font--body--lg: var(--pf-t--global--font--size--body--lg);
|
|
540
|
+
--pf-t--global--icon--size--font--body--default: var(--pf-t--global--font--size--body--default);
|
|
541
|
+
--pf-t--global--icon--size--font--body--sm: var(--pf-t--global--font--size--body--sm);
|
|
536
542
|
--pf-t--global--color--status--read--on-secondary: var(--pf-t--global--background--color--control--default);
|
|
537
543
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
--#{$about-modal-box}--sm--GridTemplateColumns: 5fr 1fr;
|
|
16
16
|
--#{$about-modal-box}--lg--GridTemplateColumns: 1fr .6fr;
|
|
17
17
|
|
|
18
|
-
@include pf-
|
|
18
|
+
@include pf-v6-bidirectional-style(
|
|
19
19
|
$prop: --#{$about-modal-box}--BackgroundPosition,
|
|
20
20
|
$ltr-val: bottom right,
|
|
21
21
|
$rtl-val: bottom left
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
--#{$about-modal-box}__brand--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
|
|
32
32
|
--#{$about-modal-box}__brand--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
|
|
33
33
|
|
|
34
|
-
@media screen and (min-width: $pf-
|
|
34
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
35
35
|
--#{$about-modal-box}__brand--PaddingRight: var(--#{$about-modal-box}__brand--sm--PaddingRight);
|
|
36
36
|
--#{$about-modal-box}__brand--PaddingLeft: var(--#{$about-modal-box}__brand--sm--PaddingLeft);
|
|
37
37
|
--#{$about-modal-box}__brand--PaddingBottom: var(--#{$about-modal-box}__brand--sm--PaddingBottom);
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
--#{$about-modal-box}__close--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
|
|
46
46
|
--#{$about-modal-box}__close--lg--PaddingRight: var(--pf-t--global--spacer--3xl);
|
|
47
47
|
|
|
48
|
-
@media only screen and (min-width: $pf-
|
|
48
|
+
@media only screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
49
49
|
--#{$about-modal-box}__close--PaddingBottom: var(--#{$about-modal-box}__close--sm--PaddingBottom);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
@media only screen and (min-width: $pf-
|
|
52
|
+
@media only screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
53
53
|
--#{$about-modal-box}__close--PaddingRight: var(--#{$about-modal-box}__close--lg--PaddingRight);
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
--#{$about-modal-box}__header--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
|
|
67
67
|
--#{$about-modal-box}__header--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
|
|
68
68
|
|
|
69
|
-
@media only screen and (min-width: $pf-
|
|
69
|
+
@media only screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
70
70
|
--#{$about-modal-box}__header--PaddingRight: var(--#{$about-modal-box}__header--sm--PaddingRight);
|
|
71
71
|
--#{$about-modal-box}__header--PaddingLeft: var(--#{$about-modal-box}__header--sm--PaddingLeft);
|
|
72
72
|
}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
--#{$about-modal-box}__strapline--Color: var(--pf-t--global--text--color--subtle);
|
|
78
78
|
--#{$about-modal-box}__strapline--sm--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
79
79
|
|
|
80
|
-
@media only screen and (min-width: $pf-
|
|
80
|
+
@media only screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
81
81
|
--#{$about-modal-box}__strapline--PaddingTop: var(--#{$about-modal-box}__strapline--sm--PaddingTop);
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
--#{$about-modal-box}__content--sm--MarginBottom: var(--pf-t--global--spacer--2xl);
|
|
92
92
|
--#{$about-modal-box}__content--sm--MarginLeft: var(--pf-t--global--spacer--3xl);
|
|
93
93
|
|
|
94
|
-
@media only screen and (min-width: $pf-
|
|
94
|
+
@media only screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
95
95
|
--#{$about-modal-box}__content--MarginTop: var(--#{$about-modal-box}__content--sm--MarginTop);
|
|
96
96
|
--#{$about-modal-box}__content--MarginRight: var(--#{$about-modal-box}__content--sm--MarginRight);
|
|
97
97
|
--#{$about-modal-box}__content--MarginBottom: var(--#{$about-modal-box}__content--sm--MarginBottom);
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
background-position: var(--#{$about-modal-box}--BackgroundPosition);
|
|
118
118
|
background-size: var(--#{$about-modal-box}--BackgroundSize);
|
|
119
119
|
|
|
120
|
-
@media only screen and (min-width: $pf-
|
|
120
|
+
@media only screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
121
121
|
grid-template-areas:
|
|
122
122
|
"brand close"
|
|
123
123
|
"header close"
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
grid-template-columns: var(--#{$about-modal-box}--sm--GridTemplateColumns);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
@media only screen and (min-width: $pf-
|
|
128
|
+
@media only screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
129
129
|
--#{$about-modal-box}--Height: var(--#{$about-modal-box}--lg--Height);
|
|
130
130
|
--#{$about-modal-box}--Width: var(--#{$about-modal-box}--lg--Width);
|
|
131
131
|
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
word-break: break-word;
|
|
182
182
|
-webkit-overflow-scrolling: touch;
|
|
183
183
|
|
|
184
|
-
@media screen and (min-width: $pf-
|
|
184
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
185
185
|
overflow: visible;
|
|
186
186
|
overscroll-behavior: auto;
|
|
187
187
|
}
|
|
@@ -199,12 +199,12 @@
|
|
|
199
199
|
padding-block-end: var(--#{$about-modal-box}__close--PaddingBottom);
|
|
200
200
|
padding-inline-end: var(--#{$about-modal-box}__close--PaddingRight);
|
|
201
201
|
|
|
202
|
-
@media only screen and (min-width: $pf-
|
|
202
|
+
@media only screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
203
203
|
grid-area: 1 / 2;
|
|
204
204
|
justify-content: center;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
@media only screen and (min-width: $pf-
|
|
207
|
+
@media only screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
208
208
|
justify-content: flex-end;
|
|
209
209
|
}
|
|
210
210
|
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.#{$accordion}__toggle-text {
|
|
143
|
-
@include pf-
|
|
143
|
+
@include pf-v6-text-overflow;
|
|
144
144
|
|
|
145
145
|
flex-grow: 1;
|
|
146
146
|
font-weight: var(--#{$accordion}__toggle-text--FontWeight);
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.#{$accordion}__toggle-icon {
|
|
151
|
-
@include pf-
|
|
151
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
152
152
|
|
|
153
153
|
transition: var(--#{$accordion}__toggle-icon--Transition);
|
|
154
154
|
}
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
--pf-v6-c-alert--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
15
15
|
--pf-v6-c-alert--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
16
16
|
--pf-v6-c-alert--FontSize: var(--pf-t--global--font--size--body--default);
|
|
17
|
-
--pf-v6-c-alert__toggle--MarginTop: calc(-1 * var(--pf-
|
|
18
|
-
--pf-v6-c-alert__toggle--MarginBottom: calc(-1 * var(--pf-
|
|
17
|
+
--pf-v6-c-alert__toggle--MarginTop: calc(-1 * var(--pf-t--global--spacer--button--vertical--default) - 0.0625rem);
|
|
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
21
|
--pf-v6-c-alert__toggle-icon--Transition: var(--pf-v6-global--Transition);
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
--pf-v6-c-alert__title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
30
30
|
--pf-v6-c-alert__title--Color: var(--pf-t--global--text--color--regular);
|
|
31
31
|
--pf-v6-c-alert__title--max-lines: 1;
|
|
32
|
-
--pf-v6-c-alert__action--MarginTop: calc(var(--pf-
|
|
33
|
-
--pf-v6-c-alert__action--MarginBottom: calc(var(--pf-
|
|
32
|
+
--pf-v6-c-alert__action--MarginTop: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
33
|
+
--pf-v6-c-alert__action--MarginBottom: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
34
34
|
--pf-v6-c-alert__action--TranslateY: 0.125rem;
|
|
35
35
|
--pf-v6-c-alert__action--MarginRight: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
36
36
|
--pf-v6-c-alert__description--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
// @debug $alert; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
// TODO create a token for --#{$pf-global}--spacer--form-element ?
|
|
4
|
-
|
|
5
3
|
:root {
|
|
6
4
|
// Alert variables
|
|
7
5
|
--#{$alert}--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
@@ -21,8 +19,8 @@
|
|
|
21
19
|
--#{$alert}--FontSize: var(--pf-t--global--font--size--body--default);
|
|
22
20
|
|
|
23
21
|
// Toggle
|
|
24
|
-
--#{$alert}__toggle--MarginTop: calc(-1 * var(
|
|
25
|
-
--#{$alert}__toggle--MarginBottom: calc(-1 * var(
|
|
22
|
+
--#{$alert}__toggle--MarginTop: calc(-1 * var(--pf-t--global--spacer--button--vertical--default) - #{pf-size-prem(1px)});
|
|
23
|
+
--#{$alert}__toggle--MarginBottom: calc(-1 * var(--pf-t--global--spacer--button--vertical--default));
|
|
26
24
|
--#{$alert}__toggle--MarginRight: var(--pf-t--global--spacer--sm);
|
|
27
25
|
|
|
28
26
|
// Toggle icon
|
|
@@ -44,8 +42,8 @@
|
|
|
44
42
|
--#{$alert}__title--max-lines: 1;
|
|
45
43
|
|
|
46
44
|
// Action
|
|
47
|
-
--#{$alert}__action--MarginTop: calc(var(
|
|
48
|
-
--#{$alert}__action--MarginBottom: calc(var(
|
|
45
|
+
--#{$alert}__action--MarginTop: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
46
|
+
--#{$alert}__action--MarginBottom: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
49
47
|
--#{$alert}__action--TranslateY: #{pf-size-prem(2px)};
|
|
50
48
|
--#{$alert}__action--MarginRight: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
51
49
|
|
|
@@ -187,7 +185,7 @@
|
|
|
187
185
|
}
|
|
188
186
|
|
|
189
187
|
.#{$alert}__toggle-icon {
|
|
190
|
-
@include pf-
|
|
188
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
191
189
|
|
|
192
190
|
display: inline-block;
|
|
193
191
|
transition: var(--#{$alert}__toggle-icon--Transition);
|
|
@@ -213,7 +211,7 @@
|
|
|
213
211
|
word-break: break-word;
|
|
214
212
|
|
|
215
213
|
&.pf-m-truncate {
|
|
216
|
-
@include pf-
|
|
214
|
+
@include pf-v6-line-clamp("var(--#{$alert}__title--max-lines)");
|
|
217
215
|
}
|
|
218
216
|
}
|
|
219
217
|
|
|
@@ -303,6 +303,6 @@
|
|
|
303
303
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
304
304
|
@import "themes/dark/app-launcher";
|
|
305
305
|
|
|
306
|
-
@include pf-
|
|
307
|
-
@include pf-
|
|
306
|
+
@include pf-v6-theme-dark {
|
|
307
|
+
@include pf-v6-theme-dark-app-launcher;
|
|
308
308
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
2
|
|
|
3
|
-
@mixin pf-
|
|
3
|
+
@mixin pf-v6-theme-dark-app-launcher() {
|
|
4
4
|
.#{$app-launcher} {
|
|
5
5
|
--#{$app-launcher}__menu--BackgroundColor: var(--#{$pf-global}--BackgroundColor--300);
|
|
6
6
|
--#{$app-launcher}__menu--Top: 100%;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @debug $avatar; // check your variable names located in src/patternfly/sass-utilities/component-namespaces
|
|
2
|
-
$pf-
|
|
3
|
-
$pf-
|
|
2
|
+
$pf-v6-c-avatar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
|
+
$pf-v6-c-avatar--sizes: "sm", "md", "lg", "xl";
|
|
4
4
|
|
|
5
5
|
:root, .#{$avatar} {
|
|
6
6
|
--#{$avatar}--BorderColor: transparent;
|
|
@@ -33,10 +33,10 @@ $pf-v5-c-avatar--sizes: "sm", "md", "lg", "xl";
|
|
|
33
33
|
--#{$avatar}--BorderWidth: var(--#{$avatar}--m-bordered--BorderWidth);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
@each $size in $pf-
|
|
36
|
+
@each $size in $pf-v6-c-avatar--sizes {
|
|
37
37
|
&.pf-m-#{$size} {
|
|
38
|
-
@include pf-
|
|
39
|
-
@include pf-
|
|
38
|
+
@include pf-v6-build-css-variable-stack("--#{$avatar}--Width", "--#{$avatar}--m-#{$size}--Width", $pf-v6-c-avatar--breakpoint-map);
|
|
39
|
+
@include pf-v6-build-css-variable-stack("--#{$avatar}--Height", "--#{$avatar}--m-#{$size}--Height", $pf-v6-c-avatar--breakpoint-map);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--#{$back-to-top}--c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
12
12
|
--#{$back-to-top}--c-button--BoxShadow: var(--pf-t--global--box-shadow--sm);
|
|
13
13
|
|
|
14
|
-
@media (min-width: $pf-
|
|
14
|
+
@media (min-width: $pf-v6-global--breakpoint--md) {
|
|
15
15
|
--#{$back-to-top}--Bottom: var(--#{$back-to-top}--md--Bottom);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--#{$banner}--Color: var(--pf-t--global--text--color--nonstatus--on-gray--default);
|
|
12
12
|
--#{$banner}--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
13
13
|
|
|
14
|
-
@media (min-width: $pf-
|
|
14
|
+
@media (min-width: $pf-v6-global--breakpoint--md) {
|
|
15
15
|
--#{$banner}--PaddingRight: var(--#{$banner}--md--PaddingRight);
|
|
16
16
|
--#{$banner}--PaddingLeft: var(--#{$banner}--md--PaddingLeft);
|
|
17
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @debug $brand; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
$pf-
|
|
2
|
+
$pf-v6-c-brand--breakpoint-map: build-breakpoint-map();
|
|
3
3
|
|
|
4
4
|
.#{$brand} {
|
|
5
5
|
--#{$brand}--Width: auto;
|
|
@@ -8,8 +8,8 @@ $pf-v5-c-brand--breakpoint-map: build-breakpoint-map();
|
|
|
8
8
|
width: var(--#{$brand}--Width--base);
|
|
9
9
|
height: var(--#{$brand}--Height--base);
|
|
10
10
|
|
|
11
|
-
@include pf-
|
|
12
|
-
@include pf-
|
|
11
|
+
@include pf-v6-build-css-variable-stack("--#{$brand}--Width--base", "--#{$brand}--Width", $pf-v6-c-brand--breakpoint-map);
|
|
12
|
+
@include pf-v6-build-css-variable-stack("--#{$brand}--Height--base", "--#{$brand}--Height", $pf-v6-c-brand--breakpoint-map);
|
|
13
13
|
|
|
14
14
|
&.pf-m-picture {
|
|
15
15
|
display: inline-flex;
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
--pf-v6-c-breadcrumb__link--m-current--Color: var(--pf-t--global--text--color--regular);
|
|
16
16
|
--pf-v6-c-breadcrumb__link--BackgroundColor: transparent;
|
|
17
17
|
--pf-v6-c-breadcrumb__heading--FontSize: var( --pf-t--global--font--size--body--sm);
|
|
18
|
-
--pf-v6-c-breadcrumb__dropdown--MarginTop: calc(var(--pf-t--global--spacer--
|
|
18
|
+
--pf-v6-c-breadcrumb__dropdown--MarginTop: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
19
19
|
--pf-v6-c-breadcrumb__dropdown--MarginRight: calc(var(--pf-v6-c-breadcrumb__item--MarginRight) * -1);
|
|
20
|
-
--pf-v6-c-breadcrumb__dropdown--MarginBottom: calc(var(--pf-t--global--spacer--
|
|
20
|
+
--pf-v6-c-breadcrumb__dropdown--MarginBottom: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
|
|
21
21
|
--pf-v6-c-breadcrumb__dropdown--MarginLeft: calc(var(--pf-v6-c-breadcrumb__item-divider--MarginRight) * -1);
|
|
22
22
|
--pf-v6-c-breadcrumb__dropdown--c-dropdown__toggle--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
23
23
|
}
|