@patternfly/patternfly 5.0.0-alpha.36 → 5.0.0-alpha.38

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 (29) hide show
  1. package/assets/images/pfbg-icon.svg +1 -0
  2. package/components/AboutModalBox/about-modal-box.css +15 -7
  3. package/components/AboutModalBox/about-modal-box.scss +17 -9
  4. package/components/BackgroundImage/background-image.css +8 -35
  5. package/components/BackgroundImage/background-image.scss +17 -43
  6. package/components/DataList/data-list.css +34 -29
  7. package/components/DataList/data-list.scss +32 -24
  8. package/components/Login/login.css +9 -9
  9. package/components/Login/login.scss +6 -8
  10. package/components/Login/themes/dark/login.scss +4 -0
  11. package/components/Page/page.css +30 -9
  12. package/components/Page/page.scss +37 -9
  13. package/components/Table/table.css +60 -63
  14. package/components/Table/table.scss +56 -60
  15. package/docs/components/AboutModalBox/examples/AboutModalBox.md +8 -2
  16. package/docs/components/BackgroundImage/examples/BackgroundImage.md +10 -26
  17. package/docs/components/DataList/examples/DataList.md +52 -54
  18. package/docs/components/Login/examples/Login.md +5 -120
  19. package/docs/components/Page/examples/Page.css +7 -1
  20. package/docs/components/Page/examples/Page.md +31 -4
  21. package/docs/components/Table/examples/Table.md +136 -2125
  22. package/docs/demos/AboutModal/examples/AboutModal.md +0 -1
  23. package/docs/demos/Page/examples/Page.md +931 -0
  24. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +10 -20
  25. package/package.json +3 -3
  26. package/patternfly-no-globals.css +156 -152
  27. package/patternfly.css +156 -152
  28. package/patternfly.min.css +1 -1
  29. package/patternfly.min.css.map +1 -1
@@ -0,0 +1 @@
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110.27 105.77"><defs><style>.cls-1{fill:#26292d;}</style></defs><polygon class="cls-1" points="110.27 87.87 97.53 105.77 99.28 105.77 110.27 90.32 110.27 87.87"/><path class="cls-1" d="M23.22,105.77H25L1.86,73.05,67.4,9,27,58.44,40.58,77l-4.37,9.93L49.6,105.77h1.75l-13.51-19,3.71-8.43,20.06,27.35-.32.08h2.49L74.21,4.22l.23-.54.23.53L85.1,105.77h2.49l-.32-.08,20.06-27.35L110.27,85V81.47l-2-4.46,2-2.68V71.92l-2.63,3.59L76.8,5.52l33.47,40.92V44.19L81.49,9l28.78,28.14v-2L74.61.28V.15l-.06.08,0,0,0-.21-.12.11L74.32,0l0,.21,0,0L74.26.15V.28L0,72.88Zm83.44-28.94-19.82,27L76.7,8.8ZM62,103.87l-19.83-27,30-68ZM41.24,75.51l-12.47-17,43.31-53Z"/></svg>
@@ -10,11 +10,17 @@
10
10
 
11
11
  .pf-c-about-modal-box {
12
12
  --pf-c-about-modal-box--BackgroundColor: var(--pf-global--palette--black-1000);
13
+ --pf-c-about-modal-box--BackgroundImage: url("../../assets/images/pfbg-icon.svg");
14
+ --pf-c-about-modal-box--BackgroundPosition: bottom right;
15
+ --pf-c-about-modal-box--BackgroundSize--min-width: 200px;
16
+ --pf-c-about-modal-box--BackgroundSize--width: 60%;
17
+ --pf-c-about-modal-box--BackgroundSize--max-width: 600px;
18
+ --pf-c-about-modal-box--BackgroundSize: clamp(var(--pf-c-about-modal-box--BackgroundSize--min-width), var(--pf-c-about-modal-box--BackgroundSize--width), var(--pf-c-about-modal-box--BackgroundSize--max-width));
13
19
  --pf-c-about-modal-box--Height: 100%;
14
20
  --pf-c-about-modal-box--lg--Height: 47.625rem;
15
21
  --pf-c-about-modal-box--Width: 100%;
16
- --pf-c-about-modal-box--sm--grid-template-columns: 5fr 1fr;
17
- --pf-c-about-modal-box--lg--grid-template-columns: 1fr .6fr;
22
+ --pf-c-about-modal-box--sm--GridTemplateColumns: 5fr 1fr;
23
+ --pf-c-about-modal-box--lg--GridTemplateColumns: 1fr .6fr;
18
24
  --pf-c-about-modal-box__brand--PaddingTop: var(--pf-global--spacer--2xl);
19
25
  --pf-c-about-modal-box__brand--PaddingRight: var(--pf-global--spacer--xl);
20
26
  --pf-c-about-modal-box__brand--PaddingLeft: var(--pf-global--spacer--xl);
@@ -27,7 +33,6 @@
27
33
  --pf-c-about-modal-box__close--PaddingRight: var(--pf-global--spacer--xl);
28
34
  --pf-c-about-modal-box__close--PaddingBottom: var(--pf-global--spacer--xl);
29
35
  --pf-c-about-modal-box__close--sm--PaddingBottom: var(--pf-global--spacer--3xl);
30
- --pf-c-about-modal-box__close--sm--PaddingRight: 0;
31
36
  --pf-c-about-modal-box__close--lg--PaddingRight: var(--pf-global--spacer--3xl);
32
37
  --pf-c-about-modal-box__close--c-button--Color: var(--pf-global--Color--100);
33
38
  --pf-c-about-modal-box__close--c-button--FontSize: var(--pf-global--FontSize--xl);
@@ -66,6 +71,10 @@
66
71
  overflow-x: hidden;
67
72
  overflow-y: auto;
68
73
  background-color: var(--pf-c-about-modal-box--BackgroundColor);
74
+ background-image: var(--pf-c-about-modal-box--BackgroundImage);
75
+ background-repeat: no-repeat;
76
+ background-position: var(--pf-c-about-modal-box--BackgroundPosition);
77
+ background-size: var(--pf-c-about-modal-box--BackgroundSize);
69
78
  }
