@wordpress/edit-site 6.0.1 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/components/add-new-page/index.js +2 -1
  3. package/build/components/add-new-page/index.js.map +1 -1
  4. package/build/components/app/index.js +17 -1
  5. package/build/components/app/index.js.map +1 -1
  6. package/build/components/editor/index.js +3 -10
  7. package/build/components/editor/index.js.map +1 -1
  8. package/build/components/global-styles/font-library-modal/installed-fonts.js +1 -0
  9. package/build/components/global-styles/font-library-modal/installed-fonts.js.map +1 -1
  10. package/build/components/global-styles/screen-revisions/index.js +4 -23
  11. package/build/components/global-styles/screen-revisions/index.js.map +1 -1
  12. package/build/components/global-styles/shadows-edit-panel.js +1 -0
  13. package/build/components/global-styles/shadows-edit-panel.js.map +1 -1
  14. package/build/components/global-styles/variations/variation.js +11 -16
  15. package/build/components/global-styles/variations/variation.js.map +1 -1
  16. package/build/components/global-styles/variations/variations-color.js +1 -0
  17. package/build/components/global-styles/variations/variations-color.js.map +1 -1
  18. package/build/components/global-styles/variations/variations-typography.js +1 -0
  19. package/build/components/global-styles/variations/variations-typography.js.map +1 -1
  20. package/build/components/layout/index.js +8 -37
  21. package/build/components/layout/index.js.map +1 -1
  22. package/build/components/page/header.js +1 -0
  23. package/build/components/page/header.js.map +1 -1
  24. package/build/components/page-patterns/header.js +2 -1
  25. package/build/components/page-patterns/header.js.map +1 -1
  26. package/build/components/posts-app/index.js +50 -0
  27. package/build/components/posts-app/index.js.map +1 -0
  28. package/build/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js +1 -0
  29. package/build/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js.map +1 -1
  30. package/build/hooks/commands/use-set-command-context.js +53 -0
  31. package/build/hooks/commands/use-set-command-context.js.map +1 -0
  32. package/build/hooks/push-changes-to-global-styles/index.js +2 -2
  33. package/build/hooks/push-changes-to-global-styles/index.js.map +1 -1
  34. package/build/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +20 -88
  35. package/build/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js.map +1 -1
  36. package/build/index.js +15 -2
  37. package/build/index.js.map +1 -1
  38. package/build/posts.js +34 -0
  39. package/build/posts.js.map +1 -0
  40. package/build-module/components/add-new-page/index.js +2 -1
  41. package/build-module/components/add-new-page/index.js.map +1 -1
  42. package/build-module/components/app/index.js +17 -1
  43. package/build-module/components/app/index.js.map +1 -1
  44. package/build-module/components/editor/index.js +3 -10
  45. package/build-module/components/editor/index.js.map +1 -1
  46. package/build-module/components/global-styles/font-library-modal/installed-fonts.js +1 -0
  47. package/build-module/components/global-styles/font-library-modal/installed-fonts.js.map +1 -1
  48. package/build-module/components/global-styles/screen-revisions/index.js +4 -23
  49. package/build-module/components/global-styles/screen-revisions/index.js.map +1 -1
  50. package/build-module/components/global-styles/shadows-edit-panel.js +1 -0
  51. package/build-module/components/global-styles/shadows-edit-panel.js.map +1 -1
  52. package/build-module/components/global-styles/variations/variation.js +11 -16
  53. package/build-module/components/global-styles/variations/variation.js.map +1 -1
  54. package/build-module/components/global-styles/variations/variations-color.js +1 -0
  55. package/build-module/components/global-styles/variations/variations-color.js.map +1 -1
  56. package/build-module/components/global-styles/variations/variations-typography.js +1 -0
  57. package/build-module/components/global-styles/variations/variations-typography.js.map +1 -1
  58. package/build-module/components/layout/index.js +10 -39
  59. package/build-module/components/layout/index.js.map +1 -1
  60. package/build-module/components/page/header.js +1 -0
  61. package/build-module/components/page/header.js.map +1 -1
  62. package/build-module/components/page-patterns/header.js +2 -1
  63. package/build-module/components/page-patterns/header.js.map +1 -1
  64. package/build-module/components/posts-app/index.js +43 -0
  65. package/build-module/components/posts-app/index.js.map +1 -0
  66. package/build-module/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js +1 -0
  67. package/build-module/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js.map +1 -1
  68. package/build-module/hooks/commands/use-set-command-context.js +46 -0
  69. package/build-module/hooks/commands/use-set-command-context.js.map +1 -0
  70. package/build-module/hooks/push-changes-to-global-styles/index.js +2 -2
  71. package/build-module/hooks/push-changes-to-global-styles/index.js.map +1 -1
  72. package/build-module/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +19 -86
  73. package/build-module/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js.map +1 -1
  74. package/build-module/index.js +8 -2
  75. package/build-module/index.js.map +1 -1
  76. package/build-module/posts.js +27 -0
  77. package/build-module/posts.js.map +1 -0
  78. package/build-style/posts-rtl.css +1707 -0
  79. package/build-style/posts.css +1707 -0
  80. package/build-style/style-rtl.css +16 -19
  81. package/build-style/style.css +16 -19
  82. package/package.json +41 -41
  83. package/src/components/add-new-page/index.js +2 -1
  84. package/src/components/app/index.js +17 -1
  85. package/src/components/editor/index.js +2 -8
  86. package/src/components/global-styles/font-library-modal/installed-fonts.js +1 -0
  87. package/src/components/global-styles/screen-revisions/index.js +4 -24
  88. package/src/components/global-styles/shadows-edit-panel.js +1 -0
  89. package/src/components/global-styles/style.scss +1 -7
  90. package/src/components/global-styles/variations/variation.js +14 -19
  91. package/src/components/global-styles/variations/variations-color.js +6 -1
  92. package/src/components/global-styles/variations/variations-typography.js +5 -1
  93. package/src/components/global-styles-sidebar/style.scss +0 -1
  94. package/src/components/layout/index.js +24 -70
  95. package/src/components/page/header.js +1 -0
  96. package/src/components/page/style.scss +6 -0
  97. package/src/components/page-patterns/header.js +8 -2
  98. package/src/components/page-patterns/style.scss +6 -0
  99. package/src/components/posts-app/index.js +39 -0
  100. package/src/components/sidebar/style.scss +4 -4
  101. package/src/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js +1 -0
  102. package/src/hooks/commands/use-set-command-context.js +37 -0
  103. package/src/hooks/push-changes-to-global-styles/index.js +2 -2
  104. package/src/hooks/use-theme-style-variations/test/use-theme-style-variations-by-property.js +1 -875
  105. package/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +29 -117
  106. package/src/index.js +10 -2
  107. package/src/posts.js +29 -0
  108. package/src/posts.scss +46 -0
  109. package/build/components/block-editor/block-inspector-button.js +0 -57
  110. package/build/components/block-editor/block-inspector-button.js.map +0 -1
  111. package/build/components/block-editor/inserter-media-categories.js +0 -183
  112. package/build/components/block-editor/inserter-media-categories.js.map +0 -1
  113. package/build/components/template-part-converter/convert-to-regular.js +0 -38
  114. package/build/components/template-part-converter/convert-to-regular.js.map +0 -1
  115. package/build/components/template-part-converter/convert-to-template-part.js +0 -84
  116. package/build/components/template-part-converter/convert-to-template-part.js.map +0 -1
  117. package/build/components/template-part-converter/index.js +0 -67
  118. package/build/components/template-part-converter/index.js.map +0 -1
  119. package/build-module/components/block-editor/block-inspector-button.js +0 -50
  120. package/build-module/components/block-editor/block-inspector-button.js.map +0 -1
  121. package/build-module/components/block-editor/inserter-media-categories.js +0 -177
  122. package/build-module/components/block-editor/inserter-media-categories.js.map +0 -1
  123. package/build-module/components/template-part-converter/convert-to-regular.js +0 -31
  124. package/build-module/components/template-part-converter/convert-to-regular.js.map +0 -1
  125. package/build-module/components/template-part-converter/convert-to-template-part.js +0 -79
  126. package/build-module/components/template-part-converter/convert-to-template-part.js.map +0 -1
  127. package/build-module/components/template-part-converter/index.js +0 -59
  128. package/build-module/components/template-part-converter/index.js.map +0 -1
  129. package/src/components/block-editor/block-inspector-button.js +0 -60
  130. package/src/components/block-editor/inserter-media-categories.js +0 -225
  131. package/src/components/template-part-converter/convert-to-regular.js +0 -32
  132. package/src/components/template-part-converter/convert-to-template-part.js +0 -78
  133. package/src/components/template-part-converter/index.js +0 -59
