@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.
Files changed (168) hide show
  1. package/UPGRADE-GUIDE.md +3 -0
  2. package/components/AboutModalBox/themes/dark/about-modal-box.css +0 -0
  3. package/components/AboutModalBox/themes/dark/about-modal-box.scss +9 -0
  4. package/components/Accordion/themes/dark/accordion.css +0 -0
  5. package/components/Accordion/themes/dark/accordion.scss +7 -0
  6. package/components/Alert/themes/dark/alert.css +0 -0
  7. package/components/Alert/themes/dark/alert.scss +15 -0
  8. package/components/AppLauncher/themes/dark/app-launcher.css +0 -0
  9. package/components/AppLauncher/themes/dark/app-launcher.scss +13 -0
  10. package/components/Avatar/avatar.css +224 -0
  11. package/components/Avatar/avatar.scss +18 -0
  12. package/components/Badge/themes/dark/badge.css +0 -0
  13. package/components/Badge/themes/dark/badge.scss +6 -0
  14. package/components/Banner/themes/dark/banner.css +0 -0
  15. package/components/Banner/themes/dark/banner.scss +12 -0
  16. package/components/Breadcrumb/themes/dark/breadcrumb.css +0 -0
  17. package/components/Breadcrumb/themes/dark/breadcrumb.scss +5 -0
  18. package/components/Button/themes/dark/button.css +0 -0
  19. package/components/Button/themes/dark/button.scss +42 -0
  20. package/components/CalendarMonth/themes/dark/calendar-month.css +0 -0
  21. package/components/CalendarMonth/themes/dark/calendar-month.scss +29 -0
  22. package/components/Chip/themes/dark/chip.css +0 -0
  23. package/components/Chip/themes/dark/chip.scss +7 -0
  24. package/components/ClipboardCopy/themes/dark/clipboard-copy.css +0 -0
  25. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +17 -0
  26. package/components/CodeEditor/code-editor.css +8 -0
  27. package/components/CodeEditor/code-editor.scss +11 -1
  28. package/components/CodeEditor/themes/dark/code-editor.css +0 -0
  29. package/components/CodeEditor/themes/dark/code-editor.scss +7 -0
  30. package/components/ContextSelector/themes/dark/context-selector.css +0 -0
  31. package/components/ContextSelector/themes/dark/context-selector.scss +22 -0
  32. package/components/DataList/themes/dark/data-list.css +0 -0
  33. package/components/DataList/themes/dark/data-list.scss +8 -0
  34. package/components/DatePicker/themes/dark/date-picker.css +0 -0
  35. package/components/DatePicker/themes/dark/date-picker.scss +6 -0
  36. package/components/Drawer/themes/dark/drawer.css +0 -0
  37. package/components/Drawer/themes/dark/drawer.scss +11 -0
  38. package/components/Dropdown/themes/dark/dropdown.css +0 -0
  39. package/components/Dropdown/themes/dark/dropdown.scss +30 -0
  40. package/components/Form/themes/dark/form.css +0 -0
  41. package/components/Form/themes/dark/form.scss +5 -0
  42. package/components/FormControl/themes/dark/form-control.css +0 -0
  43. package/components/FormControl/themes/dark/form-control.scss +28 -0
  44. package/components/HelperText/themes/dark/helper-text.css +0 -0
  45. package/components/HelperText/themes/dark/helper-text.scss +5 -0
  46. package/components/Hint/themes/dark/hint.css +0 -0
  47. package/components/Hint/themes/dark/hint.scss +6 -0
  48. package/components/InputGroup/themes/dark/input-group.css +0 -0
  49. package/components/InputGroup/themes/dark/input-group.scss +26 -0
  50. package/components/Label/themes/dark/label.css +0 -0
  51. package/components/Label/themes/dark/label.scss +45 -0
  52. package/components/LogViewer/themes/dark/log-viewer.css +0 -0
  53. package/components/LogViewer/themes/dark/log-viewer.scss +5 -0
  54. package/components/Login/themes/dark/login.css +0 -0
  55. package/components/Login/themes/dark/login.scss +6 -0
  56. package/components/Masthead/themes/dark/masthead.css +0 -0
  57. package/components/Masthead/themes/dark/masthead.scss +11 -0
  58. package/components/Menu/themes/dark/menu.css +0 -0
  59. package/components/Menu/themes/dark/menu.scss +10 -0
  60. package/components/MenuToggle/themes/dark/menu-toggle.css +0 -0
  61. package/components/MenuToggle/themes/dark/menu-toggle.scss +21 -0
  62. package/components/ModalBox/modal-box.scss +0 -1
  63. package/components/ModalBox/themes/dark/modal-box.css +0 -0
  64. package/components/ModalBox/themes/dark/modal-box.scss +5 -0
  65. package/components/Nav/nav.css +3 -0
  66. package/components/Nav/nav.scss +4 -0
  67. package/components/Nav/themes/dark/nav.css +0 -0
  68. package/components/Nav/themes/dark/nav.scss +42 -0
  69. package/components/NotificationBadge/themes/dark/notification-badge.css +0 -0
  70. package/components/NotificationBadge/themes/dark/notification-badge.scss +5 -0
  71. package/components/NotificationDrawer/themes/dark/notification-drawer.css +0 -0
  72. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +12 -0
  73. package/components/OptionsMenu/themes/dark/options-menu.css +0 -0
  74. package/components/OptionsMenu/themes/dark/options-menu.scss +21 -0
  75. package/components/Page/themes/dark/page.css +0 -0
  76. package/components/Page/themes/dark/page.scss +62 -0
  77. package/components/Pagination/themes/dark/pagination.css +0 -0
  78. package/components/Pagination/themes/dark/pagination.scss +5 -0
  79. package/components/Popover/popover.scss +0 -1
  80. package/components/Popover/themes/dark/popover.css +0 -0
  81. package/components/Popover/themes/dark/popover.scss +15 -0
  82. package/components/Progress/progress.scss +0 -1
  83. package/components/Progress/themes/dark/progress.css +0 -0
  84. package/components/Progress/themes/dark/progress.scss +7 -0
  85. package/components/SearchInput/themes/dark/search-input.css +0 -0
  86. package/components/SearchInput/themes/dark/search-input.scss +14 -0
  87. package/components/Select/themes/dark/select.css +0 -0
  88. package/components/Select/themes/dark/select.scss +21 -0
  89. package/components/SimpleList/themes/dark/simple-list.css +0 -0
  90. package/components/SimpleList/themes/dark/simple-list.scss +12 -0
  91. package/components/Skeleton/themes/dark/skeleton.css +0 -0
  92. package/components/Skeleton/themes/dark/skeleton.scss +8 -0
  93. package/components/Switch/themes/dark/switch.css +0 -0
  94. package/components/Switch/themes/dark/switch.scss +8 -0
  95. package/components/Table/table.css +2 -1
  96. package/components/Table/table.scss +8 -5
  97. package/components/Table/themes/dark/table.css +0 -0
  98. package/components/Table/themes/dark/table.scss +10 -0
  99. package/components/Tabs/themes/dark/tabs.css +0 -0
  100. package/components/Tabs/themes/dark/tabs.scss +7 -0
  101. package/components/Tile/themes/dark/tile.css +0 -0
  102. package/components/Tile/themes/dark/tile.scss +8 -0
  103. package/components/ToggleGroup/themes/dark/toggle-group.css +0 -0
  104. package/components/ToggleGroup/themes/dark/toggle-group.scss +9 -0
  105. package/components/Tooltip/themes/dark/tooltip.css +0 -0
  106. package/components/Tooltip/themes/dark/tooltip.scss +6 -0
  107. package/components/TreeView/themes/dark/tree-view.css +0 -0
  108. package/components/TreeView/themes/dark/tree-view.scss +6 -0
  109. package/components/Wizard/themes/dark/wizard.css +0 -0
  110. package/components/Wizard/themes/dark/wizard.scss +12 -0
  111. package/docs/components/Avatar/examples/Avatar.md +53 -5
  112. package/docs/components/Brand/examples/Brand.md +6 -6
  113. package/docs/components/CalendarMonth/examples/CalendarMonth.md +2 -2
  114. package/docs/components/CodeEditor/examples/CodeEditor.md +71 -10
  115. package/docs/components/DataList/examples/DataList.md +11 -11
  116. package/docs/components/DescriptionList/examples/DescriptionList.md +19 -19
  117. package/docs/components/Divider/examples/Divider.md +2 -2
  118. package/docs/components/Drawer/examples/Drawer.md +27 -27
  119. package/docs/components/Dropdown/examples/Dropdown.md +2 -2
  120. package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
  121. package/docs/components/LogViewer/examples/LogViewer.md +19 -19
  122. package/docs/components/Masthead/examples/masthead.md +10 -10
  123. package/docs/components/Menu/examples/Menu.md +2 -2
  124. package/docs/components/Nav/examples/Navigation.css +3 -1
  125. package/docs/components/Nav/examples/Navigation.md +79 -0
  126. package/docs/components/Page/examples/Page.md +4 -4
  127. package/docs/components/Pagination/examples/Pagination.md +2 -2
  128. package/docs/components/Sidebar/examples/Sidebar.md +14 -14
  129. package/docs/components/Table/examples/Table.md +20 -9
  130. package/docs/components/Tabs/examples/Tabs.md +27 -27
  131. package/docs/components/Toolbar/examples/Toolbar.md +31 -31
  132. package/docs/demos/Alert/examples/Alert.md +360 -54
  133. package/docs/demos/BackToTop/examples/BackToTop.md +304 -5
  134. package/docs/demos/Banner/examples/Banner.md +2 -2
  135. package/docs/demos/CardView/examples/CardView.md +1 -1
  136. package/docs/demos/ContextSelector/examples/ContextSelector.md +3051 -59
  137. package/docs/demos/DataList/examples/DataList.md +4 -4
  138. package/docs/demos/Drawer/examples/Drawer.md +3 -3
  139. package/docs/demos/JumpLinks/examples/JumpLinks.md +1221 -80
  140. package/docs/demos/Masthead/examples/Masthead.md +1643 -1026
  141. package/docs/demos/Nav/examples/Nav.md +300 -9
  142. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +5 -5
  143. package/docs/demos/Page/examples/Page.md +7050 -161
  144. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +7 -7
  145. package/docs/demos/Skeleton/examples/Skeleton.md +1 -1
  146. package/docs/demos/Table/examples/Table.md +24128 -172
  147. package/docs/demos/Tabs/examples/Tabs.md +7304 -697
  148. package/docs/demos/Toolbar/examples/Toolbar.md +1026 -44
  149. package/docs/demos/Wizard/examples/Wizard.md +2 -2
  150. package/docs/layouts/Flex/examples/Flex.md +1 -1
  151. package/docs/layouts/Gallery/examples/Gallery.md +2 -2
  152. package/docs/layouts/Grid/examples/Grid.md +9 -9
  153. package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
  154. package/docs/utilities/Alignment/examples/Alignment.md +1 -1
  155. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
  156. package/docs/utilities/Display/examples/Display.md +1 -1
  157. package/docs/utilities/Flex/examples/Flex.md +1 -1
  158. package/docs/utilities/Float/examples/Float.md +1 -1
  159. package/docs/utilities/Sizing/examples/Sizing.md +12 -0
  160. package/docs/utilities/Spacing/examples/Spacing.md +1 -1
  161. package/docs/utilities/Text/examples/Text.md +1 -1
  162. package/package.json +1 -1
  163. package/patternfly-no-reset.css +237 -1
  164. package/patternfly-theme-dark.css +628 -0
  165. package/patternfly-theme-dark.scss +9 -0
  166. package/patternfly.css +237 -1
  167. package/patternfly.min.css +1 -1
  168. package/patternfly.min.css.map +1 -1
