@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
package/UPGRADE-GUIDE.md CHANGED
@@ -3,6 +3,9 @@ id: Upgrade guide
3
3
  section: developer-resources
4
4
  ---
5
5
 
6
+ **Note:** this guide details upgrading from PatternFly v3 to v4, and references [major release 2020.07](/developer-resources/release-notes/html/#2020.07-release-notes-2020-06-05) from 2020-06-05.
7
+ <hr/>
8
+
6
9
  Hey, Flyers! We've been busy for the past 12 weeks working on significant changes to PatternFly's HTML and CSS. We made our components mobile-first and changed colors and the default font. This upgrade guide details **what** was broken and **how** to fix it. To learn **why** a change was made, check out the linked pull requests.
7
10
 
8
11
  ## Global
@@ -0,0 +1,9 @@
1
+ @mixin about-modal-box() {
2
+ .pf-c-about-modal-box {
3
+ --pf-c-accordion__toggle--hover--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
+ --pf-c-accordion__toggle--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
5
+ --pf-c-accordion__toggle--active--BackgroundColor: var(--pf-global--BackgroundColor--300);
6
+
7
+ @include pf-t-dark();
8
+ }
9
+ }
File without changes
@@ -0,0 +1,7 @@
1
+ @mixin accordion() {
2
+ .pf-c-accordion {
3
+ --pf-c-accordion__toggle--hover--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
+ --pf-c-accordion__toggle--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
5
+ --pf-c-accordion__toggle--active--BackgroundColor: var(--pf-global--BackgroundColor--300);
6
+ }
7
+ }
File without changes
@@ -0,0 +1,15 @@
1
+ @mixin alert() {
2
+ .pf-c-alert {
3
+ --pf-c-alert--BackgroundColor: var(--pf-global--palette--black-600);
4
+ --pf-c-alert__title--Color: var(--pf-global--default-color--200);
5
+ --pf-c-alert--m-success__title--Color: var(--pf-global--success-color--100);
6
+ --pf-c-alert--m-danger__title--Color: var(--pf-global--danger-color--100);
7
+ --pf-c-alert--m-warning__title--Color: var(--pf-global--warning-color--100);
8
+ --pf-c-alert--m-info__title--Color: var(--pf-global--info-color--100);
9
+ --pf-c-alert--m-inline--BackgroundColor: var(--pf-global--palette--black-600);
10
+ --pf-c-alert--m-inline--m-success--BackgroundColor: var(--pf-global--palette--black-600);
11
+ --pf-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-global--palette--black-600);
12
+ --pf-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-global--palette--black-600);
13
+ --pf-c-alert--m-inline--m-info--BackgroundColor: var(--pf-global--palette--black-600);
14
+ }
15
+ }
@@ -0,0 +1,13 @@
1
+ @mixin app-launcher() {
2
+ .pf-c-app-launcher {
3
+ --pf-c-app-launcher__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
+ --pf-c-app-launcher__menu--Top: 100%;
5
+ --pf-c-app-launcher__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
6
+ --pf-c-app-launcher__menu-item--disabled--Color: var(--pf-global--palette--black-300); // question should we have a global var for this
7
+ --pf-c-app-launcher__menu-item--m-action--Color: var(--pf-global--Color--200);
8
+ --pf-c-app-launcher__menu-item--m-favorite__menu-item--m-action--Color: var(--pf-global--palette--gold-300);
9
+ --pf-c-app-launcher__menu-item--m-favorite__menu-item--m-action--hover--Color: var(--pf-global--palette--gold-100);
10
+ --pf-c-app-launcher__group-title--FontSize: var(--pf-global--FontSize--xs);
11
+ --pf-c-app-launcher__group-title--FontWeight: var(--pf-global--FontWeight--bold);
12
+ }
13
+ }
@@ -4,6 +4,14 @@
4
4
  --pf-c-avatar--BorderRadius: var(--pf-global--BorderRadius--lg);
5
5
  --pf-c-avatar--Width: 2.25rem;
6
6
  --pf-c-avatar--Height: 2.25rem;
7
+ --pf-c-avatar--m-sm--Width: 1.5rem;
8
+ --pf-c-avatar--m-sm--Height: 1.5rem;
9
+ --pf-c-avatar--m-md--Width: 2.25rem;
10
+ --pf-c-avatar--m-md--Height: 2.25rem;
11
+ --pf-c-avatar--m-lg--Width: 4.5rem;
12
+ --pf-c-avatar--m-lg--Height: 4.5rem;
13
+ --pf-c-avatar--m-xl--Width: 8rem;
14
+ --pf-c-avatar--m-xl--Height: 8rem;
7
15
  --pf-c-avatar--m-light--BorderColor: var(--pf-global--BorderColor--dark-100);
