@patternfly/documentation-framework 6.0.0-alpha.1 → 6.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +107 -0
- package/components/autoLinkHeader/autoLinkHeader.css +2 -2
- package/components/cssVariables/cssVariables.css +4 -4
- package/components/example/example.css +29 -29
- package/components/footer/footer.css +16 -16
- package/components/gdprBanner/gdprBanner.css +2 -2
- package/components/sectionGallery/sectionGallery.css +12 -12
- package/components/sectionGallery/sectionGalleryToolbar.js +1 -1
- package/components/sideNav/sideNav.css +12 -12
- package/components/sideNav/sideNav.js +2 -2
- package/components/tableOfContents/tableOfContents.css +23 -23
- package/layouts/sideNavLayout/sideNavLayout.css +14 -14
- package/layouts/sideNavLayout/sideNavLayout.js +28 -1
- package/package.json +8 -8
- package/pages/404/404.css +2 -2
- package/pages/404/index.js +1 -1
- package/pages/global-css-variables.md +16 -16
- package/scripts/writeScreenshots.js +1 -1
- package/templates/mdx.css +156 -156
- package/templates/mdx.js +6 -6
- package/versions.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,113 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 6.0.0-alpha.11 (2024-02-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* pull in latest alpha with new v6 prefixes ([#3899](https://github.com/patternfly/patternfly-org/issues/3899)) ([8e57612](https://github.com/patternfly/patternfly-org/commit/8e57612b00b626a1d5b8d8762139a1499cf46aa3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# 6.0.0-alpha.10 (2024-02-01)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* bump docs framework version ([815e094](https://github.com/patternfly/patternfly-org/commit/815e09456987062a9b5d8a17c960698fd0c1c81c))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# 6.0.0-alpha.9 (2024-01-23)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* Update versions.json to include drag drop alpha ([9d924b7](https://github.com/patternfly/patternfly-org/commit/9d924b747cc3e431dffe438ed41940fbd610aa91))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# 6.0.0-alpha.8 (2024-01-15)
|
|
40
|
+
|
|
41
|
+
**Note:** Version bump only for package @patternfly/documentation-framework
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
# 6.0.0-alpha.7 (2024-01-12)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
* Update brand svg id to avoid duplicate ids ([55d351b](https://github.com/patternfly/patternfly-org/commit/55d351be1b8d4d4f0b6d5f5090cbedc6629c6d94))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
# 6.0.0-alpha.6 (2024-01-12)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Bug Fixes
|
|
62
|
+
|
|
63
|
+
* bump puppeteer ([#3858](https://github.com/patternfly/patternfly-org/issues/3858)) ([2182a0f](https://github.com/patternfly/patternfly-org/commit/2182a0fe4d4d50c866703efe316deafffc44e5a2))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
# 6.0.0-alpha.5 (2023-12-20)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Bug Fixes
|
|
73
|
+
|
|
74
|
+
* PF brand logo in masthead to inline svg ([cafef36](https://github.com/patternfly/patternfly-org/commit/cafef363ea6b0912af9c5a1d5a0e10c353b60fd0))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
# 6.0.0-alpha.4 (2023-12-20)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Bug Fixes
|
|
84
|
+
|
|
85
|
+
* update white space to test publishing to aws ([4432fbe](https://github.com/patternfly/patternfly-org/commit/4432fbea86ab6f420cef816475718a62c673a870))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
# 6.0.0-alpha.3 (2023-12-18)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
### Bug Fixes
|
|
95
|
+
|
|
96
|
+
* try publish v6 to aws ([#3845](https://github.com/patternfly/patternfly-org/issues/3845)) ([9cc0909](https://github.com/patternfly/patternfly-org/commit/9cc09090ee035ac7087aacd9067b52a146bf3229))
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# 6.0.0-alpha.2 (2023-12-15)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Bug Fixes
|
|
106
|
+
|
|
107
|
+
* bump docs-framework version in docs-site ([93d9115](https://github.com/patternfly/patternfly-org/commit/93d91150da89bbabcd6d8e9b0ef9fcadad7272c1))
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
6
113
|
# 6.0.0-alpha.1 (2023-12-14)
|
|
7
114
|
|
|
8
115
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.ws-heading-anchor {
|
|
6
|
-
color: var(--pf-
|
|
7
|
-
transform: translate(calc(-100% - var(--pf-
|
|
6
|
+
color: var(--pf-v6-global--Color--100);
|
|
7
|
+
transform: translate(calc(-100% - var(--pf-v6-global--spacer--xs)), -50%);
|
|
8
8
|
opacity: 0;
|
|
9
9
|
position: absolute;
|
|
10
10
|
left: 0;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
display: inline-block;
|
|
3
3
|
height: 18px;
|
|
4
4
|
width: 18px;
|
|
5
|
-
border: var(--pf-
|
|
6
|
-
border-radius: var(--pf-
|
|
5
|
+
border: var(--pf-v6-global--BorderWidth--sm) solid var(--pf-v6-global--BorderColor--200);
|
|
6
|
+
border-radius: var(--pf-v6-global--BorderRadius--lg);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.ws-td-text {
|
|
10
|
-
font-size: var(--pf-
|
|
10
|
+
font-size: var(--pf-v6-global--FontSize--sm) !important;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.ws-css-property {
|
|
14
|
-
padding: var(--pf-
|
|
14
|
+
padding: var(--pf-v6-global--spacer--xs) var(--pf-v6-global--spacer--md);
|
|
15
15
|
}
|
|
@@ -3,52 +3,52 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.ws-example {
|
|
6
|
-
margin-top: var(--pf-
|
|
7
|
-
margin-bottom: var(--pf-
|
|
6
|
+
margin-top: var(--pf-v6-global--spacer--lg);
|
|
7
|
+
margin-bottom: var(--pf-v6-global--spacer--lg);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.ws-example > .ws-example-header {
|
|
11
|
-
padding: var(--pf-
|
|
11
|
+
padding: var(--pf-v6-global--spacer--md);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.ws-example-header > .ws-example-heading:not(:last-child) {
|
|
15
|
-
margin-bottom: var(--pf-
|
|
15
|
+
margin-bottom: var(--pf-v6-global--spacer--md);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.ws-code-editor:not(.ws-example-code-expanded) > .pf-
|
|
19
|
-
--pf-
|
|
18
|
+
.ws-code-editor:not(.ws-example-code-expanded) > .pf-v6-c-code-editor__header::before {
|
|
19
|
+
--pf-v6-c-code-editor__header--before--BorderBottomWidth: 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.ws-code-editor-control {
|
|
23
|
-
--pf-
|
|
24
|
-
--pf-
|
|
25
|
-
--pf-
|
|
26
|
-
--pf-
|
|
23
|
+
--pf-v6-c-button--m-control--BackgroundColor: transparent;
|
|
24
|
+
--pf-v6-c-button--m-control--active--BackgroundColor: transparent;
|
|
25
|
+
--pf-v6-c-button--m-control--focus--BackgroundColor: transparent;
|
|
26
|
+
--pf-v6-c-button--m-control--hover--BackgroundColor: transparent;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.ws-code-editor-control.pf-
|
|
30
|
-
--pf-
|
|
29
|
+
.ws-code-editor-control.pf-v6-c-button {
|
|
30
|
+
--pf-v6-c-button--after--BorderWidth: 0;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.ws-preview {
|
|
34
|
-
padding: var(--pf-
|
|
35
|
-
background-color: var(--pf-
|
|
36
|
-
border-bottom: var(--pf-
|
|
34
|
+
padding: var(--pf-v6-global--spacer--md);
|
|
35
|
+
background-color: var(--pf-v6-global--BackgroundColor--100);
|
|
36
|
+
border-bottom: var(--pf-v6-global--BorderWidth--sm) solid var(--pf-v6-global--BorderColor--300);
|
|
37
37
|
transition: width .2s ease-in-out;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.ws-core-c-page.ws-preview > .ws-preview-html,
|
|
41
|
-
.ws-react-c-page.ws-preview > .pf-
|
|
41
|
+
.ws-react-c-page.ws-preview > .pf-v6-c-page {
|
|
42
42
|
overflow: hidden;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.ws-editor {
|
|
46
|
-
font-size: var(--pf-
|
|
46
|
+
font-size: var(--pf-v6-global--FontSize--md);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.ws-editor .token.punctuation,
|
|
50
50
|
.ws-editor .token.operator {
|
|
51
|
-
color: var(--pf-
|
|
51
|
+
color: var(--pf-v6-global--danger-color--100);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.ws-preview__thumbnail-link {
|
|
@@ -100,33 +100,33 @@
|
|
|
100
100
|
color: rgba(255,255,255,.4);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.pf-
|
|
104
|
-
--pf-
|
|
105
|
-
--pf-
|
|
106
|
-
border: var(--pf-
|
|
103
|
+
.pf-v6-c-badge.ws-beta-badge {
|
|
104
|
+
--pf-v6-c-badge--m-unread--BackgroundColor: var(--pf-v6-global--BackgroundColor--100);
|
|
105
|
+
--pf-v6-c-badge--m-unread--Color: var(--pf-v6-global--primary-color--100);
|
|
106
|
+
border: var(--pf-v6-global--BorderWidth--sm) solid var(--pf-v6-global--primary-color--100);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.ws-prop-required {
|
|
110
|
-
color: var(--pf-
|
|
110
|
+
color: var(--pf-v6-global--danger-color--100);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.ws-full-page-utils {
|
|
114
114
|
position: fixed;
|
|
115
115
|
right: 0;
|
|
116
116
|
bottom: 0;
|
|
117
|
-
padding: var(--pf-
|
|
118
|
-
z-index: var(--pf-
|
|
117
|
+
padding: var(--pf-v6-global--spacer--lg);
|
|
118
|
+
z-index: var(--pf-v6-global--ZIndex--2xl);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.ws-full-page-utils::before {
|
|
122
122
|
position: absolute;
|
|
123
123
|
inset: 0;
|
|
124
124
|
content: "";
|
|
125
|
-
background-color: var(--pf-
|
|
125
|
+
background-color: var(--pf-v6-global--BackgroundColor--100);
|
|
126
126
|
opacity: 0.8;
|
|
127
|
-
box-shadow: var(--pf-
|
|
127
|
+
box-shadow: var(--pf-v6-global--BoxShadow--sm);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.pf-
|
|
131
|
-
background-color: var(--pf-
|
|
130
|
+
.pf-v6-theme-dark .ws-theme-switch-full-page::before {
|
|
131
|
+
background-color: var(--pf-v6-global--BackgroundColor--300);
|
|
132
132
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.ws-org-pfsite-l-footer.pf-
|
|
2
|
-
font-family: var(--pf-
|
|
1
|
+
.ws-org-pfsite-l-footer.pf-v6-c-page__main-section {
|
|
2
|
+
font-family: var(--pf-v6-global--FontFamily--text);
|
|
3
3
|
font-weight: 300;
|
|
4
4
|
background-color: #1a1a1a !important;
|
|
5
|
-
--pf-
|
|
6
|
-
--pf-
|
|
7
|
-
--pf-
|
|
8
|
-
--pf-
|
|
5
|
+
--pf-v6-c-page__main-section--PaddingTop: var(--pf-v6-global--spacer--xl);
|
|
6
|
+
--pf-v6-c-page__main-section--PaddingRight: var(--pf-v6-global--spacer--2xl);
|
|
7
|
+
--pf-v6-c-page__main-section--PaddingBottom: var(--pf-v6-global--spacer--2xl);
|
|
8
|
+
--pf-v6-c-page__main-section--PaddingLeft: var(--pf-v6-global--spacer--2xl);
|
|
9
9
|
/* Hide long overflowing tocs */
|
|
10
10
|
z-index: 1;
|
|
11
11
|
}
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
.ws-org-pfsite-l-footer-column .ws-org-pfsite-footer-menu-social-links a {
|
|
37
|
-
margin-right: var(--pf-
|
|
38
|
-
color: var(--pf-
|
|
37
|
+
margin-right: var(--pf-v6-global--spacer--md);
|
|
38
|
+
color: var(--pf-v6-global--Color--light-100) !important;
|
|
39
39
|
}
|
|
40
40
|
.ws-org-pfsite-l-footer-column
|
|
41
41
|
.ws-org-pfsite-footer-menu-social-links
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
margin-right: 0;
|
|
44
44
|
}
|
|
45
45
|
.ws-org-pfsite-l-footer-column .ws-org-pfsite-footer-menu-social-links {
|
|
46
|
-
margin-top: var(--pf-
|
|
47
|
-
margin-bottom: var(--pf-
|
|
46
|
+
margin-top: var(--pf-v6-global--spacer--md);
|
|
47
|
+
margin-bottom: var(--pf-v6-global--spacer--md);
|
|
48
48
|
}
|
|
49
49
|
@media (max-width: 768px) {
|
|
50
50
|
.ws-org-pfsite-l-footer-column .ws-org-pfsite-footer-menu-social-links {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
padding-right: 10px;
|
|
72
72
|
}
|
|
73
73
|
.ws-org-pfsite-l-footer .ws-org-pfsite-footer-menu-link {
|
|
74
|
-
color: var(--pf-
|
|
74
|
+
color: var(--pf-v6-global--Color--light-100);
|
|
75
75
|
font-size: 14px !important;
|
|
76
76
|
}
|
|
77
77
|
.ws-org-pfsite-l-footer .ws-org-pfsite-footer-menu-link:hover {
|
|
@@ -86,19 +86,19 @@
|
|
|
86
86
|
.ws-org-pfsite-l-footer-dark {
|
|
87
87
|
background: #151515 !important;
|
|
88
88
|
}
|
|
89
|
-
.pf-
|
|
89
|
+
.pf-v6-c-page .pf-v6-c-page__main-section.ws-org-pfsite-l-footer-dark {
|
|
90
90
|
/* Hide long overflowing tocs */
|
|
91
91
|
z-index: 1;
|
|
92
92
|
}
|
|
93
|
-
.pf-
|
|
93
|
+
.pf-v6-c-page__main-section.ws-org-pfsite-l-footer-dark > * {
|
|
94
94
|
font-weight: 300;
|
|
95
95
|
font-size: 12px;
|
|
96
96
|
color: #d2d2d2;
|
|
97
97
|
}
|
|
98
98
|
.ws-org-pfsite-l-footer-dark a {
|
|
99
|
-
padding-right: var(--pf-
|
|
100
|
-
padding-left: var(--pf-
|
|
101
|
-
border-right: var(--pf-
|
|
99
|
+
padding-right: var(--pf-v6-global--spacer--sm);
|
|
100
|
+
padding-left: var(--pf-v6-global--spacer--sm);
|
|
101
|
+
border-right: var(--pf-v6-global--BorderWidth--sm) solid #d2d2d2;
|
|
102
102
|
font-weight: 300;
|
|
103
103
|
color: #d2d2d2;
|
|
104
104
|
text-decoration: underline;
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
#ws-gdpr-banner {
|
|
10
10
|
max-width: 95vw;
|
|
11
11
|
flex-wrap: nowrap;
|
|
12
|
-
background: var(--pf-
|
|
13
|
-
border: var(--pf-
|
|
12
|
+
background: var(--pf-v6-global--BackgroundColor--100);
|
|
13
|
+
border: var(--pf-v6-global--BorderWidth--sm) solid var(--pf-v6-global--Color--100);
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
.ws-section-gallery {
|
|
10
10
|
/* top placement */
|
|
11
|
-
margin-top: calc(var(--pf-
|
|
11
|
+
margin-top: calc(var(--pf-v6-c-page__main-section--PaddingTop) * -1);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
* + .ws-section-gallery {
|
|
@@ -17,22 +17,22 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* Toolbar styles */
|
|
20
|
-
.ws-section-gallery .pf-
|
|
21
|
-
margin-left: calc(var(--pf-
|
|
22
|
-
border-bottom: var(--pf-
|
|
23
|
-
margin-bottom: var(--pf-
|
|
24
|
-
width: calc(100% + var(--pf-
|
|
20
|
+
.ws-section-gallery .pf-v6-c-toolbar {
|
|
21
|
+
margin-left: calc(var(--pf-v6-c-page__main-section--PaddingLeft) * -1);
|
|
22
|
+
border-bottom: var(--pf-v6-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-v6-c-page__sidebar--m-light--BorderRightColor);
|
|
23
|
+
margin-bottom: var(--pf-v6-global--spacer--md);
|
|
24
|
+
width: calc(100% + var(--pf-v6-c-page__main-section--PaddingLeft) + var(--pf-v6-c-page__main-section--PaddingRight));
|
|
25
25
|
/* avoid hoverable data list items overlapping toolbar */
|
|
26
|
-
z-index: calc(var(--pf-
|
|
26
|
+
z-index: calc(var(--pf-v6-global--ZIndex--xs) + 2);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* Match toolbar left-padding to gallery left-padding */
|
|
30
|
-
.ws-section-gallery .pf-
|
|
31
|
-
--pf-
|
|
30
|
+
.ws-section-gallery .pf-v6-c-toolbar .pf-v6-c-toolbar__content {
|
|
31
|
+
--pf-v6-c-toolbar__content--PaddingLeft: var(--pf-v6-c-page__main-section--PaddingLeft);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/* Avoid toolbar wrap on smaller screens */
|
|
35
|
-
.ws-section-gallery .pf-
|
|
35
|
+
.ws-section-gallery .pf-v6-c-toolbar__content-section {
|
|
36
36
|
flex-wrap: nowrap;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* Ensure same height for all cards in a gallery row */
|
|
46
|
-
.ws-section-gallery .pf-
|
|
46
|
+
.ws-section-gallery .pf-v6-c-card {
|
|
47
47
|
height: 100%;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/* Limit width for data list view only */
|
|
51
|
-
.ws-section-gallery .pf-
|
|
51
|
+
.ws-section-gallery .pf-v6-c-data-list {
|
|
52
52
|
max-width: 956px;
|
|
53
53
|
}
|
|
@@ -30,7 +30,7 @@ export const SectionGalleryToolbar = ({
|
|
|
30
30
|
</ToggleGroup>
|
|
31
31
|
</ToolbarItem>
|
|
32
32
|
</ToolbarGroup>
|
|
33
|
-
<ToolbarItem variant="pagination" spacer={{default: 'spacerMd', md: 'spacerNone'}} style={{'--pf-
|
|
33
|
+
<ToolbarItem variant="pagination" spacer={{default: 'spacerMd', md: 'spacerNone'}} style={{'--pf-v6-c-toolbar__item--MinWidth': "max-content"}}>
|
|
34
34
|
<Text component={TextVariants.small}>{ galleryItems.length }{ countText }</Text>
|
|
35
35
|
</ToolbarItem>
|
|
36
36
|
</ToolbarContent>
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.ws-page-sidebar .pf-
|
|
2
|
-
--pf-
|
|
3
|
-
--pf-
|
|
4
|
-
--pf-
|
|
5
|
-
--pf-
|
|
6
|
-
--pf-
|
|
7
|
-
--pf-
|
|
1
|
+
.ws-page-sidebar .pf-v6-c-nav {
|
|
2
|
+
--pf-v6-c-nav__link--before--BorderBottomWidth: 0;
|
|
3
|
+
--pf-v6-c-nav--m-light__link--hover--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-200);
|
|
4
|
+
--pf-v6-c-nav--m-light__link--focus--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-200);
|
|
5
|
+
--pf-v6-c-nav--m-light__link--m-current--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-200);
|
|
6
|
+
--pf-v6-c-nav--m-light__link--active--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-200);
|
|
7
|
+
--pf-v6-c-nav__link--m-current--BackgroundColor: var(--pf-v6-global--BackgroundColor--200);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.ws-side-nav-list .pf-
|
|
10
|
+
.ws-side-nav-list .pf-v6-c-nav__item.pf-m-expandable::before {
|
|
11
11
|
border-bottom: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.pf-
|
|
15
|
-
color: var(--ws-toc-link--Color, var(--pf-
|
|
16
|
-
font-size: var(--pf-
|
|
14
|
+
.pf-v6-c-nav__subsection-title {
|
|
15
|
+
color: var(--ws-toc-link--Color, var(--pf-v6-global--Color--300));
|
|
16
|
+
font-size: var(--pf-v6-global--FontSize--sm);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
#ws-sticky-nav-tabs {
|
|
20
|
-
z-index: var(--pf-
|
|
20
|
+
z-index: var(--pf-v6-global--ZIndex--2xl);
|
|
21
21
|
}
|
|
@@ -19,14 +19,14 @@ const NavItem = ({ text, href, isDeprecated, isBeta, isDemo }) => {
|
|
|
19
19
|
return (
|
|
20
20
|
<PageContextConsumer key={href + text}>
|
|
21
21
|
{({onSidebarToggle, isSidebarOpen }) => (
|
|
22
|
-
<li key={href + text} className="pf-
|
|
22
|
+
<li key={href + text} className="pf-v6-c-nav__item" onClick={() => isMobileView && onSidebarToggle && onSidebarToggle()}>
|
|
23
23
|
<Link
|
|
24
24
|
to={href}
|
|
25
25
|
getProps={({ isCurrent, href, location }) => {
|
|
26
26
|
const { pathname } = location;
|
|
27
27
|
return {
|
|
28
28
|
className: css(
|
|
29
|
-
'pf-
|
|
29
|
+
'pf-v6-c-nav__link',
|
|
30
30
|
(isCurrent || pathname.startsWith(href + '/')) && 'pf-m-current'
|
|
31
31
|
)
|
|
32
32
|
}}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
.ws-toc {
|
|
2
2
|
align-self: flex-start;
|
|
3
3
|
position: sticky;
|
|
4
|
-
width: calc(100% + var(--pf-
|
|
5
|
-
background-color: var(--pf-
|
|
4
|
+
width: calc(100% + var(--pf-v6-c-page__main-section--PaddingLeft) + var(--pf-v6-c-page__main-section--PaddingRight));
|
|
5
|
+
background-color: var(--pf-v6-global--BackgroundColor--200);
|
|
6
6
|
z-index: 501;
|
|
7
|
-
margin-block-start: calc(var(--pf-
|
|
8
|
-
margin-block-end: var(--pf-
|
|
9
|
-
margin-inline-start: calc(var(--pf-
|
|
10
|
-
margin-inline-end: calc(var(--pf-
|
|
11
|
-
padding-block-start: var(--pf-
|
|
12
|
-
padding-block-end: var(--pf-
|
|
13
|
-
padding-inline-start: var(--pf-
|
|
7
|
+
margin-block-start: calc(var(--pf-v6-c-page__main-section--PaddingTop) * -1);
|
|
8
|
+
margin-block-end: var(--pf-v6-global--spacer--md);
|
|
9
|
+
margin-inline-start: calc(var(--pf-v6-c-page__main-section--PaddingLeft) * -1);
|
|
10
|
+
margin-inline-end: calc(var(--pf-v6-c-page__main-section--PaddingRight) * -2);
|
|
11
|
+
padding-block-start: var(--pf-v6-global--spacer--md);
|
|
12
|
+
padding-block-end: var(--pf-v6-global--spacer--md);
|
|
13
|
+
padding-inline-start: var(--pf-v6-global--spacer--md);
|
|
14
14
|
padding-inline-end: 0;
|
|
15
|
-
box-shadow: var(--pf-
|
|
15
|
+
box-shadow: var(--pf-v6-global--BoxShadow--lg-bottom);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.ws-toc.pf-m-expanded {
|
|
19
|
-
box-shadow: var(--pf-
|
|
19
|
+
box-shadow: var(--pf-v6-global--BoxShadow--sm-bottom)
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/* Mobile jumplinks */
|
|
23
23
|
@media (max-width: 1450px) {
|
|
24
|
-
.ws-toc.pf-m-expanded .pf-
|
|
24
|
+
.ws-toc.pf-m-expanded .pf-v6-c-jump-links__main {
|
|
25
25
|
max-height: 65vh;
|
|
26
26
|
overflow: auto;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
.ws-toc .pf-
|
|
28
|
+
|
|
29
|
+
.ws-toc .pf-v6-c-jump-links__header {
|
|
30
30
|
position: sticky;
|
|
31
31
|
top: 0;
|
|
32
|
-
background-color: var(--pf-
|
|
32
|
+
background-color: var(--pf-v6-global--BackgroundColor--200);
|
|
33
33
|
z-index: 2;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.ws-toc .pf-
|
|
37
|
+
.ws-toc .pf-v6-c-jump-links__main {
|
|
38
38
|
scrollbar-width: none;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/* Hide TOC scrollbar Chrome, Safari & Opera */
|
|
42
|
-
.ws-toc .pf-
|
|
42
|
+
.ws-toc .pf-v6-c-jump-links__main::-webkit-scrollbar {
|
|
43
43
|
display: none;
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
-ms-overflow-style: none;
|
|
53
53
|
scrollbar-width: none;
|
|
54
54
|
order: 1;
|
|
55
|
-
padding: 0 var(--pf-
|
|
55
|
+
padding: 0 var(--pf-v6-global--spacer--lg) var(--pf-v6-global--spacer--lg) var(--pf-v6-global--spacer--2xl);
|
|
56
56
|
flex-grow: 1;
|
|
57
57
|
background: none;
|
|
58
58
|
margin: 0;
|
|
@@ -65,18 +65,18 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/* .ws-toc-link { */
|
|
68
|
-
.ws-toc-item .pf-
|
|
68
|
+
.ws-toc-item .pf-v6-c-jump-links__link {
|
|
69
69
|
position: relative;
|
|
70
70
|
display: block;
|
|
71
|
-
color: var(--ws-toc-link--Color, var(--pf-
|
|
72
|
-
font-size: var(--pf-
|
|
71
|
+
color: var(--ws-toc-link--Color, var(--pf-v6-global--Color--300));
|
|
72
|
+
font-size: var(--pf-v6-global--FontSize--sm);
|
|
73
73
|
margin: -4px 0;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.ws-toc-sublist > .ws-toc-item:first-child .pf-
|
|
76
|
+
.ws-toc-sublist > .ws-toc-item:first-child .pf-v6-c-jump-links__link {
|
|
77
77
|
margin-top: 0;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.ws-toc-item.pf-m-current .pf-
|
|
80
|
+
.ws-toc-item.pf-m-current .pf-v6-c-jump-links__link::before {
|
|
81
81
|
z-index: 1;
|
|
82
82
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Page layout */
|
|
2
|
-
/* tells .pf-
|
|
2
|
+
/* tells .pf-v6-c-page to consume the available space left over from the banners/footers */
|
|
3
3
|
#ws-router {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.ws-switcher-divider {
|
|
12
|
-
padding: 0 var(--pf-
|
|
12
|
+
padding: 0 var(--pf-v6-global--spacer--md);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@media (min-width: 1200px) {
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.ws-page-sidebar > .pf-
|
|
22
|
-
padding-top: var(--pf-
|
|
21
|
+
.ws-page-sidebar > .pf-v6-c-page__sidebar-body {
|
|
22
|
+
padding-top: var(--pf-v6-global--spacer--md);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/* Search */
|
|
@@ -27,24 +27,24 @@
|
|
|
27
27
|
/* Fix search results overflowing page */
|
|
28
28
|
min-width: 480px !important;
|
|
29
29
|
}
|
|
30
|
-
.ws-global-search.pf-
|
|
30
|
+
.ws-global-search.pf-v6-c-input-group {
|
|
31
31
|
/* remove white background on dark Masthead */
|
|
32
|
-
--pf-
|
|
32
|
+
--pf-v6-c-input-group--BackgroundColor: none;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* For tiny (200px) viewports */
|
|
36
|
-
.ws-masthead .pf-
|
|
36
|
+
.ws-masthead .pf-v6-c-toolbar__item {
|
|
37
37
|
min-width: 0;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.ws-masthead .pf-
|
|
40
|
+
.ws-masthead .pf-v6-c-switch {
|
|
41
41
|
align-items: center;
|
|
42
|
-
--pf-
|
|
43
|
-
--pf-
|
|
42
|
+
--pf-v6-c-switch__input--not-checked__label--Color: var(--pf-v6-global--Color--100);
|
|
43
|
+
--pf-v6-c-switch__input--checked__label--Color: var(--pf-v6-global--Color--100);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.ws-masthead .pf-
|
|
47
|
-
--pf-
|
|
48
|
-
--pf-
|
|
49
|
-
--pf-
|
|
46
|
+
.ws-masthead .pf-v6-c-toggle-group {
|
|
47
|
+
--pf-v6-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-v6-global--palette--blue-400);
|
|
48
|
+
--pf-v6-c-toggle-group__button--focus--BackgroundColor: transparent;
|
|
49
|
+
--pf-v6-c-toggle-group__button--hover--BackgroundColor: transparent;
|
|
50
50
|
}
|