@patternfly/patternfly 4.176.3 → 4.179.0
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/UPGRADE-GUIDE.md +3 -0
- package/components/AboutModalBox/themes/dark/about-modal-box.css +0 -0
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +9 -0
- package/components/Accordion/themes/dark/accordion.css +0 -0
- package/components/Accordion/themes/dark/accordion.scss +7 -0
- package/components/Alert/themes/dark/alert.css +0 -0
- package/components/Alert/themes/dark/alert.scss +15 -0
- package/components/AppLauncher/themes/dark/app-launcher.css +0 -0
- package/components/AppLauncher/themes/dark/app-launcher.scss +13 -0
- package/components/Avatar/avatar.css +224 -0
- package/components/Avatar/avatar.scss +18 -0
- package/components/Badge/themes/dark/badge.css +0 -0
- package/components/Badge/themes/dark/badge.scss +6 -0
- package/components/Banner/themes/dark/banner.css +0 -0
- package/components/Banner/themes/dark/banner.scss +12 -0
- package/components/Breadcrumb/themes/dark/breadcrumb.css +0 -0
- package/components/Breadcrumb/themes/dark/breadcrumb.scss +5 -0
- package/components/Button/themes/dark/button.css +0 -0
- package/components/Button/themes/dark/button.scss +42 -0
- package/components/CalendarMonth/themes/dark/calendar-month.css +0 -0
- package/components/CalendarMonth/themes/dark/calendar-month.scss +29 -0
- package/components/Chip/themes/dark/chip.css +0 -0
- package/components/Chip/themes/dark/chip.scss +7 -0
- package/components/ClipboardCopy/themes/dark/clipboard-copy.css +0 -0
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +17 -0
- package/components/CodeEditor/code-editor.css +8 -0
- package/components/CodeEditor/code-editor.scss +11 -1
- package/components/CodeEditor/themes/dark/code-editor.css +0 -0
- package/components/CodeEditor/themes/dark/code-editor.scss +7 -0
- package/components/ContextSelector/themes/dark/context-selector.css +0 -0
- package/components/ContextSelector/themes/dark/context-selector.scss +22 -0
- package/components/DataList/themes/dark/data-list.css +0 -0
- package/components/DataList/themes/dark/data-list.scss +8 -0
- package/components/DatePicker/themes/dark/date-picker.css +0 -0
- package/components/DatePicker/themes/dark/date-picker.scss +6 -0
- package/components/Drawer/themes/dark/drawer.css +0 -0
- package/components/Drawer/themes/dark/drawer.scss +11 -0
- package/components/Dropdown/themes/dark/dropdown.css +0 -0
- package/components/Dropdown/themes/dark/dropdown.scss +30 -0
- package/components/Form/themes/dark/form.css +0 -0
- package/components/Form/themes/dark/form.scss +5 -0
- package/components/FormControl/themes/dark/form-control.css +0 -0
- package/components/FormControl/themes/dark/form-control.scss +28 -0
- package/components/HelperText/themes/dark/helper-text.css +0 -0
- package/components/HelperText/themes/dark/helper-text.scss +5 -0
- package/components/Hint/themes/dark/hint.css +0 -0
- package/components/Hint/themes/dark/hint.scss +6 -0
- package/components/InputGroup/themes/dark/input-group.css +0 -0
- package/components/InputGroup/themes/dark/input-group.scss +26 -0
- package/components/Label/themes/dark/label.css +0 -0
- package/components/Label/themes/dark/label.scss +45 -0
- package/components/LogViewer/themes/dark/log-viewer.css +0 -0
- package/components/LogViewer/themes/dark/log-viewer.scss +5 -0
- package/components/Login/themes/dark/login.css +0 -0
- package/components/Login/themes/dark/login.scss +6 -0
- package/components/Masthead/themes/dark/masthead.css +0 -0
- package/components/Masthead/themes/dark/masthead.scss +11 -0
- package/components/Menu/themes/dark/menu.css +0 -0
- package/components/Menu/themes/dark/menu.scss +10 -0
- package/components/MenuToggle/themes/dark/menu-toggle.css +0 -0
- package/components/MenuToggle/themes/dark/menu-toggle.scss +21 -0
- package/components/ModalBox/modal-box.scss +0 -1
- package/components/ModalBox/themes/dark/modal-box.css +0 -0
- package/components/ModalBox/themes/dark/modal-box.scss +5 -0
- package/components/Nav/nav.css +3 -0
- package/components/Nav/nav.scss +4 -0
- package/components/Nav/themes/dark/nav.css +0 -0
- package/components/Nav/themes/dark/nav.scss +42 -0
- package/components/NotificationBadge/themes/dark/notification-badge.css +0 -0
- package/components/NotificationBadge/themes/dark/notification-badge.scss +5 -0
- package/components/NotificationDrawer/themes/dark/notification-drawer.css +0 -0
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +12 -0
- package/components/OptionsMenu/themes/dark/options-menu.css +0 -0
- package/components/OptionsMenu/themes/dark/options-menu.scss +21 -0
- package/components/Page/themes/dark/page.css +0 -0
- package/components/Page/themes/dark/page.scss +62 -0
- package/components/Pagination/themes/dark/pagination.css +0 -0
- package/components/Pagination/themes/dark/pagination.scss +5 -0
- package/components/Popover/popover.scss +0 -1
- package/components/Popover/themes/dark/popover.css +0 -0
- package/components/Popover/themes/dark/popover.scss +15 -0
- package/components/Progress/progress.scss +0 -1
- package/components/Progress/themes/dark/progress.css +0 -0
- package/components/Progress/themes/dark/progress.scss +7 -0
- package/components/SearchInput/themes/dark/search-input.css +0 -0
- package/components/SearchInput/themes/dark/search-input.scss +14 -0
- package/components/Select/themes/dark/select.css +0 -0
- package/components/Select/themes/dark/select.scss +21 -0
- package/components/SimpleList/themes/dark/simple-list.css +0 -0
- package/components/SimpleList/themes/dark/simple-list.scss +12 -0
- package/components/Skeleton/themes/dark/skeleton.css +0 -0
- package/components/Skeleton/themes/dark/skeleton.scss +8 -0
- package/components/Switch/themes/dark/switch.css +0 -0
- package/components/Switch/themes/dark/switch.scss +8 -0
- package/components/Table/table.css +2 -1
- package/components/Table/table.scss +8 -5
- package/components/Table/themes/dark/table.css +0 -0
- package/components/Table/themes/dark/table.scss +10 -0
- package/components/Tabs/themes/dark/tabs.css +0 -0
- package/components/Tabs/themes/dark/tabs.scss +7 -0
- package/components/Tile/themes/dark/tile.css +0 -0
- package/components/Tile/themes/dark/tile.scss +8 -0
- package/components/ToggleGroup/themes/dark/toggle-group.css +0 -0
- package/components/ToggleGroup/themes/dark/toggle-group.scss +9 -0
- package/components/Tooltip/themes/dark/tooltip.css +0 -0
- package/components/Tooltip/themes/dark/tooltip.scss +6 -0
- package/components/TreeView/themes/dark/tree-view.css +0 -0
- package/components/TreeView/themes/dark/tree-view.scss +6 -0
- package/components/Wizard/themes/dark/wizard.css +0 -0
- package/components/Wizard/themes/dark/wizard.scss +12 -0
- package/docs/components/Avatar/examples/Avatar.md +53 -5
- package/docs/components/Brand/examples/Brand.md +6 -6
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +2 -2
- package/docs/components/CodeEditor/examples/CodeEditor.md +71 -10
- package/docs/components/DataList/examples/DataList.md +11 -11
- package/docs/components/DescriptionList/examples/DescriptionList.md +19 -19
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +27 -27
- package/docs/components/Dropdown/examples/Dropdown.md +2 -2
- package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
- package/docs/components/LogViewer/examples/LogViewer.md +19 -19
- package/docs/components/Masthead/examples/masthead.md +10 -10
- package/docs/components/Menu/examples/Menu.md +2 -2
- package/docs/components/Nav/examples/Navigation.css +3 -1
- package/docs/components/Nav/examples/Navigation.md +79 -0
- package/docs/components/Page/examples/Page.md +4 -4
- package/docs/components/Pagination/examples/Pagination.md +2 -2
- package/docs/components/Sidebar/examples/Sidebar.md +14 -14
- package/docs/components/Table/examples/Table.md +20 -9
- package/docs/components/Tabs/examples/Tabs.md +27 -27
- package/docs/components/Toolbar/examples/Toolbar.md +31 -31
- package/docs/demos/Alert/examples/Alert.md +360 -54
- package/docs/demos/BackToTop/examples/BackToTop.md +304 -5
- package/docs/demos/Banner/examples/Banner.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +1 -1
- package/docs/demos/ContextSelector/examples/ContextSelector.md +3051 -59
- package/docs/demos/DataList/examples/DataList.md +4 -4
- package/docs/demos/Drawer/examples/Drawer.md +3 -3
- package/docs/demos/JumpLinks/examples/JumpLinks.md +1221 -80
- package/docs/demos/Masthead/examples/Masthead.md +1643 -1026
- package/docs/demos/Nav/examples/Nav.md +300 -9
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +5 -5
- package/docs/demos/Page/examples/Page.md +7050 -161
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +7 -7
- package/docs/demos/Skeleton/examples/Skeleton.md +1 -1
- package/docs/demos/Table/examples/Table.md +24128 -172
- package/docs/demos/Tabs/examples/Tabs.md +7304 -697
- package/docs/demos/Toolbar/examples/Toolbar.md +1026 -44
- package/docs/demos/Wizard/examples/Wizard.md +2 -2
- package/docs/layouts/Flex/examples/Flex.md +1 -1
- package/docs/layouts/Gallery/examples/Gallery.md +2 -2
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
- package/docs/utilities/Alignment/examples/Alignment.md +1 -1
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
- package/docs/utilities/Display/examples/Display.md +1 -1
- package/docs/utilities/Flex/examples/Flex.md +1 -1
- package/docs/utilities/Float/examples/Float.md +1 -1
- package/docs/utilities/Sizing/examples/Sizing.md +12 -0
- package/docs/utilities/Spacing/examples/Spacing.md +1 -1
- package/docs/utilities/Text/examples/Text.md +1 -1
- package/package.json +1 -1
- package/patternfly-no-reset.css +237 -1
- package/patternfly-theme-dark.css +628 -0
- package/patternfly-theme-dark.scss +9 -0
- package/patternfly.css +237 -1
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@mixin form-control() {
|
|
2
|
+
.pf-c-form-control {
|
|
3
|
+
--pf-c-form-control__select--BackgroundUrl: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%235ba352' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'/%3E%3C/svg%3E");
|
|
4
|
+
--pf-c-form-control--BorderTopColor: transparent;
|
|
5
|
+
--pf-c-form-control--BorderRightColor: transparent;
|
|
6
|
+
--pf-c-form-control--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
7
|
+
--pf-c-form-control--BorderLeftColor: transparent;
|
|
8
|
+
--pf-c-form-control--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
9
|
+
--pf-c-form-control--disabled--Color: var(--pf-global--disabled-color--300);
|
|
10
|
+
--pf-c-form-control--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
11
|
+
--pf-c-form-control--readonly--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
12
|
+
|
|
13
|
+
color: var(--pf-global--Color--100);
|
|
14
|
+
|
|
15
|
+
// chrome's calendar icon for type="date"
|
|
16
|
+
&::-webkit-calendar-picker-indicator {
|
|
17
|
+
filter: #{"invert(1)"};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&[readonly] {
|
|
21
|
+
border-bottom-color: var(--pf-global--palette--black-700); // should be a var?
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:disabled {
|
|
25
|
+
color: var(--pf-global--palette--black-100); // global var
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@mixin input-group() {
|
|
2
|
+
.pf-c-input-group {
|
|
3
|
+
--pf-c-input-group--BackgroundColor: transparent;
|
|
4
|
+
--pf-c-input-group__text--BorderTopColor: transparent;
|
|
5
|
+
--pf-c-input-group__text--BorderRightColor: transparent;
|
|
6
|
+
--pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
7
|
+
--pf-c-input-group__text--BorderLeftColor: transparent;
|
|
8
|
+
--pf-c-input-group__text--BackgroundColor: var(--pf-global--palette--black-600);
|
|
9
|
+
|
|
10
|
+
> * + * {
|
|
11
|
+
margin-left: 0;
|
|
12
|
+
border-left: 1px solid var(--pf-global--palette--black-700); // global var
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.pf-c-input-group__text {
|
|
17
|
+
--pf-c-input-group__text--BorderTopColor: transparent;
|
|
18
|
+
--pf-c-input-group__text--BorderRightColor: transparent;
|
|
19
|
+
--pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
20
|
+
--pf-c-input-group__text--BorderLeftColor: transparent;
|
|
21
|
+
|
|
22
|
+
&.pf-m-plain {
|
|
23
|
+
--pf-c-input-group__text--BackgroundColor: transparent;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@mixin label() {
|
|
2
|
+
.pf-c-label {
|
|
3
|
+
--pf-c-label--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
4
|
+
--pf-c-label--m-blue--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
5
|
+
--pf-c-label--m-green--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
6
|
+
--pf-c-label--m-orange--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
7
|
+
--pf-c-label--m-red--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
8
|
+
--pf-c-label--m-purple--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
9
|
+
--pf-c-label--m-cyan--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
10
|
+
--pf-c-label__content--before--BorderWidth: 0;
|
|
11
|
+
--pf-c-label__content--before--BorderColor: transparent;
|
|
12
|
+
--pf-c-label__content--link--hover--before--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
13
|
+
--pf-c-label__content--link--focus--before--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
14
|
+
--pf-c-label--m-blue__content--Color: var(--pf-global--primary-color--100);
|
|
15
|
+
--pf-c-label--m-outline--m-blue__content--before--BorderColor: var(--pf-global--active-color--200);
|
|
16
|
+
--pf-c-label--m-outline--m-blue__content--link--hover--before--BorderColor: var(--pf-global--active-color--200);
|
|
17
|
+
--pf-c-label--m-outline--m-blue__content--link--focus--before--BorderColor: var(--pf-global--active-color--200);
|
|
18
|
+
--pf-c-label--m-green__content--Color: var(--pf-global--success-color--100);
|
|
19
|
+
--pf-c-label--m-outline--m-green__content--before--BorderColor: var(--pf-global--palette--green-100);
|
|
20
|
+
--pf-c-label--m-outline--m-green__content--link--hover--before--BorderColor: var(--pf-global--palette--green-100);
|
|
21
|
+
--pf-c-label--m-outline--m-green__content--link--focus--before--BorderColor: var(--pf-global--palette--green-100);
|
|
22
|
+
--pf-c-label--m-orange__content--Color: var(--pf-global--palette--orange-300);
|
|
23
|
+
--pf-c-label--m-outline--m-orange__content--Color: var(--pf-global--palette--orange-300);
|
|
24
|
+
--pf-c-label--m-outline--m-orange__content--before--BorderColor: var(--pf-global--palette--gold-100);
|
|
25
|
+
--pf-c-label--m-outline--m-orange__content--link--hover--before--BorderColor: var(--pf-global--palette--gold-100);
|
|
26
|
+
--pf-c-label--m-outline--m-orange__content--link--focus--before--BorderColor: var(--pf-global--palette--gold-100);
|
|
27
|
+
--pf-c-label--m-red__content--Color: var(--pf-global--danger-color--100);
|
|
28
|
+
--pf-c-label--m-outline--m-red__content--before--BorderColor: var(--pf-global--danger-color--100);
|
|
29
|
+
--pf-c-label--m-outline--m-red__content--link--hover--before--BorderColor: var(--pf-global--danger-color--100);
|
|
30
|
+
--pf-c-label--m-outline--m-red__content--link--focus--before--BorderColor: var(--pf-global--danger-color--100);
|
|
31
|
+
--pf-c-label--m-purple__content--Color: var(--pf-global--palette--purple-300);
|
|
32
|
+
--pf-c-label--m-purple__icon--Color: var(--pf-global--palette--purple-300);
|
|
33
|
+
--pf-c-label--m-purple__content--link--hover--before--BorderColor: var(--pf-global--palette--purple-300);
|
|
34
|
+
--pf-c-label--m-purple__content--link--focus--before--BorderColor: var(--pf-global--palette--purple-300);
|
|
35
|
+
--pf-c-label--m-outline--m-purple__content--before--BorderColor: var(--pf-global--palette--purple-100);
|
|
36
|
+
--pf-c-label--m-outline--m-purple__content--link--hover--before--BorderColor: var(--pf-global--palette--purple-100);
|
|
37
|
+
--pf-c-label--m-outline--m-purple__content--link--focus--before--BorderColor: var(--pf-global--palette--purple-100);
|
|
38
|
+
--pf-c-label--m-outline--m-purple__content--Color: var(--pf-global--palette--purple-300);
|
|
39
|
+
--pf-c-label--m-cyan__content--Color: var(--pf-global--default-color--200);
|
|
40
|
+
--pf-c-label--m-outline--m-cyan__content--Color: var(--pf-global--default-color--200);
|
|
41
|
+
--pf-c-label--m-outline--m-cyan__content--before--BorderColor: var(--pf-global--palette--cyan-100);
|
|
42
|
+
--pf-c-label--m-outline--m-cyan__content--link--hover--before--BorderColor: var(--pf-global--palette--cyan-100);
|
|
43
|
+
--pf-c-label--m-outline--m-cyan__content--link--focus--before--BorderColor: var(--pf-global--palette--cyan-100);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@mixin menu() {
|
|
2
|
+
.pf-c-menu {
|
|
3
|
+
--pf-c-menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
4
|
+
--pf-c-menu__list-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
5
|
+
--pf-c-menu__list-item--focus-within--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
6
|
+
--pf-c-menu__list-item--m-disabled__item--Color: var(--pf-global--Color--200); // global var?
|
|
7
|
+
--pf-c-menu__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
8
|
+
--pf-c-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@mixin menu-toggle() {
|
|
2
|
+
.pf-c-menu-toggle {
|
|
3
|
+
--pf-c-menu-toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
4
|
+
--pf-c-menu-toggle--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
5
|
+
--pf-c-menu-toggle--active--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
6
|
+
--pf-c-menu-toggle--focus--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
7
|
+
--pf-c-menu-toggle--m-expanded--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
8
|
+
--pf-c-menu-toggle--before--BorderTopColor: transparent;
|
|
9
|
+
--pf-c-menu-toggle--before--BorderRightColor: transparent;
|
|
10
|
+
--pf-c-menu-toggle--before--BorderBottomColor: transparent;
|
|
11
|
+
--pf-c-menu-toggle--before--BorderLeftColor: transparent;
|
|
12
|
+
--pf-c-menu-toggle--after--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
13
|
+
--pf-c-menu-toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
|
|
14
|
+
--pf-c-menu-toggle--disabled--Color: var(--pf-global--palette--black-100);
|
|
15
|
+
--pf-c-menu-toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
16
|
+
|
|
17
|
+
&.pf-m-plain {
|
|
18
|
+
background: transparent;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
File without changes
|
package/components/Nav/nav.css
CHANGED
|
@@ -868,6 +868,9 @@
|
|
|
868
868
|
.pf-c-nav__section + .pf-c-nav__section {
|
|
869
869
|
--pf-c-nav__section--MarginTop: var(--pf-c-nav__section--section--MarginTop);
|
|
870
870
|
}
|
|
871
|
+
.pf-c-nav__section.pf-m-no-title {
|
|
872
|
+
--pf-c-nav__section--MarginTop: 0;
|
|
873
|
+
}
|
|
871
874
|
|
|
872
875
|
.pf-c-nav__section-title {
|
|
873
876
|
padding: var(--pf-c-nav__section-title--PaddingTop) var(--pf-c-nav__section-title--PaddingRight) var(--pf-c-nav__section-title--PaddingBottom) var(--pf-c-nav__section-title--PaddingLeft);
|
package/components/Nav/nav.scss
CHANGED
|
File without changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@mixin nav() {
|
|
2
|
+
.pf-c-nav {
|
|
3
|
+
--pf-c-nav__item--item__link--after--Top: -1px;
|
|
4
|
+
--pf-c-nav__item--before--BorderColor: var(--pf-global--BorderColor--100);
|
|
5
|
+
--pf-c-nav__link--hover--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
6
|
+
--pf-c-nav__link--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
7
|
+
--pf-c-nav__link--active--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
8
|
+
--pf-c-nav__link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
9
|
+
--pf-c-nav__link--before--BorderColor: var(--pf-global--BorderColor--100);
|
|
10
|
+
--pf-c-nav--m-tertiary__scroll-button--before--BorderColor: var(--pf-global--BorderColor--100);
|
|
11
|
+
--pf-c-nav__section-title--Color: var(--pf-global--Color--200);
|
|
12
|
+
--pf-c-nav__section-title--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
13
|
+
--pf-c-nav__scroll-button--before--BorderColor: var(--pf-global--BorderColor--100);
|
|
14
|
+
--pf-c-nav--c-divider--BackgroundColor: var(--pf-global--BorderColor--100);
|
|
15
|
+
--pf-c-nav__link--hover--before--BorderBottomWidth: 0;
|
|
16
|
+
--pf-c-nav__link--focus--before--BorderBottomWidth: 0;
|
|
17
|
+
--pf-c-nav__link--active--before--BorderBottomWidth: 0;
|
|
18
|
+
--pf-c-nav__link--m-current--before--BorderBottomWidth: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.pf-c-nav__link {
|
|
22
|
+
&::before {
|
|
23
|
+
bottom: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&::after {
|
|
27
|
+
top: var(--pf-c-nav__item--item__link--after--Top);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.pf-c-nav__item + .pf-c-nav__item {
|
|
32
|
+
--pf-c-nav__link--after--Top: var(--pf-c-nav__item--item__link--after--Top);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.pf-c-nav__subnav {
|
|
36
|
+
--pf-c-nav__item--item__link--after--Top: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.pf-c-nav__section {
|
|
40
|
+
--pf-c-nav__item--item__link--after--Top: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@mixin notification-drawer() {
|
|
2
|
+
.pf-c-notification-drawer {
|
|
3
|
+
--pf-c-notification-drawer--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
4
|
+
--pf-c-notification-drawer__header--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
5
|
+
--pf-c-notification-drawer__list-item--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
6
|
+
--pf-c-notification-drawer__list-item--BoxShadow: none;
|
|
7
|
+
--pf-c-notification-drawer__list-item--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
8
|
+
--pf-c-notification-drawer__list-item--m-read--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
9
|
+
--pf-c-notification-drawer__list-item--list-item--m-read--BoxShadow: none;
|
|
10
|
+
--pf-c-notification-drawer__group-toggle--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@mixin options-menu() {
|
|
2
|
+
.pf-c-options-menu {
|
|
3
|
+
--pf-c-options-menu__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
4
|
+
--pf-c-options-menu__toggle--BorderTopColor: transparent;
|
|
5
|
+
--pf-c-options-menu__toggle--BorderRightColor: transparent;
|
|
6
|
+
--pf-c-options-menu__toggle--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
7
|
+
--pf-c-options-menu__toggle--BorderLeftColor: transparent;
|
|
8
|
+
--pf-c-options-menu__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
|
|
9
|
+
--pf-c-options-menu__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
10
|
+
--pf-c-options-menu__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
11
|
+
--pf-c-options-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
12
|
+
--pf-c-options-menu__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
13
|
+
--pf-c-options-menu__menu--Top: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.pf-c-options-menu__toggle {
|
|
17
|
+
&.pf-m-plain {
|
|
18
|
+
background: transparent;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@mixin page() {
|
|
2
|
+
.pf-c-page {
|
|
3
|
+
--pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
4
|
+
--pf-c-page__sidebar--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
5
|
+
--pf-c-page__header--BackgroundColor: var(--pf-global--palette--black-1000);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.pf-c-page__header-tools-item {
|
|
9
|
+
&.pf-m-selected {
|
|
10
|
+
.pf-c-button {
|
|
11
|
+
color: var(--pf-global--Color--100);
|
|
12
|
+
|
|
13
|
+
// stylelint-disable
|
|
14
|
+
.pf-c-notification-badge {
|
|
15
|
+
&:hover {
|
|
16
|
+
&::before {
|
|
17
|
+
background-color: var(--pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
// stylelint-enable
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.pf-c-page__main-nav {
|
|
27
|
+
&.pf-m-sticky-top,
|
|
28
|
+
&.pf-m-sticky-bottom {
|
|
29
|
+
--pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.pf-c-page__main-breadcrumb {
|
|
34
|
+
&.pf-m-sticky-top,
|
|
35
|
+
&.pf-m-sticky-bottom {
|
|
36
|
+
--pf-c-page__main-breadcrumb--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.pf-c-page__main-group {
|
|
41
|
+
&.pf-m-sticky-top,
|
|
42
|
+
&.pf-m-sticky-bottom {
|
|
43
|
+
--pf-c-page__main-section--m-light--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
44
|
+
--pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
45
|
+
--pf-c-page__main-breadcrumb--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
46
|
+
--pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.pf-c-page__main-section {
|
|
51
|
+
&.pf-m-sticky-top,
|
|
52
|
+
&.pf-m-sticky-bottom {
|
|
53
|
+
--pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector,
|
|
58
|
+
.pf-c-page__main-section[class*="pf-m-dark-"],
|
|
59
|
+
.pf-c-page__header {
|
|
60
|
+
@include pf-t-dark;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@mixin popover() {
|
|
2
|
+
.pf-c-popover {
|
|
3
|
+
--pf-c-popover--BoxShadow: none;
|
|
4
|
+
--pf-c-popover__arrow--BoxShadow: none;
|
|
5
|
+
--pf-c-popover__arrow--BackgroundColor: var(--pf-c-popover__content--BackgroundColor);
|
|
6
|
+
--pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--200);
|
|
7
|
+
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--100);
|
|
8
|
+
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--100);
|
|
9
|
+
|
|
10
|
+
&,
|
|
11
|
+
.pf-c-popover__arrow {
|
|
12
|
+
border: 4px solid var(--pf-global--BorderColor--400);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@mixin progress() {
|
|
2
|
+
.pf-c-progress {
|
|
3
|
+
--pf-c-progress--m-inside__measure--Color: var(--pf-global--palette--black-900);
|
|
4
|
+
--pf-c-progress--m-success--m-inside__measure--Color: var(--pf-global--palette--black-900);
|
|
5
|
+
--pf-c-progress--m-warning--m-inside__measure--Color: var(--pf-global--palette--black-900);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@mixin search-input() {
|
|
2
|
+
.pf-c-search-input {
|
|
3
|
+
--pf-c-search-input__text--before--BorderColor: transparent;
|
|
4
|
+
--pf-c-search-input__text--after--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
5
|
+
|
|
6
|
+
background-color: var(--pf-global--BackgroundColor--400);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.pf-c-search-input__text {
|
|
10
|
+
&::before {
|
|
11
|
+
border-bottom-color: var(--pf-global--BorderColor--400);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@mixin select() {
|
|
2
|
+
.pf-c-select {
|
|
3
|
+
--pf-c-select__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
|
|
4
|
+
--pf-c-select__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
5
|
+
--pf-c-select__toggle--before--BorderTopColor: transparent;
|
|
6
|
+
--pf-c-select__toggle--before--BorderRightColor: transparent;
|
|
7
|
+
--pf-c-select__toggle--before--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
8
|
+
--pf-c-select__toggle--before--BorderLeftColor: transparent;
|
|
9
|
+
--pf-c-select__menu--Top: 100%;
|
|
10
|
+
--pf-c-select__menu--m-top--TranslateY: -100%;
|
|
11
|
+
--pf-c-select__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
12
|
+
--pf-c-select__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.pf-c-select__toggle {
|
|
16
|
+
&:disabled,
|
|
17
|
+
&.pf-m-disabled {
|
|
18
|
+
color: var(--pf-global--palette--black-100);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@mixin simple-list() {
|
|
2
|
+
.pf-c-simple-list {
|
|
3
|
+
--pf-c-simple-list__item-link--m-current--Color: var(--pf-global--active-color--100);
|
|
4
|
+
--pf-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
5
|
+
--pf-c-simple-list__item-link--hover--Color: var(--pf-global--Color--100);
|
|
6
|
+
--pf-c-simple-list__item-link--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
7
|
+
--pf-c-simple-list__item-link--focus--Color: var(--pf-global--Color--100);
|
|
8
|
+
--pf-c-simple-list__item-link--focus--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
9
|
+
--pf-c-simple-list__item-link--active--Color: var(--pf-global--Color--100);
|
|
10
|
+
--pf-c-simple-list__item-link--active--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@mixin skeleton() {
|
|
2
|
+
.pf-c-skeleton {
|
|
3
|
+
--pf-c-skeleton--BackgroundColor: var(--pf-global--palette--black-600);
|
|
4
|
+
--pf-c-skeleton--after--LinearGradientColorStop1: var(--pf-global--palette--black-600);
|
|
5
|
+
--pf-c-skeleton--after--LinearGradientColorStop2: var(--pf-global--palette--black-500);
|
|
6
|
+
--pf-c-skeleton--after--LinearGradientColorStop3: var(--pf-global--palette--black-600);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@mixin switch() {
|
|
2
|
+
.pf-c-switch {
|
|
3
|
+
--pf-c-switch__toggle-icon--Color: var(--pf-global--BackgroundColor--100);
|
|
4
|
+
--pf-c-switch__input--not-checked__label--Color: var(--pf-global--Color--100);
|
|
5
|
+
--pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--disabled-color--100);
|
|
6
|
+
--pf-c-switch__toggle--before--BoxShadow: none;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -967,7 +967,8 @@
|
|
|
967
967
|
.pf-c-table.pf-m-compact tr:not(.pf-c-table__expandable-row) > *:last-child {
|
|
968
968
|
--pf-c-table--cell--PaddingRight: var(--pf-c-table--m-compact--cell--first-last-child--PaddingRight);
|
|
969
969
|
}
|
|
970
|
-
.pf-c-table.pf-m-compact thead th
|
|
970
|
+
.pf-c-table.pf-m-compact thead th,
|
|
971
|
+
.pf-c-table.pf-m-compact thead .pf-c-table__toggle {
|
|
971
972
|
--pf-c-table--cell--PaddingTop: var(--pf-c-table--m-compact-th--PaddingTop);
|
|
972
973
|
--pf-c-table--cell--PaddingBottom: var(--pf-c-table--m-compact-th--PaddingBottom);
|
|
973
974
|
}
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
// ============================================================ //
|
|
86
86
|
|
|
87
87
|
// Table cell - toggle
|
|
88
|
-
--pf-c-table__toggle--c-button--MarginTop: calc(#{pf-size-prem(6px)} * -1);
|
|
89
|
-
--pf-c-table__toggle--c-button--MarginBottom: calc(#{pf-size-prem(6px)} * -1);
|
|
88
|
+
--pf-c-table__toggle--c-button--MarginTop: calc(#{pf-size-prem(6px)} * -1); // use var(--pf-global--spacer--form-element) at breaking change
|
|
89
|
+
--pf-c-table__toggle--c-button--MarginBottom: calc(#{pf-size-prem(6px)} * -1); // use var(--pf-global--spacer--form-element) at breaking change
|
|
90
90
|
--pf-c-table__toggle--c-button__toggle-icon--Rotate: 270deg;
|
|
91
91
|
--pf-c-table__toggle--c-button__toggle-icon--Transition: .2s ease-in 0s;
|
|
92
92
|
--pf-c-table__toggle--c-button--m-expanded__toggle-icon--Rotate: 360deg;
|
|
@@ -1255,9 +1255,12 @@
|
|
|
1255
1255
|
}
|
|
1256
1256
|
|
|
1257
1257
|
// Thead only
|
|
1258
|
-
thead
|
|
1259
|
-
|
|
1260
|
-
|
|
1258
|
+
thead {
|
|
1259
|
+
th,
|
|
1260
|
+
.pf-c-table__toggle {
|
|
1261
|
+
--pf-c-table--cell--PaddingTop: var(--pf-c-table--m-compact-th--PaddingTop);
|
|
1262
|
+
--pf-c-table--cell--PaddingBottom: var(--pf-c-table--m-compact-th--PaddingBottom);
|
|
1263
|
+
}
|
|
1261
1264
|
}
|
|
1262
1265
|
|
|
1263
1266
|
.pf-c-table__action {
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@mixin tabs() {
|
|
2
|
+
.pf-c-tabs {
|
|
3
|
+
--pf-c-tabs__scroll-button--BackgroundColor: transparent;
|
|
4
|
+
--pf-c-tabs__link--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
5
|
+
--pf-c-tabs--m-color-scheme--light-300__link--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@mixin tile() {
|
|
2
|
+
.pf-c-tile {
|
|
3
|
+
--pf-c-tile--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
4
|
+
--pf-c-tile--m-disabled__title--Color: var(--pf-global--disabled-color--300);
|
|
5
|
+
--pf-c-tile--m-disabled__icon--Color: var(--pf-global--disabled-color--300);
|
|
6
|
+
--pf-c-tile--m-disabled__body--Color: var(--pf-global--disabled-color--300);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
File without changes
|