@@ -0,0 +1,5 @@
1
+ @mixin form() {
2
+ .pf-c-form {
3
+ --pf-c-form__helper-text--m-success--Color: var(--pf-global--success-color--100);
4
+ }
5
+ }
@@ -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
+ }
@@ -0,0 +1,5 @@
1
+ @mixin helper-text() {
2
+ .pf-c-helper-text {
3
+ --pf-c-helper-text__item-text--m-success--Color: var(--pf-global--success-color--100);
4
+ }
5
+ }
File without changes
@@ -0,0 +1,6 @@
1
+ @mixin hint() {
2
+ .pf-c-hint {
3
+ --pf-c-hint--BackgroundColor: var(--pf-global--BackgroundColor--400);
4
+ --pf-c-hint--BorderColor: var(--pf-global--BorderColor--300);
5
+ }
6
+ }
@@ -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
+ }
@@ -0,0 +1,5 @@
1
+ @mixin log-viewer() {
2
+ .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main {
3
+ @include pf-t-dark;
4
+ }
5
+ }
File without changes
@@ -0,0 +1,6 @@
1
+ @mixin login() {
2
+ .pf-c-login__header,
3
+ .pf-c-login__footer {
4
+ @include pf-t-dark;
5
+ }
6
+ }
File without changes
@@ -0,0 +1,11 @@
1
+ @mixin masthead() {
2
+ .pf-c-masthead {
3
+ --pf-c-masthead--BackgroundColor: var(--pf-global--palette--black-1000);
4
+
5
+ .pf-c-toolbar {
6
+ --pf-c-toolbar--BackgroundColor: var(--pf-global--palette--black-1000);
7
+ }
8
+
9
+ @include pf-t-dark;
10
+ }
11
+ }
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
+ }
@@ -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
+ }
@@ -216,4 +216,3 @@
216
216
  }