@@ -0,0 +1,1707 @@
1
+ @charset "UTF-8";
2
+ /**
3
+ * Converts a hex value into the rgb equivalent.
4
+ *
5
+ * @param {string} hex - the hexadecimal value to convert
6
+ * @return {string} comma separated rgb values
7
+ */
8
+ /**
9
+ * Colors
10
+ */
11
+ /**
12
+ * Breakpoints & Media Queries
13
+ */
14
+ /**
15
+ * SCSS Variables.
16
+ *
17
+ * Please use variables from this sheet to ensure consistency across the UI.
18
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
19
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
20
+ */
21
+ /**
22
+ * Converts a hex value into the rgb equivalent.
23
+ *
24
+ * @param {string} hex - the hexadecimal value to convert
25
+ * @return {string} comma separated rgb values
26
+ */
27
+ /**
28
+ * Colors
29
+ */
30
+ /**
31
+ * Fonts & basic variables.
32
+ */
33
+ /**
34
+ * Grid System.
35
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
36
+ */
37
+ /**
38
+ * Dimensions.
39
+ */
40
+ /**
41
+ * Shadows.
42
+ */
43
+ /**
44
+ * Editor widths.
45
+ */
46
+ /**
47
+ * Block & Editor UI.
48
+ */
49
+ /**
50
+ * Block paddings.
51
+ */
52
+ /**
53
+ * React Native specific.
54
+ * These variables do not appear to be used anywhere else.
55
+ */
56
+ /**
57
+ * Converts a hex value into the rgb equivalent.
58
+ *
59
+ * @param {string} hex - the hexadecimal value to convert
60
+ * @return {string} comma separated rgb values
61
+ */
62
+ /**
63
+ * Long content fade mixin
64
+ *
65
+ * Creates a fading overlay to signify that the content is longer
66
+ * than the space allows.
67
+ */
68
+ /**
69
+ * Breakpoint mixins
70
+ */
71
+ /**
72
+ * Focus styles.
73
+ */
74
+ /**
75
+ * Applies editor left position to the selector passed as argument
76
+ */
77
+ /**
78
+ * Styles that are reused verbatim in a few places
79
+ */
80
+ /**
81
+ * Allows users to opt-out of animations via OS-level preferences.
82
+ */
83
+ /**
84
+ * Reset default styles for JavaScript UI based pages.
85
+ * This is a WP-admin agnostic reset
86
+ */
87
+ /**
88
+ * Reset the WP Admin page styles for Gutenberg-like pages.
89
+ */
90
+ :root {
91
+ --wp-admin-theme-color: #007cba;
92
+ --wp-admin-theme-color--rgb: 0, 124, 186;
93
+ --wp-admin-theme-color-darker-10: #006ba1;
94
+ --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
95
+ --wp-admin-theme-color-darker-20: #005a87;
96
+ --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
97
+ --wp-admin-border-width-focus: 2px;
98
+ --wp-block-synced-color: #7a00df;
99
+ --wp-block-synced-color--rgb: 122, 0, 223;
100
+ --wp-bound-block-color: var(--wp-block-synced-color);
101
+ }
102
+ @media (min-resolution: 192dpi) {
103
+ :root {
104
+ --wp-admin-border-width-focus: 1.5px;
105
+ }
106
+ }
107
+
108
+ .dataviews-wrapper {
109
+ height: 100%;
110
+ overflow: auto;
111
+ box-sizing: border-box;
112
+ scroll-padding-bottom: 64px;
113
+ /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
114
+ container: dataviews-wrapper/inline-size;
115
+ display: flex;
116
+ flex-direction: column;
117
+ }
118
+
119
+ .dataviews-filters__view-actions {
120
+ box-sizing: border-box;
121
+ padding: 16px 48px;
122
+ flex-shrink: 0;
123
+ position: sticky;
124
+ right: 0;
125
+ transition: padding ease-out 0.1s;
126
+ }
127
+ @media (prefers-reduced-motion: reduce) {
128
+ .dataviews-filters__view-actions {
129
+ transition-duration: 0s;
130
+ transition-delay: 0s;
131
+ }
132
+ }
133
+ .dataviews-filters__view-actions .components-search-control .components-base-control__field {
134
+ max-width: 240px;
135
+ }
136
+
137
+ .dataviews-filters__container .dataviews-filters__reset-button[aria-disabled=true], .dataviews-filters__container .dataviews-filters__reset-button[aria-disabled=true]:hover {
138
+ opacity: 0;
139
+ }
140
+ .dataviews-filters__container .dataviews-filters__reset-button[aria-disabled=true]:focus {
141
+ opacity: 1;
142
+ }
143
+
144
+ .dataviews-filters-button {
145
+ position: relative;
146
+ }
147
+
148
+ .dataviews-pagination {
149
+ position: sticky;
150
+ bottom: 0;
151
+ right: 0;
152
+ background-color: #fff;
153
+ padding: 12px 48px;
154
+ border-top: 1px solid #f0f0f0;
155
+ color: #757575;
156
+ flex-shrink: 0;
157
+ transition: padding ease-out 0.1s;
158
+ }
159
+ @media (prefers-reduced-motion: reduce) {
160
+ .dataviews-pagination {
161
+ transition-duration: 0s;
162
+ transition-delay: 0s;
163
+ }
164
+ }
165
+
166
+ .dataviews-pagination__page-selection {
167
+ font-size: 11px;
168
+ text-transform: uppercase;
169
+ font-weight: 500;
170
+ color: #1e1e1e;
171
+ }
172
+
173
+ .dataviews-filters-options {
174
+ margin: 32px 0 16px;
175
+ }
176
+
177
+ .dataviews-view-table {
178
+ width: 100%;
179
+ text-indent: 0;
180
+ border-color: inherit;
181
+ border-collapse: collapse;
182
+ position: relative;
183
+ color: #757575;
184
+ margin-bottom: auto;
185
+ }
186
+ .dataviews-view-table a {
187
+ text-decoration: none;
188
+ color: #1e1e1e;
189
+ font-weight: 500;
190
+ }
191
+ .dataviews-view-table th {
192
+ text-align: right;
193
+ color: #1e1e1e;
194
+ font-weight: normal;
195
+ font-size: 13px;
196
+ }
197
+ .dataviews-view-table td,
198
+ .dataviews-view-table th {
199
+ padding: 12px;
200
+ white-space: nowrap;
201
+ }
202
+ .dataviews-view-table td[data-field-id=actions],
203
+ .dataviews-view-table th[data-field-id=actions] {
204
+ text-align: left;
205
+ }
206
+ .dataviews-view-table td.dataviews-view-table__checkbox-column,
207
+ .dataviews-view-table th.dataviews-view-table__checkbox-column {
208
+ padding-left: 0;
209
+ }
210
+ .dataviews-view-table tr {
211
+ border-bottom: 1px solid #f0f0f0;
212
+ }
213
+ .dataviews-view-table tr .dataviews-view-table-header-button {
214
+ gap: 4px;
215
+ }
216
+ .dataviews-view-table tr th:first-child, .dataviews-view-table tr th:last-child,
217
+ .dataviews-view-table tr td:first-child,
218
+ .dataviews-view-table tr td:last-child {
219
+ transition: padding ease-out 0.1s;
220
+ }
221
+ @media (prefers-reduced-motion: reduce) {
222
+ .dataviews-view-table tr th:first-child, .dataviews-view-table tr th:last-child,
223
+ .dataviews-view-table tr td:first-child,
224
+ .dataviews-view-table tr td:last-child {
225
+ transition-duration: 0s;
226
+ transition-delay: 0s;
227
+ }
228
+ }
229
+ .dataviews-view-table tr td:first-child,
230
+ .dataviews-view-table tr th:first-child {
231
+ padding-right: 48px;
232
+ }
233
+ .dataviews-view-table tr td:first-child .dataviews-view-table-header-button,
234
+ .dataviews-view-table tr td:first-child .dataviews-view-table-header,
235
+ .dataviews-view-table tr th:first-child .dataviews-view-table-header-button,
236
+ .dataviews-view-table tr th:first-child .dataviews-view-table-header {
237
+ margin-right: -8px;
238
+ }
239
+ .dataviews-view-table tr td:last-child,
240
+ .dataviews-view-table tr th:last-child {
241
+ padding-left: 48px;
242
+ }
243
+ .dataviews-view-table tr:last-child {
244
+ border-bottom: 0;
245
+ }
246
+ .dataviews-view-table tr.is-hovered {
247
+ background-color: #f8f8f8;
248
+ }
249
+ .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input {
250
+ opacity: 0;
251
+ }
252
+ .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:checked, .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:indeterminate, .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:focus {
253
+ opacity: 1;
254
+ }
255
+ .dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
256
+ opacity: 0;
257
+ }
258
+ .dataviews-view-table tr:focus-within .components-checkbox-control__input,
259
+ .dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .components-checkbox-control__input,
260
+ .dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .components-checkbox-control__input,
261
+ .dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
262
+ opacity: 1;
263
+ }
264
+ @media (hover: none) {
265
+ .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input,
266
+ .dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
267
+ opacity: 1;
268
+ }
269
+ }
270
+ .dataviews-view-table tr.is-selected {
271
+ background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
272
+ color: #757575;
273
+ }
274
+ .dataviews-view-table tr.is-selected:hover {
275
+ background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
276
+ }
277
+ .dataviews-view-table thead {
278
+ position: sticky;
279
+ inset-block-start: 0;
280
+ z-index: 1;
281
+ }
282
+ .dataviews-view-table thead tr {
283
+ border: 0;
284
+ }
285
+ .dataviews-view-table thead th {
286
+ background-color: #fff;
287
+ box-shadow: inset 0 -1px 0 #f0f0f0;
288
+ padding-top: 8px;
289
+ padding-bottom: 8px;
290
+ font-size: 11px;
291
+ text-transform: uppercase;
292
+ font-weight: 500;
293
+ padding-right: 4px;
294
+ }
295
+ .dataviews-view-table tbody td {
296
+ vertical-align: top;
297
+ }
298
+ .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
299
+ min-height: 32px;
300
+ display: flex;
301
+ align-items: center;
302
+ }
303
+ .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper > * {
304
+ flex-grow: 1;
305
+ }
306
+ .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__primary-field a {
307
+ flex-grow: 0;
308
+ }
309
+ .dataviews-view-table .dataviews-view-table-header-button {
310
+ padding: 4px 8px;
311
+ font-size: 11px;
312
+ text-transform: uppercase;
313
+ font-weight: 500;
314
+ }
315
+ .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
316
+ color: #1e1e1e;
317
+ }
318
+ .dataviews-view-table .dataviews-view-table-header-button span {
319
+ speak: none;
320
+ }
321
+ .dataviews-view-table .dataviews-view-table-header-button span:empty {
322
+ display: none;
323
+ }
324
+ .dataviews-view-table .dataviews-view-table-header {
325
+ padding-right: 4px;
326
+ }
327
+ .dataviews-view-table .dataviews-view-table__actions-column {
328
+ width: 1%;
329
+ }
330
+ .dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
331
+ opacity: 1;
332
+ }
333
+
334
+ .dataviews-view-list__primary-field,
335
+ .dataviews-view-grid__primary-field,
336
+ .dataviews-view-table__primary-field {
337
+ font-size: 13px;
338
+ font-weight: 500;
339
+ color: #757575;
340
+ text-overflow: ellipsis;
341
+ white-space: nowrap;
342
+ display: block;
343
+ width: 100%;
344
+ }
345
+ .dataviews-view-list__primary-field a,
346
+ .dataviews-view-grid__primary-field a,
347
+ .dataviews-view-table__primary-field a {
348
+ text-decoration: none;
349
+ text-overflow: ellipsis;
350
+ white-space: nowrap;
351
+ overflow: hidden;
352
+ display: block;
353
+ flex-grow: 0;
354
+ color: #1e1e1e;
355
+ }
356
+ .dataviews-view-list__primary-field a:hover,
357
+ .dataviews-view-grid__primary-field a:hover,
358
+ .dataviews-view-table__primary-field a:hover {
359
+ color: var(--wp-admin-theme-color);
360
+ }
361
+ .dataviews-view-list__primary-field a:focus,
362
+ .dataviews-view-grid__primary-field a:focus,
363
+ .dataviews-view-table__primary-field a:focus {
364
+ color: var(--wp-admin-theme-color--rgb);
365
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
366
+ border-radius: 2px;
367
+ }
368
+ .dataviews-view-list__primary-field button.components-button.is-link,
369
+ .dataviews-view-grid__primary-field button.components-button.is-link,
370
+ .dataviews-view-table__primary-field button.components-button.is-link {
371
+ text-decoration: none;
372
+ font-weight: inherit;
373
+ text-overflow: ellipsis;
374
+ white-space: nowrap;
375
+ overflow: hidden;
376
+ display: block;
377
+ width: 100%;
378
+ color: #1e1e1e;
379
+ }
380
+ .dataviews-view-list__primary-field button.components-button.is-link:hover,
381
+ .dataviews-view-grid__primary-field button.components-button.is-link:hover,
382
+ .dataviews-view-table__primary-field button.components-button.is-link:hover {
383
+ color: var(--wp-admin-theme-color);
384
+ }
385
+
386
+ .dataviews-view-grid {
387
+ margin-bottom: auto;
388
+ grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
389
+ grid-template-rows: max-content;
390
+ padding: 0 48px 24px;
391
+ transition: padding ease-out 0.1s;
392
+ }
393
+ @media (prefers-reduced-motion: reduce) {
394
+ .dataviews-view-grid {
395
+ transition-duration: 0s;
396
+ transition-delay: 0s;
397
+ }
398
+ }
399
+ @media (min-width: 480px) {
400
+ .dataviews-view-grid {
401
+ grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
402
+ }
403
+ }
404
+ @media (min-width: 1080px) {
405
+ .dataviews-view-grid {
406
+ grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
407
+ }
408
+ }
409
+ @media (min-width: 1440px) {
410
+ .dataviews-view-grid {
411
+ grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
412
+ }
413
+ }
414
+ .dataviews-view-grid .dataviews-view-grid__card {
415
+ height: 100%;
416
+ justify-content: flex-start;
417
+ }
418
+ .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions {
419
+ padding: 8px 0 4px;
420
+ }
421
+ .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__primary-field {
422
+ min-height: 32px;
423
+ }
424
+ .dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
425
+ color: #1e1e1e;
426
+ }
427
+ .dataviews-view-grid .dataviews-view-grid__card.is-selected .page-pages-preview-field__button::after {
428
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
429
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
430
+ }
431
+ .dataviews-view-grid .dataviews-view-grid__media {
432
+ width: 100%;
433
+ min-height: 200px;
434
+ aspect-ratio: 1/1;
435
+ background-color: #f0f0f0;
436
+ border-radius: 4px;
437
+ overflow: hidden;
438
+ position: relative;
439
+ }
440
+ .dataviews-view-grid .dataviews-view-grid__media img {
441
+ object-fit: cover;
442
+ width: 100%;
443
+ height: 100%;
444
+ }
445
+ .dataviews-view-grid .dataviews-view-grid__media::after {
446
+ content: "";
447
+ position: absolute;
448
+ top: 0;
449
+ right: 0;
450
+ width: 100%;
451
+ height: 100%;
452
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
453
+ border-radius: 4px;
454
+ pointer-events: none;
455
+ }
456
+ .dataviews-view-grid .dataviews-view-grid__fields {
457
+ position: relative;
458
+ font-size: 12px;
459
+ line-height: 16px;
460
+ }
461
+ .dataviews-view-grid .dataviews-view-grid__fields:not(:empty) {
462
+ padding: 0 0 12px;
463
+ }
464
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field {
465
+ align-items: flex-start;
466
+ }
467
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) {
468
+ align-items: center;
469
+ }
470
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) .dataviews-view-grid__field-name {
471
+ width: 35%;
472
+ }
473
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) .dataviews-view-grid__field-value {
474
+ width: 65%;
475
+ overflow: hidden;
476
+ text-overflow: ellipsis;
477
+ white-space: nowrap;
478
+ }
479
+ .dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
480
+ color: #757575;
481
+ }
482
+ .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty) {
483
+ padding-bottom: 12px;
484
+ }
485
+ .dataviews-view-grid .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value {
486
+ width: -moz-fit-content;
487
+ width: fit-content;
488
+ background: #f0f0f0;
489
+ padding: 0 8px;
490
+ min-height: 24px;
491
+ border-radius: 2px;
492
+ display: flex;
493
+ align-items: center;
494
+ font-size: 12px;
495
+ }
496
+
497
+ .dataviews-view-list {
498
+ margin: 0 0 auto;
499
+ }
500
+ .dataviews-view-list li {
501
+ margin: 0;
502
+ cursor: pointer;
503
+ border-top: 1px solid #f0f0f0;
504
+ }
505
+ .dataviews-view-list li .dataviews-view-list__item-wrapper {
506
+ position: relative;
507
+ border-radius: 4px;
508
+ }
509
+ .dataviews-view-list li .dataviews-view-list__item-wrapper > * {
510
+ width: 100%;
511
+ }
512
+ .dataviews-view-list li .dataviews-view-list__item-actions .components-button {
513
+ opacity: 0;
514
+ position: fixed;
515
+ left: 0;
516
+ }
517
+ .dataviews-view-list li.is-selected .dataviews-view-list__item-actions, .dataviews-view-list li.is-hovered .dataviews-view-list__item-actions, .dataviews-view-list li:focus-within .dataviews-view-list__item-actions {
518
+ padding-left: 32px;
519
+ }
520
+ .dataviews-view-list li.is-selected .dataviews-view-list__item-actions .components-button, .dataviews-view-list li.is-hovered .dataviews-view-list__item-actions .components-button, .dataviews-view-list li:focus-within .dataviews-view-list__item-actions .components-button {
521
+ opacity: 1;
522
+ position: static;
523
+ }
524
+ .dataviews-view-list li.is-selected .dataviews-view-list__item, .dataviews-view-list li.is-hovered .dataviews-view-list__item, .dataviews-view-list li:focus-within .dataviews-view-list__item {
525
+ padding-left: 0;
526
+ }
527
+ .dataviews-view-list li:not(.is-selected) .dataviews-view-list__primary-field {
528
+ color: #1e1e1e;
529
+ }
530
+ .dataviews-view-list li:not(.is-selected):hover, .dataviews-view-list li:not(.is-selected):focus-within {
531
+ color: var(--wp-admin-theme-color);
532
+ background-color: #f8f8f8;
533
+ }
534
+ .dataviews-view-list li:not(.is-selected):hover .dataviews-view-list__primary-field,
535
+ .dataviews-view-list li:not(.is-selected):hover .dataviews-view-list__fields, .dataviews-view-list li:not(.is-selected):focus-within .dataviews-view-list__primary-field,
536
+ .dataviews-view-list li:not(.is-selected):focus-within .dataviews-view-list__fields {
537
+ color: var(--wp-admin-theme-color);
538
+ }
539
+ .dataviews-view-list li.is-selected .dataviews-view-list__item-wrapper,
540
+ .dataviews-view-list li.is-selected:focus-within .dataviews-view-list__item-wrapper {
541
+ background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
542
+ color: #1e1e1e;
543
+ }
544
+ .dataviews-view-list li.is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__primary-field,
545
+ .dataviews-view-list li.is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__fields,
546
+ .dataviews-view-list li.is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__primary-field,
547
+ .dataviews-view-list li.is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__fields {
548
+ color: var(--wp-admin-theme-color);
549
+ }
550
+ .dataviews-view-list .dataviews-view-list__item {
551
+ padding: 16px 24px 16px 0;
552
+ width: 100%;
553
+ scroll-margin: 8px 0;
554
+ }
555
+ .dataviews-view-list .dataviews-view-list__item:focus-visible::before {
556
+ position: absolute;
557
+ content: "";
558
+ top: calc(var(--wp-admin-border-width-focus) + 1px);
559
+ left: var(--wp-admin-border-width-focus);
560
+ bottom: var(--wp-admin-border-width-focus);
561
+ right: var(--wp-admin-border-width-focus);
562
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
563
+ border-radius: 2px;
564
+ }
565
+ .dataviews-view-list .dataviews-view-list__item .dataviews-view-list__primary-field {
566
+ min-height: 20px;
567
+ line-height: 20px;
568
+ overflow: hidden;
569
+ }
570
+ .dataviews-view-list .dataviews-view-list__media-wrapper {
571
+ width: 40px;
572
+ height: 40px;
573
+ overflow: hidden;
574
+ position: relative;
575
+ flex-shrink: 0;
576
+ background-color: #f0f0f0;
577
+ border-radius: 4px;
578
+ }
579
+ .dataviews-view-list .dataviews-view-list__media-wrapper img {
580
+ width: 100%;
581
+ height: 100%;
582
+ object-fit: cover;
583
+ }
584
+ .dataviews-view-list .dataviews-view-list__media-wrapper::after {
585
+ content: "";
586
+ position: absolute;
587
+ top: 0;
588
+ right: 0;
589
+ width: 100%;
590
+ height: 100%;
591
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
592
+ border-radius: 4px;
593
+ }
594
+ .dataviews-view-list .dataviews-view-list__media-placeholder {
595
+ min-width: 32px;
596
+ height: 32px;
597
+ background-color: #e0e0e0;
598
+ }
599
+ .dataviews-view-list .dataviews-view-list__fields {
600
+ color: #757575;
601
+ display: flex;
602
+ gap: 8px;
603
+ flex-wrap: wrap;
604
+ font-size: 12px;
605
+ }
606
+ .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field:has(.dataviews-view-list__field-value:empty) {
607
+ display: none;
608
+ }
609
+ .dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
610
+ line-height: 20px;
611
+ display: inline-flex;
612
+ }
613
+ .dataviews-view-list .dataviews-view-list__item-actions {
614
+ padding-left: 24px;
615
+ }
616
+ .dataviews-view-list + .dataviews-pagination {
617
+ justify-content: space-between;
618
+ }
619
+
620
+ .dataviews-action-modal {
621
+ z-index: 1000001;
622
+ }
623
+
624
+ .dataviews-no-results,
625
+ .dataviews-loading {
626
+ padding: 0 48px;
627
+ flex-grow: 1;
628
+ display: flex;
629
+ align-items: center;
630
+ justify-content: center;
631
+ transition: padding ease-out 0.1s;
632
+ }
633
+ @media (prefers-reduced-motion: reduce) {
634
+ .dataviews-no-results,
635
+ .dataviews-loading {
636
+ transition-duration: 0s;
637
+ transition-delay: 0s;
638
+ }
639
+ }
640
+
641
+ .dataviews-view-table-selection-checkbox {
642
+ --checkbox-input-size: 24px;
643
+ line-height: 0;
644
+ flex-shrink: 0;
645
+ }
646
+ @media (min-width: 600px) {
647
+ .dataviews-view-table-selection-checkbox {
648
+ --checkbox-input-size: 16px;
649
+ }
650
+ }
651
+ .dataviews-view-table-selection-checkbox .components-checkbox-control__input-container {
652
+ margin: 0;
653
+ }
654
+
655
+ .dataviews-bulk-edit-button.components-button {
656
+ flex-shrink: 0;
657
+ }
658
+
659
+ .dataviews-filter-summary__popover .components-popover__content {
660
+ width: 230px;
661
+ padding: 0;
662
+ border-radius: 4px;
663
+ }
664
+
665
+ .dataviews-search-widget-filter-combobox-list {
666
+ max-height: 184px;
667
+ padding: 4px;
668
+ overflow: auto;
669
+ border-top: 1px solid #e0e0e0;
670
+ }
671
+ .dataviews-search-widget-filter-combobox-list .dataviews-search-widget-filter-combobox-item-value [data-user-value] {
672
+ font-weight: 600;
673
+ }
674
+
675
+ .dataviews-search-widget-listbox {
676
+ max-height: 184px;
677
+ padding: 4px;
678
+ overflow: auto;
679
+ }
680
+
681
+ .dataviews-search-widget-listitem {
682
+ display: flex;
683
+ align-items: center;
684
+ gap: 8px;
685
+ border-radius: 2px;
686
+ box-sizing: border-box;
687
+ padding: 8px 12px;
688
+ cursor: default;
689
+ margin-block-end: 2px;
690
+ }
691
+ .dataviews-search-widget-listitem:last-child {
692
+ margin-block-end: 0;
693
+ }
694
+ .dataviews-search-widget-listitem:hover, .dataviews-search-widget-listitem[data-active-item], .dataviews-search-widget-listitem:focus {
695
+ background-color: var(--wp-admin-theme-color);
696
+ color: #fff;
697
+ }
698
+ .dataviews-search-widget-listitem:hover .dataviews-search-widget-listitem-check, .dataviews-search-widget-listitem[data-active-item] .dataviews-search-widget-listitem-check, .dataviews-search-widget-listitem:focus .dataviews-search-widget-listitem-check {
699
+ fill: #fff;
700
+ }
701
+ .dataviews-search-widget-listitem:hover .dataviews-search-widget-listitem-description, .dataviews-search-widget-listitem[data-active-item] .dataviews-search-widget-listitem-description, .dataviews-search-widget-listitem:focus .dataviews-search-widget-listitem-description {
702
+ color: #fff;
703
+ }
704
+ .dataviews-search-widget-listitem .dataviews-search-widget-listitem-check {
705
+ width: 24px;
706
+ height: 24px;
707
+ flex-shrink: 0;
708
+ }
709
+ .dataviews-search-widget-listitem .dataviews-search-widget-listitem-description {
710
+ display: block;
711
+ overflow: hidden;
712
+ text-overflow: ellipsis;
713
+ font-size: 12px;
714
+ line-height: 16px;
715
+ color: #757575;
716
+ }
717
+
718
+ .dataviews-search-widget-filter-combobox__wrapper {
719
+ position: relative;
720
+ padding: 8px;
721
+ }
722
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input {
723
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
724
+ padding: 6px 8px;
725
+ box-shadow: 0 0 0 transparent;
726
+ transition: box-shadow 0.1s linear;
727
+ border-radius: 2px;
728
+ border: 1px solid #949494;
729
+ /* Fonts smaller than 16px causes mobile safari to zoom. */
730
+ font-size: 16px;
731
+ /* Override core line-height. To be reviewed. */
732
+ line-height: normal;
733
+ display: block;
734
+ padding: 0 8px 0 32px;
735
+ background: #f0f0f0;
736
+ border: none;
737
+ width: 100%;
738
+ height: 32px;
739
+ margin-right: 0;
740
+ margin-left: 0;
741
+ /* Fonts smaller than 16px causes mobile safari to zoom. */
742
+ font-size: 16px;
743
+ }
744
+ @media (prefers-reduced-motion: reduce) {
745
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input {
746
+ transition-duration: 0s;
747
+ transition-delay: 0s;
748
+ }
749
+ }
750
+ @media (min-width: 600px) {
751
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input {
752
+ font-size: 13px;
753
+ /* Override core line-height. To be reviewed. */
754
+ line-height: normal;
755
+ }
756
+ }
757
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input:focus {
758
+ border-color: var(--wp-admin-theme-color);
759
+ box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
760
+ outline: 2px solid transparent;
761
+ }
762
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input::-webkit-input-placeholder {
763
+ color: rgba(30, 30, 30, 0.62);
764
+ }
765
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input::-moz-placeholder {
766
+ opacity: 1;
767
+ color: rgba(30, 30, 30, 0.62);
768
+ }
769
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input:-ms-input-placeholder {
770
+ color: rgba(30, 30, 30, 0.62);
771
+ }
772
+ @media (min-width: 600px) {
773
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input {
774
+ font-size: 13px;
775
+ }
776
+ }
777
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input:focus {
778
+ background: #fff;
779
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
780
+ }
781
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input::placeholder {
782
+ color: #757575;
783
+ }
784
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input::-webkit-search-decoration, .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__input::-webkit-search-results-decoration {
785
+ -webkit-appearance: none;
786
+ }
787
+ .dataviews-search-widget-filter-combobox__wrapper .dataviews-search-widget-filter-combobox__icon {
788
+ position: absolute;
789
+ left: 12px;
790
+ top: 50%;
791
+ transform: translateY(-50%);
792
+ display: flex;
793
+ align-items: center;
794
+ justify-content: center;
795
+ width: 24px;
796
+ }
797
+
798
+ .dataviews-filter-summary__operators-container {
799
+ padding: 8px 8px 0;
800
+ }
801
+ .dataviews-filter-summary__operators-container:has(+ .dataviews-search-widget-listbox) {
802
+ border-bottom: 1px solid #e0e0e0;
803
+ padding-bottom: 8px;
804
+ }
805
+ .dataviews-filter-summary__operators-container:empty {
806
+ display: none;
807
+ }
808
+ .dataviews-filter-summary__operators-container .dataviews-filter-summary__operators-filter-name {
809
+ color: #757575;
810
+ }
811
+
812
+ .dataviews-filter-summary__chip-container {
813
+ position: relative;
814
+ white-space: pre-wrap;
815
+ }
816
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip {
817
+ border-radius: 16px;
818
+ border: 1px solid transparent;
819
+ cursor: pointer;
820
+ padding: 0 12px;
821
+ height: 32px;
822
+ background: #f0f0f0;
823
+ color: #757575;
824
+ position: relative;
825
+ display: flex;
826
+ align-items: center;
827
+ }
828
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip.has-reset {
829
+ padding-inline-end: 28px;
830
+ }
831
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip:hover, .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip:focus-visible, .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip[aria-expanded=true] {
832
+ background: #e0e0e0;
833
+ color: #1e1e1e;
834
+ }
835
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip.has-values {
836
+ color: var(--wp-admin-theme-color);
837
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
838
+ }
839
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip.has-values:hover, .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip.has-values[aria-expanded=true] {
840
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
841
+ }
842
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip:focus-visible {
843
+ outline: none;
844
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
845
+ }
846
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip .dataviews-filter-summary__filter-text-name {
847
+ font-weight: 500;
848
+ }
849
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip-remove {
850
+ width: 24px;
851
+ height: 24px;
852
+ border-radius: 50%;
853
+ border: 0;
854
+ padding: 0;
855
+ position: absolute;
856
+ left: 4px;
857
+ top: 50%;
858
+ transform: translateY(-50%);
859
+ display: flex;
860
+ align-items: center;
861
+ justify-content: center;
862
+ background: transparent;
863
+ cursor: pointer;
864
+ }
865
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip-remove svg {
866
+ fill: #757575;
867
+ }
868
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip-remove:hover, .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip-remove:focus {
869
+ background: #e0e0e0;
870
+ }
871
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip-remove:hover svg, .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip-remove:focus svg {
872
+ fill: #1e1e1e;
873
+ }
874
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip-remove.has-values svg {
875
+ fill: var(--wp-admin-theme-color);
876
+ }
877
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip-remove.has-values:hover {
878
+ background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
879
+ }
880
+ .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip-remove:focus-visible {
881
+ outline: none;
882
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
883
+ }
884
+
885
+ /* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
886
+ @container (max-width: 430px) {
887
+ .dataviews-pagination,
888
+ .dataviews-filters__view-actions {
889
+ padding: 12px 24px;
890
+ }
891
+
892
+ .dataviews-filters__view-actions .components-search-control .components-base-control__field {
893
+ max-width: 112px;
894
+ }
895
+
896
+ .dataviews-view-table tr td:first-child,
897
+ .dataviews-view-table tr th:first-child {
898
+ padding-right: 24px;
899
+ }
900
+
901
+ .dataviews-view-table tr td:last-child,
902
+ .dataviews-view-table tr th:last-child {
903
+ padding-left: 24px;
904
+ }
905
+
906
+ .dataviews-view-grid,
907
+ .dataviews-no-results,
908
+ .dataviews-loading {
909
+ padding-right: 24px;
910
+ padding-left: 24px;
911
+ }
912
+ }
913
+ .dataviews-bulk-actions-toolbar-wrapper {
914
+ display: flex;
915
+ flex-grow: 1;
916
+ width: 100%;
917
+ }
918
+ .dataviews-bulk-actions-toolbar-wrapper .components-toolbar-group {
919
+ align-items: center;
920
+ }
921
+ .dataviews-bulk-actions-toolbar-wrapper .components-button.is-busy {
922
+ max-height: 36px;
923
+ }
924
+
925
+ .dataviews-bulk-actions {
926
+ position: sticky;
927
+ display: flex;
928
+ flex-direction: column;
929
+ align-content: center;
930
+ flex-wrap: wrap;
931
+ width: -moz-fit-content;
932
+ width: fit-content;
933
+ margin-right: auto;
934
+ margin-left: auto;
935
+ bottom: 24px;
936
+ z-index: 2;
937
+ }
938
+ .dataviews-bulk-actions .components-accessible-toolbar {
939
+ border-color: #ddd;
940
+ box-shadow: 0 0.7px 1px rgba(0, 0, 0, 0.1), 0 1.2px 1.7px -0.2px rgba(0, 0, 0, 0.1), 0 2.3px 3.3px -0.5px rgba(0, 0, 0, 0.1);
941
+ }
942
+ .dataviews-bulk-actions .components-accessible-toolbar .components-toolbar-group {
943
+ border-color: #e0e0e0;
944
+ }
945
+ .dataviews-bulk-actions .components-accessible-toolbar .components-toolbar-group:last-child {
946
+ border: 0;
947
+ }
948
+ .dataviews-bulk-actions .dataviews-bulk-actions__selection-count {
949
+ display: flex;
950
+ align-items: center;
951
+ margin: 0 8px 0 8px;
952
+ }
953
+
954
+ .edit-site-layout {
955
+ height: 100%;
956
+ background: #1e1e1e;
957
+ color: #ccc;
958
+ display: flex;
959
+ flex-direction: column;
960
+ }
961
+ .edit-site-layout:not(.is-full-canvas) .editor-visual-editor {
962
+ background: #1e1e1e;
963
+ }
964
+
965
+ .edit-site-layout__content {
966
+ height: 100%;
967
+ flex-grow: 1;
968
+ display: flex;
969
+ }
970
+
971
+ .edit-site-layout__sidebar-region {
972
+ z-index: 1;
973
+ width: 100vw;
974
+ flex-shrink: 0;
975
+ }
976
+ @media (min-width: 782px) {
977
+ .edit-site-layout__sidebar-region {
978
+ width: 360px;
979
+ }
980
+ }
981
+ .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region {
982
+ position: fixed !important;
983
+ height: 100vh;
984
+ right: 0;
985
+ top: 0;
986
+ }
987
+ .edit-site-layout__sidebar-region .edit-site-layout__sidebar {
988
+ display: flex;
989
+ flex-direction: column;
990
+ height: 100%;
991
+ }
992
+ .edit-site-layout__sidebar-region .resizable-editor__drag-handle {
993
+ left: 0;
994
+ }
995
+
996
+ .edit-site-layout__main {
997
+ flex-grow: 1;
998
+ overflow: hidden;
999
+ display: flex;
1000
+ flex-direction: column;
1001
+ }
1002
+
1003
+ .edit-site-layout__mobile {
1004
+ position: relative;
1005
+ width: 100%;
1006
+ z-index: 2;
1007
+ }
1008
+
1009
+ .edit-site-layout__canvas-container {
1010
+ position: relative;
1011
+ flex-grow: 1;
1012
+ z-index: 2;
1013
+ overflow: visible;
1014
+ }
1015
+ .edit-site-layout__canvas-container.is-resizing::after {
1016
+ position: absolute;
1017
+ top: 0;
1018
+ right: 0;
1019
+ left: 0;
1020
+ bottom: 0;
1021
+ content: "";
1022
+ z-index: 100;
1023
+ }
1024
+
1025
+ .edit-site-layout__canvas {
1026
+ position: absolute;
1027
+ top: 0;
1028
+ right: 0;
1029
+ bottom: 0;
1030
+ width: 100%;
1031
+ display: flex;
1032
+ justify-content: center;
1033
+ align-items: center;
1034
+ }
1035
+ .edit-site-layout__canvas.is-right-aligned {
1036
+ justify-content: flex-end;
1037
+ }
1038
+ .edit-site-layout__canvas .edit-site-resizable-frame__inner {
1039
+ color: #1e1e1e;
1040
+ }
1041
+ @media (min-width: 782px) {
1042
+ .edit-site-layout__canvas {
1043
+ top: 16px;
1044
+ bottom: 16px;
1045
+ width: calc(100% - 16px);
1046
+ }
1047
+ .edit-site-layout__canvas .edit-site-resizable-frame__inner-content {
1048
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
1049
+ transition: border-radius 0.4s;
1050
+ overflow: hidden;
1051
+ }
1052
+ .edit-site-layout:not(.is-full-canvas) .edit-site-layout__canvas .edit-site-resizable-frame__inner-content {
1053
+ border-radius: 8px;
1054
+ }
1055
+ }
1056
+ .edit-site-layout.is-full-canvas .edit-site-layout__canvas {
1057
+ top: 0;
1058
+ bottom: 0;
1059
+ width: 100%;
1060
+ }
1061
+
1062
+ .edit-site-layout__mobile .interface-interface-skeleton,
1063
+ .edit-site-layout__canvas .interface-interface-skeleton,
1064
+ .edit-site-template-pages-preview .interface-interface-skeleton {
1065
+ position: relative !important;
1066
+ min-height: 100% !important;
1067
+ }
1068
+
1069
+ .edit-site-template-pages-preview {
1070
+ height: 100%;
1071
+ }
1072
+
1073
+ /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
1074
+ html.canvas-mode-edit-transition::view-transition-group(toggle) {
1075
+ animation-delay: 255ms;
1076
+ }
1077
+
1078
+ /* stylelint-enable */
1079
+ .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region .edit-site-layout__view-mode-toggle {
1080
+ display: none;
1081
+ }
1082
+
1083
+ .edit-site-layout__view-mode-toggle.components-button {
1084
+ /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
1085
+ view-transition-name: toggle;
1086
+ /* stylelint-enable */
1087
+ position: relative;
1088
+ color: #fff;
1089
+ height: 60px;
1090
+ width: 60px;
1091
+ overflow: hidden;
1092
+ padding: 0;
1093
+ display: flex;
1094
+ align-items: center;
1095
+ justify-content: center;
1096
+ background: #1e1e1e;
1097
+ border-radius: 0;
1098
+ }
1099
+ .edit-site-layout__view-mode-toggle.components-button:hover, .edit-site-layout__view-mode-toggle.components-button:active {
1100
+ color: #fff;
1101
+ }
1102
+ .edit-site-layout__view-mode-toggle.components-button:focus {
1103
+ box-shadow: none;
1104
+ }
1105
+ .edit-site-layout__view-mode-toggle.components-button::before {
1106
+ transition: box-shadow 0.1s ease;
1107
+ content: "";
1108
+ display: block;
1109
+ position: absolute;
1110
+ top: 9px;
1111
+ left: 9px;
1112
+ bottom: 9px;
1113
+ right: 9px;
1114
+ border-radius: 4px;
1115
+ box-shadow: none;
1116
+ }
1117
+ @media (prefers-reduced-motion: reduce) {
1118
+ .edit-site-layout__view-mode-toggle.components-button::before {
1119
+ transition-duration: 0s;
1120
+ transition-delay: 0s;
1121
+ }
1122
+ }
1123
+ .edit-site-layout__view-mode-toggle.components-button:focus::before {
1124
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) rgba(255, 255, 255, 0.1), inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1125
+ }
1126
+ .edit-site-layout__view-mode-toggle.components-button .edit-site-layout__view-mode-toggle-icon {
1127
+ display: flex;
1128
+ height: 64px;
1129
+ width: 64px;
1130
+ justify-content: center;
1131
+ align-items: center;
1132
+ }
1133
+
1134
+ .edit-site-layout__actions {
1135
+ z-index: 100000;
1136
+ position: fixed !important;
1137
+ top: -9999em;
1138
+ bottom: auto;
1139
+ right: auto;
1140
+ left: 0;
1141
+ width: 280px;
1142
+ color: #1e1e1e;
1143
+ background: #fff;
1144
+ }
1145
+ .edit-site-layout__actions:focus, .edit-site-layout__actions:focus-within {
1146
+ top: auto;
1147
+ bottom: 0;
1148
+ }
1149
+ .edit-site-layout__actions.is-entity-save-view-open:focus, .edit-site-layout__actions.is-entity-save-view-open:focus-within {
1150
+ top: 0;
1151
+ }
1152
+ @media (min-width: 782px) {
1153
+ .edit-site-layout__actions {
1154
+ border-right: 1px solid #ddd;
1155
+ }
1156
+ }
1157
+
1158
+ .edit-site-layout__area {
1159
+ flex-grow: 1;
1160
+ margin: 0;
1161
+ overflow: hidden;
1162
+ }
1163
+ @media (min-width: 782px) {
1164
+ .edit-site-layout__area {
1165
+ border-radius: 8px;
1166
+ margin: 16px 0 16px 16px;
1167
+ }
1168
+ }
1169
+
1170
+ .edit-site .components-editor-notices__snackbar {
1171
+ position: fixed;
1172
+ left: 0;
1173
+ bottom: 16px;
1174
+ padding-right: 16px;
1175
+ padding-left: 16px;
1176
+ }
1177
+
1178
+ .edit-site-page {
1179
+ color: #2f2f2f;
1180
+ background: #fff;
1181
+ height: 100%;
1182
+ /* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
1183
+ container: edit-site-page/inline-size;
1184
+ transition: width ease-out 0.2s;
1185
+ }
1186
+ @media (prefers-reduced-motion: reduce) {
1187
+ .edit-site-page {
1188
+ transition-duration: 0s;
1189
+ transition-delay: 0s;
1190
+ }
1191
+ }
1192
+
1193
+ .edit-site-page-header {
1194
+ padding: 16px 48px;
1195
+ border-bottom: 1px solid #f0f0f0;
1196
+ background: #fff;
1197
+ position: sticky;
1198
+ top: 0;
1199
+ z-index: 2;
1200
+ transition: padding ease-out 0.1s;
1201
+ }
1202
+ @media (prefers-reduced-motion: reduce) {
1203
+ .edit-site-page-header {
1204
+ transition-duration: 0s;
1205
+ transition-delay: 0s;
1206
+ }
1207
+ }
1208
+ .edit-site-page-header .components-heading {
1209
+ color: #1e1e1e;
1210
+ }
1211
+ .edit-site-page-header .edit-site-page-header__page-title {
1212
+ min-height: 40px;
1213
+ }
1214
+ .edit-site-page-header .edit-site-page-header__page-title .components-heading {
1215
+ flex-grow: 1;
1216
+ flex-basis: 0;
1217
+ white-space: nowrap;
1218
+ }
1219
+ .edit-site-page-header .edit-site-page-header__sub-title {
1220
+ margin-bottom: 8px;
1221
+ }
1222
+
1223
+ /* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
1224
+ @container (max-width: 430px) {
1225
+ .edit-site-page-header {
1226
+ padding: 16px 24px;
1227
+ }
1228
+ }
1229
+ .edit-site-page-content {
1230
+ height: 100%;
1231
+ display: flex;
1232
+ flex-flow: column;
1233
+ position: relative;
1234
+ z-index: 1;
1235
+ }
1236
+
1237
+ .edit-site-save-hub {
1238
+ color: #949494;
1239
+ border-top: 1px solid #2f2f2f;
1240
+ flex-shrink: 0;
1241
+ margin: 0;
1242
+ padding: 16px 16px;
1243
+ }
1244
+
1245
+ .edit-site-save-hub__button {
1246
+ color: inherit;
1247
+ width: 100%;
1248
+ justify-content: center;
1249
+ }
1250
+ .edit-site-save-hub__button[aria-disabled=true] {
1251
+ opacity: 1;
1252
+ }
1253
+ .edit-site-save-hub__button[aria-disabled=true]:hover {
1254
+ color: inherit;
1255
+ }
1256
+ .edit-site-save-hub__button:not(.is-primary).is-busy, .edit-site-save-hub__button:not(.is-primary).is-busy[aria-disabled=true]:hover {
1257
+ color: #1e1e1e;
1258
+ }
1259
+
1260
+ @media (min-width: 600px) {
1261
+ .edit-site-save-panel__modal {
1262
+ width: 600px;
1263
+ }
1264
+ }
1265
+
1266
+ .edit-site-sidebar__content {
1267
+ flex-grow: 1;
1268
+ overflow-y: auto;
1269
+ }
1270
+
1271
+ @keyframes _61x0r_slide-from-right {
1272
+ from {
1273
+ transform: translateX(-50px);
1274
+ opacity: 0;
1275
+ }
1276
+ to {
1277
+ transform: none;
1278
+ opacity: 1;
1279
+ }
1280
+ }
1281
+ @keyframes _61x0r_slide-from-left {
1282
+ from {
1283
+ transform: translateX(50px);
1284
+ opacity: 0;
1285
+ }
1286
+ to {
1287
+ transform: none;
1288
+ opacity: 1;
1289
+ }
1290
+ }
1291
+ .edit-site-sidebar__screen-wrapper {
1292
+ overflow-x: auto;
1293
+ scrollbar-width: thin;
1294
+ scrollbar-gutter: stable both-edges;
1295
+ scrollbar-color: transparent transparent;
1296
+ will-change: transform;
1297
+ scrollbar-gutter: stable;
1298
+ display: flex;
1299
+ flex-direction: column;
1300
+ height: 100%;
1301
+ max-height: 100%;
1302
+ padding: 0 12px;
1303
+ animation-duration: 0.14s;
1304
+ animation-timing-function: ease-in-out;
1305
+ will-change: transform, opacity;
1306
+ }
1307
+ .edit-site-sidebar__screen-wrapper::-webkit-scrollbar {
1308
+ width: 12px;
1309
+ height: 12px;
1310
+ }
1311
+ .edit-site-sidebar__screen-wrapper::-webkit-scrollbar-track {
1312
+ background-color: transparent;
1313
+ }
1314
+ .edit-site-sidebar__screen-wrapper::-webkit-scrollbar-thumb {
1315
+ background-color: transparent;
1316
+ border-radius: 8px;
1317
+ border: 3px solid transparent;
1318
+ background-clip: padding-box;
1319
+ }
1320
+ .edit-site-sidebar__screen-wrapper:hover::-webkit-scrollbar-thumb, .edit-site-sidebar__screen-wrapper:focus::-webkit-scrollbar-thumb, .edit-site-sidebar__screen-wrapper:focus-within::-webkit-scrollbar-thumb {
1321
+ background-color: #757575;
1322
+ }
1323
+ .edit-site-sidebar__screen-wrapper:hover, .edit-site-sidebar__screen-wrapper:focus, .edit-site-sidebar__screen-wrapper:focus-within {
1324
+ scrollbar-color: #757575 transparent;
1325
+ }
1326
+ @media (hover: none) {
1327
+ .edit-site-sidebar__screen-wrapper {
1328
+ scrollbar-color: #757575 transparent;
1329
+ }
1330
+ }
1331
+ @media (prefers-reduced-motion: reduce) {
1332
+ .edit-site-sidebar__screen-wrapper {
1333
+ animation-duration: 0s;
1334
+ }
1335
+ }
1336
+ .edit-site-sidebar__screen-wrapper.slide-from-left {
1337
+ animation-name: _61x0r_slide-from-left;
1338
+ }
1339
+ .edit-site-sidebar__screen-wrapper.slide-from-right {
1340
+ animation-name: _61x0r_slide-from-right;
1341
+ }
1342
+
1343
+ .edit-site-site-hub {
1344
+ display: flex;
1345
+ align-items: center;
1346
+ justify-content: space-between;
1347
+ gap: 8px;
1348
+ margin-left: 12px;
1349
+ }
1350
+
1351
+ .edit-site-site-hub__actions {
1352
+ flex-shrink: 0;
1353
+ }
1354
+
1355
+ .edit-site-site-hub__view-mode-toggle-container {
1356
+ height: 60px;
1357
+ width: 60px;
1358
+ flex-shrink: 0;
1359
+ }
1360
+ .edit-site-site-hub__view-mode-toggle-container.has-transparent-background .edit-site-layout__view-mode-toggle-icon {
1361
+ background: transparent;
1362
+ }
1363
+
1364
+ .edit-site-site-hub__title .components-button {
1365
+ color: #e0e0e0;
1366
+ display: block;
1367
+ flex-grow: 1;
1368
+ font-size: 15px;
1369
+ font-weight: 500;
1370
+ overflow: hidden;
1371
+ padding-left: 16px;
1372
+ position: relative;
1373
+ text-decoration: none;
1374
+ text-overflow: ellipsis;
1375
+ white-space: nowrap;
1376
+ }
1377
+ .edit-site-site-hub__title .components-button:hover, .edit-site-site-hub__title .components-button:focus, .edit-site-site-hub__title .components-button:active {
1378
+ color: #e0e0e0;
1379
+ }
1380
+ .edit-site-site-hub__title .components-button:focus {
1381
+ box-shadow: none;
1382
+ outline: none;
1383
+ }
1384
+ .edit-site-site-hub__title .components-button:focus-visible {
1385
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e, 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-admin-theme-color);
1386
+ outline: 2px solid transparent;
1387
+ outline-offset: 2px;
1388
+ }
1389
+ .edit-site-site-hub__title .components-button::after {
1390
+ content: "↗";
1391
+ font-weight: 400;
1392
+ opacity: 0;
1393
+ position: absolute;
1394
+ left: 0;
1395
+ transition: opacity 0.1s linear;
1396
+ }
1397
+ @media (prefers-reduced-motion: reduce) {
1398
+ .edit-site-site-hub__title .components-button::after {
1399
+ transition-duration: 0s;
1400
+ transition-delay: 0s;
1401
+ }
1402
+ }
1403
+ .edit-site-site-hub__title .components-button:hover::after, .edit-site-site-hub__title .components-button:focus::after, .edit-site-site-hub__title .components-button:active::after {
1404
+ opacity: 1;
1405
+ }
1406
+
1407
+ .edit-site-site-hub_toggle-command-center {
1408
+ color: #e0e0e0;
1409
+ }
1410
+ .edit-site-site-hub_toggle-command-center:hover svg, .edit-site-site-hub_toggle-command-center:active svg {
1411
+ fill: #f0f0f0;
1412
+ }
1413
+
1414
+ .edit-site-site-icon__icon {
1415
+ fill: currentColor;
1416
+ }
1417
+ .edit-site-layout.is-full-canvas .edit-site-site-icon__icon {
1418
+ padding: 6px;
1419
+ }
1420
+
1421
+ .edit-site-site-icon__image {
1422
+ width: 100%;
1423
+ height: 100%;
1424
+ object-fit: cover;
1425
+ background: #333;
1426
+ }
1427
+ .edit-site-layout.is-full-canvas .edit-site-site-icon__image {
1428
+ border-radius: 0;
1429
+ }
1430
+
1431
+ .edit-site-editor-canvas-container {
1432
+ height: 100%;
1433
+ background-color: #ddd;
1434
+ }
1435
+ .edit-site-editor-canvas-container iframe {
1436
+ display: block;
1437
+ width: 100%;
1438
+ height: 100%;
1439
+ }
1440
+ .edit-site-layout.is-full-canvas .edit-site-editor-canvas-container {
1441
+ padding: 24px 24px 0;
1442
+ }
1443
+
1444
+ .edit-site-editor-canvas-container__section {
1445
+ background: #fff;
1446
+ border-radius: 2px;
1447
+ bottom: 0;
1448
+ right: 0;
1449
+ overflow: hidden;
1450
+ position: absolute;
1451
+ left: 0;
1452
+ top: 0;
1453
+ transition: all 0.3s;
1454
+ }
1455
+
1456
+ .edit-site-editor-canvas-container__close-button {
1457
+ position: absolute;
1458
+ left: 8px;
1459
+ top: 6px;
1460
+ z-index: 1;
1461
+ background: #fff;
1462
+ }
1463
+
1464
+ .edit-site-resizable-frame__inner {
1465
+ position: relative;
1466
+ }
1467
+ body:has(.edit-site-resizable-frame__inner.is-resizing) {
1468
+ cursor: col-resize;
1469
+ user-select: none;
1470
+ -webkit-user-select: none;
1471
+ }
1472
+
1473
+ .edit-site-resizable-frame__inner.is-resizing::before {
1474
+ position: absolute;
1475
+ z-index: 1;
1476
+ inset: 0;
1477
+ content: "";
1478
+ }
1479
+
1480
+ .edit-site-resizable-frame__inner-content {
1481
+ position: absolute;
1482
+ z-index: 0;
1483
+ inset: 0;
1484
+ }
1485
+
1486
+ .edit-site-resizable-frame__handle {
1487
+ align-items: center;
1488
+ background-color: rgba(117, 117, 117, 0.4);
1489
+ border: 0;
1490
+ border-radius: 4px;
1491
+ cursor: col-resize;
1492
+ display: flex;
1493
+ height: 64px;
1494
+ justify-content: flex-end;
1495
+ padding: 0;
1496
+ position: absolute;
1497
+ top: calc(50% - 32px);
1498
+ width: 4px;
1499
+ z-index: 100;
1500
+ }
1501
+ .edit-site-resizable-frame__handle::before {
1502
+ content: "";
1503
+ height: 100%;
1504
+ right: 100%;
1505
+ position: absolute;
1506
+ width: 32px;
1507
+ }
1508
+ .edit-site-resizable-frame__handle::after {
1509
+ content: "";
1510
+ height: 100%;
1511
+ position: absolute;
1512
+ left: 100%;
1513
+ width: 32px;
1514
+ }
1515
+ .edit-site-resizable-frame__handle:focus-visible {
1516
+ outline: 2px solid transparent;
1517
+ }
1518
+ .edit-site-resizable-frame__handle:hover, .edit-site-resizable-frame__handle:focus, .edit-site-resizable-frame__handle.is-resizing {
1519
+ background-color: var(--wp-admin-theme-color);
1520
+ }
1521
+
1522
+ body.admin-color-light {
1523
+ --wp-admin-theme-color: #0085ba;
1524
+ --wp-admin-theme-color--rgb: 0, 133, 186;
1525
+ --wp-admin-theme-color-darker-10: #0073a1;
1526
+ --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
1527
+ --wp-admin-theme-color-darker-20: #006187;
1528
+ --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
1529
+ --wp-admin-border-width-focus: 2px;
1530
+ }
1531
+ @media (min-resolution: 192dpi) {
1532
+ body.admin-color-light {
1533
+ --wp-admin-border-width-focus: 1.5px;
1534
+ }
1535
+ }
1536
+
1537
+ body.admin-color-modern {
1538
+ --wp-admin-theme-color: #3858e9;
1539
+ --wp-admin-theme-color--rgb: 56, 88, 233;
1540
+ --wp-admin-theme-color-darker-10: #2145e6;
1541
+ --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
1542
+ --wp-admin-theme-color-darker-20: #183ad6;
1543
+ --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
1544
+ --wp-admin-border-width-focus: 2px;
1545
+ }
1546
+ @media (min-resolution: 192dpi) {
1547
+ body.admin-color-modern {
1548
+ --wp-admin-border-width-focus: 1.5px;
1549
+ }
1550
+ }
1551
+
1552
+ body.admin-color-blue {
1553
+ --wp-admin-theme-color: #096484;
1554
+ --wp-admin-theme-color--rgb: 9, 100, 132;
1555
+ --wp-admin-theme-color-darker-10: #07526c;
1556
+ --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
1557
+ --wp-admin-theme-color-darker-20: #064054;
1558
+ --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
1559
+ --wp-admin-border-width-focus: 2px;
1560
+ }
1561
+ @media (min-resolution: 192dpi) {
1562
+ body.admin-color-blue {
1563
+ --wp-admin-border-width-focus: 1.5px;
1564
+ }
1565
+ }
1566
+
1567
+ body.admin-color-coffee {
1568
+ --wp-admin-theme-color: #46403c;
1569
+ --wp-admin-theme-color--rgb: 70, 64, 60;
1570
+ --wp-admin-theme-color-darker-10: #383330;
1571
+ --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
1572
+ --wp-admin-theme-color-darker-20: #2b2724;
1573
+ --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
1574
+ --wp-admin-border-width-focus: 2px;
1575
+ }
1576
+ @media (min-resolution: 192dpi) {
1577
+ body.admin-color-coffee {
1578
+ --wp-admin-border-width-focus: 1.5px;
1579
+ }
1580
+ }
1581
+
1582
+ body.admin-color-ectoplasm {
1583
+ --wp-admin-theme-color: #523f6d;
1584
+ --wp-admin-theme-color--rgb: 82, 63, 109;
1585
+ --wp-admin-theme-color-darker-10: #46365d;
1586
+ --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
1587
+ --wp-admin-theme-color-darker-20: #3a2c4d;
1588
+ --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
1589
+ --wp-admin-border-width-focus: 2px;
1590
+ }
1591
+ @media (min-resolution: 192dpi) {
1592
+ body.admin-color-ectoplasm {
1593
+ --wp-admin-border-width-focus: 1.5px;
1594
+ }
1595
+ }
1596
+
1597
+ body.admin-color-midnight {
1598
+ --wp-admin-theme-color: #e14d43;
1599
+ --wp-admin-theme-color--rgb: 225, 77, 67;
1600
+ --wp-admin-theme-color-darker-10: #dd382d;
1601
+ --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
1602
+ --wp-admin-theme-color-darker-20: #d02c21;
1603
+ --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
1604
+ --wp-admin-border-width-focus: 2px;
1605
+ }
1606
+ @media (min-resolution: 192dpi) {
1607
+ body.admin-color-midnight {
1608
+ --wp-admin-border-width-focus: 1.5px;
1609
+ }
1610
+ }
1611
+
1612
+ body.admin-color-ocean {
1613
+ --wp-admin-theme-color: #627c83;
1614
+ --wp-admin-theme-color--rgb: 98, 124, 131;
1615
+ --wp-admin-theme-color-darker-10: #576e74;
1616
+ --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
1617
+ --wp-admin-theme-color-darker-20: #4c6066;
1618
+ --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
1619
+ --wp-admin-border-width-focus: 2px;
1620
+ }
1621
+ @media (min-resolution: 192dpi) {
1622
+ body.admin-color-ocean {
1623
+ --wp-admin-border-width-focus: 1.5px;
1624
+ }
1625
+ }
1626
+
1627
+ body.admin-color-sunrise {
1628
+ --wp-admin-theme-color: #dd823b;
1629
+ --wp-admin-theme-color--rgb: 221, 130, 59;
1630
+ --wp-admin-theme-color-darker-10: #d97426;
1631
+ --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
1632
+ --wp-admin-theme-color-darker-20: #c36922;
1633
+ --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
1634
+ --wp-admin-border-width-focus: 2px;
1635
+ }
1636
+ @media (min-resolution: 192dpi) {
1637
+ body.admin-color-sunrise {
1638
+ --wp-admin-border-width-focus: 1.5px;
1639
+ }
1640
+ }
1641
+
1642
+ #wpadminbar,
1643
+ #adminmenumain {
1644
+ display: none;
1645
+ }
1646
+
1647
+ #wpcontent {
1648
+ margin-right: 0;
1649
+ }
1650
+
1651
+ body.js #wpbody {
1652
+ padding-top: 0;
1653
+ }
1654
+
1655
+ body {
1656
+ background: #fff;
1657
+ /* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
1658
+ Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */
1659
+ }
1660
+ body #wpcontent {
1661
+ padding-right: 0;
1662
+ }
1663
+ body #wpbody-content {
1664
+ padding-bottom: 0;
1665
+ }
1666
+ body #wpbody-content > div:not(#gutenberg-posts-dashboard):not(#screen-meta) {
1667
+ display: none;
1668
+ }
1669
+ body #wpfooter {
1670
+ display: none;
1671
+ }
1672
+ body .a11y-speak-region {
1673
+ right: -1px;
1674
+ top: -1px;
1675
+ }
1676
+ body ul#adminmenu a.wp-has-current-submenu::after,
1677
+ body ul#adminmenu > li.current > a.current::after {
1678
+ border-left-color: #fff;
1679
+ }
1680
+ body .media-frame select.attachment-filters:last-of-type {
1681
+ width: auto;
1682
+ max-width: 100%;
1683
+ }
1684
+
1685
+ #gutenberg-posts-dashboard {
1686
+ box-sizing: border-box;
1687
+ height: 100vh;
1688
+ }
1689
+ #gutenberg-posts-dashboard *,
1690
+ #gutenberg-posts-dashboard *::before,
1691
+ #gutenberg-posts-dashboard *::after {
1692
+ box-sizing: inherit;
1693
+ }
1694
+ @media (min-width: 600px) {
1695
+ #gutenberg-posts-dashboard {
1696
+ bottom: 0;
1697
+ right: 0;
1698
+ min-height: 100vh;
1699
+ position: fixed;
1700
+ left: 0;
1701
+ top: 0;
1702
+ }
1703
+ }
1704
+ .no-js #gutenberg-posts-dashboard {
1705
+ min-height: 0;
1706
+ position: static;
1707
+ }