PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 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 All 404 releases
gutenberg / build / styles / customize-widgets / style-rtl.css

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

358 lines 9.9 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 .customize-widgets-error-boundary {
134 font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
135 padding: var(--wpds-dimension-padding-md, 12px);
136 }
137
138 .customize-widgets-error-boundary__report {
139 max-height: 420px;
140 overflow: auto;
141 overflow-anchor: none;
142 }
143
144 .customize-widgets-error-boundary__report-section {
145 margin: 0;
146 white-space: pre-wrap;
147 overflow-wrap: break-word;
148 }
149
150 @media (min-width: 600px) {
151 .customize-widgets-header {
152 margin-bottom: 44px;
153 }
154 }
155 .customize-widgets-header.is-fixed-toolbar-active {
156 margin-bottom: 0;
157 }
158 .customize-widgets-header {
159 display: flex;
160 justify-content: flex-end;
161 margin: -15px -12px 0 -12px;
162 background: #f0f0f1;
163 border-bottom: 1px solid #e0e0e0;
164 z-index: 8;
165 }
166
167 .customize-widgets-header-toolbar {
168 display: flex;
169 border: none;
170 width: 100%;
171 align-items: center;
172 gap: 8px;
173 padding: 0 12px;
174 }
175 .customize-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon,
176 .customize-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon {
177 height: 32px;
178 min-width: 32px;
179 padding: 4px;
180 }
181 .customize-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon.is-pressed,
182 .customize-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon.is-pressed {
183 background: #1e1e1e;
184 }
185 .customize-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon:focus:not(:active),
186 .customize-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon:focus:not(:active) {
187 outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
188 outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
189 }
190 .customize-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon::before,
191 .customize-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon::before {
192 display: none;
193 }
194 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon {
195 border-radius: 2px;
196 color: #fff;
197 margin: 12px auto 12px 0;
198 }
199 @media not (prefers-reduced-motion) {
200 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon svg {
201 transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
202 }
203 }
204 .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon.is-pressed svg {
205 transform: rotate(-45deg);
206 }
207
208 #customize-sidebar-outer-content {
209 width: auto;
210 min-width: 100%;
211 }
212
213 #customize-outer-theme-controls .widgets-inserter {
214 padding: 0;
215 }
216 #customize-outer-theme-controls .widgets-inserter .customize-section-description-container {
217 display: none;
218 }
219
220 .customize-widgets-layout__inserter-panel {
221 background: #fff;
222 }
223
224 .customize-widgets-layout__inserter-panel-header {
225 display: flex;
226 justify-content: space-between;
227 align-items: center;
228 padding: 16px;
229 height: 46px;
230 box-sizing: border-box;
231 border-bottom: 1px solid #ddd;
232 }
233 .customize-widgets-layout__inserter-panel-header .customize-widgets-layout__inserter-panel-header-title {
234 margin: 0;
235 }
236
237 .block-editor-inserter__quick-inserter .block-editor-inserter__panel-content {
238 background: #fff;
239 }
240
241 .customize-widgets-keyboard-shortcut-help-modal__section {
242 margin: 0 0 2rem 0;
243 }
244 .customize-widgets-keyboard-shortcut-help-modal__section-title {
245 font-size: 0.9rem;
246 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
247 }
248 .customize-widgets-keyboard-shortcut-help-modal__shortcut {
249 display: flex;
250 align-items: baseline;
251 padding: 0.6rem 0;
252 border-top: 1px solid #ddd;
253 margin-bottom: 0;
254 }
255 .customize-widgets-keyboard-shortcut-help-modal__shortcut:last-child {
256 border-bottom: 1px solid #ddd;
257 }
258 .customize-widgets-keyboard-shortcut-help-modal__shortcut:empty {
259 display: none;
260 }
261 .customize-widgets-keyboard-shortcut-help-modal__shortcut-term {
262 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
263 margin: 0 1rem 0 0;
264 text-align: left;
265 }
266 .customize-widgets-keyboard-shortcut-help-modal__shortcut-description {
267 flex: 1;
268 margin: 0;
269 }
270 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination {
271 display: block;
272 background: none;
273 margin: 0;
274 padding: 0;
275 }
276 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination + .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination {
277 margin-top: 10px;
278 }
279 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key {
280 padding: 0.25rem 0.5rem;
281 border-radius: 8%;
282 margin: 0 0.2rem 0 0.2rem;
283 }
284 .customize-widgets-keyboard-shortcut-help-modal__shortcut-key:last-child {
285 margin: 0 0.2rem 0 0;
286 }
287
288 .components-popover.more-menu-dropdown__content {
289 z-index: 99998;
290 }
291
292 .customize-control-sidebar_block_editor .block-editor-block-list__block-popover {
293 position: fixed !important;
294 z-index: 7;
295 }
296
297 .customize-widgets-popover .components-popover,
298 .customize-control-sidebar_block_editor .components-popover {
299 position: fixed !important;
300 }
301
302 .customize-widgets-welcome-guide__image__wrapper {
303 background: #00a0d2;
304 text-align: center;
305 margin-bottom: 8px;
306 }
307 .customize-widgets-welcome-guide__image {
308 height: auto;
309 }
310 .wrap .customize-widgets-welcome-guide__heading {
311 font-size: 18px;
312 font-weight: var(--wpds-typography-font-weight-emphasis, 600);
313 }
314 .customize-widgets-welcome-guide__text {
315 line-height: 1.7;
316 }
317 .customize-widgets-welcome-guide__button {
318 justify-content: center;
319 margin: 1em 0;
320 width: 100%;
321 }
322 .customize-widgets-welcome-guide__separator {
323 margin: 1em 0;
324 }
325 .customize-widgets-welcome-guide__more-info {
326 line-height: 1.4;
327 }
328
329 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section.open {
330 overflow: unset;
331 }
332 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section {
333 min-height: 100%;
334 background-color: #fff;
335 padding-top: 12px !important;
336 }
337 #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section .customize-section-title {
338 position: static !important;
339 margin-top: -12px !important;
340 width: unset !important;
341 }
342
343 .components-modal__screen-overlay {
344 z-index: 999999;
345 }
346
347 .customize-control-sidebar_block_editor,
348 .customize-widgets-layout__inspector {
349 box-sizing: border-box;
350 }
351 .customize-control-sidebar_block_editor *,
352 .customize-control-sidebar_block_editor *::before,
353 .customize-control-sidebar_block_editor *::after,
354 .customize-widgets-layout__inspector *,
355 .customize-widgets-layout__inspector *::before,
356 .customize-widgets-layout__inspector *::after {
357 box-sizing: inherit;
358 }