@patternfly/patternfly 4.177.0 → 4.179.1
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 +37 -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/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/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/CalendarMonth/examples/CalendarMonth.md +2 -2
- package/docs/components/Nav/examples/Navigation.css +3 -1
- package/docs/components/Nav/examples/Navigation.md +79 -0
- package/docs/components/Table/examples/Table.md +12 -1
- package/docs/demos/Alert/examples/Alert.md +3 -3
- package/docs/demos/BackToTop/examples/BackToTop.md +201 -1
- 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 +1034 -196
- 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 +4 -4
- package/docs/demos/Masthead/examples/Masthead.md +1643 -1026
- package/docs/demos/Nav/examples/Nav.md +8 -8
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +5 -5
- package/docs/demos/Page/examples/Page.md +959 -7
- 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 +2962 -64
- package/docs/demos/Tabs/examples/Tabs.md +8 -8
- package/docs/demos/Toolbar/examples/Toolbar.md +1 -1
- package/docs/demos/Wizard/examples/Wizard.md +2 -2
- package/package.json +1 -1
- package/patternfly-no-reset.css +5 -1
- package/patternfly-theme-dark.css +628 -0
- package/patternfly-theme-dark.scss +9 -0
- package/patternfly.css +5 -1
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -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
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@mixin toggle-group() {
|
|
2
|
+
.pf-c-toggle-group {
|
|
3
|
+
--pf-c-toggle-group__button--hover--BackgroundColor: var(--pf-global--palette--black-700);
|
|
4
|
+
--pf-c-toggle-group__button--focus--BackgroundColor: var(--pf-global--palette--black-700);
|
|
5
|
+
--pf-c-toggle-group__button--disabled--BackgroundColor: var(--pf-global--palette--black-600);
|
|
6
|
+
--pf-c-toggle-group__button--disabled--Color: var(--pf-global--palette--black-100);
|
|
7
|
+
--pf-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-global--primary-color--300);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@mixin wizard() {
|
|
2
|
+
.pf-c-wizard {
|
|
3
|
+
--pf-c-wizard__nav-link--m-disabled--Color: var(--pf-global--disabled-color--300);
|
|
4
|
+
--pf-c-wizard__nav-link--m-disabled--before--Color: var(--pf-global--disabled-color--300);
|
|
5
|
+
--pf-c-wizard__nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
6
|
+
--pf-c-wizard__outer-wrap--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.pf-c-wizard__header {
|
|
10
|
+
@include pf-t-dark;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -744,7 +744,7 @@ cssPrefix: pf-c-calendar-month
|
|
|
744
744
|
>28</button>
|
|
745
745
|
</td>
|
|
746
746
|
<td
|
|
747
|
-
class="pf-c-calendar-month__dates-cell pf-m-in-range pf-m-end-range"
|
|
747
|
+
class="pf-c-calendar-month__dates-cell pf-m-selected pf-m-in-range pf-m-end-range"
|
|
748
748
|
>
|
|
749
749
|
<button
|
|
750
750
|
class="pf-c-calendar-month__date pf-m-hover"
|
|
@@ -1001,7 +1001,7 @@ cssPrefix: pf-c-calendar-month
|
|
|
1001
1001
|
>10</button>
|
|
1002
1002
|
</td>
|
|
1003
1003
|
<td
|
|
1004
|
-
class="pf-c-calendar-month__dates-cell pf-m-start-range pf-m-in-range"
|
|
1004
|
+
class="pf-c-calendar-month__dates-cell pf-m-selected pf-m-start-range pf-m-in-range"
|
|
1005
1005
|
>
|
|
1006
1006
|
<button
|
|
1007
1007
|
class="pf-c-calendar-month__date pf-m-focus"
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
#ws-core-c-navigation-basic,
|
|
3
3
|
#ws-core-c-navigation-grouped,
|
|
4
4
|
#ws-core-c-navigation-grouped-nav,
|
|
5
|
+
#ws-core-c-navigation-grouped-nav-no-titles,
|
|
5
6
|
#ws-core-c-navigation-expanded,
|
|
6
7
|
#ws-core-c-navigation-expanded-with-subnav-titles,
|
|
7
8
|
#ws-core-c-navigation-mixed,
|
|
@@ -13,7 +14,8 @@
|
|
|
13
14
|
#ws-core-c-navigation-nav-with-drilldown-menu .pf-c-nav,
|
|
14
15
|
#ws-core-c-navigation-level-2-drilldown,
|
|
15
16
|
#ws-core-c-navigation-level-3-drilldown,
|
|
16
|
-
#ws-core-c-navigation-nav-with-flyout .pf-c-nav
|
|
17
|
+
#ws-core-c-navigation-nav-with-flyout .pf-c-nav,
|
|
18
|
+
#ws-core-c-navigation-grouped-nav-no-titles-no-margin-top {
|
|
17
19
|
padding: 0;
|
|
18
20
|
background-color: var(--pf-global--BackgroundColor--dark-300);
|
|
19
21
|
}
|
|
@@ -72,6 +72,83 @@ cssPrefix: pf-c-nav
|
|
|
72
72
|
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
+
### Grouped nav, no titles
|
|
76
|
+
|
|
77
|
+
```html
|
|
78
|
+
<nav class="pf-c-nav" aria-label="Global">
|
|
79
|
+
<section class="pf-c-nav__section pf-m-no-title" aria-label="Section one">
|
|
80
|
+
<ul class="pf-c-nav__list">
|
|
81
|
+
<li class="pf-c-nav__item">
|
|
82
|
+
<a href="#" class="pf-c-nav__link">Link 1</a>
|
|
83
|
+
</li>
|
|
84
|
+
<li class="pf-c-nav__item">
|
|
85
|
+
<a href="#" class="pf-c-nav__link">Link 2</a>
|
|
86
|
+
</li>
|
|
87
|
+
<li class="pf-c-nav__item">
|
|
88
|
+
<a href="#" class="pf-c-nav__link">Link 3</a>
|
|
89
|
+
</li>
|
|
90
|
+
</ul>
|
|
91
|
+
</section>
|
|
92
|
+
<hr class="pf-c-divider" />
|
|
93
|
+
<section class="pf-c-nav__section pf-m-no-title" aria-label="Section two">
|
|
94
|
+
<ul class="pf-c-nav__list">
|
|
95
|
+
<li class="pf-c-nav__item">
|
|
96
|
+
<a href="#" class="pf-c-nav__link">Section 2, link 1</a>
|
|
97
|
+
</li>
|
|
98
|
+
<li class="pf-c-nav__item">
|
|
99
|
+
<a
|
|
100
|
+
href="#"
|
|
101
|
+
class="pf-c-nav__link pf-m-current"
|
|
102
|
+
aria-current="page"
|
|
103
|
+
>Current link</a>
|
|
104
|
+
</li>
|
|
105
|
+
<li class="pf-c-nav__item">
|
|
106
|
+
<a href="#" class="pf-c-nav__link">Link 3</a>
|
|
107
|
+
</li>
|
|
108
|
+
</ul>
|
|
109
|
+
</section>
|
|
110
|
+
</nav>
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Grouped nav, no titles, no margin top
|
|
115
|
+
|
|
116
|
+
```html
|
|
117
|
+
<nav class="pf-c-nav" aria-label="Global">
|
|
118
|
+
<section class="pf-c-nav__section pf-m-no-title" aria-label="Section one">
|
|
119
|
+
<ul class="pf-c-nav__list">
|
|
120
|
+
<li class="pf-c-nav__item">
|
|
121
|
+
<a href="#" class="pf-c-nav__link">Link 1</a>
|
|
122
|
+
</li>
|
|
123
|
+
<li class="pf-c-nav__item">
|
|
124
|
+
<a href="#" class="pf-c-nav__link">Link 2</a>
|
|
125
|
+
</li>
|
|
126
|
+
<li class="pf-c-nav__item">
|
|
127
|
+
<a href="#" class="pf-c-nav__link">Link 3</a>
|
|
128
|
+
</li>
|
|
129
|
+
</ul>
|
|
130
|
+
</section>
|
|
131
|
+
<section class="pf-c-nav__section pf-m-no-title" aria-label="Section two">
|
|
132
|
+
<ul class="pf-c-nav__list">
|
|
133
|
+
<li class="pf-c-nav__item">
|
|
134
|
+
<a href="#" class="pf-c-nav__link">Section 2, link 1</a>
|
|
135
|
+
</li>
|
|
136
|
+
<li class="pf-c-nav__item">
|
|
137
|
+
<a
|
|
138
|
+
href="#"
|
|
139
|
+
class="pf-c-nav__link pf-m-current"
|
|
140
|
+
aria-current="page"
|
|
141
|
+
>Current link</a>
|
|
142
|
+
</li>
|
|
143
|
+
<li class="pf-c-nav__item">
|
|
144
|
+
<a href="#" class="pf-c-nav__link">Link 3</a>
|
|
145
|
+
</li>
|
|
146
|
+
</ul>
|
|
147
|
+
</section>
|
|
148
|
+
</nav>
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
|
|
75
152
|
### Expanded
|
|
76
153
|
|
|
77
154
|
```html
|
|
@@ -1996,6 +2073,7 @@ The navigation system relies on several different sub-components:
|
|
|
1996
2073
|
| Attribute | Applied to | Outcome |
|
|
1997
2074
|
| -------------------------------------------------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1998
2075
|
| `aria-label="[landmark description]"` | `.pf-c-nav` | Describes `<nav>` landmark. |
|
|
2076
|
+
| `aria-label="[section title]"` | `.pf-c-nav__section` | Describes a nav `<section>`, where a `.pf-c-nav__section-title` is not present. |
|
|
1999
2077
|
| `aria-labelledby="[id value of link describing subnav]"` | `.pf-c-nav__subnav` | Gives the subnav `<section>` landmark an accessible name by referring to the element that provides the subnav `<section>` landmark title. |
|
|
2000
2078
|
| `aria-expanded="false"` | `.pf-c-nav__link` | Indicates that subnav section is hidden. |
|
|
2001
2079
|
| `aria-expanded="true"` | `.pf-c-nav__link` | Indicates that subnav section is visible. |
|
|
@@ -2019,6 +2097,7 @@ The navigation system relies on several different sub-components:
|
|
|
2019
2097
|
| `.pf-c-nav__toggle-icon` | `<span>` | Initiates a nav toggle icon wrapper. |
|
|
2020
2098
|
| `.pf-c-nav__scroll-button` | `<button>` | Initiates a nav scroll button. **Required for horizontal navs** |
|
|
2021
2099
|
| `.pf-m-horizontal` | `.pf-c-nav` | Modifies nav for the horizontal variation. |
|
|
2100
|
+
| `.pf-m-no-title` | `.pf-c-nav__section` | Modifies nav section margin top to 0. |
|
|
2022
2101
|
| `.pf-m-horizontal-subnav` | `.pf-c-nav` | Modifies nav for the horizontal subnav variation. |
|
|
2023
2102
|
| `.pf-m-tertiary` | `.pf-c-nav` | Modifies nav for the tertiary variation. |
|
|
2024
2103
|
| `.pf-m-light` | `.pf-c-nav` | Modifies nav for the light variation. **Note: only for use with vertical navs, and requires `.pf-m-light` on the page component's sidebar element (`.pf-c-page__sidebar`)**. |
|
|
@@ -5644,7 +5644,18 @@ Note: To apply padding to `.pf-c-table__expandable-row`, wrap the content in `.p
|
|
|
5644
5644
|
>
|
|
5645
5645
|
<thead>
|
|
5646
5646
|
<tr role="row">
|
|
5647
|
-
<td
|
|
5647
|
+
<td class="pf-c-table__toggle" role="cell">
|
|
5648
|
+
<button
|
|
5649
|
+
class="pf-c-button pf-m-plain"
|
|
5650
|
+
id="table-compact-expandable-expandable-toggle-thead"
|
|
5651
|
+
aria-label="Expand all"
|
|
5652
|
+
>
|
|
5653
|
+
<div class="pf-c-table__toggle-icon">
|
|
5654
|
+
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
|
5655
|
+
</div>
|
|
5656
|
+
</button>
|
|
5657
|
+
</td>
|
|
5658
|
+
|
|
5648
5659
|
<td class="pf-c-table__check" role="cell">
|
|
5649
5660
|
<label>
|
|
5650
5661
|
<input
|
|
@@ -54,7 +54,7 @@ section: components
|
|
|
54
54
|
type="button"
|
|
55
55
|
aria-label="Help"
|
|
56
56
|
>
|
|
57
|
-
<i class="
|
|
57
|
+
<i class="fas fa-question-circle" aria-hidden="true"></i>
|
|
58
58
|
</button>
|
|
59
59
|
</div>
|
|
60
60
|
</div>
|
|
@@ -422,7 +422,7 @@ section: components
|
|
|
422
422
|
type="button"
|
|
423
423
|
aria-label="Help"
|
|
424
424
|
>
|
|
425
|
-
<i class="
|
|
425
|
+
<i class="fas fa-question-circle" aria-hidden="true"></i>
|
|
426
426
|
</button>
|
|
427
427
|
</div>
|
|
428
428
|
</div>
|
|
@@ -795,7 +795,7 @@ section: components
|
|
|
795
795
|
type="button"
|
|
796
796
|
aria-label="Help"
|
|
797
797
|
>
|
|
798
|
-
<i class="
|
|
798
|
+
<i class="fas fa-question-circle" aria-hidden="true"></i>
|
|
799
799
|
</button>
|
|
800
800
|
</div>
|
|
801
801
|
</div>
|