217
217
  }
218
218
  }
219
-
File without changes
@@ -0,0 +1,5 @@
1
+ @mixin modal-box() {
2
+ .pf-c-modal-box {
3
+ --pf-c-modal-box--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
+ }
5
+ }
@@ -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);
@@ -1077,6 +1077,10 @@
1077
1077
  & + & {
1078
1078
  --pf-c-nav__section--MarginTop: var(--pf-c-nav__section--section--MarginTop);
1079
1079
  }
1080
+
1081
+ &.pf-m-no-title {
1082
+ --pf-c-nav__section--MarginTop: 0;
1083
+ }
1080
1084
  }
1081
1085
 
1082
1086
  // Section title
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
+ }
@@ -0,0 +1,5 @@
1
+ @mixin notification-badge() {
2
+ .pf-c-notification-badge {
3
+ --pf-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-global--primary-color--300);
4
+ }
5
+ }
@@ -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
+ }
@@ -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
+ }
@@ -0,0 +1,5 @@
1
+ @mixin pagination() {
2
+ .pf-c-pagination {
3
+ --pf-c-pagination--m-sticky--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
+ }
5
+ }
@@ -244,4 +244,3 @@
244
244
  .pf-c-popover__footer {
245
245
  margin-top: var(--pf-c-popover__footer--MarginTop);
246
246
  }
247
-
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
+ }
@@ -200,4 +200,3 @@
200
200
  height: var(--pf-c-progress__indicator--Height);
201
201
  background-color: var(--pf-c-progress__indicator--BackgroundColor);
202
202
  }
203
-
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
+ }
@@ -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
+ }
@@ -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 th {
1259
- --pf-c-table--cell--PaddingTop: var(--pf-c-table--m-compact-th--PaddingTop);
1260
- --pf-c-table--cell--PaddingBottom: var(--pf-c-table--m-compact-th--PaddingBottom);
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
@@ -0,0 +1,10 @@
1
+ @mixin table() {
2
+ .pf-c-table__favorite {
3
+ .pf-c-button {
4
+ &:hover,
5
+ &:focus {
6
+ --pf-c-button--m-plain--Color: var(--pf-global--palette--gold-100);
7
+ }
8
+ }
9
+ }
10
+ }
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
+ }