70
79
  @media screen and (min-width: 576px) {
71
80
  .pf-c-about-modal-box {
@@ -76,7 +85,6 @@
76
85
  }
77
86
  @media only screen and (min-width: 576px) {
78
87
  .pf-c-about-modal-box {
79
- --pf-c-about-modal-box__close--PaddingRight: var(--pf-c-about-modal-box__close--sm--PaddingRight);
80
88
  --pf-c-about-modal-box__close--PaddingBottom: var(--pf-c-about-modal-box__close--sm--PaddingBottom);
81
89
  }
82
90
  }
@@ -106,8 +114,8 @@
106
114
  }
107
115
  @media only screen and (min-width: 576px) {
108
116
  .pf-c-about-modal-box {
109
- grid-template-areas: "brand hero" "header hero" "content hero";
110
- grid-template-columns: var(--pf-c-about-modal-box--sm--grid-template-columns);
117
+ grid-template-areas: "brand close" "header close" "content close";
118
+ grid-template-columns: var(--pf-c-about-modal-box--sm--GridTemplateColumns);
111
119
  }
112
120
  }
113
121
  @media only screen and (min-width: 992px) {
@@ -115,7 +123,7 @@
115
123
  --pf-c-about-modal-box--Height: var(--pf-c-about-modal-box--lg--Height);
116
124
  --pf-c-about-modal-box--Width: var(--pf-c-about-modal-box--lg--Width);
117
125
  grid-template-rows: max-content max-content auto;
118
- grid-template-columns: var(--pf-c-about-modal-box--lg--grid-template-columns);
126
+ grid-template-columns: var(--pf-c-about-modal-box--lg--GridTemplateColumns);
119
127
  }
120
128
  }
121
129
 
@@ -1,11 +1,17 @@
1
1
  .pf-c-about-modal-box {
2
2
  // Component variables
3
3
  --pf-c-about-modal-box--BackgroundColor: var(--pf-global--palette--black-1000); // Modal uses a non-standard background color
4
+ --pf-c-about-modal-box--BackgroundImage: url("#{$pf-global--image-path}/pfbg-icon.svg");
5
+ --pf-c-about-modal-box--BackgroundPosition: bottom right;
6
+ --pf-c-about-modal-box--BackgroundSize--min-width: 200px;
7
+ --pf-c-about-modal-box--BackgroundSize--width: 60%;
8
+ --pf-c-about-modal-box--BackgroundSize--max-width: 600px;
9
+ --pf-c-about-modal-box--BackgroundSize: clamp(var(--pf-c-about-modal-box--BackgroundSize--min-width), var(--pf-c-about-modal-box--BackgroundSize--width), var(--pf-c-about-modal-box--BackgroundSize--max-width));
4
10
  --pf-c-about-modal-box--Height: 100%;
5
11
  --pf-c-about-modal-box--lg--Height: #{pf-size-prem(762px)}; // Height is optimized for the exact height desired
6
12
  --pf-c-about-modal-box--Width: 100%;
7
- --pf-c-about-modal-box--sm--grid-template-columns: 5fr 1fr;
8
- --pf-c-about-modal-box--lg--grid-template-columns: 1fr .6fr;
13
+ --pf-c-about-modal-box--sm--GridTemplateColumns: 5fr 1fr;
14
+ --pf-c-about-modal-box--lg--GridTemplateColumns: 1fr .6fr;
9
15
 
10
16
  // Brand
11
17
  --pf-c-about-modal-box__brand--PaddingTop: var(--pf-global--spacer--2xl);
@@ -28,11 +34,9 @@
28
34
  --pf-c-about-modal-box__close--PaddingRight: var(--pf-global--spacer--xl);
29
35
  --pf-c-about-modal-box__close--PaddingBottom: var(--pf-global--spacer--xl);
30
36
  --pf-c-about-modal-box__close--sm--PaddingBottom: var(--pf-global--spacer--3xl);
31
- --pf-c-about-modal-box__close--sm--PaddingRight: 0;
32
37
  --pf-c-about-modal-box__close--lg--PaddingRight: var(--pf-global--spacer--3xl);
33
38
 
34
39
  @media only screen and (min-width: $pf-global--breakpoint--sm) {
35
- --pf-c-about-modal-box__close--PaddingRight: var(--pf-c-about-modal-box__close--sm--PaddingRight);
36
40
  --pf-c-about-modal-box__close--PaddingBottom: var(--pf-c-about-modal-box__close--sm--PaddingBottom);
37
41
  }
38
42
 
@@ -110,13 +114,17 @@
110
114
  overflow-x: hidden;
111
115
  overflow-y: auto;
112
116
  background-color: var(--pf-c-about-modal-box--BackgroundColor); // Because this component is always dark, set the background color
117
+ background-image: var(--pf-c-about-modal-box--BackgroundImage);
118
+ background-repeat: no-repeat;
119
+ background-position: var(--pf-c-about-modal-box--BackgroundPosition);
120
+ background-size: var(--pf-c-about-modal-box--BackgroundSize);
113
121
 
114
122
  @media only screen and (min-width: $pf-global--breakpoint--sm) {
115
123
  grid-template-areas:
116
- "brand hero"
117
- "header hero"
118
- "content hero";
119
- grid-template-columns: var(--pf-c-about-modal-box--sm--grid-template-columns);
124
+ "brand close"
125
+ "header close"
126
+ "content close";
127
+ grid-template-columns: var(--pf-c-about-modal-box--sm--GridTemplateColumns);
120
128
  }
121
129
 
122
130
  @media only screen and (min-width: $pf-global--breakpoint--lg) {
@@ -124,7 +132,7 @@
124
132
  --pf-c-about-modal-box--Width: var(--pf-c-about-modal-box--lg--Width);
125
133
 
126
134
  grid-template-rows: max-content max-content auto;
127
- grid-template-columns: var(--pf-c-about-modal-box--lg--grid-template-columns);
135
+ grid-template-columns: var(--pf-c-about-modal-box--lg--GridTemplateColumns);
128
136
  }
129
137
  }
