@wordpress/base-styles 4.5.0 → 4.7.1-next.d6164808d3.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 +4 -5
- package/_z-index.scss +5 -0
- package/package.json +2 -2
package/_mixins.scss
CHANGED
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
@if $direction == "bottom" {
|
|
80
|
-
background: linear-gradient(to top,
|
|
80
|
+
background: linear-gradient(to top, transparent, $color 90%);
|
|
81
81
|
left: $edge;
|
|
82
82
|
right: $edge;
|
|
83
83
|
top: $edge;
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@if $direction == "top" {
|
|
89
|
-
background: linear-gradient(to bottom,
|
|
89
|
+
background: linear-gradient(to bottom, transparent, $color 90%);
|
|
90
90
|
top: calc(100% - $size);
|
|
91
91
|
left: $edge;
|
|
92
92
|
right: $edge;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@if $direction == "left" {
|
|
98
|
-
background: linear-gradient(to left,
|
|
98
|
+
background: linear-gradient(to left, transparent, $color 90%);
|
|
99
99
|
top: $edge;
|
|
100
100
|
left: $edge;
|
|
101
101
|
bottom: $edge;
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
@if $direction == "right" {
|
|
108
|
-
background: linear-gradient(to right,
|
|
108
|
+
background: linear-gradient(to right, transparent, $color 90%);
|
|
109
109
|
top: $edge;
|
|
110
110
|
bottom: $edge;
|
|
111
111
|
right: $edge;
|
|
@@ -202,7 +202,6 @@
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
|
|
206
205
|
/**
|
|
207
206
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
208
207
|
*/
|
package/_z-index.scss
CHANGED
|
@@ -18,6 +18,7 @@ $z-layers: (
|
|
|
18
18
|
".block-editor-inserter__tabs .components-tab-panel__tab-content": 0, // lower scrolling content
|
|
19
19
|
".block-editor-inserter__tabs .components-tab-panel__tabs": 1, // higher sticky element
|
|
20
20
|
".block-editor-inserter__search": 1, // higher sticky element
|
|
21
|
+
".block-library-template-part__selection-search": 1, // higher sticky element
|
|
21
22
|
|
|
22
23
|
// These next two share a stacking context
|
|
23
24
|
".interface-complementary-area .components-panel" : 0, // lower scrolling content
|
|
@@ -139,6 +140,7 @@ $z-layers: (
|
|
|
139
140
|
".reusable-blocks-menu-items__convert-modal": 1000001,
|
|
140
141
|
".edit-site-create-template-part-modal": 1000001,
|
|
141
142
|
".block-editor-block-lock-modal": 1000001,
|
|
143
|
+
".block-editor-template-part__selection-modal": 1000001,
|
|
142
144
|
|
|
143
145
|
// Note: The ConfirmDialog component's z-index is being set to 1000001 in packages/components/src/confirm-dialog/styles.ts
|
|
144
146
|
// because it uses emotion and not sass. We need it to render on top its parent popover.
|
|
@@ -162,6 +164,9 @@ $z-layers: (
|
|
|
162
164
|
// Show tooltips above NUX tips, wp-admin menus, submenus, and sidebar:
|
|
163
165
|
".components-tooltip": 1000002,
|
|
164
166
|
|
|
167
|
+
// Keep template popover underneath 'Create custom template' modal overlay.
|
|
168
|
+
".edit-post-post-template__dialog": 99999,
|
|
169
|
+
|
|
165
170
|
// Make sure corner handles are above side handles for ResizableBox component
|
|
166
171
|
".components-resizable-box__handle": 2,
|
|
167
172
|
".components-resizable-box__side-handle": 2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/base-styles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.1-next.d6164808d3.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": "ba8a396d2f418e53a6c4c50575582f3f3eb11ff7"
|
|
27
27
|
}
|