PluginProbe
Gutenberg / 23.3.1
Gutenberg v23.3.1
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.3.1, at build/styles/customize-widgets/style.css

326 lines 8.4 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 * Applies editor left position to the selector passed as argument
72 */
73 /**
74 * Styles that are reused verbatim in a few places
75 */
76 /**
77 * Allows users to opt-out of animations via OS-level preferences.
78 */
79 /**
80 * Reset default styles for JavaScript UI based pages.
81 * This is a WP-admin agnostic reset
82 */
83 /**
84 * Reset the WP Admin page styles for Gutenberg-like pages.
85 */
86 /**
87 * Creates a checkerboard pattern background to indicate transparency.
88 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
89 */
90 :root {
91 --wp-block-synced-color: #7a00df;
92 --wp-block-synced-color--rgb: 122, 0, 223;
93 --wp-bound-block-color: var(--wp-block-synced-color);
94 --wp-editor-canvas-background: #ddd;
95 --wp-admin-theme-color: #007cba;
96 --wp-admin-theme-color--rgb: 0, 124, 186;
97 --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
98 --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
99 --wp-admin-theme-color-darker-20: #005a87;
100 --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
101 --wp-admin-border-width-focus: 2px;
102 }
103 @media (min-resolution: 192dpi) {
104 :root {
105 --wp-admin-border-width-focus: 1.5px;
106 }
107 }
108
109 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector {
110 background: #fff;
111 box-sizing: border-box;
112 }
113 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector * {
114 box-sizing: inherit;
115 }
116 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector .block-editor-block-inspector {
117 margin: -12px;
118 }
119 #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector .block-editor-block-inspector h3 {
120 margin-bottom: 0;
121 }
122
123 #customize-theme-controls .customize-pane-child.control-section-sidebar.is-sub-section-open {
124 transform: translateX(-100%);
125 }
126
127 @media (min-width: 600px) {
128 .customize-widgets-header {
129 margin-bottom: 44px;
130 }
131 }
132 .customize-widgets-header.is-fixed-toolbar-active {
133 margin-bottom: 0;
134 }
135 .customize-widgets-header {
136 display: flex;
137 justify-content: flex-end;
138 margin: -15px -12px 0 -12px;
139 background: #f0f0f1;
140 border-bottom: 1px solid #e0e0e0;
141 z-index: 8;
142 }
143
144 .customize-widgets-header-toolbar {
145 display: flex;
146 border: none;
147 width: 100%;
148 align-items: center;
149 }
150 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon {
151 border-radius: 2px;
152 color: #fff;
153 padding: 0;
154 min-width: 32px;
155 height: 32px;
156 margin: 12px 0 12px auto;
157 }
158 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon::before {
159 content: none;
160 }
161 @media not (prefers-reduced-motion) {
162 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon svg {
163 transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
164 }
165 }
166 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon.is-pressed {
167 background: #1e1e1e;
168 }
169 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon.is-pressed svg {
170 transform: rotate(45deg);
171 }
172 .customize-widgets-header-toolbar .components-button.has-icon.customize-widgets-editor-history-button.redo-button {
173 margin-left: -12px;
174 }
175
176 #customize-sidebar-outer-content {
177 width: auto;
178 min-width: 100%;
179 }
180
181 #customize-outer-theme-controls .widgets-inserter {
182 padding: 0;
183 }
184 #customize-outer-theme-controls .widgets-inserter .customize-section-description-container {
185 display: none;
186 }
187
188 .customize-widgets-layout__inserter-panel {
189 background: #fff;
190 }
191
192 .customize-widgets-layout__inserter-panel-header {
193 display: flex;
194 justify-content: space-between;
195 align-items: center;
196 padding: 16px;
197 height: 46px;
198 box-sizing: border-box;
199 border-bottom: 1px solid #ddd;
200 }
201 .customize-widgets-layout__inserter-panel-header .customize-widgets-layout__inserter-panel-header-title {
202 margin: 0;
203 }
204
205 .block-editor-inserter__quick-inserter .block-editor-inserter__panel-content {
206 background: #fff;
207 }
208
209 .customize-widgets-keyboard-shortcut-help-modal__section {
210 margin: 0 0 2rem 0;
211 }
212 .customize-widgets-keyboard-shortcut-help-modal__section-title {
213 font-size: 0.9rem;
214 font-weight: 600;
215 }
216 .customize-widgets-keyboard-shortcut-help-modal__shortcut {
217 display: flex;
218 align-items: baseline;
219 padding: 0.6rem 0;
220 border-top: 1px solid #ddd;
221 margin-bottom: 0;
222 }
223 .customize-widgets-keyboard-shortcut-help-modal__shortcut:last-child {
224 border-bottom: 1px solid #ddd;
225 }
226 .customize-widgets-keyboard-shortcut-help-modal__shortcut:empty {
227 display: none;
228 }
229 .customize-widgets-keyboard-shortcut-help-modal__shortcut-term {
230 font-weight: 600;
231 margin: 0 0 0 1rem;
232 text-align: right;
233 }
234 .customize-widgets-keyboard-shortcut-help-modal__shortcut-description {
235 flex: 1;
236 margin: 0;
237 }
238 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination {
239 display: block;
240 background: none;
241 margin: 0;
242 padding: 0;
243 }
244 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination + .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination {
245 margin-top: 10px;
246 }
247 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key {
248 padding: 0.25rem 0.5rem;
249 border-radius: 8%;
250 margin: 0 0.2rem 0 0.2rem;
251 }
252 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key:last-child {
253 margin: 0 0 0 0.2rem;
254 }
255
256 .components-popover.more-menu-dropdown__content {
257 z-index: 99998;
258 }
259
260 .customize-control-sidebar_block_editor .block-editor-block-list__block-popover {
261 position: fixed !important;
262 z-index: 7;
263 }
264
265 .customize-widgets-popover .components-popover,
266 .customize-control-sidebar_block_editor .components-popover {
267 position: fixed !important;
268 }
269
270 .customize-widgets-welcome-guide__image__wrapper {
271 background: #00a0d2;
272 text-align: center;
273 margin-bottom: 8px;
274 }
275 .customize-widgets-welcome-guide__image {
276 height: auto;
277 }
278 .wrap .customize-widgets-welcome-guide__heading {
279 font-size: 18px;
280 font-weight: 600;
281 }
282 .customize-widgets-welcome-guide__text {
283 line-height: 1.7;
284 }
285 .customize-widgets-welcome-guide__button {
286 justify-content: center;
287 margin: 1em 0;
288 width: 100%;
289 }
290 .customize-widgets-welcome-guide__separator {
291 margin: 1em 0;
292 }
293 .customize-widgets-welcome-guide__more-info {
294 line-height: 1.4;
295 }
296
297 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section.open {
298 overflow: unset;
299 }
300 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section {
301 min-height: 100%;
302 background-color: #fff;
303 padding-top: 12px !important;
304 }
305 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section .customize-section-title {
306 position: static !important;
307 margin-top: -12px !important;
308 width: unset !important;
309 }
310
311 .components-modal__screen-overlay {
312 z-index: 999999;
313 }
314
315 .customize-control-sidebar_block_editor,
316 .customize-widgets-layout__inspector {
317 box-sizing: border-box;
318 }
319 .customize-control-sidebar_block_editor *,
320 .customize-control-sidebar_block_editor *::before,
321 .customize-control-sidebar_block_editor *::after,
322 .customize-widgets-layout__inspector *,
323 .customize-widgets-layout__inspector *::before,
324 .customize-widgets-layout__inspector *::after {
325 box-sizing: inherit;
326 }