130
138
 
@@ -1,47 +1,20 @@
1
1
  .pf-c-background-image {
2
2
  --pf-c-background-image--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
3
- --pf-c-background-image--BackgroundImage: url("../../assets/images/pfbg_576.jpg");
4
- --pf-c-background-image--BackgroundImage-2x: url("../../assets/images/pfbg_576@2x.jpg");
5
- --pf-c-background-image--BackgroundImage--sm: url("../../assets/images/pfbg_768.jpg");
6
- --pf-c-background-image--BackgroundImage--sm-2x: url("../../assets/images/pfbg_768@2x.jpg");
7
- --pf-c-background-image--BackgroundImage--lg: url("../../assets/images/pfbg_2000.jpg");
8
- --pf-c-background-image--Filter: url("#image_overlay");
9
- }
10
- .pf-c-background-image::before {
3
+ --pf-c-background-image--BackgroundImage: url("../../assets/images/pfbg-icon.svg");
4
+ --pf-c-background-image--BackgroundPosition: bottom right;
5
+ --pf-c-background-image--BackgroundSize--min-width: 200px;
6
+ --pf-c-background-image--BackgroundSize--width: 60%;
7
+ --pf-c-background-image--BackgroundSize--max-width: 600px;
8
+ --pf-c-background-image--BackgroundSize: clamp(var(--pf-c-background-image--BackgroundSize--min-width), var(--pf-c-background-image--BackgroundSize--width), var(--pf-c-background-image--BackgroundSize--max-width));
11
9
  position: fixed;
12
10
  top: 0;
13
11
  left: 0;
14
12
  z-index: -1;
15
13
  width: 100%;
16
14
  height: 100%;
17
- content: "";
18
15
  background-color: var(--pf-c-background-image--BackgroundColor);
19
16
  background-image: var(--pf-c-background-image--BackgroundImage);
20
- filter: var(--pf-c-background-image--Filter);
21
17
  background-repeat: no-repeat;
22
- background-size: cover;
23
- }
24
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
25
- .pf-c-background-image::before {
26
- --pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage-2x);
27
- }
28
- }
29
- @media (min-width: 576px) {
30
- .pf-c-background-image::before {
31
- --pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--sm);
32
- }
33
- }
34
- @media (min-width: 576px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 576px) and (min-resolution: 192dpi) {
35
- .pf-c-background-image::before {
36
- --pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--sm-2x);
37
- }
38
- }
39
- @media (min-width: 992px) {
40
- .pf-c-background-image::before {
41
- --pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--lg);
42
- }
43
- }
44
-
45
- .pf-c-background-image__filter {
46
- display: block;
18
+ background-position: var(--pf-c-background-image--BackgroundPosition);
19
+ background-size: var(--pf-c-background-image--BackgroundSize);
47
20
  }
@@ -1,47 +1,21 @@
1
1
  .pf-c-background-image {
2
2
  --pf-c-background-image--BackgroundColor: var(--pf-global--BackgroundColor--dark-100);
3
- --pf-c-background-image--BackgroundImage: url("#{$pf-global--image-path}/pfbg_576.jpg");
4
- --pf-c-background-image--BackgroundImage-2x: url("#{$pf-global--image-path}/pfbg_576@2x.jpg");
5
- --pf-c-background-image--BackgroundImage--sm: url("#{$pf-global--image-path}/pfbg_768.jpg");
6
- --pf-c-background-image--BackgroundImage--sm-2x: url("#{$pf-global--image-path}/pfbg_768@2x.jpg");
7
- --pf-c-background-image--BackgroundImage--lg: url("#{$pf-global--image-path}/pfbg_2000.jpg");
8
- --pf-c-background-image--Filter: url("#image_overlay");
3
+ --pf-c-background-image--BackgroundImage: url("#{$pf-global--image-path}/pfbg-icon.svg");
4
+ --pf-c-background-image--BackgroundPosition: bottom right;
5
+ --pf-c-background-image--BackgroundSize--min-width: 200px;
6
+ --pf-c-background-image--BackgroundSize--width: 60%;
7
+ --pf-c-background-image--BackgroundSize--max-width: 600px;
8
+ --pf-c-background-image--BackgroundSize: clamp(var(--pf-c-background-image--BackgroundSize--min-width), var(--pf-c-background-image--BackgroundSize--width), var(--pf-c-background-image--BackgroundSize--max-width));
9
9
 
10
- &::before {
11
- position: fixed;
12
- top: 0;
13
- left: 0;
14
- z-index: -1;
15
- width: 100%;
16
- height: 100%;
17
- content: "";
18
- background-color: var(--pf-c-background-image--BackgroundColor);
19
- background-image: var(--pf-c-background-image--BackgroundImage);
20
- filter: var(--pf-c-background-image--Filter);
21
- background-repeat: no-repeat;
22
- background-size: cover;
23
-
24
- // stylelint-disable
25
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
26
- --pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage-2x);
27
- }
28
-
29
- @media (min-width: $pf-global--breakpoint--sm) {
30
- --pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--sm);
31
- }
32
-
33
- @media (min-width: $pf-global--breakpoint--sm) and (-webkit-min-device-pixel-ratio: 2),
34
- (min-width: $pf-global--breakpoint--sm) and (min-resolution: 192dpi) {
35
- --pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--sm-2x);
36
- }
37
-
38
- @media (min-width: $pf-global--breakpoint--lg) {
39
- --pf-c-background-image--BackgroundImage: var(--pf-c-background-image--BackgroundImage--lg);
40
- }
41
- // stylelint-enable
42
- }
43
- }
44
-
45
- .pf-c-background-image__filter {
46
- display: block;
10
+ position: fixed;
11
+ top: 0;
12
+ left: 0;
13
+ z-index: -1;
14
+ width: 100%;
15
+ height: 100%;
16
+ background-color: var(--pf-c-background-image--BackgroundColor);
17
+ background-image: var(--pf-c-background-image--BackgroundImage);
18
+ background-repeat: no-repeat;
19
+ background-position: var(--pf-c-background-image--BackgroundPosition);
20
+ background-size: var(--pf-c-background-image--BackgroundSize);
47
21
  }
