PluginProbe
Gutenberg / 23.6.2
Gutenberg v23.6.2
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / build / styles / customize-widgets / style.css

style.css in Gutenberg 23.6.2, at build/styles/customize-widgets/style.css

332 lines 8.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Typography
3 */
4 /**
5 * SCSS Variables.
6 *
7 * Please use variables from this sheet to ensure consistency across the UI.
8 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
9 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
10 */
11 /**
12 * Colors
13 */
14 /**
15 * Fonts & basic variables.
16 */
17 /**
18 * Typography
19 */
20 /**
21 * Grid System.
22 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
23 */
24 /**
25 * Radius scale.
26 */
27 /**
28 * Elevation scale.
29 */
30 /**
31 * Dimensions.
32 */
33 /**
34 * Mobile specific styles
35 */
36 /**
37 * Editor styles.
38 */
39 /**
40 * Block & Editor UI.
41 */
42 /**
43 * Block paddings.
44 */
45 /**
46 * React Native specific.
47 * These variables do not appear to be used anywhere else.
48 */
49 /**
50 * Breakpoints & Media Queries
51 */
52 /**
53 * Converts a hex value into the rgb equivalent.
54 *
55 * @param {string} hex - the hexadecimal value to convert
56 * @return {string} comma separated rgb values
57 */
58 /**
59 * Long content fade mixin
60 *
61 * Creates a fading overlay to signify that the content is longer
62 * than the space allows.
63 */
64 /**
65 * Breakpoint mixins
66 */
67 /**
68 * Focus styles.
69 */
70 /**
71 * Standard focus rings for the WordPress Design System.
72 *
73 * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74 * e.g. `&:focus { @include outset-ring__focus(); }`.
75 */
76 /**
77 * Applies editor left position to the selector passed as argument
78 */
79 /**
80 * Styles that are reused verbatim in a few places
81 */
82 /**
83 * Allows users to opt-out of animations via OS-level preferences.
84 */
85 /**
86 * Reset default styles for JavaScript UI based pages.
87 * This is a WP-admin agnostic reset
88 */
89 /**
90 * Reset the WP Admin page styles for Gutenberg-like pages.
91 */
92 /**
93 * Creates a checkerboard pattern background to indicate transparency.
94 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
95 */
96 :root {
97 --wp-block-synced-color: #7a00df;
98 --wp-block-synced-color--rgb: 122, 0, 223;
99 --wp-bound-block-color: var(--wp-block-synced-color);
100 --wp-editor-canvas-background: #ddd;
101 --wp-admin-theme-color: #007cba;
102 --wp-admin-theme-color--rgb: 0, 124, 186;
103 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
104 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
105 --wp-admin-theme-color-darker-20: #005a87;
106 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
107 --wp-admin-border-width-focus: 2px;
108 }
109 @media (min-resolution: 192dpi) {
110 :root {
111 --wp-admin-border-width-focus: 1.5px;
112 }
113 }
114
115 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector {
116 background: #fff;
117 box-sizing: border-box;
118 }
119 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector * {
120 box-sizing: inherit;
121 }
122 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector .block-editor-block-inspector {
123 margin: -12px;
124 }
125 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector .block-editor-block-inspector h3 {
126 margin-bottom: 0;
127 }
128
129 #customize-theme-controls .customize-pane-child.control-section-sidebar.is-sub-section-open {
130 transform: translateX(-100%);
131 }
132
133 @media (min-width: 600px) {
134 .customize-widgets-header {
135 margin-bottom: 44px;
136 }
137 }
138 .customize-widgets-header.is-fixed-toolbar-active {
139 margin-bottom: 0;
140 }
141 .customize-widgets-header {
142 display: flex;
143 justify-content: flex-end;
144 margin: -15px -12px 0 -12px;
145 background: #f0f0f1;
146 border-bottom: 1px solid #e0e0e0;
147 z-index: 8;
148 }
149
150 .customize-widgets-header-toolbar {
151 display: flex;
152 border: none;
153 width: 100%;
154 align-items: center;
155 }
156 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon {
157 border-radius: 2px;
158 color: #fff;
159 padding: 0;
160 min-width: 32px;
161 height: 32px;
162 margin: 12px 0 12px auto;
163 }
164 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon::before {
165 content: none;
166 }
167 @media not (prefers-reduced-motion) {
168 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon svg {
169 transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
170 }
171 }
172 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon.is-pressed {
173 background: #1e1e1e;
174 }
175 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon.is-pressed svg {
176 transform: rotate(45deg);
177 }
178 .customize-widgets-header-toolbar .components-button.has-icon.customize-widgets-editor-history-button.redo-button {
179 margin-left: -12px;
180 }
181
182 #customize-sidebar-outer-content {
183 width: auto;
184 min-width: 100%;
185 }
186
187 #customize-outer-theme-controls .widgets-inserter {
188 padding: 0;
189 }
190 #customize-outer-theme-controls .widgets-inserter .customize-section-description-container {
191 display: none;
192 }
193
194 .customize-widgets-layout__inserter-panel {
195 background: #fff;
196 }
197
198 .customize-widgets-layout__inserter-panel-header {
199 display: flex;
200 justify-content: space-between;
201 align-items: center;
202 padding: 16px;
203 height: 46px;
204 box-sizing: border-box;
205 border-bottom: 1px solid #ddd;
206 }
207 .customize-widgets-layout__inserter-panel-header .customize-widgets-layout__inserter-panel-header-title {
208 margin: 0;
209 }
210
211 .block-editor-inserter__quick-inserter .block-editor-inserter__panel-content {
212 background: #fff;
213 }
214
215 .customize-widgets-keyboard-shortcut-help-modal__section {
216 margin: 0 0 2rem 0;
217 }
218 .customize-widgets-keyboard-shortcut-help-modal__section-title {
219 font-size: 0.9rem;
220 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
221 }
222 .customize-widgets-keyboard-shortcut-help-modal__shortcut {
223 display: flex;
224 align-items: baseline;
225 padding: 0.6rem 0;
226 border-top: 1px solid #ddd;
227 margin-bottom: 0;
228 }
229 .customize-widgets-keyboard-shortcut-help-modal__shortcut:last-child {
230 border-bottom: 1px solid #ddd;
231 }
232 .customize-widgets-keyboard-shortcut-help-modal__shortcut:empty {
233 display: none;
234 }
235 .customize-widgets-keyboard-shortcut-help-modal__shortcut-term {
236 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
237 margin: 0 0 0 1rem;
238 text-align: right;
239 }
240 .customize-widgets-keyboard-shortcut-help-modal__shortcut-description {
241 flex: 1;
242 margin: 0;
243 }
244 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination {
245 display: block;
246 background: none;
247 margin: 0;
248 padding: 0;
249 }
250 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination + .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination {
251 margin-top: 10px;
252 }
253 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key {
254 padding: 0.25rem 0.5rem;
255 border-radius: 8%;
256 margin: 0 0.2rem 0 0.2rem;
257 }
258 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key:last-child {
259 margin: 0 0 0 0.2rem;
260 }
261
262 .components-popover.more-menu-dropdown__content {
263 z-index: 99998;
264 }
265
266 .customize-control-sidebar_block_editor .block-editor-block-list__block-popover {
267 position: fixed !important;
268 z-index: 7;
269 }
270
271 .customize-widgets-popover .components-popover,
272 .customize-control-sidebar_block_editor .components-popover {
273 position: fixed !important;
274 }
275
276 .customize-widgets-welcome-guide__image__wrapper {
277 background: #00a0d2;
278 text-align: center;
279 margin-bottom: 8px;
280 }
281 .customize-widgets-welcome-guide__image {
282 height: auto;
283 }
284 .wrap .customize-widgets-welcome-guide__heading {
285 font-size: 18px;
286 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
287 }
288 .customize-widgets-welcome-guide__text {
289 line-height: 1.7;
290 }
291 .customize-widgets-welcome-guide__button {
292 justify-content: center;
293 margin: 1em 0;
294 width: 100%;
295 }
296 .customize-widgets-welcome-guide__separator {
297 margin: 1em 0;
298 }
299 .customize-widgets-welcome-guide__more-info {
300 line-height: 1.4;
301 }
302
303 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section.open {
304 overflow: unset;
305 }
306 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section {
307 min-height: 100%;
308 background-color: #fff;
309 padding-top: 12px !important;
310 }
311 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section .customize-section-title {
312 position: static !important;
313 margin-top: -12px !important;
314 width: unset !important;
315 }
316
317 .components-modal__screen-overlay {
318 z-index: 999999;
319 }
320
321 .customize-control-sidebar_block_editor,
322 .customize-widgets-layout__inspector {
323 box-sizing: border-box;
324 }
325 .customize-control-sidebar_block_editor *,
326 .customize-control-sidebar_block_editor *::before,
327 .customize-control-sidebar_block_editor *::after,
328 .customize-widgets-layout__inspector *,
329 .customize-widgets-layout__inspector *::before,
330 .customize-widgets-layout__inspector *::after {
331 box-sizing: inherit;
332 }