@wordpress/boot 0.3.0 → 0.3.1-next.738bb1424.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-module/components/app/index.js +3 -3
- package/build-module/components/app/router.js +68 -67
- package/build-module/components/app/router.js.map +2 -2
- package/build-module/components/app/use-route-title.js +50 -0
- package/build-module/components/app/use-route-title.js.map +7 -0
- package/build-module/components/canvas/back-button.js +8 -4
- package/build-module/components/canvas/back-button.js.map +2 -2
- package/build-module/components/canvas/index.js +1 -1
- package/build-module/components/canvas-renderer/index.js +35 -0
- package/build-module/components/canvas-renderer/index.js.map +7 -0
- package/build-module/components/navigation/drilldown-item/index.js +1 -1
- package/build-module/components/navigation/dropdown-item/index.js +3 -3
- package/build-module/components/navigation/index.js +6 -6
- package/build-module/components/navigation/navigation-item/index.js +4 -4
- package/build-module/components/navigation/navigation-item/index.js.map +1 -1
- package/build-module/components/navigation/router-link-item.js +1 -1
- package/build-module/components/navigation/use-sidebar-parent.js +3 -3
- package/build-module/components/root/index.js +276 -21
- package/build-module/components/root/index.js.map +2 -2
- package/build-module/components/root/single-page.js +181 -19
- package/build-module/components/root/single-page.js.map +2 -2
- package/build-module/components/save-button/index.js +1 -1
- package/build-module/components/save-panel/index.js +1 -1
- package/build-module/components/sidebar/index.js +3 -3
- package/build-module/components/site-hub/index.js +30 -12
- package/build-module/components/site-hub/index.js.map +2 -2
- package/build-module/components/site-icon/index.js +2 -2
- package/build-module/components/site-icon/index.js.map +1 -1
- package/build-module/components/site-icon-link/index.js +5 -5
- package/build-module/components/site-icon-link/index.js.map +1 -1
- package/build-module/components/user-theme-provider/index.js +33 -0
- package/build-module/components/user-theme-provider/index.js.map +7 -0
- package/build-module/index.js +298 -75
- package/build-module/index.js.map +4 -4
- package/build-module/store/index.js +3 -3
- package/build-style/style-rtl.css +95 -75
- package/build-style/style.css +95 -75
- package/build-style/view-transitions-rtl.css +199 -0
- package/build-style/view-transitions.css +199 -0
- package/build-types/components/app/router.d.ts.map +1 -1
- package/build-types/components/app/use-route-title.d.ts +8 -0
- package/build-types/components/app/use-route-title.d.ts.map +1 -0
- package/build-types/components/canvas-renderer/index.d.ts +27 -0
- package/build-types/components/canvas-renderer/index.d.ts.map +1 -0
- package/build-types/components/root/index.d.ts.map +1 -1
- package/build-types/components/root/single-page.d.ts.map +1 -1
- package/build-types/components/site-hub/index.d.ts.map +1 -1
- package/build-types/components/user-theme-provider/index.d.ts +6 -0
- package/build-types/components/user-theme-provider/index.d.ts.map +1 -0
- package/build-types/index.d.ts +1 -0
- package/build-types/index.d.ts.map +1 -1
- package/build-types/store/index.d.ts +1 -1
- package/build-types/store/index.d.ts.map +1 -1
- package/build-types/store/types.d.ts +64 -7
- package/build-types/store/types.d.ts.map +1 -1
- package/package.json +30 -21
- package/src/components/app/router.tsx +93 -111
- package/src/components/app/use-route-title.ts +80 -0
- package/src/components/canvas/back-button.scss +7 -2
- package/src/components/canvas-renderer/index.tsx +72 -0
- package/src/components/navigation/navigation-item/style.scss +1 -1
- package/src/components/root/index.tsx +154 -27
- package/src/components/root/single-page.tsx +24 -10
- package/src/components/root/style.scss +123 -4
- package/src/components/site-hub/index.tsx +6 -1
- package/src/components/site-hub/style.scss +23 -8
- package/src/components/site-icon/style.scss +1 -1
- package/src/components/site-icon-link/style.scss +2 -2
- package/src/components/user-theme-provider/index.tsx +35 -0
- package/src/components/user-theme-provider/test/index.test.ts +11 -0
- package/src/index.tsx +1 -0
- package/src/store/types.ts +71 -7
- package/src/style.scss +19 -33
- package/src/view-transitions.scss +239 -0
- package/tsconfig.json +0 -26
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -3,20 +3,33 @@
|
|
|
3
3
|
* Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
|
|
4
4
|
* ------------------------------------------- */
|
|
5
5
|
:root {
|
|
6
|
-
--wpds-border-radius-
|
|
7
|
-
--wpds-border-radius-
|
|
8
|
-
--wpds-border-radius-
|
|
9
|
-
--wpds-border-radius-
|
|
10
|
-
--wpds-border-width-focus: 2px; /* Border width for focus ring */
|
|
6
|
+
--wpds-border-radius-surface-lg: 8px; /* Large radius for surfaces */
|
|
7
|
+
--wpds-border-radius-surface-md: 4px; /* Medium radius for surfaces */
|
|
8
|
+
--wpds-border-radius-surface-sm: 2px; /* Small radius for surfaces */
|
|
9
|
+
--wpds-border-radius-surface-xs: 1px; /* Extra small radius for surfaces */
|
|
10
|
+
--wpds-border-width-interactive-focus: 2px; /* Border width for focus ring */
|
|
11
|
+
--wpds-border-width-surface-lg: 8px; /* Large width for surfaces */
|
|
12
|
+
--wpds-border-width-surface-md: 4px; /* Medium width for surfaces */
|
|
13
|
+
--wpds-border-width-surface-sm: 2px; /* Small width for surfaces */
|
|
14
|
+
--wpds-border-width-surface-xs: 1px; /* Extra small width for surfaces */
|
|
11
15
|
--wpds-color-bg-interactive-brand: #00000000; /* Background color for interactive elements with brand tone and normal emphasis. */
|
|
12
|
-
--wpds-color-bg-interactive-brand-active: #
|
|
16
|
+
--wpds-color-bg-interactive-brand-active: #f6f8fd; /* Background color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
13
17
|
--wpds-color-bg-interactive-brand-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
14
18
|
--wpds-color-bg-interactive-brand-strong: #3858e9; /* Background color for interactive elements with brand tone and strong emphasis. */
|
|
15
19
|
--wpds-color-bg-interactive-brand-strong-active: #2e49d9; /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
16
20
|
--wpds-color-bg-interactive-brand-strong-disabled: #d2d2d2; /* Background color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
17
21
|
--wpds-color-bg-interactive-brand-weak: #00000000; /* Background color for interactive elements with brand tone and weak emphasis. */
|
|
18
|
-
--wpds-color-bg-interactive-brand-weak-active: #
|
|
22
|
+
--wpds-color-bg-interactive-brand-weak-active: #e6eaf4; /* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
|
|
19
23
|
--wpds-color-bg-interactive-brand-weak-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
|
|
24
|
+
--wpds-color-bg-interactive-error: #00000000; /* Background color for interactive elements with error tone and normal emphasis. */
|
|
25
|
+
--wpds-color-bg-interactive-error-active: #fff6f4; /* Background color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
26
|
+
--wpds-color-bg-interactive-error-disabled: #e2e2e2; /* Background color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
27
|
+
--wpds-color-bg-interactive-error-strong: #cc1818; /* Background color for interactive elements with error tone and strong emphasis. */
|
|
28
|
+
--wpds-color-bg-interactive-error-strong-active: #b90000; /* Background color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
29
|
+
--wpds-color-bg-interactive-error-strong-disabled: #d2d2d2; /* Background color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
30
|
+
--wpds-color-bg-interactive-error-weak: #00000000; /* Background color for interactive elements with error tone and weak emphasis. */
|
|
31
|
+
--wpds-color-bg-interactive-error-weak-active: #f6e6e3; /* Background color for interactive elements with error tone and weak emphasis that are hovered, focused, or active. */
|
|
32
|
+
--wpds-color-bg-interactive-error-weak-disabled: #e2e2e2; /* Background color for interactive elements with error tone and weak emphasis, in their disabled state. */
|
|
20
33
|
--wpds-color-bg-interactive-neutral: #00000000; /* Background color for interactive elements with neutral tone and normal emphasis. */
|
|
21
34
|
--wpds-color-bg-interactive-neutral-active: #eaeaea; /* Background color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
22
35
|
--wpds-color-bg-interactive-neutral-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
|
|
@@ -27,19 +40,19 @@
|
|
|
27
40
|
--wpds-color-bg-interactive-neutral-weak-active: #eaeaea; /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
|
|
28
41
|
--wpds-color-bg-interactive-neutral-weak-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
|
|
29
42
|
--wpds-color-bg-surface-brand: #ecf0f9; /* Background color for surfaces with brand tone and normal emphasis. */
|
|
30
|
-
--wpds-color-bg-surface-caution: #
|
|
31
|
-
--wpds-color-bg-surface-caution-weak: #
|
|
32
|
-
--wpds-color-bg-surface-error: #
|
|
33
|
-
--wpds-color-bg-surface-error-weak: #
|
|
34
|
-
--wpds-color-bg-surface-info: #
|
|
35
|
-
--wpds-color-bg-surface-info-weak: #
|
|
43
|
+
--wpds-color-bg-surface-caution: #fee994; /* Background color for surfaces with caution tone and normal emphasis. */
|
|
44
|
+
--wpds-color-bg-surface-caution-weak: #fff9c9; /* Background color for surfaces with caution tone and weak emphasis. */
|
|
45
|
+
--wpds-color-bg-surface-error: #f6e6e3; /* Background color for surfaces with error tone and normal emphasis. */
|
|
46
|
+
--wpds-color-bg-surface-error-weak: #fff6f4; /* Background color for surfaces with error tone and weak emphasis. */
|
|
47
|
+
--wpds-color-bg-surface-info: #deebfa; /* Background color for surfaces with info tone and normal emphasis. */
|
|
48
|
+
--wpds-color-bg-surface-info-weak: #f3f9ff; /* Background color for surfaces with info tone and weak emphasis. */
|
|
36
49
|
--wpds-color-bg-surface-neutral: #f8f8f8; /* Background color for surfaces with normal emphasis. */
|
|
37
50
|
--wpds-color-bg-surface-neutral-strong: #ffffff; /* Background color for surfaces with strong emphasis. */
|
|
38
51
|
--wpds-color-bg-surface-neutral-weak: #f0f0f0; /* Background color for surfaces with weak emphasis. */
|
|
39
|
-
--wpds-color-bg-surface-success: #
|
|
40
|
-
--wpds-color-bg-surface-success-weak: #
|
|
41
|
-
--wpds-color-bg-surface-warning: #
|
|
42
|
-
--wpds-color-bg-surface-warning-weak: #
|
|
52
|
+
--wpds-color-bg-surface-success: #c5f7cc; /* Background color for surfaces with success tone and normal emphasis. */
|
|
53
|
+
--wpds-color-bg-surface-success-weak: #eaffed; /* Background color for surfaces with success tone and weak emphasis. */
|
|
54
|
+
--wpds-color-bg-surface-warning: #fde6bd; /* Background color for surfaces with warning tone and normal emphasis. */
|
|
55
|
+
--wpds-color-bg-surface-warning-weak: #fff7e0; /* Background color for surfaces with warning tone and weak emphasis. */
|
|
43
56
|
--wpds-color-bg-thumb-brand: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
|
|
44
57
|
--wpds-color-bg-thumb-brand-active: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
|
|
45
58
|
--wpds-color-bg-thumb-brand-disabled: #d8d8d8; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track), in their disabled state. */
|
|
@@ -48,7 +61,7 @@
|
|
|
48
61
|
--wpds-color-bg-track-neutral: #d8d8d8; /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
|
|
49
62
|
--wpds-color-bg-track-neutral-weak: #e0e0e0; /* Background color for tracks with a neutral tone and weak emphasis (eg. scrollbar track). */
|
|
50
63
|
--wpds-color-fg-content-caution: #281d00; /* Foreground color for content like text with caution tone and normal emphasis. */
|
|
51
|
-
--wpds-color-fg-content-caution-weak: #
|
|
64
|
+
--wpds-color-fg-content-caution-weak: #826a00; /* Foreground color for content like text with caution tone and weak emphasis. */
|
|
52
65
|
--wpds-color-fg-content-error: #470000; /* Foreground color for content like text with error tone and normal emphasis. */
|
|
53
66
|
--wpds-color-fg-content-error-weak: #cc1818; /* Foreground color for content like text with error tone and weak emphasis. */
|
|
54
67
|
--wpds-color-fg-content-info: #001b4f; /* Foreground color for content like text with info tone and normal emphasis. */
|
|
@@ -58,13 +71,19 @@
|
|
|
58
71
|
--wpds-color-fg-content-success: #002900; /* Foreground color for content like text with success tone and normal emphasis. */
|
|
59
72
|
--wpds-color-fg-content-success-weak: #007f30; /* Foreground color for content like text with success tone and weak emphasis. */
|
|
60
73
|
--wpds-color-fg-content-warning: #2e1900; /* Foreground color for content like text with warning tone and normal emphasis. */
|
|
61
|
-
--wpds-color-fg-content-warning-weak: #
|
|
74
|
+
--wpds-color-fg-content-warning-weak: #926300; /* Foreground color for content like text with warning tone and weak emphasis. */
|
|
62
75
|
--wpds-color-fg-interactive-brand: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis. */
|
|
63
76
|
--wpds-color-fg-interactive-brand-active: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
64
77
|
--wpds-color-fg-interactive-brand-disabled: #8a8a8a; /* Foreground color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
65
78
|
--wpds-color-fg-interactive-brand-strong: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis. */
|
|
66
79
|
--wpds-color-fg-interactive-brand-strong-active: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
67
80
|
--wpds-color-fg-interactive-brand-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
81
|
+
--wpds-color-fg-interactive-error: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis. */
|
|
82
|
+
--wpds-color-fg-interactive-error-active: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
83
|
+
--wpds-color-fg-interactive-error-disabled: #8a8a8a; /* Foreground color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
84
|
+
--wpds-color-fg-interactive-error-strong: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis. */
|
|
85
|
+
--wpds-color-fg-interactive-error-strong-active: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
86
|
+
--wpds-color-fg-interactive-error-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
68
87
|
--wpds-color-fg-interactive-neutral: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis. */
|
|
69
88
|
--wpds-color-fg-interactive-neutral-active: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
70
89
|
--wpds-color-fg-interactive-neutral-disabled: #8a8a8a; /* Foreground color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
|
|
@@ -76,26 +95,33 @@
|
|
|
76
95
|
--wpds-color-stroke-focus-brand: #3858e9; /* Accessible stroke color applied to focus rings. */
|
|
77
96
|
--wpds-color-stroke-interactive-brand: #3858e9; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
|
|
78
97
|
--wpds-color-stroke-interactive-brand-active: #2337c8; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
79
|
-
--wpds-color-stroke-interactive-
|
|
98
|
+
--wpds-color-stroke-interactive-error: #cc1818; /* Accessible stroke color used for interactive error-toned elements with normal emphasis. */
|
|
99
|
+
--wpds-color-stroke-interactive-error-active: #9d0000; /* Accessible stroke color used for interactive error-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
80
100
|
--wpds-color-stroke-interactive-error-strong: #cc1818; /* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
|
|
81
101
|
--wpds-color-stroke-interactive-neutral: #8a8a8a; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
|
|
82
102
|
--wpds-color-stroke-interactive-neutral-active: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
83
103
|
--wpds-color-stroke-interactive-neutral-disabled: #d8d8d8; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis, in their disabled state. */
|
|
84
104
|
--wpds-color-stroke-interactive-neutral-strong: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
|
|
85
|
-
--wpds-color-stroke-surface-brand: #
|
|
86
|
-
--wpds-color-stroke-surface-brand-strong: #3858e9; /* Decorative stroke color used to define
|
|
87
|
-
--wpds-color-stroke-surface-error: #
|
|
105
|
+
--wpds-color-stroke-surface-brand: #a3b1d4; /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
|
|
106
|
+
--wpds-color-stroke-surface-brand-strong: #3858e9; /* Decorative stroke color used to define brand-toned surface boundaries with strong emphasis. */
|
|
107
|
+
--wpds-color-stroke-surface-error: #daa39b; /* Decorative stroke color used to define error-toned surface boundaries with normal emphasis. */
|
|
88
108
|
--wpds-color-stroke-surface-error-strong: #cc1818; /* Decorative stroke color used to define error-toned surface boundaries with strong emphasis. */
|
|
89
|
-
--wpds-color-stroke-surface-info: #
|
|
109
|
+
--wpds-color-stroke-surface-info: #9fbcdc; /* Decorative stroke color used to define info-toned surface boundaries with normal emphasis. */
|
|
90
110
|
--wpds-color-stroke-surface-info-strong: #006bd7; /* Decorative stroke color used to define info-toned surface boundaries with strong emphasis. */
|
|
91
111
|
--wpds-color-stroke-surface-neutral: #d8d8d8; /* Decorative stroke color used to define neutrally-toned surface boundaries with normal emphasis. */
|
|
92
112
|
--wpds-color-stroke-surface-neutral-strong: #8a8a8a; /* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
|
|
93
113
|
--wpds-color-stroke-surface-neutral-weak: #e0e0e0; /* Decorative stroke color used to define neutrally-toned surface boundaries with weak emphasis. */
|
|
94
|
-
--wpds-color-stroke-surface-success: #
|
|
114
|
+
--wpds-color-stroke-surface-success: #8ac894; /* Decorative stroke color used to define success-toned surface boundaries with normal emphasis. */
|
|
95
115
|
--wpds-color-stroke-surface-success-strong: #007f30; /* Decorative stroke color used to define success-toned surface boundaries with strong emphasis. */
|
|
96
|
-
--wpds-color-stroke-surface-warning: #
|
|
97
|
-
--wpds-color-stroke-surface-warning-strong: #
|
|
116
|
+
--wpds-color-stroke-surface-warning: #d0b381; /* Decorative stroke color used to define warning-toned surface boundaries with normal emphasis. */
|
|
117
|
+
--wpds-color-stroke-surface-warning-strong: #926300; /* Decorative stroke color used to define warning-toned surface boundaries with strong emphasis. */
|
|
98
118
|
--wpds-dimension-base: 4px; /* Base dimension unit */
|
|
119
|
+
--wpds-dimension-gap-2xs: 4px; /* 2x extra small gap */
|
|
120
|
+
--wpds-dimension-gap-lg: 24px; /* Large gap */
|
|
121
|
+
--wpds-dimension-gap-md: 16px; /* Medium gap */
|
|
122
|
+
--wpds-dimension-gap-sm: 12px; /* Small gap */
|
|
123
|
+
--wpds-dimension-gap-xl: 40px; /* Extra large gap */
|
|
124
|
+
--wpds-dimension-gap-xs: 8px; /* Extra small gap */
|
|
99
125
|
--wpds-dimension-padding-surface-2xs: 4px; /* 2x extra small spacing for surfaces */
|
|
100
126
|
--wpds-dimension-padding-surface-lg: 32px; /* Large spacing for surfaces */
|
|
101
127
|
--wpds-dimension-padding-surface-md: 24px; /* Medium spacing for surfaces */
|
|
@@ -130,6 +156,12 @@
|
|
|
130
156
|
|
|
131
157
|
[data-wpds-theme-provider-id][data-wpds-density=default] {
|
|
132
158
|
--wpds-dimension-base: 4px; /* Base dimension unit */
|
|
159
|
+
--wpds-dimension-gap-2xs: 4px; /* 2x extra small gap */
|
|
160
|
+
--wpds-dimension-gap-lg: 24px; /* Large gap */
|
|
161
|
+
--wpds-dimension-gap-md: 16px; /* Medium gap */
|
|
162
|
+
--wpds-dimension-gap-sm: 12px; /* Small gap */
|
|
163
|
+
--wpds-dimension-gap-xl: 40px; /* Extra large gap */
|
|
164
|
+
--wpds-dimension-gap-xs: 8px; /* Extra small gap */
|
|
133
165
|
--wpds-dimension-padding-surface-2xs: 4px; /* 2x extra small spacing for surfaces */
|
|
134
166
|
--wpds-dimension-padding-surface-lg: 32px; /* Large spacing for surfaces */
|
|
135
167
|
--wpds-dimension-padding-surface-md: 24px; /* Medium spacing for surfaces */
|
|
@@ -138,6 +170,12 @@
|
|
|
138
170
|
}
|
|
139
171
|
|
|
140
172
|
[data-wpds-theme-provider-id][data-wpds-density=compact] {
|
|
173
|
+
--wpds-dimension-gap-2xs: 4px; /* 2x extra small gap */
|
|
174
|
+
--wpds-dimension-gap-lg: 20px; /* Large gap */
|
|
175
|
+
--wpds-dimension-gap-md: 12px; /* Medium gap */
|
|
176
|
+
--wpds-dimension-gap-sm: 8px; /* Small gap */
|
|
177
|
+
--wpds-dimension-gap-xl: 32px; /* Extra large gap */
|
|
178
|
+
--wpds-dimension-gap-xs: 4px; /* Extra small gap */
|
|
141
179
|
--wpds-dimension-padding-surface-2xs: 4px; /* 2x extra small spacing for surfaces */
|
|
142
180
|
--wpds-dimension-padding-surface-lg: 24px; /* Large spacing for surfaces */
|
|
143
181
|
--wpds-dimension-padding-surface-md: 20px; /* Medium spacing for surfaces */
|
|
@@ -146,6 +184,12 @@
|
|
|
146
184
|
}
|
|
147
185
|
|
|
148
186
|
[data-wpds-theme-provider-id][data-wpds-density=comfortable] {
|
|
187
|
+
--wpds-dimension-gap-2xs: 8px; /* 2x extra small gap */
|
|
188
|
+
--wpds-dimension-gap-lg: 32px; /* Large gap */
|
|
189
|
+
--wpds-dimension-gap-md: 20px; /* Medium gap */
|
|
190
|
+
--wpds-dimension-gap-sm: 16px; /* Small gap */
|
|
191
|
+
--wpds-dimension-gap-xl: 48px; /* Extra large gap */
|
|
192
|
+
--wpds-dimension-gap-xs: 12px; /* Extra small gap */
|
|
149
193
|
--wpds-dimension-padding-surface-2xs: 8px; /* 2x extra small spacing for surfaces */
|
|
150
194
|
--wpds-dimension-padding-surface-lg: 40px; /* Large spacing for surfaces */
|
|
151
195
|
--wpds-dimension-padding-surface-md: 32px; /* Medium spacing for surfaces */
|
|
@@ -155,7 +199,7 @@
|
|
|
155
199
|
|
|
156
200
|
@media (min-resolution: 192dpi) {
|
|
157
201
|
:root {
|
|
158
|
-
--wpds-border-width-focus: 1.5px; /* Border width for focus ring */
|
|
202
|
+
--wpds-border-width-interactive-focus: 1.5px; /* Border width for focus ring */
|
|
159
203
|
}
|
|
160
204
|
}
|
|
161
205
|
/**
|
|
@@ -251,27 +295,21 @@
|
|
|
251
295
|
position: relative;
|
|
252
296
|
z-index: 1;
|
|
253
297
|
flex-flow: column;
|
|
254
|
-
container: admin-ui-page/inline-size;
|
|
255
298
|
}
|
|
256
299
|
|
|
257
|
-
@media not (prefers-reduced-motion) {
|
|
258
|
-
.admin-ui-page {
|
|
259
|
-
transition: width ease-out 0.2s;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
300
|
.admin-ui-page__header {
|
|
263
|
-
padding: 16px
|
|
301
|
+
padding: 16px 24px;
|
|
264
302
|
border-bottom: 1px solid #f0f0f0;
|
|
265
303
|
background: #fff;
|
|
266
304
|
position: sticky;
|
|
267
305
|
top: 0;
|
|
306
|
+
z-index: 1;
|
|
268
307
|
}
|
|
269
308
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
padding: 16px 24px;
|
|
273
|
-
}
|
|
309
|
+
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
310
|
+
display: none;
|
|
274
311
|
}
|
|
312
|
+
|
|
275
313
|
.admin-ui-page__header-subtitle {
|
|
276
314
|
padding-block-end: 8px;
|
|
277
315
|
color: #757575;
|
|
@@ -290,14 +328,9 @@
|
|
|
290
328
|
}
|
|
291
329
|
|
|
292
330
|
.admin-ui-page__content.has-padding {
|
|
293
|
-
padding: 16px
|
|
331
|
+
padding: 16px 24px;
|
|
294
332
|
}
|
|
295
333
|
|
|
296
|
-
@container (max-width: 430px) {
|
|
297
|
-
.admin-ui-page__content.has-padding {
|
|
298
|
-
padding: 16px 24px;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
334
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
302
335
|
width: auto;
|
|
303
336
|
padding: 0 8px;
|
|
@@ -417,41 +450,28 @@
|
|
|
417
450
|
/**
|
|
418
451
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
419
452
|
*/
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
#wpcontent {
|
|
430
|
-
padding-right: 0;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
#wpbody-content {
|
|
434
|
-
padding-bottom: 0;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
#wpfooter {
|
|
438
|
-
display: none;
|
|
453
|
+
@media (min-width: 600px) {
|
|
454
|
+
.boot-layout-container .boot-layout {
|
|
455
|
+
position: absolute;
|
|
456
|
+
top: 0;
|
|
457
|
+
left: 0;
|
|
458
|
+
bottom: 0;
|
|
459
|
+
right: 0;
|
|
460
|
+
min-height: calc(100vh - 46px);
|
|
461
|
+
}
|
|
439
462
|
}
|
|
440
|
-
|
|
441
463
|
@media (min-width: 782px) {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
height: calc(100% + 32px);
|
|
464
|
+
.boot-layout-container .boot-layout {
|
|
465
|
+
min-height: calc(100vh - 32px);
|
|
445
466
|
}
|
|
446
|
-
body:has(.boot-layout.has-full-canvas)
|
|
447
|
-
|
|
448
|
-
display: none;
|
|
449
|
-
}
|
|
450
|
-
body:has(.boot-layout.has-full-canvas) #wpcontent,
|
|
451
|
-
body:has(.boot-layout.has-full-canvas) #wpfooter {
|
|
452
|
-
margin-right: 0;
|
|
467
|
+
body:has(.boot-layout.has-full-canvas) .boot-layout-container .boot-layout {
|
|
468
|
+
min-height: 100vh;
|
|
453
469
|
}
|
|
454
470
|
}
|
|
471
|
+
.boot-layout-container .boot-layout img {
|
|
472
|
+
max-width: 100%;
|
|
473
|
+
height: auto;
|
|
474
|
+
}
|
|
455
475
|
|
|
456
476
|
.boot-layout .components-editor-notices__snackbar {
|
|
457
477
|
position: fixed;
|
package/build-style/style.css
CHANGED
|
@@ -3,20 +3,33 @@
|
|
|
3
3
|
* Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
|
|
4
4
|
* ------------------------------------------- */
|
|
5
5
|
:root {
|
|
6
|
-
--wpds-border-radius-
|
|
7
|
-
--wpds-border-radius-
|
|
8
|
-
--wpds-border-radius-
|
|
9
|
-
--wpds-border-radius-
|
|
10
|
-
--wpds-border-width-focus: 2px; /* Border width for focus ring */
|
|
6
|
+
--wpds-border-radius-surface-lg: 8px; /* Large radius for surfaces */
|
|
7
|
+
--wpds-border-radius-surface-md: 4px; /* Medium radius for surfaces */
|
|
8
|
+
--wpds-border-radius-surface-sm: 2px; /* Small radius for surfaces */
|
|
9
|
+
--wpds-border-radius-surface-xs: 1px; /* Extra small radius for surfaces */
|
|
10
|
+
--wpds-border-width-interactive-focus: 2px; /* Border width for focus ring */
|
|
11
|
+
--wpds-border-width-surface-lg: 8px; /* Large width for surfaces */
|
|
12
|
+
--wpds-border-width-surface-md: 4px; /* Medium width for surfaces */
|
|
13
|
+
--wpds-border-width-surface-sm: 2px; /* Small width for surfaces */
|
|
14
|
+
--wpds-border-width-surface-xs: 1px; /* Extra small width for surfaces */
|
|
11
15
|
--wpds-color-bg-interactive-brand: #00000000; /* Background color for interactive elements with brand tone and normal emphasis. */
|
|
12
|
-
--wpds-color-bg-interactive-brand-active: #
|
|
16
|
+
--wpds-color-bg-interactive-brand-active: #f6f8fd; /* Background color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
13
17
|
--wpds-color-bg-interactive-brand-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
14
18
|
--wpds-color-bg-interactive-brand-strong: #3858e9; /* Background color for interactive elements with brand tone and strong emphasis. */
|
|
15
19
|
--wpds-color-bg-interactive-brand-strong-active: #2e49d9; /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
16
20
|
--wpds-color-bg-interactive-brand-strong-disabled: #d2d2d2; /* Background color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
17
21
|
--wpds-color-bg-interactive-brand-weak: #00000000; /* Background color for interactive elements with brand tone and weak emphasis. */
|
|
18
|
-
--wpds-color-bg-interactive-brand-weak-active: #
|
|
22
|
+
--wpds-color-bg-interactive-brand-weak-active: #e6eaf4; /* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
|
|
19
23
|
--wpds-color-bg-interactive-brand-weak-disabled: #e2e2e2; /* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
|
|
24
|
+
--wpds-color-bg-interactive-error: #00000000; /* Background color for interactive elements with error tone and normal emphasis. */
|
|
25
|
+
--wpds-color-bg-interactive-error-active: #fff6f4; /* Background color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
26
|
+
--wpds-color-bg-interactive-error-disabled: #e2e2e2; /* Background color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
27
|
+
--wpds-color-bg-interactive-error-strong: #cc1818; /* Background color for interactive elements with error tone and strong emphasis. */
|
|
28
|
+
--wpds-color-bg-interactive-error-strong-active: #b90000; /* Background color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
29
|
+
--wpds-color-bg-interactive-error-strong-disabled: #d2d2d2; /* Background color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
30
|
+
--wpds-color-bg-interactive-error-weak: #00000000; /* Background color for interactive elements with error tone and weak emphasis. */
|
|
31
|
+
--wpds-color-bg-interactive-error-weak-active: #f6e6e3; /* Background color for interactive elements with error tone and weak emphasis that are hovered, focused, or active. */
|
|
32
|
+
--wpds-color-bg-interactive-error-weak-disabled: #e2e2e2; /* Background color for interactive elements with error tone and weak emphasis, in their disabled state. */
|
|
20
33
|
--wpds-color-bg-interactive-neutral: #00000000; /* Background color for interactive elements with neutral tone and normal emphasis. */
|
|
21
34
|
--wpds-color-bg-interactive-neutral-active: #eaeaea; /* Background color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
22
35
|
--wpds-color-bg-interactive-neutral-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
|
|
@@ -27,19 +40,19 @@
|
|
|
27
40
|
--wpds-color-bg-interactive-neutral-weak-active: #eaeaea; /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
|
|
28
41
|
--wpds-color-bg-interactive-neutral-weak-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
|
|
29
42
|
--wpds-color-bg-surface-brand: #ecf0f9; /* Background color for surfaces with brand tone and normal emphasis. */
|
|
30
|
-
--wpds-color-bg-surface-caution: #
|
|
31
|
-
--wpds-color-bg-surface-caution-weak: #
|
|
32
|
-
--wpds-color-bg-surface-error: #
|
|
33
|
-
--wpds-color-bg-surface-error-weak: #
|
|
34
|
-
--wpds-color-bg-surface-info: #
|
|
35
|
-
--wpds-color-bg-surface-info-weak: #
|
|
43
|
+
--wpds-color-bg-surface-caution: #fee994; /* Background color for surfaces with caution tone and normal emphasis. */
|
|
44
|
+
--wpds-color-bg-surface-caution-weak: #fff9c9; /* Background color for surfaces with caution tone and weak emphasis. */
|
|
45
|
+
--wpds-color-bg-surface-error: #f6e6e3; /* Background color for surfaces with error tone and normal emphasis. */
|
|
46
|
+
--wpds-color-bg-surface-error-weak: #fff6f4; /* Background color for surfaces with error tone and weak emphasis. */
|
|
47
|
+
--wpds-color-bg-surface-info: #deebfa; /* Background color for surfaces with info tone and normal emphasis. */
|
|
48
|
+
--wpds-color-bg-surface-info-weak: #f3f9ff; /* Background color for surfaces with info tone and weak emphasis. */
|
|
36
49
|
--wpds-color-bg-surface-neutral: #f8f8f8; /* Background color for surfaces with normal emphasis. */
|
|
37
50
|
--wpds-color-bg-surface-neutral-strong: #ffffff; /* Background color for surfaces with strong emphasis. */
|
|
38
51
|
--wpds-color-bg-surface-neutral-weak: #f0f0f0; /* Background color for surfaces with weak emphasis. */
|
|
39
|
-
--wpds-color-bg-surface-success: #
|
|
40
|
-
--wpds-color-bg-surface-success-weak: #
|
|
41
|
-
--wpds-color-bg-surface-warning: #
|
|
42
|
-
--wpds-color-bg-surface-warning-weak: #
|
|
52
|
+
--wpds-color-bg-surface-success: #c5f7cc; /* Background color for surfaces with success tone and normal emphasis. */
|
|
53
|
+
--wpds-color-bg-surface-success-weak: #eaffed; /* Background color for surfaces with success tone and weak emphasis. */
|
|
54
|
+
--wpds-color-bg-surface-warning: #fde6bd; /* Background color for surfaces with warning tone and normal emphasis. */
|
|
55
|
+
--wpds-color-bg-surface-warning-weak: #fff7e0; /* Background color for surfaces with warning tone and weak emphasis. */
|
|
43
56
|
--wpds-color-bg-thumb-brand: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
|
|
44
57
|
--wpds-color-bg-thumb-brand-active: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
|
|
45
58
|
--wpds-color-bg-thumb-brand-disabled: #d8d8d8; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track), in their disabled state. */
|
|
@@ -48,7 +61,7 @@
|
|
|
48
61
|
--wpds-color-bg-track-neutral: #d8d8d8; /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
|
|
49
62
|
--wpds-color-bg-track-neutral-weak: #e0e0e0; /* Background color for tracks with a neutral tone and weak emphasis (eg. scrollbar track). */
|
|
50
63
|
--wpds-color-fg-content-caution: #281d00; /* Foreground color for content like text with caution tone and normal emphasis. */
|
|
51
|
-
--wpds-color-fg-content-caution-weak: #
|
|
64
|
+
--wpds-color-fg-content-caution-weak: #826a00; /* Foreground color for content like text with caution tone and weak emphasis. */
|
|
52
65
|
--wpds-color-fg-content-error: #470000; /* Foreground color for content like text with error tone and normal emphasis. */
|
|
53
66
|
--wpds-color-fg-content-error-weak: #cc1818; /* Foreground color for content like text with error tone and weak emphasis. */
|
|
54
67
|
--wpds-color-fg-content-info: #001b4f; /* Foreground color for content like text with info tone and normal emphasis. */
|
|
@@ -58,13 +71,19 @@
|
|
|
58
71
|
--wpds-color-fg-content-success: #002900; /* Foreground color for content like text with success tone and normal emphasis. */
|
|
59
72
|
--wpds-color-fg-content-success-weak: #007f30; /* Foreground color for content like text with success tone and weak emphasis. */
|
|
60
73
|
--wpds-color-fg-content-warning: #2e1900; /* Foreground color for content like text with warning tone and normal emphasis. */
|
|
61
|
-
--wpds-color-fg-content-warning-weak: #
|
|
74
|
+
--wpds-color-fg-content-warning-weak: #926300; /* Foreground color for content like text with warning tone and weak emphasis. */
|
|
62
75
|
--wpds-color-fg-interactive-brand: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis. */
|
|
63
76
|
--wpds-color-fg-interactive-brand-active: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
64
77
|
--wpds-color-fg-interactive-brand-disabled: #8a8a8a; /* Foreground color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
65
78
|
--wpds-color-fg-interactive-brand-strong: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis. */
|
|
66
79
|
--wpds-color-fg-interactive-brand-strong-active: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
67
80
|
--wpds-color-fg-interactive-brand-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
81
|
+
--wpds-color-fg-interactive-error: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis. */
|
|
82
|
+
--wpds-color-fg-interactive-error-active: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
83
|
+
--wpds-color-fg-interactive-error-disabled: #8a8a8a; /* Foreground color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
84
|
+
--wpds-color-fg-interactive-error-strong: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis. */
|
|
85
|
+
--wpds-color-fg-interactive-error-strong-active: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
86
|
+
--wpds-color-fg-interactive-error-strong-disabled: #6d6d6d; /* Foreground color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
68
87
|
--wpds-color-fg-interactive-neutral: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis. */
|
|
69
88
|
--wpds-color-fg-interactive-neutral-active: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
70
89
|
--wpds-color-fg-interactive-neutral-disabled: #8a8a8a; /* Foreground color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
|
|
@@ -76,26 +95,33 @@
|
|
|
76
95
|
--wpds-color-stroke-focus-brand: #3858e9; /* Accessible stroke color applied to focus rings. */
|
|
77
96
|
--wpds-color-stroke-interactive-brand: #3858e9; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
|
|
78
97
|
--wpds-color-stroke-interactive-brand-active: #2337c8; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
79
|
-
--wpds-color-stroke-interactive-
|
|
98
|
+
--wpds-color-stroke-interactive-error: #cc1818; /* Accessible stroke color used for interactive error-toned elements with normal emphasis. */
|
|
99
|
+
--wpds-color-stroke-interactive-error-active: #9d0000; /* Accessible stroke color used for interactive error-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
80
100
|
--wpds-color-stroke-interactive-error-strong: #cc1818; /* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
|
|
81
101
|
--wpds-color-stroke-interactive-neutral: #8a8a8a; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
|
|
82
102
|
--wpds-color-stroke-interactive-neutral-active: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
83
103
|
--wpds-color-stroke-interactive-neutral-disabled: #d8d8d8; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis, in their disabled state. */
|
|
84
104
|
--wpds-color-stroke-interactive-neutral-strong: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
|
|
85
|
-
--wpds-color-stroke-surface-brand: #
|
|
86
|
-
--wpds-color-stroke-surface-brand-strong: #3858e9; /* Decorative stroke color used to define
|
|
87
|
-
--wpds-color-stroke-surface-error: #
|
|
105
|
+
--wpds-color-stroke-surface-brand: #a3b1d4; /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
|
|
106
|
+
--wpds-color-stroke-surface-brand-strong: #3858e9; /* Decorative stroke color used to define brand-toned surface boundaries with strong emphasis. */
|
|
107
|
+
--wpds-color-stroke-surface-error: #daa39b; /* Decorative stroke color used to define error-toned surface boundaries with normal emphasis. */
|
|
88
108
|
--wpds-color-stroke-surface-error-strong: #cc1818; /* Decorative stroke color used to define error-toned surface boundaries with strong emphasis. */
|
|
89
|
-
--wpds-color-stroke-surface-info: #
|
|
109
|
+
--wpds-color-stroke-surface-info: #9fbcdc; /* Decorative stroke color used to define info-toned surface boundaries with normal emphasis. */
|
|
90
110
|
--wpds-color-stroke-surface-info-strong: #006bd7; /* Decorative stroke color used to define info-toned surface boundaries with strong emphasis. */
|
|
91
111
|
--wpds-color-stroke-surface-neutral: #d8d8d8; /* Decorative stroke color used to define neutrally-toned surface boundaries with normal emphasis. */
|
|
92
112
|
--wpds-color-stroke-surface-neutral-strong: #8a8a8a; /* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
|
|
93
113
|
--wpds-color-stroke-surface-neutral-weak: #e0e0e0; /* Decorative stroke color used to define neutrally-toned surface boundaries with weak emphasis. */
|
|
94
|
-
--wpds-color-stroke-surface-success: #
|
|
114
|
+
--wpds-color-stroke-surface-success: #8ac894; /* Decorative stroke color used to define success-toned surface boundaries with normal emphasis. */
|
|
95
115
|
--wpds-color-stroke-surface-success-strong: #007f30; /* Decorative stroke color used to define success-toned surface boundaries with strong emphasis. */
|
|
96
|
-
--wpds-color-stroke-surface-warning: #
|
|
97
|
-
--wpds-color-stroke-surface-warning-strong: #
|
|
116
|
+
--wpds-color-stroke-surface-warning: #d0b381; /* Decorative stroke color used to define warning-toned surface boundaries with normal emphasis. */
|
|
117
|
+
--wpds-color-stroke-surface-warning-strong: #926300; /* Decorative stroke color used to define warning-toned surface boundaries with strong emphasis. */
|
|
98
118
|
--wpds-dimension-base: 4px; /* Base dimension unit */
|
|
119
|
+
--wpds-dimension-gap-2xs: 4px; /* 2x extra small gap */
|
|
120
|
+
--wpds-dimension-gap-lg: 24px; /* Large gap */
|
|
121
|
+
--wpds-dimension-gap-md: 16px; /* Medium gap */
|
|
122
|
+
--wpds-dimension-gap-sm: 12px; /* Small gap */
|
|
123
|
+
--wpds-dimension-gap-xl: 40px; /* Extra large gap */
|
|
124
|
+
--wpds-dimension-gap-xs: 8px; /* Extra small gap */
|
|
99
125
|
--wpds-dimension-padding-surface-2xs: 4px; /* 2x extra small spacing for surfaces */
|
|
100
126
|
--wpds-dimension-padding-surface-lg: 32px; /* Large spacing for surfaces */
|
|
101
127
|
--wpds-dimension-padding-surface-md: 24px; /* Medium spacing for surfaces */
|
|
@@ -130,6 +156,12 @@
|
|
|
130
156
|
|
|
131
157
|
[data-wpds-theme-provider-id][data-wpds-density=default] {
|
|
132
158
|
--wpds-dimension-base: 4px; /* Base dimension unit */
|
|
159
|
+
--wpds-dimension-gap-2xs: 4px; /* 2x extra small gap */
|
|
160
|
+
--wpds-dimension-gap-lg: 24px; /* Large gap */
|
|
161
|
+
--wpds-dimension-gap-md: 16px; /* Medium gap */
|
|
162
|
+
--wpds-dimension-gap-sm: 12px; /* Small gap */
|
|
163
|
+
--wpds-dimension-gap-xl: 40px; /* Extra large gap */
|
|
164
|
+
--wpds-dimension-gap-xs: 8px; /* Extra small gap */
|
|
133
165
|
--wpds-dimension-padding-surface-2xs: 4px; /* 2x extra small spacing for surfaces */
|
|
134
166
|
--wpds-dimension-padding-surface-lg: 32px; /* Large spacing for surfaces */
|
|
135
167
|
--wpds-dimension-padding-surface-md: 24px; /* Medium spacing for surfaces */
|
|
@@ -138,6 +170,12 @@
|
|
|
138
170
|
}
|
|
139
171
|
|
|
140
172
|
[data-wpds-theme-provider-id][data-wpds-density=compact] {
|
|
173
|
+
--wpds-dimension-gap-2xs: 4px; /* 2x extra small gap */
|
|
174
|
+
--wpds-dimension-gap-lg: 20px; /* Large gap */
|
|
175
|
+
--wpds-dimension-gap-md: 12px; /* Medium gap */
|
|
176
|
+
--wpds-dimension-gap-sm: 8px; /* Small gap */
|
|
177
|
+
--wpds-dimension-gap-xl: 32px; /* Extra large gap */
|
|
178
|
+
--wpds-dimension-gap-xs: 4px; /* Extra small gap */
|
|
141
179
|
--wpds-dimension-padding-surface-2xs: 4px; /* 2x extra small spacing for surfaces */
|
|
142
180
|
--wpds-dimension-padding-surface-lg: 24px; /* Large spacing for surfaces */
|
|
143
181
|
--wpds-dimension-padding-surface-md: 20px; /* Medium spacing for surfaces */
|
|
@@ -146,6 +184,12 @@
|
|
|
146
184
|
}
|
|
147
185
|
|
|
148
186
|
[data-wpds-theme-provider-id][data-wpds-density=comfortable] {
|
|
187
|
+
--wpds-dimension-gap-2xs: 8px; /* 2x extra small gap */
|
|
188
|
+
--wpds-dimension-gap-lg: 32px; /* Large gap */
|
|
189
|
+
--wpds-dimension-gap-md: 20px; /* Medium gap */
|
|
190
|
+
--wpds-dimension-gap-sm: 16px; /* Small gap */
|
|
191
|
+
--wpds-dimension-gap-xl: 48px; /* Extra large gap */
|
|
192
|
+
--wpds-dimension-gap-xs: 12px; /* Extra small gap */
|
|
149
193
|
--wpds-dimension-padding-surface-2xs: 8px; /* 2x extra small spacing for surfaces */
|
|
150
194
|
--wpds-dimension-padding-surface-lg: 40px; /* Large spacing for surfaces */
|
|
151
195
|
--wpds-dimension-padding-surface-md: 32px; /* Medium spacing for surfaces */
|
|
@@ -155,7 +199,7 @@
|
|
|
155
199
|
|
|
156
200
|
@media (min-resolution: 192dpi) {
|
|
157
201
|
:root {
|
|
158
|
-
--wpds-border-width-focus: 1.5px; /* Border width for focus ring */
|
|
202
|
+
--wpds-border-width-interactive-focus: 1.5px; /* Border width for focus ring */
|
|
159
203
|
}
|
|
160
204
|
}
|
|
161
205
|
/**
|
|
@@ -251,27 +295,21 @@
|
|
|
251
295
|
position: relative;
|
|
252
296
|
z-index: 1;
|
|
253
297
|
flex-flow: column;
|
|
254
|
-
container: admin-ui-page/inline-size;
|
|
255
298
|
}
|
|
256
299
|
|
|
257
|
-
@media not (prefers-reduced-motion) {
|
|
258
|
-
.admin-ui-page {
|
|
259
|
-
transition: width ease-out 0.2s;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
300
|
.admin-ui-page__header {
|
|
263
|
-
padding: 16px
|
|
301
|
+
padding: 16px 24px;
|
|
264
302
|
border-bottom: 1px solid #f0f0f0;
|
|
265
303
|
background: #fff;
|
|
266
304
|
position: sticky;
|
|
267
305
|
top: 0;
|
|
306
|
+
z-index: 1;
|
|
268
307
|
}
|
|
269
308
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
padding: 16px 24px;
|
|
273
|
-
}
|
|
309
|
+
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
310
|
+
display: none;
|
|
274
311
|
}
|
|
312
|
+
|
|
275
313
|
.admin-ui-page__header-subtitle {
|
|
276
314
|
padding-block-end: 8px;
|
|
277
315
|
color: #757575;
|
|
@@ -290,14 +328,9 @@
|
|
|
290
328
|
}
|
|
291
329
|
|
|
292
330
|
.admin-ui-page__content.has-padding {
|
|
293
|
-
padding: 16px
|
|
331
|
+
padding: 16px 24px;
|
|
294
332
|
}
|
|
295
333
|
|
|
296
|
-
@container (max-width: 430px) {
|
|
297
|
-
.admin-ui-page__content.has-padding {
|
|
298
|
-
padding: 16px 24px;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
334
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
302
335
|
width: auto;
|
|
303
336
|
padding: 0 8px;
|
|
@@ -417,41 +450,28 @@
|
|
|
417
450
|
/**
|
|
418
451
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
419
452
|
*/
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
#wpcontent {
|
|
430
|
-
padding-left: 0;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
#wpbody-content {
|
|
434
|
-
padding-bottom: 0;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
#wpfooter {
|
|
438
|
-
display: none;
|
|
453
|
+
@media (min-width: 600px) {
|
|
454
|
+
.boot-layout-container .boot-layout {
|
|
455
|
+
position: absolute;
|
|
456
|
+
top: 0;
|
|
457
|
+
right: 0;
|
|
458
|
+
bottom: 0;
|
|
459
|
+
left: 0;
|
|
460
|
+
min-height: calc(100vh - 46px);
|
|
461
|
+
}
|
|
439
462
|
}
|
|
440
|
-
|
|
441
463
|
@media (min-width: 782px) {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
height: calc(100% + 32px);
|
|
464
|
+
.boot-layout-container .boot-layout {
|
|
465
|
+
min-height: calc(100vh - 32px);
|
|
445
466
|
}
|
|
446
|
-
body:has(.boot-layout.has-full-canvas)
|
|
447
|
-
|
|
448
|
-
display: none;
|
|
449
|
-
}
|
|
450
|
-
body:has(.boot-layout.has-full-canvas) #wpcontent,
|
|
451
|
-
body:has(.boot-layout.has-full-canvas) #wpfooter {
|
|
452
|
-
margin-left: 0;
|
|
467
|
+
body:has(.boot-layout.has-full-canvas) .boot-layout-container .boot-layout {
|
|
468
|
+
min-height: 100vh;
|
|
453
469
|
}
|
|
454
470
|
}
|
|
471
|
+
.boot-layout-container .boot-layout img {
|
|
472
|
+
max-width: 100%;
|
|
473
|
+
height: auto;
|
|
474
|
+
}
|
|
455
475
|
|
|
456
476
|
.boot-layout .components-editor-notices__snackbar {
|
|
457
477
|
position: fixed;
|