@wordpress/base-styles 4.7.0 → 4.8.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/_mixins.scss +7 -1
- package/_z-index.scss +1 -4
- package/package.json +2 -2
package/_mixins.scss
CHANGED
|
@@ -202,6 +202,11 @@
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
+
@mixin placeholder-style() {
|
|
206
|
+
border: $border-width dashed currentColor;
|
|
207
|
+
border-radius: $radius-block-ui;
|
|
208
|
+
}
|
|
209
|
+
|
|
205
210
|
/**
|
|
206
211
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
207
212
|
*/
|
|
@@ -226,7 +231,6 @@
|
|
|
226
231
|
animation-delay: 0s;
|
|
227
232
|
}
|
|
228
233
|
}
|
|
229
|
-
|
|
230
234
|
}
|
|
231
235
|
|
|
232
236
|
@mixin input-control {
|
|
@@ -371,6 +375,7 @@
|
|
|
371
375
|
* Reset default styles for JavaScript UI based pages.
|
|
372
376
|
* This is a WP-admin agnostic reset
|
|
373
377
|
*/
|
|
378
|
+
|
|
374
379
|
@mixin reset {
|
|
375
380
|
box-sizing: border-box;
|
|
376
381
|
|
|
@@ -384,6 +389,7 @@
|
|
|
384
389
|
/**
|
|
385
390
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
386
391
|
*/
|
|
392
|
+
|
|
387
393
|
@mixin wp-admin-reset( $content-container ) {
|
|
388
394
|
background: $white;
|
|
389
395
|
|
package/_z-index.scss
CHANGED
|
@@ -15,9 +15,6 @@ $z-layers: (
|
|
|
15
15
|
".edit-post-sidebar__panel-tab.is-active": 1,
|
|
16
16
|
|
|
17
17
|
// These next three share a stacking context
|
|
18
|
-
".block-editor-inserter__tabs .components-tab-panel__tab-content": 0, // lower scrolling content
|
|
19
|
-
".block-editor-inserter__tabs .components-tab-panel__tabs": 1, // higher sticky element
|
|
20
|
-
".block-editor-inserter__search": 1, // higher sticky element
|
|
21
18
|
".block-library-template-part__selection-search": 1, // higher sticky element
|
|
22
19
|
|
|
23
20
|
// These next two share a stacking context
|
|
@@ -82,7 +79,7 @@ $z-layers: (
|
|
|
82
79
|
".block-editor-block-contextual-toolbar": 61,
|
|
83
80
|
|
|
84
81
|
// Ensures content overlay appears higher than resize containers used for image/video/etc.
|
|
85
|
-
".block-editor-block-
|
|
82
|
+
".block-editor-block-list__block.has-block-overlay": 10,
|
|
86
83
|
|
|
87
84
|
// Query block setup state.
|
|
88
85
|
".block-editor-block-pattern-setup .pattern-slide": 100,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "Base SCSS utilities and variables for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "0d732d4b184adcb28cc83087603e81b764390d4b"
|
|
27
27
|
}
|