8
16
  --pf-c-avatar--m-light--BorderWidth: var(--pf-global--BorderWidth--sm);
9
17
  --pf-c-avatar--m-dark--BorderColor: var(--pf-global--palette--black-700);
@@ -20,4 +28,220 @@
20
28
  .pf-c-avatar.pf-m-dark {
21
29
  --pf-c-avatar--BorderColor: var(--pf-c-avatar--m-dark--BorderColor);
22
30
  --pf-c-avatar--BorderWidth: var(--pf-c-avatar--m-dark--BorderWidth);
31
+ }
32
+ .pf-c-avatar.pf-m-sm {
33
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width);
34
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height);
35
+ }
36
+ @media (min-width: 576px) {
37
+ .pf-c-avatar.pf-m-sm {
38
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width));
39
+ }
40
+ }
41
+ @media (min-width: 768px) {
42
+ .pf-c-avatar.pf-m-sm {
43
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width)));
44
+ }
45
+ }
46
+ @media (min-width: 992px) {
47
+ .pf-c-avatar.pf-m-sm {
48
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-lg, var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width))));
49
+ }
50
+ }
51
+ @media (min-width: 1200px) {
52
+ .pf-c-avatar.pf-m-sm {
53
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-xl, var(--pf-c-avatar--m-sm--Width-on-lg, var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width)))));
54
+ }
55
+ }
56
+ @media (min-width: 1450px) {
57
+ .pf-c-avatar.pf-m-sm {
58
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-2xl, var(--pf-c-avatar--m-sm--Width-on-xl, var(--pf-c-avatar--m-sm--Width-on-lg, var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width))))));
59
+ }
60
+ }
61
+ @media (min-width: 576px) {
62
+ .pf-c-avatar.pf-m-sm {
63
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height));
64
+ }
65
+ }
66
+ @media (min-width: 768px) {
67
+ .pf-c-avatar.pf-m-sm {
68
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height)));
69
+ }
70
+ }
71
+ @media (min-width: 992px) {
72
+ .pf-c-avatar.pf-m-sm {
73
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-lg, var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height))));
74
+ }
75
+ }
76
+ @media (min-width: 1200px) {
77
+ .pf-c-avatar.pf-m-sm {
78
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-xl, var(--pf-c-avatar--m-sm--Height-on-lg, var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height)))));
79
+ }
80
+ }
81
+ @media (min-width: 1450px) {
82
+ .pf-c-avatar.pf-m-sm {
83
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-2xl, var(--pf-c-avatar--m-sm--Height-on-xl, var(--pf-c-avatar--m-sm--Height-on-lg, var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height))))));
84
+ }
85
+ }
86
+ .pf-c-avatar.pf-m-md {
87
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width);
88
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height);
89
+ }
90
+ @media (min-width: 576px) {
91
+ .pf-c-avatar.pf-m-md {
92
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width));
93
+ }
94
+ }
95
+ @media (min-width: 768px) {
96
+ .pf-c-avatar.pf-m-md {
97
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width)));
98
+ }
99
+ }
100
+ @media (min-width: 992px) {
101
+ .pf-c-avatar.pf-m-md {
102
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-lg, var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width))));
103
+ }
104
+ }
105
+ @media (min-width: 1200px) {
106
+ .pf-c-avatar.pf-m-md {
107
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-xl, var(--pf-c-avatar--m-md--Width-on-lg, var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width)))));
108
+ }
109
+ }
110
+ @media (min-width: 1450px) {
111
+ .pf-c-avatar.pf-m-md {
112
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-2xl, var(--pf-c-avatar--m-md--Width-on-xl, var(--pf-c-avatar--m-md--Width-on-lg, var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width))))));
113
+ }
114
+ }
115
+ @media (min-width: 576px) {
116
+ .pf-c-avatar.pf-m-md {
117
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height));
118
+ }
119
+ }
120
+ @media (min-width: 768px) {
121
+ .pf-c-avatar.pf-m-md {
122
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height)));
123
+ }
124
+ }
125
+ @media (min-width: 992px) {
126
+ .pf-c-avatar.pf-m-md {
127
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-lg, var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height))));
128
+ }
129
+ }
130
+ @media (min-width: 1200px) {
131
+ .pf-c-avatar.pf-m-md {
132
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-xl, var(--pf-c-avatar--m-md--Height-on-lg, var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height)))));
133
+ }
134
+ }
135
+ @media (min-width: 1450px) {
136
+ .pf-c-avatar.pf-m-md {
137
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-2xl, var(--pf-c-avatar--m-md--Height-on-xl, var(--pf-c-avatar--m-md--Height-on-lg, var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height))))));
138
+ }
139
+ }
140
+ .pf-c-avatar.pf-m-lg {
141
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width);
142
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height);
143
+ }
144
+ @media (min-width: 576px) {
145
+ .pf-c-avatar.pf-m-lg {
146
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width));
147
+ }
148
+ }
149
+ @media (min-width: 768px) {
150
+ .pf-c-avatar.pf-m-lg {
151
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width)));
152
+ }
153
+ }
154
+ @media (min-width: 992px) {
155
+ .pf-c-avatar.pf-m-lg {
156
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-lg, var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width))));
157
+ }
158
+ }
159
+ @media (min-width: 1200px) {
160
+ .pf-c-avatar.pf-m-lg {
161
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-xl, var(--pf-c-avatar--m-lg--Width-on-lg, var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width)))));
162
+ }
163
+ }
164
+ @media (min-width: 1450px) {
165
+ .pf-c-avatar.pf-m-lg {
166
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-2xl, var(--pf-c-avatar--m-lg--Width-on-xl, var(--pf-c-avatar--m-lg--Width-on-lg, var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width))))));
167
+ }
168
+ }
169
+ @media (min-width: 576px) {
170
+ .pf-c-avatar.pf-m-lg {
171
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height));
172
+ }
173
+ }
174
+ @media (min-width: 768px) {
175
+ .pf-c-avatar.pf-m-lg {
176
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height)));
177
+ }
178
+ }
179
+ @media (min-width: 992px) {
180
+ .pf-c-avatar.pf-m-lg {
181
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-lg, var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height))));
182
+ }
183
+ }
184
+ @media (min-width: 1200px) {
185
+ .pf-c-avatar.pf-m-lg {
186
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-xl, var(--pf-c-avatar--m-lg--Height-on-lg, var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height)))));
187
+ }
188
+ }
189
+ @media (min-width: 1450px) {
190
+ .pf-c-avatar.pf-m-lg {
191
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-2xl, var(--pf-c-avatar--m-lg--Height-on-xl, var(--pf-c-avatar--m-lg--Height-on-lg, var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height))))));
192
+ }
193
+ }
194
+ .pf-c-avatar.pf-m-xl {
195
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width);
196
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height);
197
+ }
198
+ @media (min-width: 576px) {
199
+ .pf-c-avatar.pf-m-xl {
200
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width));
201
+ }
202
+ }
203
+ @media (min-width: 768px) {
204
+ .pf-c-avatar.pf-m-xl {
205
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width)));
206
+ }
207
+ }
208
+ @media (min-width: 992px) {
209
+ .pf-c-avatar.pf-m-xl {
210
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-lg, var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width))));
211
+ }
212
+ }
213
+ @media (min-width: 1200px) {
214
+ .pf-c-avatar.pf-m-xl {
215
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-xl, var(--pf-c-avatar--m-xl--Width-on-lg, var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width)))));
216
+ }
217
+ }
218
+ @media (min-width: 1450px) {
219
+ .pf-c-avatar.pf-m-xl {
220
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-2xl, var(--pf-c-avatar--m-xl--Width-on-xl, var(--pf-c-avatar--m-xl--Width-on-lg, var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width))))));
221
+ }
222
+ }
223
+ @media (min-width: 576px) {
224
+ .pf-c-avatar.pf-m-xl {
225
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height));
226
+ }
227
+ }
228
+ @media (min-width: 768px) {
229
+ .pf-c-avatar.pf-m-xl {
230
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height)));
231
+ }
232
+ }
233
+ @media (min-width: 992px) {
234
+ .pf-c-avatar.pf-m-xl {
235
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height))));
236
+ }
237
+ }
238
+ @media (min-width: 1200px) {
239
+ .pf-c-avatar.pf-m-xl {
240
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-xl, var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height)))));
241
+ }
242
+ }
243
+ @media (min-width: 1450px) {
244
+ .pf-c-avatar.pf-m-xl {
245
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-2xl, var(--pf-c-avatar--m-xl--Height-on-xl, var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height))))));
246
+ }
23
247
  }
