@wordpress/base-styles 4.3.1 → 4.6.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 +0 -1
- package/_variables.scss +2 -1
- package/_z-index.scss +4 -8
- package/package.json +2 -2
package/_mixins.scss
CHANGED
package/_variables.scss
CHANGED
|
@@ -84,7 +84,7 @@ $widget-area-width: 700px;
|
|
|
84
84
|
$block-toolbar-height: $grid-unit-60;
|
|
85
85
|
$border-width: 1px;
|
|
86
86
|
$border-width-focus: 2px; // This exists as a fallback, and is ideally overridden by var(--wp-admin-border-width-focus) unless in some SASS math cases.
|
|
87
|
-
$border-width-tab:
|
|
87
|
+
$border-width-tab: 1.5px;
|
|
88
88
|
$helptext-font-size: 12px;
|
|
89
89
|
$radius-round: 50%;
|
|
90
90
|
$radius-block-ui: 2px;
|
|
@@ -111,6 +111,7 @@ $block-bg-padding--h: 2.375em;
|
|
|
111
111
|
|
|
112
112
|
// Dimensions.
|
|
113
113
|
$mobile-header-toolbar-height: 44px;
|
|
114
|
+
$mobile-header-toolbar-expanded-height: 52px;
|
|
114
115
|
$mobile-floating-toolbar-height: 44px;
|
|
115
116
|
$mobile-floating-toolbar-margin: 8px;
|
|
116
117
|
$mobile-color-swatch: 48px;
|
package/_z-index.scss
CHANGED
|
@@ -83,10 +83,6 @@ $z-layers: (
|
|
|
83
83
|
// Ensures content overlay appears higher than resize containers used for image/video/etc.
|
|
84
84
|
".block-editor-block-content-overlay__overlay": 10,
|
|
85
85
|
|
|
86
|
-
// The block mover, particularly in nested contexts,
|
|
87
|
-
// should overlap most block content.
|
|
88
|
-
".block-editor-block-list__block.is-{selected,hovered} .block-editor-block-mover": 61,
|
|
89
|
-
|
|
90
86
|
// Query block setup state.
|
|
91
87
|
".block-editor-block-pattern-setup .pattern-slide": 100,
|
|
92
88
|
".block-editor-block-pattern-setup .{next,previous}-slide": 101,
|
|
@@ -127,10 +123,7 @@ $z-layers: (
|
|
|
127
123
|
".edit-site-navigation-panel__preview": 32,
|
|
128
124
|
|
|
129
125
|
// Above the block list and the header.
|
|
130
|
-
".block-editor-block-
|
|
131
|
-
|
|
132
|
-
// Under the block popover (block toolbar).
|
|
133
|
-
".block-editor-block-list__insertion-point-popover": 28,
|
|
126
|
+
".block-editor-block-popover": 31,
|
|
134
127
|
|
|
135
128
|
// Show snackbars above everything (similar to popovers)
|
|
136
129
|
".components-snackbar-list": 100000,
|
|
@@ -169,6 +162,9 @@ $z-layers: (
|
|
|
169
162
|
// Show tooltips above NUX tips, wp-admin menus, submenus, and sidebar:
|
|
170
163
|
".components-tooltip": 1000002,
|
|
171
164
|
|
|
165
|
+
// Keep template popover underneath 'Create custom template' modal overlay.
|
|
166
|
+
".edit-post-post-template__dialog": 99999,
|
|
167
|
+
|
|
172
168
|
// Make sure corner handles are above side handles for ResizableBox component
|
|
173
169
|
".components-resizable-box__handle": 2,
|
|
174
170
|
".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.6.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": "a80eeb62ec7cb1418b9915c277e084a29d6665e3"
|
|
27
27
|
}
|