@@ -498,25 +498,25 @@
498
498
  --pf-c-data-list--BorderTopWidth: var(--pf-global--spacer--sm);
499
499
  --pf-c-data-list--sm--BorderTopWidth: var(--pf-global--BorderWidth--sm);
500
500
  --pf-c-data-list--sm--BorderTopColor: var(--pf-global--BorderColor--100);
501
+ --pf-c-data-list--MarginLeft: var(--pf-global--spacer--md);
501
502
  --pf-c-data-list__item--BackgroundColor: var(--pf-global--BackgroundColor--100);
502
503
  --pf-c-data-list__item--m-selected--ZIndex: var(--pf-global--ZIndex--xs);
503
504
  --pf-c-data-list__item--m-expanded--before--BackgroundColor: var(--pf-global--active-color--100);
504
505
  --pf-c-data-list__item--m-selected--before--BackgroundColor: var(--pf-global--active-color--100);
505
506
  --pf-c-data-list__item--m-selected--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
506
- --pf-c-data-list__item--m-selectable--OutlineOffset: calc(-1 * var(--pf-global--spacer--xs));
507
- --pf-c-data-list__item--m-selectable--hover--ZIndex: calc(var(--pf-c-data-list__item--m-selected--ZIndex) + 1);
508
- --pf-c-data-list__item--m-selectable--hover--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
509
- --pf-c-data-list__item--m-selectable--focus--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
510
- --pf-c-data-list__item--m-selectable--active--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
511
- --pf-c-data-list__item--m-expanded--m-selectable--before--BackgroundColor: var(--pf-global--active-color--300);
507
+ --pf-c-data-list__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-global--spacer--xs));
508
+ --pf-c-data-list__item--m-clickable--hover--ZIndex: calc(var(--pf-c-data-list__item--m-selected--ZIndex) + 1);
509
+ --pf-c-data-list__item--m-clickable--hover--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
510
+ --pf-c-data-list__item--m-clickable--focus--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
511
+ --pf-c-data-list__item--m-clickable--active--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
512
512
  --pf-c-data-list__item--BorderBottomColor: var(--pf-global--BorderColor--300);
513
513
  --pf-c-data-list__item--BorderBottomWidth: 0.5rem;
514
- --pf-c-data-list__item--m-selectable--hover--item--BorderTopColor: var(--pf-c-data-list__item--BorderBottomColor);
515
- --pf-c-data-list__item--m-selectable--hover--item--BorderTopWidth: var(--pf-c-data-list__item--BorderBottomWidth);
514
+ --pf-c-data-list__item--m-clickable--hover--item--BorderTopColor: var(--pf-c-data-list__item--BorderBottomColor);
515
+ --pf-c-data-list__item--m-clickable--hover--item--BorderTopWidth: var(--pf-c-data-list__item--BorderBottomWidth);
516
516
  --pf-c-data-list__item--sm--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
517
517
  --pf-c-data-list__item--sm--BorderBottomColor: var(--pf-global--BorderColor--100);
518
518
  --pf-c-data-list__item--before--BackgroundColor: transparent;
519
- --pf-c-data-list__item--before--Width: var(--pf-global--BorderWidth--lg);
519
+ --pf-c-data-list__item--before--Width: calc(2 * var(--pf-global--BorderWidth--lg));
520
520
  --pf-c-data-list__item--before--Transition: var(--pf-global--Transition);
521
521
  --pf-c-data-list__item--before--Top: 0;
522
522
  --pf-c-data-list__item--before--sm--Top: calc(var(--pf-c-data-list__item--BorderBottomWidth) * -1);
@@ -576,8 +576,6 @@
576
576
  --pf-c-data-list__item-action__action--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
577
577
  --pf-c-data-list__action--MarginTop: var(--pf-c-data-list__item-action__action--MarginTop);
578
578
  --pf-c-data-list__item-action__action--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);
579
- --pf-c-data-list__expandable-content--BorderTopWidth: var(--pf-global--BorderWidth--sm);
580
- --pf-c-data-list__expandable-content--BorderTopColor: var(--pf-global--BorderColor--100);
581
579
  --pf-c-data-list__expandable-content--MarginRight: calc(var(--pf-c-data-list__expandable-content-body--PaddingRight) * -1);
582
580
  --pf-c-data-list__expandable-content--MarginLeft: calc(var(--pf-c-data-list__expandable-content-body--PaddingLeft) * -1);
583
581
  --pf-c-data-list__expandable-content--MaxHeight: 37.5rem;
@@ -709,28 +707,28 @@
709
707
  background-color: var(--pf-c-data-list__item--before--BackgroundColor);
710
708
  transition: var(--pf-c-data-list__item--before--Transition);
711
709
  }
