@patternfly/patternfly 4.178.0 → 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 (106) hide show
  1. package/components/AboutModalBox/themes/dark/about-modal-box.css +0 -0
  2. package/components/AboutModalBox/themes/dark/about-modal-box.scss +9 -0
  3. package/components/Accordion/themes/dark/accordion.css +0 -0
  4. package/components/Accordion/themes/dark/accordion.scss +7 -0
  5. package/components/Alert/themes/dark/alert.css +0 -0
  6. package/components/Alert/themes/dark/alert.scss +15 -0
  7. package/components/AppLauncher/themes/dark/app-launcher.css +0 -0
  8. package/components/AppLauncher/themes/dark/app-launcher.scss +13 -0
  9. package/components/Badge/themes/dark/badge.css +0 -0
  10. package/components/Badge/themes/dark/badge.scss +6 -0
  11. package/components/Banner/themes/dark/banner.css +0 -0
  12. package/components/Banner/themes/dark/banner.scss +12 -0
  13. package/components/Breadcrumb/themes/dark/breadcrumb.css +0 -0
  14. package/components/Breadcrumb/themes/dark/breadcrumb.scss +5 -0
  15. package/components/Button/themes/dark/button.css +0 -0
  16. package/components/Button/themes/dark/button.scss +42 -0
  17. package/components/CalendarMonth/themes/dark/calendar-month.css +0 -0
  18. package/components/CalendarMonth/themes/dark/calendar-month.scss +29 -0
  19. package/components/Chip/themes/dark/chip.css +0 -0
  20. package/components/Chip/themes/dark/chip.scss +7 -0
  21. package/components/ClipboardCopy/themes/dark/clipboard-copy.css +0 -0
  22. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +17 -0
  23. package/components/CodeEditor/themes/dark/code-editor.css +0 -0
  24. package/components/CodeEditor/themes/dark/code-editor.scss +7 -0
  25. package/components/ContextSelector/themes/dark/context-selector.css +0 -0
  26. package/components/ContextSelector/themes/dark/context-selector.scss +22 -0
  27. package/components/DataList/themes/dark/data-list.css +0 -0
  28. package/components/DataList/themes/dark/data-list.scss +8 -0
  29. package/components/DatePicker/themes/dark/date-picker.css +0 -0
  30. package/components/DatePicker/themes/dark/date-picker.scss +6 -0
  31. package/components/Drawer/themes/dark/drawer.css +0 -0
  32. package/components/Drawer/themes/dark/drawer.scss +11 -0
  33. package/components/Dropdown/themes/dark/dropdown.css +0 -0
  34. package/components/Dropdown/themes/dark/dropdown.scss +30 -0
  35. package/components/Form/themes/dark/form.css +0 -0
  36. package/components/Form/themes/dark/form.scss +5 -0
  37. package/components/FormControl/themes/dark/form-control.css +0 -0
  38. package/components/FormControl/themes/dark/form-control.scss +28 -0
  39. package/components/HelperText/themes/dark/helper-text.css +0 -0
  40. package/components/HelperText/themes/dark/helper-text.scss +5 -0
  41. package/components/Hint/themes/dark/hint.css +0 -0
  42. package/components/Hint/themes/dark/hint.scss +6 -0
  43. package/components/InputGroup/themes/dark/input-group.css +0 -0
  44. package/components/InputGroup/themes/dark/input-group.scss +26 -0
  45. package/components/Label/themes/dark/label.css +0 -0
  46. package/components/Label/themes/dark/label.scss +45 -0
  47. package/components/LogViewer/themes/dark/log-viewer.css +0 -0
  48. package/components/LogViewer/themes/dark/log-viewer.scss +5 -0
  49. package/components/Login/themes/dark/login.css +0 -0
  50. package/components/Login/themes/dark/login.scss +6 -0
  51. package/components/Masthead/themes/dark/masthead.css +0 -0
  52. package/components/Masthead/themes/dark/masthead.scss +11 -0
  53. package/components/Menu/themes/dark/menu.css +0 -0
  54. package/components/Menu/themes/dark/menu.scss +10 -0
  55. package/components/MenuToggle/themes/dark/menu-toggle.css +0 -0
  56. package/components/MenuToggle/themes/dark/menu-toggle.scss +21 -0
  57. package/components/ModalBox/modal-box.scss +0 -1
  58. package/components/ModalBox/themes/dark/modal-box.css +0 -0
  59. package/components/ModalBox/themes/dark/modal-box.scss +5 -0
  60. package/components/Nav/themes/dark/nav.css +0 -0
  61. package/components/Nav/themes/dark/nav.scss +42 -0
  62. package/components/NotificationBadge/themes/dark/notification-badge.css +0 -0
  63. package/components/NotificationBadge/themes/dark/notification-badge.scss +5 -0
  64. package/components/NotificationDrawer/themes/dark/notification-drawer.css +0 -0
  65. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +12 -0
  66. package/components/OptionsMenu/themes/dark/options-menu.css +0 -0
  67. package/components/OptionsMenu/themes/dark/options-menu.scss +21 -0
  68. package/components/Page/themes/dark/page.css +0 -0
  69. package/components/Page/themes/dark/page.scss +62 -0
  70. package/components/Pagination/themes/dark/pagination.css +0 -0
  71. package/components/Pagination/themes/dark/pagination.scss +5 -0
  72. package/components/Popover/popover.scss +0 -1
  73. package/components/Popover/themes/dark/popover.css +0 -0
  74. package/components/Popover/themes/dark/popover.scss +15 -0
  75. package/components/Progress/progress.scss +0 -1
  76. package/components/Progress/themes/dark/progress.css +0 -0
  77. package/components/Progress/themes/dark/progress.scss +7 -0
  78. package/components/SearchInput/themes/dark/search-input.css +0 -0
  79. package/components/SearchInput/themes/dark/search-input.scss +14 -0
  80. package/components/Select/themes/dark/select.css +0 -0
  81. package/components/Select/themes/dark/select.scss +21 -0
  82. package/components/SimpleList/themes/dark/simple-list.css +0 -0
  83. package/components/SimpleList/themes/dark/simple-list.scss +12 -0
  84. package/components/Skeleton/themes/dark/skeleton.css +0 -0
  85. package/components/Skeleton/themes/dark/skeleton.scss +8 -0
  86. package/components/Switch/themes/dark/switch.css +0 -0
  87. package/components/Switch/themes/dark/switch.scss +8 -0
  88. package/components/Table/themes/dark/table.css +0 -0
  89. package/components/Table/themes/dark/table.scss +10 -0
  90. package/components/Tabs/themes/dark/tabs.css +0 -0
  91. package/components/Tabs/themes/dark/tabs.scss +7 -0
  92. package/components/Tile/themes/dark/tile.css +0 -0
  93. package/components/Tile/themes/dark/tile.scss +8 -0
  94. package/components/ToggleGroup/themes/dark/toggle-group.css +0 -0
  95. package/components/ToggleGroup/themes/dark/toggle-group.scss +9 -0
  96. package/components/Tooltip/themes/dark/tooltip.css +0 -0
  97. package/components/Tooltip/themes/dark/tooltip.scss +6 -0
  98. package/components/TreeView/themes/dark/tree-view.css +0 -0
  99. package/components/TreeView/themes/dark/tree-view.scss +6 -0
  100. package/components/Wizard/themes/dark/wizard.css +0 -0
  101. package/components/Wizard/themes/dark/wizard.scss +12 -0
  102. package/docs/components/CalendarMonth/examples/CalendarMonth.md +2 -2
  103. package/docs/demos/ContextSelector/examples/ContextSelector.md +3011 -187
  104. package/package.json +1 -1
  105. package/patternfly-theme-dark.css +628 -0
  106. package/patternfly-theme-dark.scss +9 -0
@@ -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
+ }
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
+ }
@@ -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
@@ -0,0 +1,6 @@
1
+ @mixin tooltip() {
2
+ .pf-c-tooltip {
3
+ --pf-c-tooltip--BoxShadow: none;
4
+ --pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
5
+ }
6
+ }
File without changes
@@ -0,0 +1,6 @@
1
+ @mixin tree-view() {
2
+ .pf-c-tree-view {
3
+ --pf-c-tree-view__node--hover--BackgroundColor: var(--pf-global--BackgroundColor--300);
4
+ --pf-c-tree-view__node--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
5
+ }
6
+ }
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"