PluginProbe
Code Snippets / 4.0.0-beta.2
Code Snippets v4.0.0-beta.2
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
← All changes | css/common/_wp-admin.scss +6 -4 3.10.24.0.0-beta.2 View file →
@@ -2,9 +2,9 @@
2 2 @use 'theme';
3 3
4 4 // Match the active subnavigation tile so it blends into the admin canvas.
5 5 body.wp-admin {
6 - background: #f0f0f1;
6 + background: var(--cs-color-surface-muted);
7 7 }
8 8
9 9 // Remove the WordPress core 10px top margin on the import and manage snippets containers
10 10 // so the subnav band sits flush against the toolbar.
@@ -69,8 +69,10 @@
69 69 // Selects: same metrics, but preserve room for the WP dropdown chevron on the inline-end
70 70 // side. WP 7.0 keeps the chevron as a background image; clamping both paddings to 8px (as
71 71 // for text inputs) would let the arrow overlap the text, so the inline-end padding is wider.
72 72 select:not([class*='components-']) {
73 + min-inline-size: 170px;
74 + field-sizing: content;
73 75 min-block-size: var(--cs-control-height);
74 76 padding-block: 0;
75 77 padding-inline: 8px 24px;
76 78 border: 1px solid var(--cs-color-border);
@@ -102,14 +104,14 @@
102 104 border-radius: var(--cs-control-radius);
103 105 line-height: 2.5715;
104 106 font-size: 14px;
105 107 font-weight: 400;
106 - background: #f6f7f7;
108 + background: var(--cs-color-surface-subtle);
107 109 border-color: var(--cs-color-accent);
108 110 color: var(--cs-color-accent);
109 111
110 112 &:hover:not(:disabled) {
111 - background: #f0f0f1;
113 + background: var(--cs-color-surface-muted);
112 114 border-color: var(--cs-color-accent-hover);
113 115 color: var(--cs-color-accent-hover);
114 116 }
115 117
@@ -144,9 +146,9 @@
144 146
145 147 &:focus:not(:disabled) {
146 148 background: var(--cs-color-accent-hover);
147 149 border-color: var(--cs-color-accent-hover);
148 - box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--cs-color-accent);
150 + box-shadow: 0 0 0 1px var(--cs-color-surface), 0 0 0 3px var(--cs-color-accent);
149 151 outline: 2px solid transparent;
150 152 }
151 153 }
152 154