@patternfly/patternfly 5.2.0-prerelease.3 → 6.0.0-alpha.10
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/CODE_OF_CONDUCT.md +2 -1
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/base/_globals.scss +13 -13
- package/base/_variables.scss +5 -0
- package/base/patternfly-globals.css +12 -13
- package/base/patternfly-variables.css +860 -0
- package/base/tokens/_tokens-dark.scss +331 -0
- package/base/tokens/_tokens-default.scss +379 -0
- package/base/tokens/_tokens-font.scss +96 -0
- package/base/tokens/_tokens-palette.scss +75 -0
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +57 -84
- package/components/Alert/alert.scss +60 -78
- package/components/Button/button.css +142 -179
- package/components/Button/button.scss +161 -141
- package/components/Check/check.css +8 -10
- package/components/Check/check.scss +10 -15
- package/components/Content/content.css +67 -67
- package/components/Content/content.scss +68 -68
- package/components/Dropdown/dropdown.css +3 -1
- package/components/Dropdown/dropdown.scss +6 -2
- package/components/Masthead/masthead.css +49 -103
- package/components/Masthead/masthead.scss +105 -132
- package/components/Menu/menu.css +0 -3
- package/components/Menu/menu.scss +3 -7
- package/components/MenuToggle/menu-toggle.css +59 -80
- package/components/MenuToggle/menu-toggle.scss +65 -89
- package/components/Nav/nav.css +42 -40
- package/components/Nav/nav.scss +42 -42
- package/components/NotificationBadge/notification-badge.css +56 -81
- package/components/NotificationBadge/notification-badge.scss +60 -97
- package/components/Page/page.css +80 -70
- package/components/Page/page.scss +80 -68
- package/components/Radio/radio.css +10 -13
- package/components/Radio/radio.scss +11 -17
- package/components/Switch/switch.css +1 -1
- package/components/Switch/switch.scss +1 -1
- package/components/Table/table-grid.css +8 -8
- package/components/Table/table-grid.scss +8 -8
- package/components/Table/table.css +92 -95
- package/components/Table/table.scss +94 -103
- package/components/Toolbar/toolbar.css +5 -11
- package/components/Toolbar/toolbar.scss +7 -19
- package/docs/components/Alert/examples/Alert.md +1 -1
- package/docs/components/Brand/examples/Brand.md +32 -75
- package/docs/components/Card/examples/Card.md +2 -110
- package/docs/components/Masthead/examples/masthead.md +7 -54
- package/docs/components/MenuToggle/examples/MenuToggle.md +42 -42
- package/docs/components/Nav/examples/Navigation.css +2 -1
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/Toolbar/examples/Toolbar.md +9 -11
- package/docs/demos/AboutModal/examples/AboutModal.md +83 -8
- package/docs/demos/Alert/examples/Alert.md +249 -24
- package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
- package/docs/demos/Banner/examples/Banner.md +168 -16
- package/docs/demos/CardView/examples/CardView.md +83 -8
- package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
- package/docs/demos/Dashboard/examples/Dashboard.md +83 -8
- package/docs/demos/DataList/examples/DataList.md +332 -32
- package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
- package/docs/demos/Drawer/examples/Drawer.md +415 -40
- package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
- package/docs/demos/Masthead/examples/Masthead.md +742 -67
- package/docs/demos/Modal/examples/Modal.md +498 -48
- package/docs/demos/Nav/examples/Nav.md +664 -64
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +415 -40
- package/docs/demos/Page/examples/Page.md +747 -72
- package/docs/demos/Page/examples/Penta.md +746 -0
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +581 -56
- package/docs/demos/Skeleton/examples/Skeleton.md +83 -8
- package/docs/demos/Table/examples/Table.md +1245 -120
- package/docs/demos/Tabs/examples/Tabs.md +498 -48
- package/docs/demos/Toolbar/examples/Toolbar.md +166 -16
- package/docs/demos/Wizard/examples/Wizard.md +747 -72
- package/package.json +4 -3
- package/patternfly-base-no-globals-theme-dark-unversioned.css +860 -0
- package/patternfly-base-no-globals.css +860 -0
- package/patternfly-base-theme-dark-unversioned.css +872 -13
- package/patternfly-base.css +872 -13
- package/patternfly-no-globals.css +1609 -897
- package/patternfly-theme-dark-unversioned.css +1621 -910
- package/patternfly.css +1621 -910
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +0 -32
- package/assets/images/pf-c-brand__logo-on-md-white.svg +0 -42
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +0 -17
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +0 -39
- package/assets/images/pf_logo_white.hbs +0 -35
- package/assets/images/pf_logo_white.svg +0 -38
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/docs/components/Brand/examples/Brand.css +0 -12
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -5,19 +5,19 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
5
5
|
// stylelint-enable
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--#{$page}--BackgroundColor: var(
|
|
9
|
-
--#{$page}--inset: var(
|
|
10
|
-
--#{$page}--xl--inset: var(
|
|
8
|
+
--#{$page}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
9
|
+
--#{$page}--inset: var(--pf-t--global--spacer--md);
|
|
10
|
+
--#{$page}--xl--inset: var(--pf-t--global--spacer--xl);
|
|
11
11
|
|
|
12
12
|
// Header
|
|
13
|
-
--#{$page}__header--BackgroundColor: var(
|
|
13
|
+
--#{$page}__header--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
14
14
|
--#{$page}__header--ZIndex: var(--#{$pf-global}--ZIndex--md);
|
|
15
15
|
--#{$page}__header--MinHeight: #{pf-size-prem(76px)}; // fixed height for header to ensure consistency across screen sizes.
|
|
16
16
|
|
|
17
17
|
// Header brand
|
|
18
|
-
--#{$page}__header-brand--PaddingLeft: var(
|
|
19
|
-
--#{$page}__header-brand--xl--PaddingRight: var(
|
|
20
|
-
--#{$page}__header-brand--xl--PaddingLeft: var(
|
|
18
|
+
--#{$page}__header-brand--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
19
|
+
--#{$page}__header-brand--xl--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
20
|
+
--#{$page}__header-brand--xl--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
21
21
|
|
|
22
22
|
@media (min-width: $pf-v5-global--breakpoint--xl) {
|
|
23
23
|
--#{$page}__header-brand--PaddingLeft: var(--#{$page}__header-brand--xl--PaddingLeft);
|
|
@@ -25,22 +25,22 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
// Toggle
|
|
28
|
-
--#{$page}__header-sidebar-toggle__c-button--PaddingTop: var(
|
|
29
|
-
--#{$page}__header-sidebar-toggle__c-button--PaddingRight: var(
|
|
30
|
-
--#{$page}__header-sidebar-toggle__c-button--PaddingBottom: var(
|
|
31
|
-
--#{$page}__header-sidebar-toggle__c-button--PaddingLeft: var(
|
|
32
|
-
--#{$page}__header-sidebar-toggle__c-button--MarginRight: var(
|
|
28
|
+
--#{$page}__header-sidebar-toggle__c-button--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
29
|
+
--#{$page}__header-sidebar-toggle__c-button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
30
|
+
--#{$page}__header-sidebar-toggle__c-button--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
31
|
+
--#{$page}__header-sidebar-toggle__c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
32
|
+
--#{$page}__header-sidebar-toggle__c-button--MarginRight: var(--pf-t--global--spacer--md);
|
|
33
33
|
--#{$page}__header-sidebar-toggle__c-button--MarginLeft: calc(var(--#{$page}__header-sidebar-toggle__c-button--PaddingLeft) * -1);
|
|
34
|
-
--#{$page}__header-sidebar-toggle__c-button--FontSize: var(
|
|
34
|
+
--#{$page}__header-sidebar-toggle__c-button--FontSize: var(--pf-t--global--icon--size--lg);
|
|
35
35
|
|
|
36
36
|
// Header brand link
|
|
37
37
|
--#{$page}__header-brand-link--c-brand--MaxHeight: #{pf-size-prem(60px)};
|
|
38
38
|
|
|
39
39
|
// Header nav
|
|
40
|
-
--#{$page}__header-nav--BackgroundColor: var(
|
|
40
|
+
--#{$page}__header-nav--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
41
41
|
--#{$page}__header-nav--xl--BackgroundColor: transparent;
|
|
42
|
-
--#{$page}__header-nav--xl--PaddingRight: var(
|
|
43
|
-
--#{$page}__header-nav--xl--PaddingLeft: var(
|
|
42
|
+
--#{$page}__header-nav--xl--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
43
|
+
--#{$page}__header-nav--xl--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
44
44
|
|
|
45
45
|
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
46
46
|
--#{$page}__header-nav--BackgroundColor: var(--#{$page}__header-nav--xl--BackgroundColor);
|
|
@@ -49,10 +49,10 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
// Header tools
|
|
52
|
-
--#{$page}__header-tools--MarginRight: var(
|
|
53
|
-
--#{$page}__header-tools--xl--MarginRight: var(
|
|
54
|
-
--#{$page}__header-tools--c-avatar--MarginLeft: var(
|
|
55
|
-
--#{$page}__header-tools-group--MarginLeft: var(
|
|
52
|
+
--#{$page}__header-tools--MarginRight: var(--pf-t--global--spacer--md);
|
|
53
|
+
--#{$page}__header-tools--xl--MarginRight: var(--pf-t--global--spacer--lg);
|
|
54
|
+
--#{$page}__header-tools--c-avatar--MarginLeft: var(--pf-t--global--spacer--md);
|
|
55
|
+
--#{$page}__header-tools-group--MarginLeft: var(--pf-t--global--spacer--xl);
|
|
56
56
|
--#{$page}__header-tools-group--Display: flex;
|
|
57
57
|
--#{$page}__header-tools-item--Display: block;
|
|
58
58
|
|
|
@@ -77,17 +77,27 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
77
77
|
// Sidebar
|
|
78
78
|
--#{$page}__sidebar--ZIndex: var(--#{$pf-global}--ZIndex--sm);
|
|
79
79
|
--#{$page}__sidebar--Width: #{pf-size-prem(290px)};
|
|
80
|
-
--#{$page}__sidebar--BackgroundColor: var(
|
|
80
|
+
--#{$page}__sidebar--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
81
81
|
--#{$page}__sidebar--m-light--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-100);
|
|
82
82
|
--#{$page}__sidebar--m-light--BorderRightWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
83
83
|
--#{$page}__sidebar--m-light--BorderRightColor: var(--#{$pf-global}--BorderColor--100);
|
|
84
|
-
--#{$page}__sidebar--BoxShadow:
|
|
84
|
+
--#{$page}__sidebar--BoxShadow: none;
|
|
85
85
|
--#{$page}__sidebar--Transition: var(--#{$pf-global}--Transition);
|
|
86
86
|
--#{$page}__sidebar--TranslateX: -100%;
|
|
87
87
|
--#{$page}__sidebar--TranslateZ: 0;
|
|
88
88
|
--#{$page}__sidebar--m-expanded--TranslateX: 0;
|
|
89
89
|
--#{$page}__sidebar--xl--TranslateX: 0;
|
|
90
90
|
|
|
91
|
+
// Sidebar header
|
|
92
|
+
--#{$page}__sidebar-header--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
|
|
93
|
+
--#{$page}__sidebar-header--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
94
|
+
--#{$page}__sidebar-header--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
95
|
+
--#{$page}__sidebar-header--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
96
|
+
--#{$page}__sidebar-title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
97
|
+
--#{$page}__sidebar-title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
98
|
+
--#{$page}__sidebar-title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
99
|
+
--#{$page}__sidebar-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
100
|
+
|
|
91
101
|
// Sidebar body
|
|
92
102
|
--#{$page}__sidebar-body--PaddingRight: 0;
|
|
93
103
|
--#{$page}__sidebar-body--PaddingLeft: 0;
|
|
@@ -105,22 +115,19 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
105
115
|
--#{$page}__main--ZIndex: var(--#{$pf-global}--ZIndex--xs);
|
|
106
116
|
|
|
107
117
|
// Main section
|
|
108
|
-
--#{$page}__main-section--
|
|
109
|
-
--#{$page}__main-section--
|
|
110
|
-
--#{$page}__main-section--
|
|
111
|
-
--#{$page}__main-section--
|
|
112
|
-
--#{$page}__main-section--
|
|
113
|
-
--#{$page}__main-section--
|
|
114
|
-
--#{$page}__main-section--
|
|
115
|
-
--#{$page}__main-section--
|
|
116
|
-
--#{$page}__main-
|
|
117
|
-
--#{$page}__main-section--BackgroundColor:
|
|
118
|
-
--#{$page}__main-section--m-
|
|
119
|
-
--#{$page}__main-
|
|
120
|
-
--#{$page}__main-
|
|
121
|
-
--#{$page}__main-section--m-dark-200--BackgroundColor: var(--#{$pf-global}--BackgroundColor--dark-transparent-200);
|
|
122
|
-
--#{$page}__main-breadcrumb--page__main-tabs--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
123
|
-
--#{$page}__main-nav--page__main-tabs--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
118
|
+
--#{$page}__main-section--MarginTop: var(--pf-t--global--spacer--md);
|
|
119
|
+
--#{$page}__main-section--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
120
|
+
--#{$page}__main-section--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
121
|
+
--#{$page}__main-section--PaddingBottom: 0;
|
|
122
|
+
--#{$page}__main-section--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
123
|
+
--#{$page}__main-breadcrumb--main-section--PaddingTop: var(--pf-t--global--spacer--md);
|
|
124
|
+
--#{$page}__main-section--BackgroundColor: transparent;
|
|
125
|
+
--#{$page}__main-section--m-light--BackgroundColor: transparent;
|
|
126
|
+
--#{$page}__main-section--m-light-100--BackgroundColor: transparent;
|
|
127
|
+
--#{$page}__main-section--m-dark-100--BackgroundColor: transparent;
|
|
128
|
+
--#{$page}__main-section--m-dark-200--BackgroundColor: transparent;
|
|
129
|
+
--#{$page}__main-breadcrumb--page__main-tabs--PaddingTop: var(--pf-t--global--spacer--md);
|
|
130
|
+
--#{$page}__main-nav--page__main-tabs--PaddingTop: var(--pf-t--global--spacer--md);
|
|
124
131
|
|
|
125
132
|
// Limit width
|
|
126
133
|
--#{$page}--section--m-limit-width--MaxWidth: calc(#{pf-size-prem(2000px)} - var(--#{$page}__sidebar--Width));
|
|
@@ -137,13 +144,6 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
137
144
|
--#{$page}--section--m-shadow-top--BoxShadow: var(--#{$pf-global}--BoxShadow--sm-top);
|
|
138
145
|
--#{$page}--section--m-shadow-top--ZIndex: var(--#{$pf-global}--ZIndex--xs);
|
|
139
146
|
|
|
140
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
141
|
-
--#{$page}__main-section--PaddingTop: var(--#{$page}__main-section--xl--PaddingTop);
|
|
142
|
-
--#{$page}__main-section--PaddingRight: var(--#{$page}__main-section--xl--PaddingRight);
|
|
143
|
-
--#{$page}__main-section--PaddingBottom: var(--#{$page}__main-section--xl--PaddingBottom);
|
|
144
|
-
--#{$page}__main-section--PaddingLeft: var(--#{$page}__main-section--xl--PaddingLeft);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
147
|
// Main section horizontal nav
|
|
148
148
|
--#{$page}__main-nav--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-100);
|
|
149
149
|
--#{$page}__main-nav--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
@@ -153,11 +153,6 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
153
153
|
--#{$page}__main-nav--xl--PaddingRight: var(--#{$pf-global}--spacer--sm);
|
|
154
154
|
--#{$page}__main-nav--xl--PaddingLeft: var(--#{$pf-global}--spacer--sm);
|
|
155
155
|
|
|
156
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
157
|
-
--#{$page}__main-nav--PaddingRight: var(--#{$page}__main-nav--xl--PaddingRight);
|
|
158
|
-
--#{$page}__main-nav--PaddingLeft: var(--#{$page}__main-nav--xl--PaddingLeft);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
156
|
// Main section horizontal subnav
|
|
162
157
|
--#{$page}__main-subnav--BackgroundColor: var(--#{$pf-global}--BackgroundColor--dark-300);
|
|
163
158
|
--#{$page}__main-subnav--BorderTopWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
@@ -169,34 +164,22 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
169
164
|
|
|
170
165
|
|
|
171
166
|
// Main section breadcrumb
|
|
172
|
-
--#{$page}__main-breadcrumb--
|
|
173
|
-
--#{$page}__main-breadcrumb--
|
|
174
|
-
--#{$page}__main-breadcrumb--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
167
|
+
--#{$page}__main-breadcrumb--PaddingTop: var(--pf-t--global--spacer--md);
|
|
168
|
+
--#{$page}__main-breadcrumb--PaddingRight: var(--pf-t--global--spacer--md);
|
|
175
169
|
--#{$page}__main-breadcrumb--PaddingBottom: 0;
|
|
176
|
-
--#{$page}__main-breadcrumb--PaddingLeft: var(
|
|
177
|
-
--#{$page}__main-breadcrumb--m-sticky-top--PaddingBottom: var(--#{$pf-global}--spacer--md);
|
|
178
|
-
--#{$page}__main-breadcrumb--xl--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
179
|
-
--#{$page}__main-breadcrumb--xl--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
170
|
+
--#{$page}__main-breadcrumb--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
180
171
|
|
|
181
172
|
// Main section tabs
|
|
182
173
|
--#{$page}__main-tabs--PaddingTop: 0;
|
|
183
174
|
--#{$page}__main-tabs--PaddingRight: 0;
|
|
184
175
|
--#{$page}__main-tabs--PaddingBottom: 0;
|
|
185
176
|
--#{$page}__main-tabs--PaddingLeft: 0;
|
|
186
|
-
--#{$page}__main-tabs--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-100);
|
|
187
|
-
|
|
188
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
189
|
-
--#{$page}__main-breadcrumb--PaddingRight: var(--#{$page}__main-breadcrumb--xl--PaddingRight);
|
|
190
|
-
--#{$page}__main-breadcrumb--PaddingLeft: var(--#{$page}__main-breadcrumb--xl--PaddingLeft);
|
|
191
|
-
}
|
|
192
177
|
|
|
193
178
|
// Wizard main section
|
|
194
179
|
--#{$page}__main-wizard--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-100);
|
|
195
180
|
--#{$page}__main-wizard--BorderTopColor: var(--#{$pf-global}--BorderColor--100);
|
|
196
181
|
--#{$page}__main-wizard--BorderTopWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
197
182
|
--#{$page}__main-wizard--m-light-200--BackgroundColor: var(--#{$pf-global}--BackgroundColor--200);
|
|
198
|
-
|
|
199
|
-
// URL.com/guidelines#layout
|
|
200
183
|
}
|
|
201
184
|
|
|
202
185
|
.#{$page} {
|
|
@@ -390,8 +373,6 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
390
373
|
|
|
391
374
|
// Sidebar
|
|
392
375
|
.#{$page}__sidebar {
|
|
393
|
-
@include pf-v5-t-dark;
|
|
394
|
-
|
|
395
376
|
z-index: var(--#{$page}__sidebar--ZIndex);
|
|
396
377
|
display: flex;
|
|
397
378
|
flex-direction: column;
|
|
@@ -399,6 +380,10 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
399
380
|
grid-row-start: 2;
|
|
400
381
|
grid-column-start: 1;
|
|
401
382
|
width: var(--#{$page}__sidebar--Width);
|
|
383
|
+
padding-block-start: 0;
|
|
384
|
+
padding-block-end: var(--pf-t--global--spacer--lg);
|
|
385
|
+
padding-inline-start: var(--pf-t--global--spacer--lg);
|
|
386
|
+
margin-inline-end: var(--#{$page}__sidebar--MarginRight); // TODO need variable
|
|
402
387
|
overflow-x: hidden;
|
|
403
388
|
overflow-y: auto;
|
|
404
389
|
-webkit-overflow-scrolling: touch;
|
|
@@ -439,6 +424,19 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
439
424
|
}
|
|
440
425
|
}
|
|
441
426
|
|
|
427
|
+
.#{$page}__sidebar-header {
|
|
428
|
+
padding-block-start: var(--#{$page}__sidebar-header--PaddingTop);
|
|
429
|
+
padding-block-end: var(--#{$page}__sidebar-header--PaddingBottom);
|
|
430
|
+
border-block-end: var(--#{$page}__sidebar-header--BorderBottomWidth) solid var(--#{$page}__sidebar-header--BorderBottomColor);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.#{$page}__sidebar-title {
|
|
434
|
+
font-family: var(--#{$page}__sidebar-title--FontFamily);
|
|
435
|
+
font-size: var(--#{$page}__sidebar-title--FontSize);
|
|
436
|
+
font-weight: var(--#{$page}__sidebar-title--FontWeight);
|
|
437
|
+
line-height: var(--#{$page}__sidebar-title--LineHeight);
|
|
438
|
+
}
|
|
439
|
+
|
|
442
440
|
.#{$page}__sidebar-body {
|
|
443
441
|
padding-inline-start: var(--#{$page}__sidebar-body--PaddingLeft);
|
|
444
442
|
padding-inline-end: var(--#{$page}__sidebar-body--PaddingRight);
|
|
@@ -561,6 +559,19 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
561
559
|
}
|
|
562
560
|
|
|
563
561
|
// Main & Drawer
|
|
562
|
+
.#{$page}__main {
|
|
563
|
+
margin-block-start: 0;
|
|
564
|
+
margin-inline-start: var(--pf-t--global--spacer--lg);
|
|
565
|
+
margin-inline-end: var(--pf-t--global--spacer--lg);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.#{$page}__main-list {
|
|
569
|
+
padding-block-end: var(--pf-t--global--spacer--lg);
|
|
570
|
+
margin-block-end: var(--pf-t--global--spacer--lg);
|
|
571
|
+
background-color: var(--pf-t--global--background--color--primary--default);
|
|
572
|
+
border-radius: var(--pf-t--global--border--radius--large);
|
|
573
|
+
}
|
|
574
|
+
|
|
564
575
|
.#{$page}__main,
|
|
565
576
|
.#{$page}__drawer {
|
|
566
577
|
z-index: var(--#{$page}__main--ZIndex);
|
|
@@ -576,7 +587,8 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
576
587
|
|
|
577
588
|
.#{$page}__main,
|
|
578
589
|
.#{$page}__main-drawer,
|
|
579
|
-
.#{$page}__main-group
|
|
590
|
+
.#{$page}__main-group,
|
|
591
|
+
.#{$page}__main-list {
|
|
580
592
|
display: flex;
|
|
581
593
|
flex-direction: column;
|
|
582
594
|
}
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
--pf-v5-c-radio__label--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
|
6
6
|
--pf-v5-c-radio__label--FontSize: var(--pf-v5-global--FontSize--md);
|
|
7
7
|
--pf-v5-c-radio__label--LineHeight: var(--pf-v5-global--LineHeight--md);
|
|
8
|
-
--pf-v5-c-radio__input--TranslateY:
|
|
9
|
-
--pf-v5-c-radio__input--TranslateY--moz: var(--pf-v5-c-radio__input--TranslateY);
|
|
8
|
+
--pf-v5-c-radio__input--TranslateY--moz: 5px;
|
|
10
9
|
--pf-v5-c-radio__input--first-child--MarginLeft: 0.0625rem;
|
|
11
10
|
--pf-v5-c-radio__input--last-child--MarginRight: 0.0625rem;
|
|
12
11
|
--pf-v5-c-radio__description--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
@@ -19,14 +18,19 @@
|
|
|
19
18
|
}
|
|
20
19
|
.pf-v5-c-radio.pf-m-standalone {
|
|
21
20
|
--pf-v5-c-radio--GridGap: 0;
|
|
22
|
-
--pf-v5-c-radio__input--TranslateY:
|
|
23
|
-
|
|
21
|
+
--pf-v5-c-radio__input--TranslateY--moz: 0;
|
|
22
|
+
width: auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.pf-v5-c-radio__label {
|
|
26
|
+
font-size: var(--pf-v5-c-radio__label--FontSize);
|
|
27
|
+
font-weight: var(--pf-v5-c-radio__label--FontWeight);
|
|
28
|
+
line-height: var(--pf-v5-c-radio__label--LineHeight);
|
|
29
|
+
color: var(--pf-v5-c-radio__label--Color);
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.pf-v5-c-radio__input {
|
|
27
|
-
align-self: start;
|
|
28
33
|
-moz-transform: translateY(var(--pf-v5-c-radio__input--TranslateY--moz));
|
|
29
|
-
transform: translateY(var(--pf-v5-c-radio__input--TranslateY));
|
|
30
34
|
}
|
|
31
35
|
.pf-v5-c-radio__input:first-child {
|
|
32
36
|
margin-inline-start: var(--pf-v5-c-radio__input--first-child--MarginLeft);
|
|
@@ -35,13 +39,6 @@
|
|
|
35
39
|
margin-inline-end: var(--pf-v5-c-radio__input--last-child--MarginRight);
|
|
36
40
|
}
|
|
37
41
|
|
|
38
|
-
.pf-v5-c-radio__label {
|
|
39
|
-
font-size: var(--pf-v5-c-radio__label--FontSize);
|
|
40
|
-
font-weight: var(--pf-v5-c-radio__label--FontWeight);
|
|
41
|
-
line-height: var(--pf-v5-c-radio__label--LineHeight);
|
|
42
|
-
color: var(--pf-v5-c-radio__label--Color);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
42
|
.pf-v5-c-radio__description {
|
|
46
43
|
grid-column: 2;
|
|
47
44
|
font-size: var(--pf-v5-c-radio__description--FontSize);
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
--#{$radio}__label--FontWeight: var(--#{$pf-global}--FontWeight--normal);
|
|
8
8
|
--#{$radio}__label--FontSize: var(--#{$pf-global}--FontSize--md);
|
|
9
9
|
--#{$radio}__label--LineHeight: var(--#{$pf-global}--LineHeight--md);
|
|
10
|
-
--#{$radio}__input--TranslateY:
|
|
11
|
-
--#{$radio}__input--TranslateY--moz: var(--#{$radio}__input--TranslateY); // remove at breaking change
|
|
10
|
+
--#{$radio}__input--TranslateY--moz: 5px;
|
|
12
11
|
--#{$radio}__input--first-child--MarginLeft: #{pf-size-prem(1px)};
|
|
13
12
|
--#{$radio}__input--last-child--MarginRight: #{pf-size-prem(1px)};
|
|
14
13
|
--#{$radio}__description--FontSize: var(--#{$pf-global}--FontSize--sm);
|
|
@@ -22,22 +21,24 @@
|
|
|
22
21
|
|
|
23
22
|
&.pf-m-standalone {
|
|
24
23
|
--#{$radio}--GridGap: 0;
|
|
25
|
-
--#{$radio}__input--TranslateY:
|
|
24
|
+
--#{$radio}__input--TranslateY--moz: 0;
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
width: auto;
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
|
|
31
|
-
.#{$radio}
|
|
32
|
-
|
|
30
|
+
.#{$radio}__label {
|
|
31
|
+
font-size: var(--#{$radio}__label--FontSize);
|
|
32
|
+
font-weight: var(--#{$radio}__label--FontWeight);
|
|
33
|
+
line-height: var(--#{$radio}__label--LineHeight);
|
|
34
|
+
color: var(--#{$radio}__label--Color);
|
|
35
|
+
}
|
|
33
36
|
|
|
37
|
+
.#{$radio}__input {
|
|
34
38
|
// stylelint-disable property-no-vendor-prefix
|
|
35
|
-
-moz-transform: translateY(var(--#{$radio}__input--TranslateY--moz));
|
|
39
|
+
-moz-transform: translateY(var(--#{$radio}__input--TranslateY--moz));
|
|
36
40
|
// stylelint-enable
|
|
37
41
|
|
|
38
|
-
// find height of single label, divide by two, offset by 50% of own height
|
|
39
|
-
transform: translateY(var(--#{$radio}__input--TranslateY));
|
|
40
|
-
|
|
41
42
|
// fixes a chrome issue where the left edge is cut off in a container with overflow hidden
|
|
42
43
|
&:first-child {
|
|
43
44
|
margin-inline-start: var(--#{$radio}__input--first-child--MarginLeft);
|
|
@@ -49,13 +50,6 @@
|
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
.#{$radio}__label {
|
|
53
|
-
font-size: var(--#{$radio}__label--FontSize);
|
|
54
|
-
font-weight: var(--#{$radio}__label--FontWeight);
|
|
55
|
-
line-height: var(--#{$radio}__label--LineHeight);
|
|
56
|
-
color: var(--#{$radio}__label--Color);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
53
|
.#{$radio}__description {
|
|
60
54
|
grid-column: 2;
|
|
61
55
|
font-size: var(--#{$radio}__description--FontSize);
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
cursor: pointer;
|
|
57
57
|
opacity: 0;
|
|
58
58
|
}
|
|
59
|
-
.pf-v5-c-switch__input:focus
|
|
59
|
+
.pf-v5-c-switch__input:focus ~ .pf-v5-c-switch__toggle {
|
|
60
60
|
outline: var(--pf-v5-c-switch__input--focus__toggle--OutlineWidth) solid var(--pf-v5-c-switch__input--focus__toggle--OutlineColor);
|
|
61
61
|
outline-offset: var(--pf-v5-c-switch__input--focus__toggle--OutlineOffset);
|
|
62
62
|
}
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
cursor: pointer;
|
|
75
75
|
opacity: 0;
|
|
76
76
|
|
|
77
|
-
&:focus
|
|
77
|
+
&:focus ~ .#{$switch}__toggle {
|
|
78
78
|
outline: var(--#{$switch}__input--focus__toggle--OutlineWidth) solid var(--#{$switch}__input--focus__toggle--OutlineColor);
|
|
79
79
|
outline-offset: var(--#{$switch}__input--focus__toggle--OutlineOffset);
|
|
80
80
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
.pf-v5-c-table[class*=pf-m-grid] {
|
|
2
|
-
--pf-v5-c-table--responsive--BorderColor: var(--pf-
|
|
3
|
-
--pf-v5-c-table__tbody--responsive--border-width--base: var(--pf-
|
|
2
|
+
--pf-v5-c-table--responsive--BorderColor: var(--pf-t--global--border--color--default);
|
|
3
|
+
--pf-v5-c-table__tbody--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
4
4
|
--pf-v5-c-table__tbody--after--border-width--base: var(--pf-v5-global--BorderWidth--lg);
|
|
5
5
|
--pf-v5-c-table__tbody--after--BorderLeftWidth: 0;
|
|
6
|
-
--pf-v5-c-table__tbody--after--BorderColor: var(--pf-
|
|
7
|
-
--pf-v5-c-table__tr--responsive--border-width--base: var(--pf-
|
|
6
|
+
--pf-v5-c-table__tbody--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
7
|
+
--pf-v5-c-table__tr--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
8
8
|
--pf-v5-c-table__tr--responsive--last-child--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
|
|
9
9
|
--pf-v5-c-table__tr--responsive--GridColumnGap: var(--pf-v5-global--spacer--md);
|
|
10
|
-
--pf-v5-c-table__tr--responsive--MarginTop: var(--pf-
|
|
10
|
+
--pf-v5-c-table__tr--responsive--MarginTop: var(--pf-t--global--border--width--divider--default);
|
|
11
11
|
--pf-v5-c-table__tr--responsive--PaddingTop: var(--pf-v5-global--spacer--md);
|
|
12
12
|
--pf-v5-c-table__tr--responsive--PaddingRight: var(--pf-v5-global--spacer--lg);
|
|
13
13
|
--pf-v5-c-table__tr--responsive--xl--PaddingRight: var(--pf-v5-global--spacer--md);
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
--pf-v5-c-table__tbody--m-expanded--after__tr--BorderLeftWidth: var(--pf-v5-c-table__expandable-row--after--border-width--base);
|
|
24
24
|
--pf-v5-c-table__tbody--m-expanded--after__tr--BorderLeftColor: var(--pf-v5-global--active-color--400);
|
|
25
25
|
--pf-v5-c-table__tbody--m-selected--after__tr--BorderLeftWidth: var(--pf-v5-c-table__expandable-row--after--border-width--base);
|
|
26
|
-
--pf-v5-c-table__tbody--m-selected--after__tr--BorderLeftColor: var(--pf-
|
|
26
|
+
--pf-v5-c-table__tbody--m-selected--after__tr--BorderLeftColor: var(--pf-t--global--border--color--active);
|
|
27
27
|
--pf-v5-c-table--m-grid--cell--hidden-visible--Display: grid;
|
|
28
28
|
--pf-v5-c-table--m-grid--cell--PaddingTop: 0;
|
|
29
29
|
--pf-v5-c-table--m-grid--cell--PaddingRight: 0;
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
--pf-v5-c-table__expandable-row-content--responsive--PaddingLeft: var(--pf-v5-global--spacer--lg);
|
|
48
48
|
--pf-v5-c-table__expandable-row-content--responsive--xl--PaddingRight: var(--pf-v5-global--spacer--md);
|
|
49
49
|
--pf-v5-c-table__expandable-row-content--responsive--xl--PaddingLeft: var(--pf-v5-global--spacer--md);
|
|
50
|
-
--pf-v5-c-table__expandable-row-content--BackgroundColor: var(--pf-
|
|
51
|
-
--pf-v5-c-table__check--responsive--MarginLeft: var(--pf-
|
|
50
|
+
--pf-v5-c-table__expandable-row-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
51
|
+
--pf-v5-c-table__check--responsive--MarginLeft: var(--pf-t--global--border--width--divider--default);
|
|
52
52
|
--pf-v5-c-table__check--responsive--MarginTop: 0.875rem;
|
|
53
53
|
--pf-v5-c-table--m-grid__favorite--MarginTop: 0.5rem;
|
|
54
54
|
--pf-v5-c-table--m-grid__check--favorite--MarginLeft: var(--pf-v5-global--spacer--xl);
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
// ============================================================ //
|
|
39
39
|
|
|
40
40
|
// Table
|
|
41
|
-
--#{$table}--responsive--BorderColor: var(
|
|
41
|
+
--#{$table}--responsive--BorderColor: var(--pf-t--global--border--color--default);
|
|
42
42
|
|
|
43
43
|
// Body
|
|
44
|
-
--#{$table}__tbody--responsive--border-width--base: var(
|
|
44
|
+
--#{$table}__tbody--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
45
45
|
--#{$table}__tbody--after--border-width--base: var(--#{$pf-global}--BorderWidth--lg);
|
|
46
46
|
--#{$table}__tbody--after--BorderLeftWidth: 0;
|
|
47
|
-
--#{$table}__tbody--after--BorderColor: var(
|
|
47
|
+
--#{$table}__tbody--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
48
48
|
|
|
49
49
|
// Row
|
|
50
|
-
--#{$table}__tr--responsive--border-width--base: var(
|
|
50
|
+
--#{$table}__tr--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
51
51
|
--#{$table}__tr--responsive--last-child--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
52
52
|
--#{$table}__tr--responsive--GridColumnGap: var(--#{$pf-global}--spacer--md);
|
|
53
|
-
--#{$table}__tr--responsive--MarginTop: var(
|
|
53
|
+
--#{$table}__tr--responsive--MarginTop: var(--pf-t--global--border--width--divider--default);
|
|
54
54
|
--#{$table}__tr--responsive--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
55
55
|
--#{$table}__tr--responsive--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
56
56
|
--#{$table}__tr--responsive--xl--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
|
|
77
77
|
// selected
|
|
78
78
|
--#{$table}__tbody--m-selected--after__tr--BorderLeftWidth: var(--#{$table}__expandable-row--after--border-width--base);
|
|
79
|
-
--#{$table}__tbody--m-selected--after__tr--BorderLeftColor: var(
|
|
79
|
+
--#{$table}__tbody--m-selected--after__tr--BorderLeftColor: var(--pf-t--global--border--color--active);
|
|
80
80
|
|
|
81
81
|
// Cell display
|
|
82
82
|
--#{$table}--m-grid--cell--hidden-visible--Display: grid;
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
--#{$table}__expandable-row-content--responsive--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
111
111
|
--#{$table}__expandable-row-content--responsive--xl--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
112
112
|
--#{$table}__expandable-row-content--responsive--xl--PaddingLeft: var(--#{$pf-global}--spacer--md);
|
|
113
|
-
--#{$table}__expandable-row-content--BackgroundColor: var(
|
|
113
|
+
--#{$table}__expandable-row-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
114
114
|
|
|
115
115
|
@media screen and (max-width: $pf-v5-global--breakpoint--xl) {
|
|
116
116
|
--#{$table}__expandable-row-content--responsive--PaddingRight: var(--#{$table}__expandable-row-content--responsive--xl--PaddingRight);
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
// Check
|
|
121
|
-
--#{$table}__check--responsive--MarginLeft: var(
|
|
121
|
+
--#{$table}__check--responsive--MarginLeft: var(--pf-t--global--border--width--divider--default);
|
|
122
122
|
--#{$table}__check--responsive--MarginTop: #{pf-size-prem(14px)};
|
|
123
123
|
|
|
124
124
|
// Favorite
|