equal
deleted
inserted
replaced
39 /** |
39 /** |
40 * React Native specific. |
40 * React Native specific. |
41 * These variables do not appear to be used anywhere else. |
41 * These variables do not appear to be used anywhere else. |
42 */ |
42 */ |
43 /** |
43 /** |
|
44 * Converts a hex value into the rgb equivalent. |
|
45 * |
|
46 * @param {string} hex - the hexadecimal value to convert |
|
47 * @return {string} comma separated rgb values |
|
48 */ |
|
49 /** |
44 * Breakpoint mixins |
50 * Breakpoint mixins |
45 */ |
51 */ |
46 /** |
52 /** |
47 * Long content fade mixin |
53 * Long content fade mixin |
48 * |
54 * |
68 /** |
74 /** |
69 * Reset the WP Admin page styles for Gutenberg-like pages. |
75 * Reset the WP Admin page styles for Gutenberg-like pages. |
70 */ |
76 */ |
71 :root { |
77 :root { |
72 --wp-admin-theme-color: #007cba; |
78 --wp-admin-theme-color: #007cba; |
|
79 --wp-admin-theme-color--rgb: 0, 124, 186; |
73 --wp-admin-theme-color-darker-10: #006ba1; |
80 --wp-admin-theme-color-darker-10: #006ba1; |
|
81 --wp-admin-theme-color-darker-10--rgb: 0, 107, 161; |
74 --wp-admin-theme-color-darker-20: #005a87; |
82 --wp-admin-theme-color-darker-20: #005a87; |
|
83 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135; |
75 --wp-admin-border-width-focus: 2px; |
84 --wp-admin-border-width-focus: 2px; |
76 } |
85 } |
77 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
86 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
78 :root { |
87 :root { |
79 --wp-admin-border-width-focus: 1.5px; |
88 --wp-admin-border-width-focus: 1.5px; |
229 } |
238 } |
230 .wp-block-legacy-widget .components-select-control__input { |
239 .wp-block-legacy-widget .components-select-control__input { |
231 padding: 0; |
240 padding: 0; |
232 font-family: system-ui; |
241 font-family: system-ui; |
233 } |
242 } |
|
243 |
|
244 .wp-block-widget-group.has-child-selected::after { |
|
245 border-radius: 2px; |
|
246 border: 1px solid var(--wp-admin-theme-color); |
|
247 bottom: 0; |
|
248 content: ""; |
|
249 right: 0; |
|
250 position: absolute; |
|
251 left: 0; |
|
252 top: 0; |
|
253 } |
|
254 .wp-block-widget-group .widget-title { |
|
255 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
256 font-size: 18px; |
|
257 font-weight: 600; |
|
258 } |
|
259 |
|
260 .wp-block-widget-group__placeholder .block-editor-inserter { |
|
261 width: 100%; |
|
262 } |
|
263 |
|
264 .is-dark-theme .wp-block-widget-group__placeholder .block-editor-button-block-appender { |
|
265 box-shadow: inset 0 0 0 1px #1e1e1e; |
|
266 color: #1e1e1e; |
|
267 } |