@patternfly/patternfly 5.0.0-alpha.3 → 5.0.0-alpha.30
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/RELEASE-NOTES.md +17 -0
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pficon.scss +6 -0
- package/assets/pficon/pficon.woff +0 -0
- package/assets/pficon/pficon.woff2 +0 -0
- package/base/_base.scss +0 -18
- package/base/_chart-globals.scss +0 -4
- package/base/_common.scss +0 -22
- package/base/_fonts.scss +22 -22
- package/base/_globals.scss +1 -1
- package/base/_icons.scss +1 -28
- package/base/_svg-icons.scss +6 -0
- package/base/_variables.scss +1 -1
- package/base/patternfly-common.css +0 -10
- package/base/patternfly-fonts.css +17 -17
- package/base/patternfly-icons.css +6 -20
- package/base/patternfly-pf-icons.css +5 -1
- package/base/themes/dark/_globals.scss +1 -1
- package/base/themes/dark/_variables.scss +1 -1
- package/components/AboutModalBox/about-modal-box.css +7 -7
- package/components/AboutModalBox/about-modal-box.scss +7 -7
- package/components/Accordion/accordion.css +2 -0
- package/components/Accordion/accordion.scss +2 -0
- package/components/Alert/alert.css +3 -3
- package/components/Alert/alert.scss +3 -3
- package/components/AppLauncher/app-launcher.css +2 -0
- package/components/AppLauncher/app-launcher.scss +2 -0
- package/components/Avatar/avatar.scss +2 -2
- package/components/Banner/banner.css +14 -14
- package/components/Banner/banner.scss +9 -13
- package/components/Breadcrumb/breadcrumb.css +2 -0
- package/components/Breadcrumb/breadcrumb.scss +2 -0
- package/components/CalendarMonth/calendar-month.css +2 -2
- package/components/CalendarMonth/calendar-month.scss +3 -3
- package/components/Card/card.css +20 -21
- package/components/Card/card.scss +22 -26
- package/components/Chip/chip.css +33 -24
- package/components/Chip/chip.scss +40 -31
- package/components/ChipGroup/chip-group.css +27 -17
- package/components/ChipGroup/chip-group.scss +36 -22
- package/components/Content/content.css +11 -5
- package/components/Content/content.scss +17 -9
- package/components/ContextSelector/context-selector.css +5 -1
- package/components/ContextSelector/context-selector.scss +6 -2
- package/components/DataList/data-list-grid.css +7 -7
- package/components/DataList/data-list-grid.scss +1 -1
- package/components/DataList/data-list.css +12 -11
- package/components/DataList/data-list.scss +5 -4
- package/components/DescriptionList/description-list.css +7 -7
- package/components/DescriptionList/description-list.scss +7 -7
- package/components/Divider/divider.css +2 -2
- package/components/Divider/divider.scss +3 -3
- package/components/Drawer/drawer.css +15 -16
- package/components/Drawer/drawer.scss +2 -3
- package/components/Dropdown/dropdown.css +12 -10
- package/components/Dropdown/dropdown.scss +2 -0
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/EmptyState/empty-state.css +46 -52
- package/components/EmptyState/empty-state.scss +58 -57
- package/components/ExpandableSection/expandable-section.css +2 -0
- package/components/ExpandableSection/expandable-section.scss +2 -0
- package/components/Form/form.css +12 -12
- package/components/Form/form.scss +7 -7
- package/components/FormControl/form-control.css +2 -5
- package/components/FormControl/themes/dark/form-control.scss +2 -6
- package/components/Hint/hint.css +2 -2
- package/components/Hint/hint.scss +2 -2
- package/components/Label/label.css +43 -30
- package/components/Label/label.scss +49 -34
- package/components/LabelGroup/label-group.css +26 -22
- package/components/LabelGroup/label-group.scss +31 -26
- package/components/Login/login.css +11 -11
- package/components/Login/login.scss +10 -10
- package/components/Masthead/masthead.css +4 -4
- package/components/Masthead/masthead.scss +4 -4
- package/components/Menu/menu.css +9 -6
- package/components/Menu/menu.scss +34 -31
- package/components/MenuToggle/menu-toggle.css +3 -1
- package/components/MenuToggle/menu-toggle.scss +3 -1
- package/components/ModalBox/modal-box.css +9 -8
- package/components/ModalBox/modal-box.scss +11 -11
- package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
- package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
- package/components/Nav/nav.css +1 -1
- package/components/Nav/nav.scss +2 -2
- package/components/NotificationDrawer/notification-drawer.css +3 -3
- package/components/NotificationDrawer/notification-drawer.scss +3 -3
- package/components/Page/page.css +71 -71
- package/components/Page/page.scss +12 -12
- package/components/Pagination/pagination.css +2 -2
- package/components/Popover/popover.css +25 -31
- package/components/Popover/popover.scss +27 -32
- package/components/Popover/themes/dark/popover.scss +2 -8
- package/components/Progress/progress.css +13 -10
- package/components/Progress/progress.scss +13 -10
- package/components/ProgressStepper/progress-stepper.css +5 -5
- package/components/ProgressStepper/progress-stepper.scss +5 -5
- package/components/SearchInput/search-input.css +4 -2
- package/components/SearchInput/search-input.scss +4 -2
- package/components/Select/select.css +1 -1
- package/components/Select/select.scss +1 -1
- package/components/Sidebar/sidebar.css +69 -26
- package/components/Sidebar/sidebar.scss +84 -27
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +2 -2
- package/components/Spinner/spinner.css +4 -4
- package/components/Spinner/spinner.scss +4 -4
- package/components/Table/table-grid.css +28 -28
- package/components/Table/table-scrollable.css +31 -26
- package/components/Table/table-scrollable.scss +33 -28
- package/components/Table/table-tree-view.css +14 -4
- package/components/Table/table-tree-view.scss +15 -0
- package/components/Table/table.css +7 -2
- package/components/Table/table.scss +9 -2
- package/components/Tabs/tabs.css +0 -4
- package/components/Tabs/tabs.scss +0 -7
- package/components/TextInputGroup/text-input-group.css +6 -4
- package/components/TextInputGroup/text-input-group.scss +6 -5
- package/components/Tile/tile.css +1 -1
- package/components/Tile/tile.scss +1 -1
- package/components/Timestamp/timestamp.css +3 -3
- package/components/Timestamp/timestamp.scss +3 -3
- package/components/Toolbar/toolbar.css +67 -39
- package/components/Toolbar/toolbar.scss +39 -5
- package/components/Tooltip/themes/dark/tooltip.scss +1 -11
- package/components/Tooltip/tooltip.css +7 -12
- package/components/Tooltip/tooltip.scss +6 -3
- package/components/TreeView/tree-view.css +7 -15
- package/components/TreeView/tree-view.scss +7 -18
- package/components/Wizard/wizard.css +16 -1
- package/components/Wizard/wizard.scss +20 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
- package/docs/components/Accordion/examples/Accordion.md +12 -12
- package/docs/components/ActionList/examples/ActionList.md +6 -6
- package/docs/components/Alert/examples/Alert.md +19 -19
- package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
- package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
- package/docs/components/Avatar/examples/Avatar.md +11 -11
- package/docs/components/BackToTop/examples/BackToTop.md +4 -4
- package/docs/components/Backdrop/examples/Backdrop.md +4 -4
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +5 -5
- package/docs/components/Banner/examples/Banner.md +8 -8
- package/docs/components/Brand/examples/Brand.md +9 -9
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
- package/docs/components/Card/examples/Card.md +139 -64
- package/docs/components/Check/examples/Check.md +15 -19
- package/docs/components/Chip/examples/Chip.md +70 -52
- package/docs/components/ChipGroup/examples/ChipGroup.md +452 -673
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
- package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
- package/docs/components/Content/examples/Content.md +37 -9
- package/docs/components/ContextSelector/examples/context-selector.css +5 -1
- package/docs/components/ContextSelector/examples/context-selector.md +86 -80
- package/docs/components/DataList/examples/DataList.md +187 -148
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
- package/docs/components/Divider/examples/Divider.md +10 -10
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +43 -43
- package/docs/components/Dropdown/examples/Dropdown.css +5 -2
- package/docs/components/Dropdown/examples/Dropdown.md +123 -99
- package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
- package/docs/components/EmptyState/examples/EmptyState.md +130 -82
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +64 -64
- package/docs/components/FormControl/examples/FormControl.md +20 -20
- package/docs/components/HelperText/examples/HelperText.md +12 -12
- package/docs/components/Hint/examples/Hint.md +7 -7
- package/docs/components/Icon/examples/Icon.md +10 -10
- package/docs/components/InlineEdit/examples/InlineEdit.md +29 -27
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
- package/docs/components/Label/examples/Label.md +1427 -746
- package/docs/components/LabelGroup/examples/LabelGroup.md +295 -242
- package/docs/components/List/examples/List.md +18 -18
- package/docs/components/LogViewer/examples/LogViewer.md +79 -73
- package/docs/components/Login/examples/Login.md +32 -32
- package/docs/components/Masthead/examples/masthead.md +9 -9
- package/docs/components/Menu/examples/Menu.md +82 -80
- package/docs/components/MenuToggle/examples/MenuToggle.md +28 -28
- package/docs/components/ModalBox/examples/ModalBox.md +106 -85
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
- package/docs/components/Nav/examples/Navigation.md +69 -69
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
- package/docs/components/NumberInput/examples/NumberInput.md +12 -12
- package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
- package/docs/components/Page/examples/Page.md +54 -54
- package/docs/components/Pagination/examples/Pagination.md +27 -27
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +201 -144
- package/docs/components/Progress/examples/Progress.md +31 -60
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
- package/docs/components/Radio/examples/Radio.md +11 -11
- package/docs/components/SearchInput/examples/SearchInput.md +34 -34
- package/docs/components/Select/examples/Select.md +367 -313
- package/docs/components/Sidebar/examples/Sidebar.md +70 -14
- package/docs/components/SimpleList/examples/SimpleList.md +15 -15
- package/docs/components/Skeleton/examples/Skeleton.md +8 -8
- package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
- package/docs/components/Slider/examples/Slider.md +24 -24
- package/docs/components/Spinner/examples/Spinner.md +24 -24
- package/docs/components/Switch/examples/Switch.md +19 -19
- package/docs/components/TabContent/examples/TabContent.md +13 -13
- package/docs/components/Table/examples/Table.css +4 -0
- package/docs/components/Table/examples/Table.md +3163 -1712
- package/docs/components/Tabs/examples/Tabs.md +149 -149
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +362 -280
- package/docs/components/Tile/examples/Tile.md +15 -15
- package/docs/components/Timestamp/examples/Timestamp.md +5 -5
- package/docs/components/Title/examples/Title.md +17 -17
- package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
- package/docs/components/Toolbar/examples/Toolbar.md +471 -378
- package/docs/components/Tooltip/examples/Tooltip.md +10 -10
- package/docs/components/TreeView/examples/TreeView.md +34 -34
- package/docs/components/Truncate/examples/Truncate.md +4 -4
- package/docs/components/Wizard/examples/Wizard.md +119 -127
- package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
- package/docs/demos/Alert/examples/Alert.md +13 -13
- package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
- package/docs/demos/Banner/examples/Banner.md +8 -9
- package/docs/demos/Card/examples/Card.md +219 -156
- package/docs/demos/CardView/examples/CardView.md +56 -29
- package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
- package/docs/demos/Dashboard/examples/Dashboard.md +51 -35
- package/docs/demos/DataList/examples/DataList.md +160 -111
- package/docs/demos/DescriptionList/examples/DescriptionList.md +33 -22
- package/docs/demos/Drawer/examples/Drawer.md +24 -22
- package/docs/demos/Form/examples/BasicForms.md +28 -22
- package/docs/demos/HelperText/examples/HelperText.md +8 -9
- package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
- package/docs/demos/Masthead/examples/Masthead.md +32 -35
- package/docs/demos/Modal/examples/Modal.md +54 -66
- package/docs/demos/Nav/examples/Nav.md +47 -47
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
- package/docs/demos/Page/examples/Page.md +37 -37
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -33
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +83 -67
- package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
- package/docs/demos/Table/examples/Table.md +2465 -478
- package/docs/demos/Tabs/examples/Tabs.md +141 -90
- package/docs/demos/Toolbar/examples/Toolbar.md +1811 -177
- package/docs/demos/Wizard/examples/Wizard.md +289 -266
- package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
- package/docs/layouts/Flex/examples/Flex.md +98 -98
- package/docs/layouts/Gallery/examples/Gallery.md +7 -7
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/layouts/Level/examples/Level.md +5 -5
- package/docs/layouts/Split/examples/Split.md +7 -7
- package/docs/layouts/Stack/examples/Stack.md +6 -6
- package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +6 -6
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
- package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
- package/docs/utilities/Display/examples/Display.md +11 -11
- package/docs/utilities/Flex/examples/Flex.md +34 -34
- package/docs/utilities/Float/examples/Float.md +4 -4
- package/docs/utilities/Sizing/examples/Sizing.md +50 -50
- package/docs/utilities/Spacing/examples/Spacing.md +34 -34
- package/docs/utilities/Text/examples/Text.md +27 -27
- package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
- package/layouts/Gallery/gallery.css +1 -1
- package/layouts/Gallery/gallery.scss +1 -1
- package/layouts/Grid/grid.css +7 -7
- package/layouts/Grid/grid.scss +2 -2
- package/package.json +59 -65
- package/patternfly-base-no-reset.css +23 -47
- package/patternfly-base.css +23 -47
- package/patternfly-no-reset.css +770 -652
- package/patternfly.css +770 -652
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +8 -24
- package/sass-utilities/mixins.scss +15 -39
- package/sass-utilities/scss-variables.scss +1 -1
- package/sass-utilities/themes/dark/scss-variables.scss +1 -1
- package/utilities/Spacing/spacing.scss +2 -2
- package/base/_shield-inheritable.scss +0 -69
- package/base/_shield-noninheritable.scss +0 -13
- package/base/patternfly-shield-inheritable.css +0 -66
- package/base/patternfly-shield-inheritable.scss +0 -4
- package/base/patternfly-shield-noninheritable.css +0 -9
- package/base/patternfly-shield-noninheritable.scss +0 -4
|
@@ -43,19 +43,13 @@
|
|
|
43
43
|
@if length($map-items) == 0 {
|
|
44
44
|
$map: ("base": null);
|
|
45
45
|
$map: map-merge($map, $pf-global--breakpoint-name-map);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@else {
|
|
46
|
+
} @else {
|
|
49
47
|
@each $breakpoint in $map-items {
|
|
50
48
|
@if not map-has-key($pf-global--breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
|
|
51
49
|
$map: map-merge($map, ("invalid breakpoint #{$breakpoint}": null));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@else if $breakpoint == "base" {
|
|
50
|
+
} @else if $breakpoint == "base" {
|
|
55
51
|
$map: map-merge($map, ($breakpoint: null));
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@else {
|
|
52
|
+
} @else {
|
|
59
53
|
$map: map-merge($map, ($breakpoint: map-get($pf-global--breakpoint-name-map, #{$breakpoint})));
|
|
60
54
|
}
|
|
61
55
|
}
|
|
@@ -72,19 +66,13 @@
|
|
|
72
66
|
@if length($map-items) == 0 {
|
|
73
67
|
$map: ("base": null);
|
|
74
68
|
$map: map-merge($map, $pf-global--height-breakpoint-name-map);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@else {
|
|
69
|
+
} @else {
|
|
78
70
|
@each $breakpoint in $map-items {
|
|
79
71
|
@if not map-has-key($pf-global--height-breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
|
|
80
72
|
$map: map-merge($map, ("invalid breakpoint #{$breakpoint}": null));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@else if $breakpoint == "base" {
|
|
73
|
+
} @else if $breakpoint == "base" {
|
|
84
74
|
$map: map-merge($map, ($breakpoint: null));
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@else {
|
|
75
|
+
} @else {
|
|
88
76
|
$map: map-merge($map, ($breakpoint: map-get($pf-global--height-breakpoint-name-map, #{$breakpoint})));
|
|
89
77
|
}
|
|
90
78
|
}
|
|
@@ -107,13 +95,9 @@
|
|
|
107
95
|
@each $spacer in $map-items {
|
|
108
96
|
@if not map-has-key($pf-global--spacer-map, $spacer) and $spacer != "none" {
|
|
109
97
|
$map: map-merge($map, ("invalid spacer #{$spacer}": null));
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
@else if $spacer == "none" {
|
|
98
|
+
} @else if $spacer == "none" {
|
|
113
99
|
$map: map-merge($map, ($spacer: 0));
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@else {
|
|
100
|
+
} @else {
|
|
117
101
|
$map: map-merge($map, ($spacer: map-get($pf-global--spacer-map, #{$spacer})));
|
|
118
102
|
}
|
|
119
103
|
}
|
|
@@ -2,33 +2,23 @@
|
|
|
2
2
|
@mixin pf-media-query($point) {
|
|
3
3
|
@if $point == "" or not $point or $point == "base" {
|
|
4
4
|
@content;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@else if $point == "sm" {
|
|
5
|
+
} @else if $point == "sm" {
|
|
8
6
|
@media screen and (min-width: $pf-global--breakpoint--sm) {
|
|
9
7
|
@content;
|
|
10
8
|
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@else if $point == "md" {
|
|
9
|
+
} @else if $point == "md" {
|
|
14
10
|
@media screen and (min-width: $pf-global--breakpoint--md) {
|
|
15
11
|
@content;
|
|
16
12
|
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@else if $point == "lg" {
|
|
13
|
+
} @else if $point == "lg" {
|
|
20
14
|
@media screen and (min-width: $pf-global--breakpoint--lg) {
|
|
21
15
|
@content;
|
|
22
16
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@else if $point == "xl" {
|
|
17
|
+
} @else if $point == "xl" {
|
|
26
18
|
@media screen and (min-width: $pf-global--breakpoint--xl) {
|
|
27
19
|
@content;
|
|
28
20
|
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@else if $point == "2xl" {
|
|
21
|
+
} @else if $point == "2xl" {
|
|
32
22
|
@media screen and (min-width: $pf-global--breakpoint--2xl) {
|
|
33
23
|
@content;
|
|
34
24
|
}
|
|
@@ -39,33 +29,23 @@
|
|
|
39
29
|
@mixin pf-height-media-query($point) {
|
|
40
30
|
@if $point == "" or not $point or $point == "base" {
|
|
41
31
|
@content;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@else if $point == "sm" {
|
|
32
|
+
} @else if $point == "sm" {
|
|
45
33
|
@media screen and (min-height: $pf-global--height-breakpoint--sm) {
|
|
46
34
|
@content;
|
|
47
35
|
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@else if $point == "md" {
|
|
36
|
+
} @else if $point == "md" {
|
|
51
37
|
@media screen and (min-height: $pf-global--height-breakpoint--md) {
|
|
52
38
|
@content;
|
|
53
39
|
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@else if $point == "lg" {
|
|
40
|
+
} @else if $point == "lg" {
|
|
57
41
|
@media screen and (min-height: $pf-global--height-breakpoint--lg) {
|
|
58
42
|
@content;
|
|
59
43
|
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@else if $point == "xl" {
|
|
44
|
+
} @else if $point == "xl" {
|
|
63
45
|
@media screen and (min-height: $pf-global--height-breakpoint--xl) {
|
|
64
46
|
@content;
|
|
65
47
|
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@else if $point == "2xl" {
|
|
48
|
+
} @else if $point == "2xl" {
|
|
69
49
|
@media screen and (min-height: $pf-global--height-breakpoint--2xl) {
|
|
70
50
|
@content;
|
|
71
51
|
}
|
|
@@ -75,7 +55,7 @@
|
|
|
75
55
|
// Create single prop / value classes, optionally add responsive suffix
|
|
76
56
|
// @group mixins
|
|
77
57
|
// @moduleType mixin
|
|
78
|
-
// @parameter:
|
|
58
|
+
// @parameter: [Suffix] xs, sm, md, lg, xl, base or null
|
|
79
59
|
// @usage: @include pf-utility-builder(class-name, base sm md lg xl);
|
|
80
60
|
// ===============================================================================================
|
|
81
61
|
|
|
@@ -232,11 +212,9 @@
|
|
|
232
212
|
|
|
233
213
|
// Apply media query if value is passed
|
|
234
214
|
@mixin pf-apply-breakpoint($breakpoint) {
|
|
235
|
-
@if
|
|
215
|
+
@if $breakpoint == "null" or $breakpoint == "base" or $breakpoint == "" {
|
|
236
216
|
@content;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
@else {
|
|
217
|
+
} @else {
|
|
240
218
|
$breakpoint: pf-breakpoint-value($breakpoint);
|
|
241
219
|
|
|
242
220
|
@media (min-width: $breakpoint) {
|
|
@@ -247,11 +225,9 @@
|
|
|
247
225
|
|
|
248
226
|
// Apply height media query if value is passed
|
|
249
227
|
@mixin pf-apply-height-breakpoint($breakpoint) {
|
|
250
|
-
@if
|
|
228
|
+
@if $breakpoint == "null" or $breakpoint == "base" or $breakpoint == "" {
|
|
251
229
|
@content;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
@else {
|
|
230
|
+
} @else {
|
|
255
231
|
$breakpoint: pf-height-breakpoint-value($breakpoint);
|
|
256
232
|
|
|
257
233
|
@media (min-height: $breakpoint) {
|
|
@@ -12,7 +12,6 @@ $pf-global--enable-fontawesome-cdn: false !default;
|
|
|
12
12
|
$pf-global--disable-fontawesome: false !default;
|
|
13
13
|
$pf-global--load-pf-3: false !default;
|
|
14
14
|
$pf-global--enable-shield: false !default;
|
|
15
|
-
$pf-global--unset-root-font-size: true !default;
|
|
16
15
|
|
|
17
16
|
// Patternfly uses the default root size of the browser, it assumes a 16px base
|
|
18
17
|
// since most browser root size is 16. This variables is just to make the
|
|
@@ -125,6 +124,7 @@ $pf-global--BoxShadow--inset: inset 0 0 pf-size-prem(10) 0 rgba($pf-color-black-
|
|
|
125
124
|
$pf-global--font-path: "./assets/fonts" !default;
|
|
126
125
|
|
|
127
126
|
// Iconpath
|
|
127
|
+
// stylelint-disable-next-line scss/dollar-variable-pattern
|
|
128
128
|
$fa-font-path: "./assets/fonts/webfonts" !default;
|
|
129
129
|
|
|
130
130
|
// FontIcon path
|
|
@@ -25,7 +25,7 @@ $pf-global--link--Color--hover: $pf-color-blue-200;
|
|
|
25
25
|
$pf-global--link--Color--visited: $pf-color-purple-300;
|
|
26
26
|
$pf-global--disabled-color--100: $pf-color-black-400; // disabled text on regular background color
|
|
27
27
|
$pf-global--disabled-color--200: $pf-color-black-500; // disabled background color
|
|
28
|
-
$pf-global--disabled-color--300: $pf-color-black-200; // disabled text on disabled background color
|
|
28
|
+
$pf-global--disabled-color--300: $pf-color-black-200; // disabled text on disabled background color - except form elements
|
|
29
29
|
|
|
30
30
|
// icons
|
|
31
31
|
$pf-global--icon--Color--light: $pf-color-black-300;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// stylelint-disable
|
|
2
2
|
|
|
3
3
|
// Build spacing values
|
|
4
|
-
@mixin pf-spacer-builder
|
|
4
|
+
@mixin pf-spacer-builder {
|
|
5
5
|
|
|
6
6
|
// Loop through breakpoints
|
|
7
7
|
@each $breakpoint, $breakpoint-value in $pf-global--breakpoint-map {
|
|
@@ -54,4 +54,4 @@
|
|
|
54
54
|
// stylelint-enable
|
|
55
55
|
|
|
56
56
|
// Build spacing values
|
|
57
|
-
@include pf-spacer-builder
|
|
57
|
+
@include pf-spacer-builder;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
@mixin shield-inheritable {
|
|
2
|
-
// CSS shield against PF 3
|
|
3
|
-
.pf-c-about-modal-box,
|
|
4
|
-
.pf-c-accordion,
|
|
5
|
-
.pf-c-alert,
|
|
6
|
-
.pf-c-alert-group,
|
|
7
|
-
.pf-c-app-launcher,
|
|
8
|
-
.pf-c-avatar,
|
|
9
|
-
.pf-c-backdrop,
|
|
10
|
-
.pf-c-background-image,
|
|
11
|
-
.pf-c-badge,
|
|
12
|
-
.pf-c-brand,
|
|
13
|
-
.pf-c-breadcrumb,
|
|
14
|
-
.pf-c-button,
|
|
15
|
-
.pf-c-card,
|
|
16
|
-
.pf-c-check,
|
|
17
|
-
.pf-c-chip,
|
|
18
|
-
.pf-c-chip-group,
|
|
19
|
-
.pf-c-clipboard-copy,
|
|
20
|
-
.pf-c-content,
|
|
21
|
-
.pf-c-context-selector,
|
|
22
|
-
.pf-c-data-list,
|
|
23
|
-
.pf-c-toolbar,
|
|
24
|
-
.pf-c-divider,
|
|
25
|
-
.pf-c-drawer,
|
|
26
|
-
.pf-c-dropdown,
|
|
27
|
-
.pf-c-empty-state,
|
|
28
|
-
.pf-c-expandable-section,
|
|
29
|
-
.pf-c-form,
|
|
30
|
-
.pf-c-form-control,
|
|
31
|
-
.pf-c-input-group,
|
|
32
|
-
.pf-c-label,
|
|
33
|
-
.pf-c-list,
|
|
34
|
-
.pf-c-login,
|
|
35
|
-
.pf-c-modal-box,
|
|
36
|
-
.pf-c-nav,
|
|
37
|
-
.pf-c-notification-badge,
|
|
38
|
-
.pf-c-options-menu,
|
|
39
|
-
.pf-c-overflow-menu,
|
|
40
|
-
.pf-c-page,
|
|
41
|
-
.pf-c-pagination,
|
|
42
|
-
.pf-c-popover,
|
|
43
|
-
.pf-c-progress,
|
|
44
|
-
.pf-c-radio,
|
|
45
|
-
.pf-c-select,
|
|
46
|
-
.pf-c-skip-to-content,
|
|
47
|
-
.pf-c-spinner,
|
|
48
|
-
.pf-c-switch,
|
|
49
|
-
.pf-c-tab-content,
|
|
50
|
-
.pf-c-table,
|
|
51
|
-
.pf-c-tabs,
|
|
52
|
-
.pf-c-title,
|
|
53
|
-
.pf-c-tooltip,
|
|
54
|
-
.pf-c-wizard,
|
|
55
|
-
.pf-l-bullseye,
|
|
56
|
-
.pf-l-flex,
|
|
57
|
-
.pf-l-gallery,
|
|
58
|
-
.pf-l-grid,
|
|
59
|
-
.pf-l-level,
|
|
60
|
-
.pf-l-split,
|
|
61
|
-
.pf-l-stack {
|
|
62
|
-
font-family: var(--pf-global--FontFamily--sans-serif);
|
|
63
|
-
font-size: var(--pf-global--FontSize--md);
|
|
64
|
-
font-weight: var(--pf-global--FontWeight--normal);
|
|
65
|
-
line-height: var(--pf-global--LineHeight--md);
|
|
66
|
-
color: var(--pf-global--Color--100); // this color rule is set here to be able to use themes
|
|
67
|
-
text-rendering: optimizelegibility;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
.pf-c-about-modal-box,
|
|
2
|
-
.pf-c-accordion,
|
|
3
|
-
.pf-c-alert,
|
|
4
|
-
.pf-c-alert-group,
|
|
5
|
-
.pf-c-app-launcher,
|
|
6
|
-
.pf-c-avatar,
|
|
7
|
-
.pf-c-backdrop,
|
|
8
|
-
.pf-c-background-image,
|
|
9
|
-
.pf-c-badge,
|
|
10
|
-
.pf-c-brand,
|
|
11
|
-
.pf-c-breadcrumb,
|
|
12
|
-
.pf-c-button,
|
|
13
|
-
.pf-c-card,
|
|
14
|
-
.pf-c-check,
|
|
15
|
-
.pf-c-chip,
|
|
16
|
-
.pf-c-chip-group,
|
|
17
|
-
.pf-c-clipboard-copy,
|
|
18
|
-
.pf-c-content,
|
|
19
|
-
.pf-c-context-selector,
|
|
20
|
-
.pf-c-data-list,
|
|
21
|
-
.pf-c-toolbar,
|
|
22
|
-
.pf-c-divider,
|
|
23
|
-
.pf-c-drawer,
|
|
24
|
-
.pf-c-dropdown,
|
|
25
|
-
.pf-c-empty-state,
|
|
26
|
-
.pf-c-expandable-section,
|
|
27
|
-
.pf-c-form,
|
|
28
|
-
.pf-c-form-control,
|
|
29
|
-
.pf-c-input-group,
|
|
30
|
-
.pf-c-label,
|
|
31
|
-
.pf-c-list,
|
|
32
|
-
.pf-c-login,
|
|
33
|
-
.pf-c-modal-box,
|
|
34
|
-
.pf-c-nav,
|
|
35
|
-
.pf-c-notification-badge,
|
|
36
|
-
.pf-c-options-menu,
|
|
37
|
-
.pf-c-overflow-menu,
|
|
38
|
-
.pf-c-page,
|
|
39
|
-
.pf-c-pagination,
|
|
40
|
-
.pf-c-popover,
|
|
41
|
-
.pf-c-progress,
|
|
42
|
-
.pf-c-radio,
|
|
43
|
-
.pf-c-select,
|
|
44
|
-
.pf-c-skip-to-content,
|
|
45
|
-
.pf-c-spinner,
|
|
46
|
-
.pf-c-switch,
|
|
47
|
-
.pf-c-tab-content,
|
|
48
|
-
.pf-c-table,
|
|
49
|
-
.pf-c-tabs,
|
|
50
|
-
.pf-c-title,
|
|
51
|
-
.pf-c-tooltip,
|
|
52
|
-
.pf-c-wizard,
|
|
53
|
-
.pf-l-bullseye,
|
|
54
|
-
.pf-l-flex,
|
|
55
|
-
.pf-l-gallery,
|
|
56
|
-
.pf-l-grid,
|
|
57
|
-
.pf-l-level,
|
|
58
|
-
.pf-l-split,
|
|
59
|
-
.pf-l-stack {
|
|
60
|
-
font-family: var(--pf-global--FontFamily--sans-serif);
|
|
61
|
-
font-size: var(--pf-global--FontSize--md);
|
|
62
|
-
font-weight: var(--pf-global--FontWeight--normal);
|
|
63
|
-
line-height: var(--pf-global--LineHeight--md);
|
|
64
|
-
color: var(--pf-global--Color--100);
|
|
65
|
-
text-rendering: optimizelegibility;
|
|
66
|
-
}
|