@@ -1,9 +1,20 @@
1
+ $pf-c-avatar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
2
+ $sizes: "sm", "md", "lg", "xl";
3
+
1
4
  .pf-c-avatar {
2
5
  --pf-c-avatar--BorderColor: transparent;
3
6
  --pf-c-avatar--BorderWidth: 0;
4
7
  --pf-c-avatar--BorderRadius: var(--pf-global--BorderRadius--lg);
5
8
  --pf-c-avatar--Width: #{pf-size-prem(36px)};
6
9
  --pf-c-avatar--Height: #{pf-size-prem(36px)};
10
+ --pf-c-avatar--m-sm--Width: #{pf-size-prem(24px)};
11
+ --pf-c-avatar--m-sm--Height: #{pf-size-prem(24px)};
12
+ --pf-c-avatar--m-md--Width: #{pf-size-prem(36px)};
13
+ --pf-c-avatar--m-md--Height: #{pf-size-prem(36px)};
14
+ --pf-c-avatar--m-lg--Width: #{pf-size-prem(72px)};
15
+ --pf-c-avatar--m-lg--Height: #{pf-size-prem(72px)};
16
+ --pf-c-avatar--m-xl--Width: #{pf-size-prem(128px)};
17
+ --pf-c-avatar--m-xl--Height: #{pf-size-prem(128px)};
7
18
 
8
19
  // Light
9
20
  --pf-c-avatar--m-light--BorderColor: var(--pf-global--BorderColor--dark-100);
@@ -27,4 +38,11 @@
27
38
  --pf-c-avatar--BorderColor: var(--pf-c-avatar--m-dark--BorderColor);
28
39
  --pf-c-avatar--BorderWidth: var(--pf-c-avatar--m-dark--BorderWidth);
29
40
  }
