1 /** |
1 .block-editor-block-list__block[data-type="core/spacer"]:before{ |
2 * Colors |
2 content:""; |
3 */ |
3 display:block; |
4 /** |
4 height:100%; |
5 * Breakpoints & Media Queries |
5 min-height:8px; |
6 */ |
6 min-width:8px; |
7 /** |
7 position:absolute; |
8 * SCSS Variables. |
8 width:100%; |
9 * |
9 z-index:1; |
10 * Please use variables from this sheet to ensure consistency across the UI. |
|
11 * Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
|
12 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
|
13 */ |
|
14 /** |
|
15 * Colors |
|
16 */ |
|
17 /** |
|
18 * Fonts & basic variables. |
|
19 */ |
|
20 /** |
|
21 * Grid System. |
|
22 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
|
23 */ |
|
24 /** |
|
25 * Dimensions. |
|
26 */ |
|
27 /** |
|
28 * Shadows. |
|
29 */ |
|
30 /** |
|
31 * Editor widths. |
|
32 */ |
|
33 /** |
|
34 * Block & Editor UI. |
|
35 */ |
|
36 /** |
|
37 * Block paddings. |
|
38 */ |
|
39 /** |
|
40 * React Native specific. |
|
41 * These variables do not appear to be used anywhere else. |
|
42 */ |
|
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 /** |
|
50 * Breakpoint mixins |
|
51 */ |
|
52 /** |
|
53 * Long content fade mixin |
|
54 * |
|
55 * Creates a fading overlay to signify that the content is longer |
|
56 * than the space allows. |
|
57 */ |
|
58 /** |
|
59 * Focus styles. |
|
60 */ |
|
61 /** |
|
62 * Applies editor left position to the selector passed as argument |
|
63 */ |
|
64 /** |
|
65 * Styles that are reused verbatim in a few places |
|
66 */ |
|
67 /** |
|
68 * Allows users to opt-out of animations via OS-level preferences. |
|
69 */ |
|
70 /** |
|
71 * Reset default styles for JavaScript UI based pages. |
|
72 * This is a WP-admin agnostic reset |
|
73 */ |
|
74 /** |
|
75 * Reset the WP Admin page styles for Gutenberg-like pages. |
|
76 */ |
|
77 .block-editor-block-list__block[data-type="core/spacer"]::before { |
|
78 content: ""; |
|
79 display: block; |
|
80 position: absolute; |
|
81 z-index: 1; |
|
82 width: 100%; |
|
83 min-height: 8px; |
|
84 min-width: 8px; |
|
85 height: 100%; |
|
86 } |
10 } |
87 |
11 |
88 .wp-block-spacer.is-hovered .block-library-spacer__resize-container, |
12 .block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container,.wp-block-spacer.is-selected.custom-sizes-disabled{ |
89 .block-library-spacer__resize-container.has-show-handle { |
13 background:#0000001a; |
90 background: rgba(0, 0, 0, 0.1); |
|
91 } |
14 } |
92 .is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container, |
15 .is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,.is-dark-theme .wp-block-spacer.is-selected.custom-sizes-disabled{ |
93 .is-dark-theme .block-library-spacer__resize-container.has-show-handle { |
16 background:#ffffff26; |
94 background: rgba(255, 255, 255, 0.15); |
|
95 } |
17 } |
96 |
18 |
97 .block-library-spacer__resize-container { |
19 .block-library-spacer__resize-container{ |
98 clear: both; |
20 clear:both; |
99 } |
21 } |
100 .block-library-spacer__resize-container:not(.is-resizing) { |
22 .block-library-spacer__resize-container:not(.is-resizing){ |
101 height: 100% !important; |
23 height:100% !important; |
102 width: 100% !important; |
24 width:100% !important; |
103 } |
25 } |
104 .block-library-spacer__resize-container .components-resizable-box__handle::before { |
26 .block-library-spacer__resize-container .components-resizable-box__handle:before{ |
105 content: none; |
27 content:none; |
106 } |
28 } |
107 .block-library-spacer__resize-container.resize-horizontal { |
29 .block-library-spacer__resize-container.resize-horizontal{ |
108 margin-bottom: 0; |
30 height:100% !important; |
|
31 margin-bottom:0; |
109 } |
32 } |