712
- .pf-c-data-list__item.pf-m-selectable {
710
+ .pf-c-data-list__item.pf-m-clickable {
713
711
  cursor: pointer;
714
- outline-offset: var(--pf-c-data-list__item--m-selectable--OutlineOffset);
712
+ outline-offset: var(--pf-c-data-list__item--m-clickable--OutlineOffset);
715
713
  }
716
- .pf-c-data-list__item.pf-m-selectable:hover, .pf-c-data-list__item.pf-m-selectable:focus {
714
+ .pf-c-data-list__item.pf-m-clickable:hover, .pf-c-data-list__item.pf-m-clickable:focus {
717
715
  position: relative;
718
- z-index: var(--pf-c-data-list__item--m-selectable--hover--ZIndex);
716
+ z-index: var(--pf-c-data-list__item--m-clickable--hover--ZIndex);
719
717
  }
720
- .pf-c-data-list__item.pf-m-selectable:hover:not(.pf-m-selected):not(:last-child), .pf-c-data-list__item.pf-m-selectable:focus:not(.pf-m-selected):not(:last-child) {
718
+ .pf-c-data-list__item.pf-m-clickable:hover:not(.pf-m-selected):not(:last-child), .pf-c-data-list__item.pf-m-clickable:focus:not(.pf-m-selected):not(:last-child) {
721
719
  --pf-c-data-list__item--BorderBottomWidth: 0;
722
720
  }
723
- .pf-c-data-list__item.pf-m-selectable:hover:not(.pf-m-selected):not(:last-child) + .pf-c-data-list__item, .pf-c-data-list__item.pf-m-selectable:focus:not(.pf-m-selected):not(:last-child) + .pf-c-data-list__item {
724
- border-top: var(--pf-c-data-list__item--m-selectable--hover--item--BorderTopWidth) solid var(--pf-c-data-list__item--m-selectable--hover--item--BorderTopColor);
721
+ .pf-c-data-list__item.pf-m-clickable:hover:not(.pf-m-selected):not(:last-child) + .pf-c-data-list__item, .pf-c-data-list__item.pf-m-clickable:focus:not(.pf-m-selected):not(:last-child) + .pf-c-data-list__item {
722
+ border-top: var(--pf-c-data-list__item--m-clickable--hover--item--BorderTopWidth) solid var(--pf-c-data-list__item--m-clickable--hover--item--BorderTopColor);
725
723
  }
726
- .pf-c-data-list__item.pf-m-selectable:hover {
727
- box-shadow: var(--pf-c-data-list__item--m-selectable--hover--BoxShadow);
724
+ .pf-c-data-list__item.pf-m-clickable:hover {
725
+ box-shadow: var(--pf-c-data-list__item--m-clickable--hover--BoxShadow);
728
726
  }
729
- .pf-c-data-list__item.pf-m-selectable:focus {
730
- box-shadow: var(--pf-c-data-list__item--m-selectable--focus--BoxShadow);
727
+ .pf-c-data-list__item.pf-m-clickable:focus {
728
+ box-shadow: var(--pf-c-data-list__item--m-clickable--focus--BoxShadow);
731
729
  }
732
- .pf-c-data-list__item.pf-m-selectable:active {
733
- box-shadow: var(--pf-c-data-list__item--m-selectable--active--BoxShadow);
730
+ .pf-c-data-list__item.pf-m-clickable:active {
731
+ box-shadow: var(--pf-c-data-list__item--m-clickable--active--BoxShadow);
734
732
  }
735
733
  .pf-c-data-list__item.pf-m-selected {
736
734
  --pf-c-data-list__item--before--BackgroundColor: var(--pf-c-data-list__item--m-selected--before--BackgroundColor);
@@ -750,10 +748,6 @@
750
748
  }
751
749
  .pf-c-data-list__item.pf-m-expanded {
752
750
  --pf-c-data-list__toggle-icon--Rotate: var(--pf-c-data-list__item--m-expanded__toggle-icon--Rotate);
753
- --pf-c-data-list__item--before--BackgroundColor: var(--pf-c-data-list__item--m-expanded--before--BackgroundColor);
754
- }
755
- .pf-c-data-list__item.pf-m-expanded.pf-m-selectable:not(.pf-m-selected) {
756
- --pf-c-data-list__item--before--BackgroundColor: var(--pf-c-data-list__item--m-expanded--m-selectable--before--BackgroundColor);
757
751
  }
758
752
 
759
753
  .pf-c-data-list__item-row {
@@ -885,11 +879,22 @@
885
879
  .pf-c-data-list__expandable-content {
886
880
  max-height: var(--pf-c-data-list__expandable-content--MaxHeight);
887
881
  overflow-y: auto;
888
- border-top: var(--pf-c-data-list__expandable-content--BorderTopWidth) solid var(--pf-c-data-list__expandable-content--BorderTopColor);
889
882
  }
890
883
  .pf-c-data-list__expandable-content .pf-c-data-list__expandable-content-body {
891
884
  padding: var(--pf-c-data-list__expandable-content-body--PaddingTop) var(--pf-c-data-list__expandable-content-body--PaddingRight) var(--pf-c-data-list__expandable-content-body--PaddingBottom) var(--pf-c-data-list__expandable-content-body--PaddingLeft);
892
885
  }
886
+ .pf-c-data-list__expandable-content .pf-c-data-list__expandable-content-body > .pf-c-data-list {
887
+ margin-left: var(--pf-c-data-list--MarginLeft);
888
+ }
889
+ .pf-c-data-list__expandable-content .pf-c-data-list__expandable-content-body .pf-c-data-list__item:last-child {
890
+ border-bottom: 0;
891
+ }
892
+ .pf-c-data-list__expandable-content .pf-c-data-list__expandable-content-body .pf-c-data-list__item-row {
893
+ --pf-c-data-list__item-row--PaddingLeft: 0;
894
+ }
895
+ .pf-c-data-list__expandable-content .pf-c-data-list__expandable-content-body .pf-c-data-list__expandable-content-body {
896
+ --pf-c-data-list__expandable-content-body--PaddingLeft: 0;
897
+ }
893
898
  .pf-c-data-list__expandable-content .pf-c-data-list__expandable-content-body.pf-m-no-padding {
894
899
  padding: 0;
895
900
  }
@@ -7,6 +7,7 @@
7
7
  --pf-c-data-list--BorderTopWidth: var(--pf-global--spacer--sm);
8
8
  --pf-c-data-list--sm--BorderTopWidth: var(--pf-global--BorderWidth--sm);
9
9
  --pf-c-data-list--sm--BorderTopColor: var(--pf-global--BorderColor--100);
10
+ --pf-c-data-list--MarginLeft: var(--pf-global--spacer--md);
10
11
 
11
12
  @media screen and (min-width: $pf-global--breakpoint--sm) {
12
13
  --pf-c-data-list--BorderTopColor: var(--pf-c-data-list--sm--BorderTopColor);
@@ -19,16 +20,15 @@
19
20
  --pf-c-data-list__item--m-expanded--before--BackgroundColor: var(--pf-global--active-color--100);
20
21
  --pf-c-data-list__item--m-selected--before--BackgroundColor: var(--pf-global--active-color--100);
21
22
  --pf-c-data-list__item--m-selected--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
22
- --pf-c-data-list__item--m-selectable--OutlineOffset: calc(-1 * var(--pf-global--spacer--xs));
23
- --pf-c-data-list__item--m-selectable--hover--ZIndex: calc(var(--pf-c-data-list__item--m-selected--ZIndex) + 1);
24
- --pf-c-data-list__item--m-selectable--hover--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
25
- --pf-c-data-list__item--m-selectable--focus--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
26
- --pf-c-data-list__item--m-selectable--active--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
27
- --pf-c-data-list__item--m-expanded--m-selectable--before--BackgroundColor: var(--pf-global--active-color--300);
23
+ --pf-c-data-list__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-global--spacer--xs));
24
+ --pf-c-data-list__item--m-clickable--hover--ZIndex: calc(var(--pf-c-data-list__item--m-selected--ZIndex) + 1);
25
+ --pf-c-data-list__item--m-clickable--hover--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
26
+ --pf-c-data-list__item--m-clickable--focus--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
27
+ --pf-c-data-list__item--m-clickable--active--BoxShadow: var(--pf-global--BoxShadow--sm-top), var(--pf-global--BoxShadow--sm-bottom);
28
28
  --pf-c-data-list__item--BorderBottomColor: var(--pf-global--BorderColor--300);
29
29
  --pf-c-data-list__item--BorderBottomWidth: #{pf-size-prem(8px)};
30
- --pf-c-data-list__item--m-selectable--hover--item--BorderTopColor: var(--pf-c-data-list__item--BorderBottomColor);
31
- --pf-c-data-list__item--m-selectable--hover--item--BorderTopWidth: var(--pf-c-data-list__item--BorderBottomWidth);
30
+ --pf-c-data-list__item--m-clickable--hover--item--BorderTopColor: var(--pf-c-data-list__item--BorderBottomColor);
31
+ --pf-c-data-list__item--m-clickable--hover--item--BorderTopWidth: var(--pf-c-data-list__item--BorderBottomWidth);
32
32
  --pf-c-data-list__item--sm--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
33
33
  --pf-c-data-list__item--sm--BorderBottomColor: var(--pf-global--BorderColor--100);
34
34
 
@@ -39,7 +39,7 @@
39
39
 
40
40
  // list item border left
41
41
  --pf-c-data-list__item--before--BackgroundColor: transparent;
42
- --pf-c-data-list__item--before--Width: var(--pf-global--BorderWidth--lg);
42
+ --pf-c-data-list__item--before--Width: calc(2 * var(--pf-global--BorderWidth--lg));
43
43
  --pf-c-data-list__item--before--Transition: var(--pf-global--Transition);
44
44
  --pf-c-data-list__item--before--Top: 0;
45
45
  --pf-c-data-list__item--before--sm--Top: calc(var(--pf-c-data-list__item--BorderBottomWidth) * -1);
@@ -122,8 +122,6 @@
122
122
  --pf-c-data-list__item-action__action--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);
123
123
 
124
124
  // expandable content
125
- --pf-c-data-list__expandable-content--BorderTopWidth: var(--pf-global--BorderWidth--sm);
126
- --pf-c-data-list__expandable-content--BorderTopColor: var(--pf-global--BorderColor--100);
127
125
  --pf-c-data-list__expandable-content--MarginRight: calc(var(--pf-c-data-list__expandable-content-body--PaddingRight) * -1);
128
126
  --pf-c-data-list__expandable-content--MarginLeft: calc(var(--pf-c-data-list__expandable-content-body--PaddingLeft) * -1);
129
127
  --pf-c-data-list__expandable-content--MaxHeight: #{pf-size-prem(600px)};
@@ -247,14 +245,14 @@
247
245
  transition: var(--pf-c-data-list__item--before--Transition);
248
246
  }
249
247
 
250
- &.pf-m-selectable {
248
+ &.pf-m-clickable {
251
249
  cursor: pointer;
252
- outline-offset: var(--pf-c-data-list__item--m-selectable--OutlineOffset);
250
+ outline-offset: var(--pf-c-data-list__item--m-clickable--OutlineOffset);
253
251
 
254
252
  &:hover,
255
253
  &:focus {
256
254
  position: relative;
257
- z-index: var(--pf-c-data-list__item--m-selectable--hover--ZIndex);
255
+ z-index: var(--pf-c-data-list__item--m-clickable--hover--ZIndex);
258
256
 
259
257
  // stylelint-disable selector-not-notation
260
258
  // update to single :not() in breaking change
@@ -263,22 +261,22 @@
263
261
 
264
262
  // stylelint-disable
265
263
  + .pf-c-data-list__item {
266
- border-top: var(--pf-c-data-list__item--m-selectable--hover--item--BorderTopWidth) solid var(--pf-c-data-list__item--m-selectable--hover--item--BorderTopColor);
264
+ border-top: var(--pf-c-data-list__item--m-clickable--hover--item--BorderTopWidth) solid var(--pf-c-data-list__item--m-clickable--hover--item--BorderTopColor);
267
265
  }
268
266
  // stylelint-enable
269
267
  }
270
268
  }
271
269
 
272
270
  &:hover {
273
- box-shadow: var(--pf-c-data-list__item--m-selectable--hover--BoxShadow);
271
+ box-shadow: var(--pf-c-data-list__item--m-clickable--hover--BoxShadow);
274
272
  }
275
273
 
276
274
  &:focus {
277
- box-shadow: var(--pf-c-data-list__item--m-selectable--focus--BoxShadow);
275
+ box-shadow: var(--pf-c-data-list__item--m-clickable--focus--BoxShadow);
278
276
  }
279
277
 
280
278
  &:active {
281
- box-shadow: var(--pf-c-data-list__item--m-selectable--active--BoxShadow);
279
+ box-shadow: var(--pf-c-data-list__item--m-clickable--active--BoxShadow);
282
280
  }
283
281
  }
284
282
 
@@ -305,11 +303,6 @@
305
303
 
306
304
  &.pf-m-expanded {
307
305
  --pf-c-data-list__toggle-icon--Rotate: var(--pf-c-data-list__item--m-expanded__toggle-icon--Rotate);
308
- --pf-c-data-list__item--before--BackgroundColor: var(--pf-c-data-list__item--m-expanded--before--BackgroundColor);
309
-
310
- &.pf-m-selectable:not(.pf-m-selected) {
311
- --pf-c-data-list__item--before--BackgroundColor: var(--pf-c-data-list__item--m-expanded--m-selectable--before--BackgroundColor);
312
- }
313
306
  }
314
307
  }
315
308
 
@@ -465,11 +458,26 @@
465
458
  .pf-c-data-list__expandable-content {
466
459
  max-height: var(--pf-c-data-list__expandable-content--MaxHeight);
467
460
  overflow-y: auto;
468
- border-top: var(--pf-c-data-list__expandable-content--BorderTopWidth) solid var(--pf-c-data-list__expandable-content--BorderTopColor);
469
461
 
470
462
  .pf-c-data-list__expandable-content-body {
471
463
  padding: var(--pf-c-data-list__expandable-content-body--PaddingTop) var(--pf-c-data-list__expandable-content-body--PaddingRight) var(--pf-c-data-list__expandable-content-body--PaddingBottom) var(--pf-c-data-list__expandable-content-body--PaddingLeft);
472
464
 
465
+ > .pf-c-data-list {
466
+ margin-left: var(--pf-c-data-list--MarginLeft);
467
+ }
468
+
469
+ .pf-c-data-list__item:last-child {
470
+ border-bottom: 0;
471
+ }
472
+
473
+ .pf-c-data-list__item-row {
474
+ --pf-c-data-list__item-row--PaddingLeft: 0;
475
+ }
476
+
477
+ .pf-c-data-list__expandable-content-body {
478
+ --pf-c-data-list__expandable-content-body--PaddingLeft: 0;
479
+ }
480
+
473
481
  &.pf-m-no-padding {
474
482
  padding: 0;
475
483
  }
@@ -11,7 +11,6 @@
11
11
  .pf-c-login {
12
12
  --pf-c-login--PaddingTop: var(--pf-global--spacer--lg);
13
13
  --pf-c-login--PaddingBottom: var(--pf-global--spacer--lg);
14
- --pf-c-login--xl--BackgroundImage: none;
15
14
  --pf-c-login__container--xl--GridColumnGap: var(--pf-global--spacer--3xl);
16
15
  --pf-c-login__container--MaxWidth: 31.25rem;
17
16
  --pf-c-login__container--xl--MaxWidth: none;
@@ -25,8 +24,9 @@
25
24
  --pf-c-login__header--xl--MarginTop: var(--pf-global--spacer--3xl);
26
25
  --pf-c-login__header--c-brand--MarginBottom: var(--pf-global--spacer--lg);
27
26
  --pf-c-login__header--c-brand--xl--MarginBottom: var(--pf-global--spacer--2xl);
28
- --pf-c-login__main--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
27
+ --pf-c-login__main--BackgroundColor: var(--pf-global--BackgroundColor--100);
29
28
  --pf-c-login__main--MarginBottom: var(--pf-global--spacer--lg);
29
+ --pf-c-login__main--BoxShadow: var(--pf-global--BoxShadow--xl);
30
30
  --pf-c-login__main-header--PaddingTop: var(--pf-global--spacer--2xl);
31
31
  --pf-c-login__main-header--PaddingRight: var(--pf-global--spacer--xl);
32
32
  --pf-c-login__main-header--PaddingBottom: var(--pf-global--spacer--md);
@@ -60,7 +60,8 @@
60
60
  --pf-c-login__main-footer-band--PaddingRight: var(--pf-global--spacer--md);
61
61
  --pf-c-login__main-footer-band--PaddingBottom: var(--pf-global--spacer--lg);
62
62
  --pf-c-login__main-footer-band--PaddingLeft: var(--pf-global--spacer--md);
63
- --pf-c-login__main-footer-band--BackgroundColor: var(--pf-global--BackgroundColor--200);
63
+ --pf-c-login__main-footer-band--BorderTopColor: var(--pf-global--BorderColor--100);
64
+ --pf-c-login__main-footer-band--BorderTopWidth: var(--pf-global--BorderWidth--sm);
64
65
  --pf-c-login__main-footer-band-item--PaddingTop: var(--pf-global--spacer--md);
65
66
  --pf-c-login__footer--PaddingLeft: var(--pf-global--spacer--md);
66
67
  --pf-c-login__footer--PaddingRight: var(--pf-global--spacer--md);
@@ -118,11 +119,6 @@
118
119
  --pf-c-login__footer--c-list--PaddingTop: var(--pf-c-login__footer--c-list--xl--PaddingTop);
119
120
  }
120
121
  }
121
- @media (min-width: 1200px) {
122
- .pf-c-login {
123
- background-image: var(--pf-c-login--xl--BackgroundImage);
124
- }
125
- }
126
122
  @media (min-width: 576px) {
127
123
  .pf-c-login {
128
124
  align-items: center;
@@ -165,6 +161,7 @@
165
161
  align-self: start;
166
162
  margin-bottom: var(--pf-c-login__main--MarginBottom);
167
163
  background-color: var(--pf-c-login__main--BackgroundColor);
164
+ box-shadow: var(--pf-c-login__main--BoxShadow);
168
165
  }
169
166
  .pf-c-login__main > :first-child:not(.pf-c-login__main-header) {
170
167
  padding-top: var(--pf-c-login__main-header--PaddingTop);
@@ -256,7 +253,7 @@
256
253
  .pf-c-login__main-footer-band {
257
254
  padding: var(--pf-c-login__main-footer-band--PaddingTop) var(--pf-c-login__main-footer-band--PaddingRight) var(--pf-c-login__main-footer-band--PaddingBottom) var(--pf-c-login__main-footer-band--PaddingLeft);
258
255
  text-align: center;
259
- background-color: var(--pf-c-login__main-footer-band--BackgroundColor);
256
+ border-top: var(--pf-c-login__main-footer-band--BorderTopWidth) solid var(--pf-c-login__main-footer-band--BorderTopColor);
260
257
  }
261
258
  .pf-c-login__main-footer-band > * + * {
262
259
  padding-top: var(--pf-c-login__main-footer-band-item--PaddingTop);
@@ -286,6 +283,9 @@
286
283
  --pf-global--BackgroundColor--100: #1b1d21;
287
284
  }
288
285
 
286
+ :where(.pf-theme-dark) .pf-c-login {
287
+ --pf-c-login__main--BackgroundColor: var(--pf-global--BackgroundColor--300);
288
+ }
289
289
  :where(.pf-theme-dark) .pf-c-login__header,
290
290
  :where(.pf-theme-dark) .pf-c-login__footer {
291
291
  color: var(--pf-global--Color--100);
@@ -1,7 +1,6 @@
1
1
  .pf-c-login {
2
2
  --pf-c-login--PaddingTop: var(--pf-global--spacer--lg);
3
3
  --pf-c-login--PaddingBottom: var(--pf-global--spacer--lg);
4
- --pf-c-login--xl--BackgroundImage: none;
5
4
 
6
5
  // container
7
6
  --pf-c-login__container--xl--GridColumnGap: var(--pf-global--spacer--3xl);
@@ -36,8 +35,9 @@
36
35
  }
37
36
 
38
37
  // main
39
- --pf-c-login__main--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
38
+ --pf-c-login__main--BackgroundColor: var(--pf-global--BackgroundColor--100);
40
39
  --pf-c-login__main--MarginBottom: var(--pf-global--spacer--lg);
40
+ --pf-c-login__main--BoxShadow: var(--pf-global--BoxShadow--xl);
41
41
 
42
42
  @media (min-width: $pf-global--breakpoint--xl) {
43
43
  --pf-c-login__main--MarginBottom: 0;
@@ -95,7 +95,8 @@
95
95
  --pf-c-login__main-footer-band--PaddingRight: var(--pf-global--spacer--md);
96
96
  --pf-c-login__main-footer-band--PaddingBottom: var(--pf-global--spacer--lg);
97
97
  --pf-c-login__main-footer-band--PaddingLeft: var(--pf-global--spacer--md);
98
- --pf-c-login__main-footer-band--BackgroundColor: var(--pf-global--BackgroundColor--200);
98
+ --pf-c-login__main-footer-band--BorderTopColor: var(--pf-global--BorderColor--100);
99
+ --pf-c-login__main-footer-band--BorderTopWidth: var(--pf-global--BorderWidth--sm);
99
100
  --pf-c-login__main-footer-band-item--PaddingTop: var(--pf-global--spacer--md);
100
101
 
101
102
  // footer
@@ -120,10 +121,6 @@
120
121
  padding-top: var(--pf-c-login--PaddingTop);
121
122
  padding-bottom: var(--pf-c-login--PaddingBottom);
122
123
 
123
- @media (min-width: $pf-global--breakpoint--xl) {
124
- background-image: var(--pf-c-login--xl--BackgroundImage);
125
- }
126
-
127
124
  @media (min-width: $pf-global--breakpoint--sm) {
128
125
  align-items: center;
129
126
  }
@@ -169,6 +166,7 @@
169
166
  align-self: start;
170
167
  margin-bottom: var(--pf-c-login__main--MarginBottom);
171
168
  background-color: var(--pf-c-login__main--BackgroundColor);
169
+ box-shadow: var(--pf-c-login__main--BoxShadow);
172
170
 
173
171
  // If the first child isn't a header, then we need to put the header's top padding there
174
172
  > :first-child:not(.pf-c-login__main-header) {
@@ -270,7 +268,7 @@
270
268
  .pf-c-login__main-footer-band {
271
269
  padding: var(--pf-c-login__main-footer-band--PaddingTop) var(--pf-c-login__main-footer-band--PaddingRight) var(--pf-c-login__main-footer-band--PaddingBottom) var(--pf-c-login__main-footer-band--PaddingLeft);
272
270
  text-align: center;
273
- background-color: var(--pf-c-login__main-footer-band--BackgroundColor);
271
+ border-top: var(--pf-c-login__main-footer-band--BorderTopWidth) solid var(--pf-c-login__main-footer-band--BorderTopColor);
274
272
 
275
273
  > * + * {
276
274
  padding-top: var(--pf-c-login__main-footer-band-item--PaddingTop);
@@ -1,6 +1,10 @@
1
1
  @import "../../../../sass-utilities/themes/dark/all";
2
2
 
3
3
  @mixin pf-theme-dark-login() {
4
+ .pf-c-login {
5
+ --pf-c-login__main--BackgroundColor: var(--pf-global--BackgroundColor--300);
6
+ }
7
+
4
8
  .pf-c-login__header,
5
9
  .pf-c-login__footer {
6
10
  @include pf-theme-dark--t-dark;