41
+
42
+ @each $size in $sizes {
43
+ &.pf-m-#{$size} {
44
+ @include pf-build-css-variable-stack("--pf-c-avatar--Width", "--pf-c-avatar--m-#{$size}--Width", $pf-c-avatar--breakpoint-map);
45
+ @include pf-build-css-variable-stack("--pf-c-avatar--Height", "--pf-c-avatar--m-#{$size}--Height", $pf-c-avatar--breakpoint-map);
46
+ }
47
+ }
30
48
  }
File without changes
@@ -0,0 +1,6 @@
1
+ @mixin badge() {
2
+ .pf-c-badge {
3
+ --pf-c-badge--m-read--BackgroundColor: var(--pf-global--palette--black-500);
4
+ --pf-c-badge--m-unread--BackgroundColor: var(--pf-global--primary-color--300);
5
+ }
6
+ }
File without changes
@@ -0,0 +1,12 @@
1
+ @mixin banner() {
2
+ .pf-c-banner {
3
+ &.pf-m-info,
4
+ &.pf-m-danger,
5
+ &.pf-m-success,
6
+ &.pf-m-warning {
7
+ color: var(--pf-global--palette--black-900);
8
+ }
9
+
10
+ @include pf-t-dark;
11
+ }
12
+ }
@@ -0,0 +1,5 @@
1
+ @mixin breadcrumb() {
2
+ .pf-c-breadcrumb {
3
+ --pf-c-breadcrumb__item-divider--Color: var(--pf-global--BorderColor--100);
4
+ }
5
+ }
File without changes
@@ -0,0 +1,42 @@
1
+ @mixin button() {
2
+ .pf-c-button {
3
+ --pf-c-button--disabled--Color: var(--pf-global--disabled-color--300);
4
+ --pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300); // should blue-400 be a primary-color?
5
+ --pf-c-button--m-tertiary--after--BorderColor: var(--pf-global--BorderColor--100);
6
+ --pf-c-button--m-tertiary--Color: var(--pf-global--palette--black-100); // global variable for this?
7
+ --pf-c-button--m-tertiary--hover--after--BorderColor: var(--pf-global--BorderColor--100);
8
+ --pf-c-button--m-tertiary--hover--Color: var(--pf-global--palette--black-100);
9
+ --pf-c-button--m-tertiary--focus--after--BorderColor: var(--pf-global--BorderColor--100);
10
+ --pf-c-button--m-tertiary--focus--Color: var(--pf-global--palette--black-100);
11
+ --pf-c-button--m-tertiary--active--after--BorderColor: var(--pf-global--BorderColor--100);
12
+ --pf-c-button--m-tertiary--active--Color: var(--pf-global--palette--black-100);
13
+ --pf-c-button--m-warning--hover--BackgroundColor: var(--pf-global--warning-color--200);
14
+ --pf-c-button--m-warning--focus--BackgroundColor: var(--pf-global--warning-color--200);
15
+ --pf-c-button--m-warning--active--BackgroundColor: var(--pf-global--warning-color--200);
16
+ --pf-c-button--m-danger--Color: var(--pf-global--palette--black-900);
17
+ --pf-c-button--m-danger--hover--Color: var(--pf-global--palette--black-900);
18
+ --pf-c-button--m-danger--focus--Color: var(--pf-global--palette--black-900);
19
+ --pf-c-button--m-danger--active--Color: var(--pf-global--palette--black-900);
20
+ --pf-c-button--m-control--BackgroundColor: var(--pf-global--BackgroundColor--400);
21
+ --pf-c-button--m-control--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
22
+ --pf-c-button--m-control--active--BackgroundColor: var(--pf-global--BackgroundColor--400);
23
+ --pf-c-button--m-control--focus--BackgroundColor: var(--pf-global--BackgroundColor--400);
24
+ --pf-c-button--m-control--m-expanded--BackgroundColor: var(--pf-global--BackgroundColor--400);
25
+ --pf-c-button--m-control--after--BorderTopColor: transparent;
26
+ --pf-c-button--m-control--after--BorderRightColor: transparent;
27
+ --pf-c-button--m-control--after--BorderBottomColor: var(--pf-global--BorderColor--400);
28
+ --pf-c-button--m-control--after--BorderLeftColor: transparent;
29
+ --pf-c-button--m-control--hover--after--BorderBottomColor: var(--pf-global--primary-color--100);
30
+ --pf-c-button--m-control--active--after--BorderBottomColor: var(--pf-global--primary-color--100);
31
+ --pf-c-button--m-control--focus--after--BorderBottomColor: var(--pf-global--primary-color--100);
32
+ --pf-c-button--m-control--m-expanded--after--BorderBottomColor: var(--pf-global--primary-color--100);
33
+ --pf-c-button--m-control--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
34
+
35
+ &.pf-m-control:disabled {
36
+ &::after {
37
+ border: 0;
38
+ border-bottom: var(--pf-global--BorderWidth--sm) solid var(--pf-global--palette--black-700);
39
+ }
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,29 @@
1
+ @mixin calendar-month() {
2
+ .pf-c-calendar-month {
3
+ --pf-c-calendar-month__dates-cell--m-current__date--BackgroundColor: var(--pf-global--palette--black-500);
4
+ --pf-c-calendar-month__dates-cell--m-selected__date--BackgroundColor: var(--pf-global--primary-color--300);
5
+ --pf-c-calendar-month__dates-cell--m-selected__date--hover--BackgroundColor: var(--pf-global--palette--black-900);
6
+ --pf-c-calendar-month__dates-cell--m-selected__date--focus--BackgroundColor: var(--pf-global--palette--blue-400);
7
+ --pf-c-calendar-month__dates-cell--m-in-range--before--BackgroundColor: var(--pf-global--BackgroundColor--200);
8
+ --pf-c-calendar-month__dates-cell--m-in-range__date--hover--BackgroundColor: var(--pf-global--BackgroundColor--200);
9
+ --pf-c-calendar-month__dates-cell--m-in-range__date--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
10
+ --pf-c-calendar-month__date--hover--BackgroundColor: var(--pf-global--BackgroundColor--200);
11
+ --pf-c-calendar-month__date--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
12
+ --pf-c-calendar-month__date--focus--after--BorderColor: transparent;
13
+ }
14
+
15
+ .pf-c-calendar-month__date {
16
+ &:hover,
17
+ &.pf-m-hover {
18
+ --pf-c-calendar-month__date--after--BorderColor: var(--pf-global--BorderColor--100);
19
+ --pf-c-calendar-month__date--after--BorderWidth: var(--pf-global--BorderWidth--sm);
20
+ }
21
+
22
+ &:focus,
23
+ &.pf-m-focus {
24
+ --pf-c-calendar-month__date--after--BorderColor: var(--pf-global--active-color--100);
25
+ --pf-c-calendar-month__date--after--BorderWidth: var(--pf-global--BorderWidth--sm);
26
+ --pf-c-calendar-month__date--BackgroundColor: var(--pf-global--primary-color--300);
27
+ }
28
+ }
29
+ }
File without changes
@@ -0,0 +1,7 @@
1
+ @mixin chip() {
2
+ .pf-c-chip {
3
+ --pf-c-chip--BackgroundColor: var(--pf-global--BackgroundColor--100);
4
+ --pf-c-chip--before--BorderColor: var(--pf-global--BorderColor--100);
5
+ --pf-c-chip--m-draggable--BackgroundColor: var(--pf-global--palette--black-600);
6
+ }
7
+ }
@@ -0,0 +1,17 @@
1
+ @mixin clipboard-copy() {
2
+ .pf-c-clipboard-copy {
3
+ --pf-c-clipboard-copy__expandable-content--BackgroundColor: var(--pf-global--BackgroundColor--400);
4
+ }
5
+
6
+ .pf-c-clipboard-copy__group {
7
+ > * + * {
8
+ margin-left: 0;
9
+ // stylelint-disable-next-line
10
+ border-left: 1px solid var(--pf-global--palette--black-700) !important;
11
+ }
12
+ }
13
+
14
+ .pf-c-clipboard-copy__expandable-content {
15
+ border: 0;
16
+ }
17
+ }
@@ -19,6 +19,8 @@
19
19
  --pf-c-code-editor__code--PaddingLeft: var(--pf-global--spacer--sm);
20
20
  --pf-c-code-editor__code-pre--FontSize: var(--pf-global--FontSize--sm);
21
21
  --pf-c-code-editor__code-pre--FontFamily: var(--pf-global--FontFamily--monospace);
22
+ --pf-c-code-editor__header-main--PaddingRight: var(--pf-global--spacer--sm);
23
+ --pf-c-code-editor__header-main--PaddingLeft: var(--pf-global--spacer--sm);
22
24
  --pf-c-code-editor__tab--BackgroundColor: var(--pf-global--BackgroundColor--100);
23
25
  --pf-c-code-editor__tab--Color: var(--pf-global--Color--200);
24
26
  --pf-c-code-editor__tab--PaddingTop: var(--pf-global--spacer--form-element);
@@ -67,6 +69,12 @@
67
69
  border-bottom-color: var(--pf-c-code-editor__controls--c-button--m-control--disabled--after--BorderBottomColor);
68
70
  }
69
71
 
72
+ .pf-c-code-editor__header-main {
73
+ flex-grow: 1;
74
+ padding-right: var(--pf-c-code-editor__header-main--PaddingRight);
75
+ padding-left: var(--pf-c-code-editor__header-main--PaddingLeft);
76
+ }
77
+
70
78
  .pf-c-code-editor__main {
71
79
  position: relative;
72
80
  background-color: var(--pf-c-code-editor__main--BackgroundColor);
@@ -27,6 +27,10 @@
27
27
  --pf-c-code-editor__code-pre--FontSize: var(--pf-global--FontSize--sm);
28
28
  --pf-c-code-editor__code-pre--FontFamily: var(--pf-global--FontFamily--monospace);
29
29
 
30
+ // content
31
+ --pf-c-code-editor__header-main--PaddingRight: var(--pf-global--spacer--sm);
32
+ --pf-c-code-editor__header-main--PaddingLeft: var(--pf-global--spacer--sm);
33
+
30
34
  // tab
31
35
  --pf-c-code-editor__tab--BackgroundColor: var(--pf-global--BackgroundColor--100);
32
36
  --pf-c-code-editor__tab--Color: var(--pf-global--Color--200);
@@ -86,6 +90,12 @@
86
90
  }
87
91
  }
88
92
 
93
+ .pf-c-code-editor__header-main {
94
+ flex-grow: 1;
95
+ padding-right: var(--pf-c-code-editor__header-main--PaddingRight);
96
+ padding-left: var(--pf-c-code-editor__header-main--PaddingLeft);
97
+ }
98
+
89
99
  .pf-c-code-editor__main {
90
100
  position: relative;
91
101
  background-color: var(--pf-c-code-editor__main--BackgroundColor);
@@ -142,7 +152,7 @@
142
152
  display: flex;
143
153
  align-items: center;
144
154
  padding: var(--pf-c-code-editor__tab--PaddingTop) var(--pf-c-code-editor__tab--PaddingRight) var(--pf-c-code-editor__tab--PaddingBottom) var(--pf-c-code-editor__tab--PaddingLeft);
145
- margin-left: auto;
155
+ margin-left: auto; // remove at breaking change
146
156
  color: var(--pf-c-code-editor__tab--Color);
147
157
  background-color: var(--pf-c-code-editor__tab--BackgroundColor);
148
158
  border-color: var(--pf-c-code-editor__tab--BorderColor);
@@ -0,0 +1,7 @@
1
+ @mixin code-editor() {
2
+ .pf-c-code-editor__controls {
3
+ > * + * {
4
+ border-left: 1px solid var(--pf-global--palette--black-700);
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,22 @@
1
+ @mixin context-selector() {
2
+ .pf-c-context-selector {
3
+ --pf-c-context-selector__menu--Top: 100%;
4
+ --pf-c-context-selector__menu-list-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
5
+ }
6
+
7
+ .pf-c-context-selector__toggle {
8
+ background: var(--pf-global--BackgroundColor--400);
9
+
10
+ &.pf-m-plain {
11
+ background: transparent;
12
+ }
13
+ }
14
+
15
+ .pf-c-context-selector__menu {
16
+ background: var(--pf-global--BackgroundColor--300);
17
+ }
18
+
19
+ .pf-c-context-selector__menu-footer {
20
+ border-top: 1px solid var(--pf-global--BorderColor--300);
21
+ }
22
+ }
File without changes
@@ -0,0 +1,8 @@
1
+ @mixin data-list() {
2
+ .pf-c-data-list {
3
+ --pf-c-data-list--BorderTopColor: var(--pf-global--BorderColor--100);
4
+ --pf-c-data-list--sm--BorderTopColor: var(--pf-global--BorderColor--100);
5
+ --pf-c-data-list__item--BorderBottomColor: var(--pf-global--BorderColor--100);
6
+ --pf-c-data-list__item--sm--BorderBottomColor: var(--pf-global--BorderColor--100);
7
+ }
8
+ }
@@ -0,0 +1,6 @@
1
+ @mixin date-picker() {
2
+ .pf-c-date-picker {
3
+ --pf-c-date-picker__calendar--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
+ --pf-c-date-picker__calendar--Top: 100%;
5
+ }
6
+ }
File without changes
@@ -0,0 +1,11 @@
1
+ @mixin drawer() {
2
+ .pf-c-drawer {
3
+ --pf-c-drawer__panel--BackgroundColor: var(--pf-global--BackgroundColor--400);
4
+ --pf-c-drawer__splitter--BackgroundColor: transparent;
5
+
6
+ &.pf-m-inline,
7
+ &.pf-m-static {
8
+ --pf-c-drawer__panel--BackgroundColor: var(--pf-global--BackgroundColor--100);
9
+ }
10
+ }
11
+ }
File without changes
@@ -0,0 +1,30 @@
1
+ @mixin dropdown() {
2
+ .pf-c-dropdown {
3
+ --pf-c-dropdown__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
4
+ --pf-c-dropdown__toggle--before--BorderTopColor: transparent;
5
+ --pf-c-dropdown__toggle--before--BorderRightColor: transparent;
6
+ --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-global--BorderColor--400);
7
+ --pf-c-dropdown__toggle--before--BorderLeftColor: transparent;
8
+ --pf-c-dropdown__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
9
+ --pf-c-dropdown__toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
10
+ --pf-c-dropdown__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
11
+ --pf-c-dropdown__menu--Top: 100%;
12
+ --pf-c-dropdown--m-top__menu--TranslateY: -100%;
13
+ --pf-c-dropdown__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
14
+ --pf-c-dropdown__group-title--FontSize: var(--pf-global--FontSize--xs);
15
+ --pf-c-dropdown__group-title--FontWeight: var(--pf-global--FontWeight--bold);
16
+ }
17
+
18
+ .pf-c-dropdown__toggle {
19
+ &:not(.pf-m-plain) {
20
+ &:disabled,
21
+ &.pf-m-disabled {
22
+ color: var(--pf-global--palette--black-100); // should be a global var?
23
+ }
24
+ }
25
+
26
+ &.pf-m-plain {
27
+ background: transparent;
28
+ }
29
+ }
30
+ }
File without changes