16 * |
46 * |
17 * Creates a fading overlay to signify that the content is longer |
47 * Creates a fading overlay to signify that the content is longer |
18 * than the space allows. |
48 * than the space allows. |
19 */ |
49 */ |
20 /** |
50 /** |
21 * Button states and focus styles |
51 * Focus styles. |
22 */ |
52 */ |
23 /** |
53 /** |
24 * Applies editor left position to the selector passed as argument |
54 * Applies editor left position to the selector passed as argument |
25 */ |
55 */ |
26 /** |
56 /** |
27 * Applies editor right position to the selector passed as argument |
|
28 */ |
|
29 /** |
|
30 * Styles that are reused verbatim in a few places |
57 * Styles that are reused verbatim in a few places |
31 */ |
58 */ |
32 /** |
59 /** |
33 * Allows users to opt-out of animations via OS-level preferences. |
60 * Allows users to opt-out of animations via OS-level preferences. |
34 */ |
61 */ |
35 .block-editor-block-drop-zone { |
62 /** |
36 border: none; |
63 * Reset default styles for JavaScript UI based pages. |
37 border-radius: 0; } |
64 * This is a WP-admin agnostic reset |
38 .block-editor-block-drop-zone .components-drop-zone__content, |
65 */ |
39 .block-editor-block-drop-zone.is-dragging-over-element .components-drop-zone__content { |
66 /** |
40 display: none; } |
67 * Reset the WP Admin page styles for Gutenberg-like pages. |
41 .block-editor-block-drop-zone.is-close-to-bottom { |
68 */ |
42 background: none; |
69 :root { |
43 border-bottom: 3px solid #0085ba; } |
70 --wp-admin-theme-color: #007cba; |
44 body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-bottom{ |
71 --wp-admin-theme-color-darker-10: #006ba1; |
45 border-bottom: 3px solid #d1864a; } |
72 --wp-admin-theme-color-darker-20: #005a87; } |
46 body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-bottom{ |
73 |
47 border-bottom: 3px solid #a3b9a2; } |
74 #start-resizable-editor-section { |
48 body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-bottom{ |
75 display: none; } |
49 border-bottom: 3px solid #e14d43; } |
76 |
50 body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-bottom{ |
77 .block-editor-autocompleters__block .block-editor-block-icon { |
51 border-bottom: 3px solid #a7b656; } |
78 margin-right: 8px; } |
52 body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-bottom{ |
79 |
53 border-bottom: 3px solid #c2a68c; } |
80 .block-editor-block-alignment-matrix-toolbar__popover .components-popover__content { |
54 body.admin-color-blue .block-editor-block-drop-zone.is-close-to-bottom{ |
81 min-width: 0; |
55 border-bottom: 3px solid #82b4cb; } |
82 width: auto; } |
56 body.admin-color-light .block-editor-block-drop-zone.is-close-to-bottom{ |
83 .block-editor-block-alignment-matrix-toolbar__popover .components-popover__content > div { |
57 border-bottom: 3px solid #0085ba; } |
84 padding: 8px; } |
58 .block-editor-block-drop-zone.is-close-to-top, .block-editor-block-drop-zone.is-appender.is-close-to-top, .block-editor-block-drop-zone.is-appender.is-close-to-bottom { |
|
59 background: none; |
|
60 border-top: 3px solid #0085ba; |
|
61 border-bottom: none; } |
|
62 body.admin-color-sunrise .block-editor-block-drop-zone.is-close-to-top, body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-sunrise .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
63 border-top: 3px solid #d1864a; } |
|
64 body.admin-color-ocean .block-editor-block-drop-zone.is-close-to-top, body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-ocean .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
65 border-top: 3px solid #a3b9a2; } |
|
66 body.admin-color-midnight .block-editor-block-drop-zone.is-close-to-top, body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-midnight .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
67 border-top: 3px solid #e14d43; } |
|
68 body.admin-color-ectoplasm .block-editor-block-drop-zone.is-close-to-top, body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-ectoplasm .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
69 border-top: 3px solid #a7b656; } |
|
70 body.admin-color-coffee .block-editor-block-drop-zone.is-close-to-top, body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-coffee .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
71 border-top: 3px solid #c2a68c; } |
|
72 body.admin-color-blue .block-editor-block-drop-zone.is-close-to-top, body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-blue .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
73 border-top: 3px solid #82b4cb; } |
|
74 body.admin-color-light .block-editor-block-drop-zone.is-close-to-top, body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-top, body.admin-color-light .block-editor-block-drop-zone.is-appender.is-close-to-bottom{ |
|
75 border-top: 3px solid #0085ba; } |
|
76 |
85 |
77 .block-editor-block-icon { |
86 .block-editor-block-icon { |
78 display: flex; |
87 display: flex; |
79 align-items: center; |
88 align-items: center; |
80 justify-content: center; |
89 justify-content: center; |
81 width: 24px; |
90 width: 24px; |
82 height: 24px; |
91 height: 24px; } |
83 margin: 0; |
|
84 border-radius: 4px; } |
|
85 .block-editor-block-icon.has-colors svg { |
92 .block-editor-block-icon.has-colors svg { |
86 fill: currentColor; } |
93 fill: currentColor; } |
87 .block-editor-block-icon svg { |
94 .block-editor-block-icon svg { |
88 min-width: 20px; |
95 min-width: 20px; |
89 min-height: 20px; |
96 min-height: 20px; |
90 max-width: 24px; |
97 max-width: 24px; |
91 max-height: 24px; } |
98 max-height: 24px; } |
92 |
99 |
|
100 .block-editor-block-inspector .components-base-control { |
|
101 margin-bottom: 24px; } |
|
102 .block-editor-block-inspector .components-base-control:last-child { |
|
103 margin-bottom: 8px; } |
|
104 |
|
105 .block-editor-block-inspector .components-panel__body { |
|
106 border: none; |
|
107 border-top: 1px solid #f0f0f0; } |
|
108 |
|
109 .block-editor-block-inspector .block-editor-block-card { |
|
110 padding: 16px; } |
|
111 |
93 .block-editor-block-inspector__no-blocks { |
112 .block-editor-block-inspector__no-blocks { |
94 display: block; |
113 display: block; |
95 font-size: 13px; |
114 font-size: 13px; |
96 background: #fff; |
115 background: #fff; |
97 padding: 32px 16px; |
116 padding: 32px 16px; |
98 text-align: center; } |
117 text-align: center; } |
99 |
118 |
100 .block-editor-block-inspector__card { |
119 .block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * { |
101 display: flex; |
|
102 align-items: flex-start; |
|
103 margin: -16px; |
|
104 padding: 16px; } |
|
105 |
|
106 .block-editor-block-inspector__card-icon { |
|
107 border: 1px solid #ccd0d4; |
|
108 padding: 7px; |
|
109 margin-right: 10px; |
|
110 height: 36px; |
|
111 width: 36px; } |
|
112 |
|
113 .block-editor-block-inspector__card-content { |
|
114 flex-grow: 1; } |
|
115 |
|
116 .block-editor-block-inspector__card-title { |
|
117 font-weight: 500; |
|
118 margin-bottom: 5px; } |
|
119 |
|
120 .block-editor-block-inspector__card-description { |
|
121 font-size: 13px; } |
|
122 |
|
123 .block-editor-block-inspector__card .block-editor-block-icon { |
|
124 margin-left: -2px; |
|
125 margin-right: 10px; |
|
126 padding: 0 3px; |
|
127 width: 36px; |
|
128 height: 24px; } |
|
129 |
|
130 .block-editor-block-list__layout .components-draggable__clone .block-editor-block-contextual-toolbar { |
|
131 display: none !important; } |
|
132 |
|
133 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-list__block-edit::before { |
|
134 border: none; } |
|
135 |
|
136 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * { |
|
137 background: #f8f9f9; } |
|
138 |
|
139 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging > .block-editor-block-list__block-edit > * > * { |
|
140 visibility: hidden; } |
|
141 |
|
142 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-mover, |
|
143 .block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging .block-editor-block-contextual-toolbar { |
|
144 display: none; } |
|
145 |
|
146 .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit .reusable-block-edit-panel * { |
|
147 z-index: 1; } |
120 z-index: 1; } |
148 |
121 |
149 /** |
122 .block-editor-block-styles .block-editor-block-list__block { |
150 * General layout |
123 margin: 0; } |
151 */ |
124 |
152 @media (min-width: 600px) { |
125 /** |
153 .block-editor-block-list__layout { |
126 * Notices & Block Selected/Hover Styles. |
154 padding-left: 46px; |
127 */ |
155 padding-right: 46px; } } |
|
156 |
|
157 .block-editor-block-list__block .block-editor-block-list__layout { |
|
158 padding-left: 0; |
|
159 padding-right: 0; |
|
160 margin-left: -14px; |
|
161 margin-right: -14px; } |
|
162 |
|
163 .block-editor-block-list__layout .block-editor-default-block-appender > .block-editor-default-block-appender__content, |
|
164 .block-editor-block-list__layout > .block-editor-block-list__block > .block-editor-block-list__block-edit, |
|
165 .block-editor-block-list__layout > .block-editor-block-list__layout > .block-editor-block-list__block > .block-editor-block-list__block-edit { |
|
166 margin-top: 32px; |
|
167 margin-bottom: 32px; } |
|
168 |
|
169 .block-editor-block-list__layout .block-editor-block-list__block { |
128 .block-editor-block-list__layout .block-editor-block-list__block { |
170 position: relative; |
129 position: relative; |
171 padding-left: 14px; |
|
172 padding-right: 14px; |
|
173 overflow-wrap: break-word; |
130 overflow-wrap: break-word; |
174 /** |
131 /** |
175 * Notices |
132 * Notices |
176 */ |
133 */ |
177 /** |
134 /** |
178 * Block border layout |
135 * Block Layout |
179 */ } |
136 */ } |
180 @media (min-width: 600px) { |
|
181 .block-editor-block-list__layout .block-editor-block-list__block { |
|
182 padding-left: 43px; |
|
183 padding-right: 43px; } } |
|
184 .block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui { |
137 .block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui { |
185 margin: -10px 20px 12px 20px; |
138 margin: -10px 0 12px 0; } |
186 width: calc(100% - 40px); } |
|
187 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui { |
139 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui { |
188 margin: 0 0 12px 0; |
140 margin: 0 0 12px 0; |
189 width: 100%; } |
141 width: 100%; } |
190 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice { |
142 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice { |
191 margin-left: 0; |
143 margin-left: 0; |
192 margin-right: 0; } |
144 margin-right: 0; } |
193 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content { |
145 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content { |
194 font-size: 13px; } |
146 font-size: 13px; } |
195 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit { |
147 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus { |
196 position: relative; } |
148 outline: none; } |
197 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__block-edit::before { |
149 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after { |
198 z-index: 0; |
150 position: absolute; |
|
151 z-index: 1; |
|
152 pointer-events: none; |
199 content: ""; |
153 content: ""; |
200 position: absolute; |
154 top: 1px; |
201 border: 1px solid transparent; |
155 bottom: 1px; |
202 border-left: none; |
156 left: 1px; |
203 box-shadow: none; |
157 right: 1px; |
204 transition: border-color 0.1s linear, box-shadow 0.1s linear; |
158 box-shadow: 0 0 0 1.5px #007cba; |
205 pointer-events: none; |
159 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
206 outline: 1px solid transparent; |
160 border-radius: 1px; } |
207 right: -14px; |
161 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus::after { |
208 left: -14px; |
162 box-shadow: 0 0 0 1.5px #fff; } |
209 top: -14px; |
|
210 bottom: -14px; } |
|
211 .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before { |
|
212 border-color: rgba(66, 88, 99, 0.4); |
|
213 box-shadow: inset 3px 0 0 0 #555d66; } |
|
214 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before { |
|
215 border-color: rgba(255, 255, 255, 0.45); |
|
216 box-shadow: inset 3px 0 0 0 #d7dade; } |
|
217 @media (min-width: 600px) { |
|
218 .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before { |
|
219 box-shadow: -3px 0 0 0 #555d66; } |
|
220 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected > .block-editor-block-list__block-edit::before { |
|
221 box-shadow: -3px 0 0 0 #d7dade; } } |
|
222 .block-editor-block-list__layout .block-editor-block-list__block.is-hovered > .block-editor-block-list__block-edit::before { |
|
223 box-shadow: -3px 0 0 0 #e2e4e7; } |
|
224 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-hovered > .block-editor-block-list__block-edit::before { |
|
225 box-shadow: -3px 0 0 0 #40464d; } |
|
226 .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) { |
163 .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) { |
227 opacity: 0.5; |
164 opacity: 0.5; |
228 transition: opacity 0.1s linear; } |
165 transition: opacity 0.1s linear; } |
|
166 @media (prefers-reduced-motion: reduce) { |
|
167 .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) { |
|
168 transition-duration: 0s; } } |
229 .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused { |
169 .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block, .block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused { |
230 opacity: 1; } |
170 opacity: 1; } |
231 |
171 |
232 /** |
172 .block-editor-block-list__layout .block-editor-block-list__block, |
233 * Cross-block selection |
173 .block-editor-block-list__layout .block-list-appender { |
234 */ |
174 position: relative; } |
235 |
175 .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target::before, |
236 .block-editor-block-list__layout .block-editor-block-list__block ::selection { |
176 .block-editor-block-list__layout .block-list-appender.is-drop-target::before { |
237 background-color: #b3e7fe; } |
177 content: ""; |
238 |
178 position: absolute; |
239 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected *::selection { |
179 z-index: 0; |
240 background-color: transparent; } |
180 pointer-events: none; |
241 |
181 transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear; |
242 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before { |
182 top: -14px; |
243 background: #b3e7fe; |
183 right: 0; |
244 mix-blend-mode: multiply; |
184 left: 0; |
245 top: -14px; |
185 border-top: 4px solid #007cba; |
246 bottom: -14px; } |
186 border-top: 4px solid var(--wp-admin-theme-color); } |
247 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block-edit::before { |
187 .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target.is-dropping-horizontally::before, |
248 mix-blend-mode: soft-light; } |
188 .block-editor-block-list__layout .block-list-appender.is-drop-target.is-dropping-horizontally::before { |
|
189 top: 0; |
|
190 bottom: 0; |
|
191 left: -6px; |
|
192 border-top: none; |
|
193 border-left: 4px solid #007cba; |
|
194 border-left: 4px solid var(--wp-admin-theme-color); } |
|
195 |
|
196 /** |
|
197 * Cross-Block Selection |
|
198 */ |
|
199 .block-editor-block-list__layout { |
|
200 position: relative; } |
|
201 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, |
|
202 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after, |
|
203 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
|
204 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
|
205 position: absolute; |
|
206 z-index: 1; |
|
207 pointer-events: none; |
|
208 content: ""; |
|
209 top: 1px; |
|
210 bottom: 1px; |
|
211 left: 1px; |
|
212 right: 1px; } |
|
213 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, |
|
214 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after, |
|
215 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
|
216 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
|
217 box-shadow: 0 0 0 1.5px #007cba; |
|
218 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
|
219 border-radius: 1px; |
|
220 transition: box-shadow 0.2s ease-out; |
|
221 outline: 2px solid transparent; } |
|
222 @media (prefers-reduced-motion: reduce) { |
|
223 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, |
|
224 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after, |
|
225 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
|
226 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
|
227 transition-duration: 0s; } } |
|
228 .is-dark-theme .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after, .is-dark-theme |
|
229 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered::after, .is-dark-theme |
|
230 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, .is-dark-theme |
|
231 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
|
232 box-shadow: 0 0 0 1.5px #fff; } |
|
233 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected .components-placeholder ::selection, |
|
234 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered .components-placeholder ::selection, |
|
235 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection, |
|
236 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection { |
|
237 background: transparent; } |
|
238 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-selected)::after { |
|
239 box-shadow: 0 0 0 1px #949494; } |
|
240 .is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected { |
|
241 box-shadow: 0 0 0 1.5px #007cba; |
|
242 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
|
243 outline: 1.5px solid transparent; } |
|
244 .is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before { |
|
245 content: ""; |
|
246 position: absolute; |
|
247 z-index: 0; |
|
248 pointer-events: none; |
|
249 transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear; |
|
250 right: 0; |
|
251 left: 0; |
|
252 top: -14px; |
|
253 border-radius: 2px; |
|
254 border-top: 4px solid #ccc; } |
|
255 .is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after { |
|
256 content: none; } |
|
257 .is-block-moving-mode.can-insert-moving-block .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before { |
|
258 border-color: #007cba; |
|
259 border-color: var(--wp-admin-theme-color); } |
|
260 |
|
261 .is-block-moving-mode.block-editor-block-list__block-selection-button { |
|
262 opacity: 0; |
|
263 font-size: 1px; |
|
264 height: 1px; |
|
265 padding: 0; } |
249 |
266 |
250 /** |
267 /** |
251 * Block styles and alignments |
268 * Block styles and alignments |
252 */ |
269 */ |
253 .block-editor-block-list__layout .block-editor-block-list__block.has-warning { |
270 .block-editor-block-list__layout .block-editor-block-list__block.has-warning { |
254 min-height: 36px; } |
271 min-height: 36px; } |
255 |
272 |
256 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit > * { |
273 .block-editor-block-list__layout .block-editor-block-list__block::after { |
|
274 content: ""; |
|
275 pointer-events: none; |
|
276 position: absolute; |
|
277 top: 0; |
|
278 right: 0; |
|
279 bottom: 0; |
|
280 left: 0; |
|
281 border-radius: 2px; |
|
282 box-shadow: 0 0 0 1.5px transparent; |
|
283 transition: box-shadow 0.1s ease-in; } |
|
284 @media (prefers-reduced-motion: reduce) { |
|
285 .block-editor-block-list__layout .block-editor-block-list__block::after { |
|
286 transition-duration: 0s; } } |
|
287 |
|
288 .block-editor-block-list__layout .block-editor-block-list__block.has-warning > * { |
257 pointer-events: none; |
289 pointer-events: none; |
258 -webkit-user-select: none; |
290 -webkit-user-select: none; |
259 -moz-user-select: none; |
|
260 -ms-user-select: none; |
291 -ms-user-select: none; |
261 user-select: none; } |
292 user-select: none; } |
262 |
293 |
263 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit .block-editor-warning { |
294 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning { |
264 pointer-events: all; } |
295 pointer-events: all; } |
265 |
296 |
266 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { |
297 .block-editor-block-list__layout .block-editor-block-list__block.has-warning::after { |
267 border-color: rgba(145, 151, 162, 0.25); |
|
268 border-left: 1px solid rgba(145, 151, 162, 0.25); } |
|
269 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::before { |
|
270 border-color: rgba(255, 255, 255, 0.35); } |
|
271 |
|
272 .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before { |
|
273 border-color: rgba(66, 88, 99, 0.4); |
|
274 border-left-color: transparent; } |
|
275 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .editor-block-list__block-edit::before { |
|
276 border-color: rgba(255, 255, 255, 0.45); } |
|
277 |
|
278 .block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-block-list__block-edit::after { |
|
279 content: ""; |
298 content: ""; |
280 position: absolute; |
299 position: absolute; |
281 background-color: rgba(248, 249, 249, 0.4); |
300 top: 0; |
282 top: -14px; |
301 right: 0; |
283 bottom: -14px; |
302 bottom: 0; |
284 right: -14px; |
303 left: 0; |
285 left: -14px; } |
304 border-radius: 2px; |
286 |
305 background-color: rgba(255, 255, 255, 0.4); } |
287 .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected .block-editor-block-list__block-edit::after { |
306 |
|
307 .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected::after { |
288 background-color: transparent; } |
308 background-color: transparent; } |
289 |
309 |
290 .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after { |
310 .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay::after { |
291 bottom: 22px; } |
311 display: none; } |
292 @media (min-width: 600px) { |
312 |
293 .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected .block-editor-block-list__block-edit::after { |
313 .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-inner-blocks > .block-editor-block-list__layout.has-overlay .block-editor-block-list__layout.has-overlay::after { |
294 bottom: -14px; } } |
314 display: block; } |
295 |
315 |
296 .block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__empty-block-inserter, |
316 .is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block { |
297 .block-editor-block-list__layout .block-editor-block-list__block.is-typing .block-editor-block-list__side-inserter { |
317 cursor: default; } |
298 opacity: 0; |
318 |
299 animation: none; } |
319 .block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { |
300 |
320 float: none; } |
301 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter, |
321 |
302 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { |
322 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter { |
303 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
323 left: auto; |
304 animation-fill-mode: forwards; } |
324 right: 8px; } |
305 @media (prefers-reduced-motion: reduce) { |
325 |
306 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__empty-block-inserter, |
326 .block-editor-block-list__layout .wp-block { |
307 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__side-inserter { |
327 margin-left: auto; |
308 animation-duration: 1ms !important; } } |
328 margin-right: auto; } |
309 |
329 |
310 .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit::before { |
330 .wp-block[data-align="left"], .wp-block[data-align="right"] { |
311 border: 1px dashed rgba(145, 151, 162, 0.25); } |
|
312 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable > .block-editor-block-list__block-edit::before { |
|
313 border-color: rgba(255, 255, 255, 0.35); } |
|
314 |
|
315 .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { |
|
316 border-color: rgba(66, 88, 99, 0.4); |
|
317 border-left-color: transparent; } |
|
318 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected > .block-editor-block-list__block-edit::before { |
|
319 border-color: rgba(255, 255, 255, 0.45); |
|
320 border-left-color: transparent; } |
|
321 |
|
322 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] { |
|
323 z-index: 81; |
|
324 width: 100%; |
331 width: 100%; |
325 height: 0; } |
332 height: 0; } |
326 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit { |
333 .wp-block[data-align="left"]::before, .wp-block[data-align="right"]::before { |
327 margin-top: 0; } |
334 content: none; } |
328 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-list__block-edit::before { |
335 |
329 content: none; } |
336 .wp-block[data-align="left"] > *, |
330 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
337 .wp-block[data-align="right"] > * { |
331 margin-bottom: 1px; } |
338 z-index: 21; } |
332 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
339 |
333 width: auto; |
340 .wp-block[data-align="left"] > * { |
334 border-bottom: 1px solid #b5bcc2; |
|
335 bottom: auto; } |
|
336 |
|
337 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { |
|
338 left: 0; |
|
339 right: auto; } |
|
340 |
|
341 .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
342 left: auto; |
|
343 right: 0; } |
|
344 |
|
345 @media (min-width: 600px) { |
|
346 .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar, |
|
347 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { |
|
348 top: 14px; } } |
|
349 |
|
350 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-list__block-edit { |
|
351 /*!rtl:begin:ignore*/ |
341 /*!rtl:begin:ignore*/ |
352 float: left; |
342 float: left; |
353 margin-right: 2em; |
343 margin-right: 2em; |
354 /*!rtl:end:ignore*/ } |
344 /*!rtl:end:ignore*/ } |
355 |
345 |
356 @media (min-width: 600px) { |
346 .wp-block[data-align="right"] > * { |
357 .block-editor-block-list__layout .block-editor-block-list__block[data-align="left"] .block-editor-block-toolbar { |
|
358 /*!rtl:begin:ignore*/ |
|
359 left: 14px; |
|
360 right: auto; |
|
361 /*!rtl:end:ignore*/ } } |
|
362 |
|
363 .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] > .block-editor-block-list__block-edit { |
|
364 /*!rtl:begin:ignore*/ |
347 /*!rtl:begin:ignore*/ |
365 float: right; |
348 float: right; |
366 margin-left: 2em; |
349 margin-left: 2em; |
367 /*!rtl:end:ignore*/ } |
350 /*!rtl:end:ignore*/ } |
368 |
351 |
369 @media (min-width: 600px) { |
352 .wp-block[data-align="full"], .wp-block[data-align="wide"] { |
370 .block-editor-block-list__layout .block-editor-block-list__block[data-align="right"] .block-editor-block-toolbar { |
353 clear: both; } |
371 /*!rtl:begin:ignore*/ |
|
372 right: 14px; |
|
373 left: auto; |
|
374 /*!rtl:end:ignore*/ } } |
|
375 |
|
376 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] { |
|
377 clear: both; |
|
378 z-index: 20; } |
|
379 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, |
|
380 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, |
|
381 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
382 top: -44px; |
|
383 bottom: auto; |
|
384 min-height: 0; |
|
385 height: auto; |
|
386 width: auto; } |
|
387 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover::before, |
|
388 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover::before, |
|
389 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before { |
|
390 content: none; } |
|
391 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, |
|
392 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control, |
|
393 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control { |
|
394 float: left; } |
|
395 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, |
|
396 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, |
|
397 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
398 display: none; } |
|
399 @media (min-width: 1280px) { |
|
400 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, |
|
401 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, |
|
402 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
403 display: block; } } |
|
404 @media (min-width: 600px) { |
|
405 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar { |
|
406 display: inline-flex; } } |
|
407 |
|
408 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover, |
|
409 .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
410 left: -13px; } |
|
411 |
|
412 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb { |
|
413 left: 0; } |
|
414 |
|
415 @media (min-width: 600px) { |
|
416 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] { |
|
417 margin-left: -45px; |
|
418 margin-right: -45px; } } |
|
419 |
|
420 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { |
|
421 margin-left: -14px; |
|
422 margin-right: -14px; } |
|
423 @media (min-width: 600px) { |
|
424 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit { |
|
425 margin-left: -44px; |
|
426 margin-right: -44px; } } |
|
427 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit figure { |
|
428 width: 100%; } |
|
429 |
|
430 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit::before { |
|
431 left: 0; |
|
432 right: 0; |
|
433 border-left-width: 0; |
|
434 border-right-width: 0; } |
|
435 |
|
436 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover, |
|
437 .block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
438 left: 1px; } |
|
439 |
|
440 .block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] { |
|
441 float: none; } |
|
442 |
|
443 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-drop-zone { |
|
444 top: -4px; |
|
445 bottom: -3px; |
|
446 margin: 0 14px; } |
|
447 |
|
448 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-inserter-with-shortcuts { |
|
449 display: none; } |
|
450 |
|
451 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-block-list__empty-block-inserter, |
|
452 .block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter { |
|
453 left: auto; |
|
454 right: 8px; } |
|
455 |
|
456 /** |
|
457 * Left and right side UI; Unified toolbar on Mobile |
|
458 */ |
|
459 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, |
|
460 .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
461 position: absolute; |
|
462 width: 30px; |
|
463 height: 100%; |
|
464 max-height: 112px; } |
|
465 |
|
466 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, |
|
467 .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
468 top: -15px; } |
|
469 |
|
470 @media (min-width: 600px) { |
|
471 .block-editor-block-list__block.is-multi-selected .block-editor-block-mover, .block-editor-block-list__block.is-selected .block-editor-block-mover, .block-editor-block-list__block.is-hovered .block-editor-block-mover { |
|
472 z-index: 80; } } |
|
473 |
|
474 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, |
|
475 .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
476 padding-right: 2px; |
|
477 left: -45px; |
|
478 display: none; } |
|
479 @media (min-width: 600px) { |
|
480 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover, |
|
481 .block-editor-block-list__block > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
482 display: block; } } |
|
483 |
|
484 .block-editor-block-list__block.is-multi-selected > .block-editor-block-mover { |
|
485 left: -30px; } |
|
486 |
|
487 .block-editor-block-list__block[data-align="left"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__block[data-align="right"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
488 display: none; } |
|
489 @media (min-width: 600px) { |
|
490 .block-editor-block-list__block[data-align="left"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__block[data-align="right"].is-selected > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
491 display: block; |
|
492 opacity: 1; |
|
493 animation: none; |
|
494 width: 45px; |
|
495 height: auto; |
|
496 padding-bottom: 14px; |
|
497 margin-top: 0; } } |
|
498 |
|
499 .block-editor-block-list__block[data-align="left"].is-hovered > .block-editor-block-list__block-edit > .block-editor-block-mover, |
|
500 .block-editor-block-list__block[data-align="left"].is-dragging > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__block[data-align="right"].is-hovered > .block-editor-block-list__block-edit > .block-editor-block-mover, |
|
501 .block-editor-block-list__block[data-align="right"].is-dragging > .block-editor-block-list__block-edit > .block-editor-block-mover { |
|
502 display: none; } |
|
503 |
|
504 /** |
|
505 * Mobile unified toolbar. |
|
506 */ |
|
507 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { |
|
508 display: flex; |
|
509 flex-direction: row; |
|
510 transform: translateY(15px); |
|
511 margin-top: 37px; |
|
512 margin-right: -14px; |
|
513 margin-left: -14px; |
|
514 border-top: 1px solid #b5bcc2; |
|
515 height: 37px; |
|
516 background-color: #fff; |
|
517 box-shadow: 0 5px 10px rgba(25, 30, 35, 0.05), 0 2px 2px rgba(25, 30, 35, 0.05); } |
|
518 @media (min-width: 600px) { |
|
519 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { |
|
520 display: none; } } |
|
521 @media (min-width: 600px) { |
|
522 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar { |
|
523 box-shadow: none; } } |
|
524 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter { |
|
525 position: relative; |
|
526 left: auto; |
|
527 top: auto; |
|
528 margin: 0; } |
|
529 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle, |
|
530 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control { |
|
531 width: 36px; |
|
532 height: 36px; |
|
533 border-radius: 4px; |
|
534 padding: 3px; |
|
535 margin: 0; |
|
536 justify-content: center; |
|
537 align-items: center; } |
|
538 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-inserter__toggle .dashicon, |
|
539 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover__control .dashicon { |
|
540 margin: auto; } |
|
541 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover { |
|
542 display: flex; |
|
543 margin-right: auto; } |
|
544 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-inserter, |
|
545 .block-editor-block-list__block .block-editor-block-list__block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control { |
|
546 float: left; } |
|
547 |
|
548 .block-editor-block-list__block[data-align="full"] .block-editor-block-list__block-mobile-toolbar { |
|
549 margin-left: 0; |
|
550 margin-right: 0; } |
|
551 |
354 |
552 /** |
355 /** |
553 * In-Canvas Inserter |
356 * In-Canvas Inserter |
554 */ |
357 */ |
555 .block-editor-block-list .block-editor-inserter { |
358 .block-editor-block-list .block-editor-inserter { |
556 margin: 8px; |
359 margin: 8px; |
557 cursor: move; |
360 cursor: move; |
558 cursor: -webkit-grab; |
|
559 cursor: grab; } |
361 cursor: grab; } |
560 |
362 |
561 .block-editor-block-list__insertion-point { |
363 .block-editor-block-list__insertion-point { |
562 position: relative; |
364 position: relative; |
563 z-index: 6; |
365 z-index: 6; |
564 margin-top: -14px; } |
366 margin-top: -14px; } |
565 |
367 |
566 .block-editor-block-list__insertion-point-indicator { |
368 .block-editor-block-list__insertion-point-indicator { |
567 position: absolute; |
369 position: absolute; |
568 top: calc(50% - 1px); |
370 top: calc(50% - 1px); |
569 height: 2px; |
371 height: 1.5px; |
570 left: 0; |
372 left: 0; |
571 right: 0; |
373 right: 0; |
572 background: #0085ba; } |
374 background: #007cba; |
573 |
375 background: var(--wp-admin-theme-color); } |
574 body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{ |
|
575 background: #d1864a; } |
|
576 |
|
577 body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{ |
|
578 background: #a3b9a2; } |
|
579 |
|
580 body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{ |
|
581 background: #e14d43; } |
|
582 |
|
583 body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{ |
|
584 background: #a7b656; } |
|
585 |
|
586 body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{ |
|
587 background: #c2a68c; } |
|
588 |
|
589 body.admin-color-blue .block-editor-block-list__insertion-point-indicator{ |
|
590 background: #82b4cb; } |
|
591 |
|
592 body.admin-color-light .block-editor-block-list__insertion-point-indicator{ |
|
593 background: #0085ba; } |
|
594 |
376 |
595 .block-editor-block-list__insertion-point-inserter { |
377 .block-editor-block-list__insertion-point-inserter { |
596 display: none; |
378 display: none; |
597 position: absolute; |
|
598 bottom: auto; |
|
599 left: 0; |
|
600 right: 0; |
|
601 justify-content: center; |
379 justify-content: center; |
602 height: 22px; |
380 cursor: text; } |
603 opacity: 0; |
|
604 transition: opacity 0.1s linear; } |
|
605 @media (min-width: 480px) { |
381 @media (min-width: 480px) { |
606 .block-editor-block-list__insertion-point-inserter { |
382 .block-editor-block-list__insertion-point-inserter { |
607 display: flex; } } |
383 display: flex; } } |
608 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle { |
384 .block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle { |
609 margin-top: -8px; |
385 visibility: hidden; |
610 border-radius: 50%; |
386 pointer-events: none; } |
611 color: #007cba; |
387 |
612 background: #fff; |
388 .block-editor-block-list__block-popover-inserter { |
613 height: 36px; |
389 position: absolute; |
614 width: 36px; } |
390 top: -9999em; |
615 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):hover { |
391 margin-bottom: 14px; } |
616 box-shadow: none; } |
392 .block-editor-block-list__block-popover-inserter.is-visible { |
617 .block-editor-block-list__insertion-point-inserter:hover, .block-editor-block-list__insertion-point-inserter.is-visible { |
393 position: static; } |
618 opacity: 1; } |
394 |
619 |
395 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon, |
620 .edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter, |
396 .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon, |
621 .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter { |
397 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon, |
622 opacity: 0; |
398 .block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon { |
623 pointer-events: none; } |
399 background: #1e1e1e; |
624 .edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover, .edit-post-layout:not(.has-fixed-toolbar) .is-selected > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible, |
400 border-radius: 2px; |
625 .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter:hover, |
401 color: #fff; |
626 .edit-post-layout:not(.has-fixed-toolbar) .is-focused > .block-editor-block-list__insertion-point > .block-editor-block-list__insertion-point-inserter.is-visible { |
402 padding: 0; |
|
403 min-width: 24px; |
|
404 height: 24px; } |
|
405 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover, |
|
406 .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover, |
|
407 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover, |
|
408 .block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover { |
|
409 color: #fff; } |
|
410 |
|
411 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button, |
|
412 .block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button { |
|
413 animation: block-editor-inserter__toggle__fade-in-animation-delayed 0.3s ease; |
|
414 animation-fill-mode: forwards; } |
|
415 @media (prefers-reduced-motion: reduce) { |
|
416 .block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button, |
|
417 .block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button { |
|
418 animation-duration: 1ms; } } |
|
419 |
|
420 @keyframes block-editor-inserter__toggle__fade-in-animation-delayed { |
|
421 0% { |
|
422 opacity: 0; } |
|
423 80% { |
|
424 opacity: 0; } |
|
425 100% { |
|
426 opacity: 1; } } |
|
427 |
|
428 @keyframes block-editor-inserter__toggle__fade-in-animation { |
|
429 from { |
|
430 opacity: 0; |
|
431 transform: scale(0); } |
|
432 to { |
627 opacity: 1; |
433 opacity: 1; |
628 pointer-events: auto; } |
434 transform: scale(1); } } |
|
435 |
|
436 .wp-block .block-list-appender .block-editor-inserter__toggle { |
|
437 animation: block-editor-inserter__toggle__fade-in-animation 0.1s ease; |
|
438 animation-fill-mode: forwards; } |
|
439 @media (prefers-reduced-motion: reduce) { |
|
440 .wp-block .block-list-appender .block-editor-inserter__toggle { |
|
441 animation-duration: 1ms; } } |
|
442 |
|
443 .block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender { |
|
444 display: none; } |
|
445 .block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle { |
|
446 opacity: 0; |
|
447 transform: scale(0); } |
629 |
448 |
630 .block-editor-block-list__block > .block-editor-block-list__insertion-point { |
449 .block-editor-block-list__block > .block-editor-block-list__insertion-point { |
631 position: absolute; |
450 position: absolute; |
632 top: -16px; |
451 top: -16px; |
633 height: 28px; |
452 height: 28px; |
634 bottom: auto; |
453 bottom: auto; |
635 left: 0; |
454 left: 14px; |
636 right: 0; } |
455 right: 14px; } |
637 @media (min-width: 600px) { |
|
638 .block-editor-block-list__block > .block-editor-block-list__insertion-point { |
|
639 left: -1px; |
|
640 right: -1px; } } |
|
641 |
|
642 .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__insertion-point { |
|
643 left: 0; |
|
644 right: 0; } |
|
645 |
456 |
646 .block-editor-block-list__block .block-editor-block-list__block-html-textarea { |
457 .block-editor-block-list__block .block-editor-block-list__block-html-textarea { |
647 display: block; |
458 display: block; |
648 margin: 0; |
459 margin: 0; |
649 width: 100%; |
460 width: 100%; |
651 outline: none; |
462 outline: none; |
652 box-shadow: none; |
463 box-shadow: none; |
653 resize: none; |
464 resize: none; |
654 overflow: hidden; |
465 overflow: hidden; |
655 font-family: Menlo, Consolas, monaco, monospace; |
466 font-family: Menlo, Consolas, monaco, monospace; |
656 font-size: 14px; |
467 font-size: 15px; |
657 line-height: 150%; |
468 line-height: 150%; |
658 transition: padding 0.2s linear; } |
469 transition: padding 0.2s linear; } |
|
470 @media (prefers-reduced-motion: reduce) { |
|
471 .block-editor-block-list__block .block-editor-block-list__block-html-textarea { |
|
472 transition-duration: 0s; } } |
659 .block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus { |
473 .block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus { |
660 box-shadow: none; } |
474 box-shadow: none; } |
661 |
475 |
662 /** |
476 /** |
663 * Block Toolbar when contextual. |
477 * Block Toolbar when contextual. |
664 */ |
478 */ |
665 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
479 .block-editor-block-contextual-toolbar { |
666 z-index: 21; |
480 border: 1px solid #1e1e1e; |
667 white-space: nowrap; |
481 border-radius: 2px; |
668 text-align: left; |
482 background-color: #fff; } |
669 pointer-events: none; |
483 .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar-group, |
670 position: absolute; |
484 .block-editor-block-contextual-toolbar .block-editor-block-toolbar .components-toolbar { |
671 bottom: 22px; |
485 border-right-color: #1e1e1e; } |
672 left: -14px; |
486 .block-editor-block-contextual-toolbar .block-editor-block-mover-button { |
673 right: -14px; |
487 overflow: hidden; } |
674 border-top: 1px solid #b5bcc2; } |
488 .block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.block-editor-block-mover-button { |
675 .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar { |
489 min-width: 24px; |
676 border-top: none; |
490 width: 24px; } |
677 border-bottom: none; } |
491 .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg { |
678 @media (min-width: 600px) { |
492 margin-top: 3px; } |
679 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
493 .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-down-button svg { |
680 border-top: none; } |
494 margin-bottom: 3px; } |
681 .block-editor-block-list__block .block-editor-block-contextual-toolbar .components-toolbar { |
495 .block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button:focus::before { |
682 border-top: 1px solid #b5bcc2; |
496 left: 0 !important; |
683 border-bottom: 1px solid #b5bcc2; } } |
497 min-width: 0; |
684 |
498 width: 100%; } |
685 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, |
499 |
686 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
500 /** |
687 margin-bottom: 1px; |
501 * Block Label for Navigation/Selection Mode |
688 margin-top: -37px; |
502 */ |
689 box-shadow: -3px 0 0 0 #555d66; } |
503 .block-editor-block-list__block-selection-button { |
690 .is-dark-theme .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, .is-dark-theme |
504 display: block; |
691 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
505 z-index: 22; } |
692 box-shadow: -3px 0 0 0 #d7dade; } |
506 .block-editor-block-list__block-selection-button .components-button { |
693 @media (min-width: 600px) { |
507 font-size: 13px; |
694 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, |
508 height: 46px; |
695 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
509 padding: 12px 16px; |
696 box-shadow: none; } } |
510 position: relative; |
697 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar .editor-block-toolbar, |
511 top: -1px; |
698 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar .editor-block-toolbar { |
512 box-shadow: 0 0 0 1px #1e1e1e; |
699 border-left: none; } |
513 border-radius: 1px; |
700 |
514 background-color: #fff; } |
701 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
515 .block-editor-block-list__block-selection-button .components-button:focus { |
702 margin-left: 0; |
516 box-shadow: 0 0 0 1.5px #007cba; |
703 margin-right: 0; } |
517 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); } |
704 @media (min-width: 600px) { |
518 |
705 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
519 /** |
706 margin-left: -15px; |
520 * Warnings. |
707 margin-right: -15px; } } |
521 */ |
708 |
|
709 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { |
|
710 /*rtl:ignore*/ |
|
711 margin-right: 15px; } |
|
712 |
|
713 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
714 /*rtl:ignore*/ |
|
715 margin-left: 15px; } |
|
716 |
|
717 .block-editor-block-list__block .block-editor-block-contextual-toolbar > * { |
|
718 pointer-events: auto; } |
|
719 |
|
720 .block-editor-block-list__block[data-align="full"] .block-editor-block-contextual-toolbar { |
|
721 left: 0; |
|
722 right: 0; } |
|
723 |
|
724 .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-list__block-edit > .block-editor-block-contextual-toolbar { |
|
725 margin-left: -28px; } |
|
726 |
|
727 @media (min-width: 600px) { |
|
728 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
|
729 bottom: auto; |
|
730 left: auto; |
|
731 right: auto; |
|
732 box-shadow: none; |
|
733 transform: translateY(-52px); } |
|
734 @supports ((position: -webkit-sticky) or (position: sticky)) { |
|
735 .block-editor-block-list__block .block-editor-block-contextual-toolbar { |
|
736 position: -webkit-sticky; |
|
737 position: sticky; |
|
738 top: 51px; } } } |
|
739 |
|
740 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar { |
|
741 /*rtl:ignore*/ |
|
742 float: left; } |
|
743 |
|
744 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
745 /*rtl:ignore*/ |
|
746 float: right; } |
|
747 |
|
748 .block-editor-block-list__block[data-align="left"] .block-editor-block-contextual-toolbar, |
|
749 .block-editor-block-list__block[data-align="right"] .block-editor-block-contextual-toolbar { |
|
750 transform: translateY(-15px); } |
|
751 |
|
752 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { |
|
753 width: 100%; } |
|
754 @media (min-width: 600px) { |
|
755 .block-editor-block-contextual-toolbar .block-editor-block-toolbar { |
|
756 width: auto; |
|
757 border-right: none; |
|
758 position: absolute; |
|
759 left: 1px; |
|
760 top: 1px; } } |
|
761 |
|
762 /** |
|
763 * Hover label |
|
764 */ |
|
765 .block-editor-block-list__breadcrumb { |
|
766 position: absolute; |
|
767 line-height: 1; |
|
768 z-index: 2; |
|
769 left: -17px; |
|
770 top: -31px; } |
|
771 .block-editor-block-list__breadcrumb .components-toolbar { |
|
772 padding: 0; |
|
773 border: none; |
|
774 line-height: 1; |
|
775 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
776 font-size: 11px; |
|
777 padding: 4px 4px; |
|
778 background: #e2e4e7; |
|
779 color: #191e23; } |
|
780 .is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar { |
|
781 background: #40464d; |
|
782 color: #fff; } |
|
783 .block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar { |
|
784 opacity: 0; |
|
785 animation: edit-post__fade-in-animation 60ms ease-out 0.5s; |
|
786 animation-fill-mode: forwards; } |
|
787 @media (prefers-reduced-motion: reduce) { |
|
788 .block-editor-block-list__block:hover .block-editor-block-list__breadcrumb .components-toolbar { |
|
789 animation-duration: 1ms !important; } } |
|
790 .editor-inner-blocks .block-editor-block-list__breadcrumb { |
|
791 z-index: 22; } |
|
792 [data-align="left"] .block-editor-block-list__breadcrumb { |
|
793 left: 0; } |
|
794 [data-align="right"] .block-editor-block-list__breadcrumb { |
|
795 left: auto; |
|
796 right: 0; } |
|
797 |
|
798 .block-editor-block-list__descendant-arrow::before { |
|
799 content: "→"; |
|
800 display: inline-block; |
|
801 padding: 0 4px; } |
|
802 .rtl .block-editor-block-list__descendant-arrow::before { |
|
803 content: "←"; } |
|
804 |
|
805 @media (min-width: 600px) { |
|
806 .block-editor-block-list__block::before { |
|
807 bottom: 0; |
|
808 content: ""; |
|
809 left: -28px; |
|
810 position: absolute; |
|
811 right: -28px; |
|
812 top: 0; } |
|
813 .block-editor-block-list__block .block-editor-block-list__block::before { |
|
814 left: 0; |
|
815 right: 0; } |
|
816 .block-editor-block-list__block[data-align="full"]::before { |
|
817 content: none; } } |
|
818 |
|
819 .block-editor-block-list__block .block-editor-warning { |
522 .block-editor-block-list__block .block-editor-warning { |
820 z-index: 5; |
523 z-index: 5; |
821 position: relative; |
524 position: relative; } |
822 margin-right: -14px; |
525 .block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning { |
823 margin-left: -14px; |
526 margin-bottom: auto; } |
824 margin-bottom: -14px; |
527 |
825 transform: translateY(-14px); |
528 /** |
826 padding: 10px 14px; } |
529 * Popovers. |
827 @media (min-width: 600px) { |
530 */ |
828 .block-editor-block-list__block .block-editor-warning { |
531 .block-editor-block-list__insertion-point-popover.is-without-arrow { |
829 padding: 10px 14px; } } |
532 z-index: 28; |
|
533 position: absolute; } |
|
534 .block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content { |
|
535 background: none; |
|
536 border: none; |
|
537 box-shadow: none; |
|
538 overflow-y: visible; |
|
539 margin-left: 0; } |
|
540 |
|
541 .components-popover.block-editor-block-list__block-popover { |
|
542 z-index: 31; |
|
543 position: absolute; } |
|
544 .components-popover.block-editor-block-list__block-popover .components-popover__content { |
|
545 margin: 0 !important; |
|
546 min-width: auto; |
|
547 width: max-content; |
|
548 background: none; |
|
549 border: none; |
|
550 box-shadow: none; |
|
551 overflow-y: visible; |
|
552 pointer-events: none; } |
|
553 .components-popover.block-editor-block-list__block-popover .components-popover__content > * { |
|
554 pointer-events: all; } |
|
555 .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button, |
|
556 .components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar { |
|
557 margin-bottom: 12px; } |
|
558 .is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover { |
|
559 opacity: 0; } |
|
560 |
|
561 .is-dragging-components-draggable .components-tooltip { |
|
562 display: none; } |
|
563 |
|
564 .block-editor-block-list__block .block-list-appender { |
|
565 margin: 8px 0; } |
|
566 .has-background .block-editor-block-list__block .block-list-appender { |
|
567 margin: 20px 8px; } |
|
568 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle { |
|
569 padding: 0; |
|
570 opacity: 1; |
|
571 transform: scale(1); |
|
572 transition: all 0.1s ease; } |
|
573 @media (prefers-reduced-motion: reduce) { |
|
574 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle { |
|
575 transition-duration: 0s; } } |
830 |
576 |
831 .block-list-appender > .block-editor-inserter { |
577 .block-list-appender > .block-editor-inserter { |
832 display: block; } |
578 display: block; } |
833 |
579 |
834 .block-list-appender__toggle { |
580 .block-editor-block-list__block:not(.is-selected):not(.has-child-selected):not(.block-editor-block-list__layout) .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle { |
|
581 opacity: 0; |
|
582 transform: scale(0); } |
|
583 |
|
584 .block-editor-block-breadcrumb { |
|
585 list-style: none; |
|
586 padding: 0; |
|
587 margin: 0; } |
|
588 .block-editor-block-breadcrumb li { |
|
589 display: inline-block; |
|
590 margin: 0; } |
|
591 .block-editor-block-breadcrumb li:not(:last-child)::after { |
|
592 content: "→" /*rtl:"←"*/; } |
|
593 |
|
594 .block-editor-block-breadcrumb__button.components-button { |
|
595 height: 24px; |
|
596 line-height: 24px; |
|
597 padding: 0; |
|
598 position: relative; } |
|
599 .block-editor-block-breadcrumb__button.components-button:hover:not(:disabled) { |
|
600 text-decoration: underline; |
|
601 box-shadow: none; } |
|
602 .block-editor-block-breadcrumb__button.components-button:focus { |
|
603 box-shadow: none; } |
|
604 .block-editor-block-breadcrumb__button.components-button:focus::before { |
|
605 content: ""; |
|
606 display: block; |
|
607 position: absolute; |
|
608 border-radius: 2px; |
|
609 top: 1px; |
|
610 right: 1px; |
|
611 bottom: 1px; |
|
612 left: 1px; |
|
613 box-shadow: inset 0 0 0 1.5px #007cba; |
|
614 box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); } |
|
615 |
|
616 .block-editor-block-breadcrumb__current { |
|
617 cursor: default; } |
|
618 |
|
619 .block-editor-block-breadcrumb__button.components-button, |
|
620 .block-editor-block-breadcrumb__current { |
|
621 color: #1e1e1e; |
|
622 padding: 0 8px; |
|
623 font-size: inherit; } |
|
624 |
|
625 .block-editor-block-card { |
835 display: flex; |
626 display: flex; |
836 align-items: center; |
627 align-items: flex-start; } |
837 justify-content: center; |
628 |
838 padding: 16px; |
629 .block-editor-block-card__icon { |
839 outline: 1px dashed #8d96a0; |
630 border: 1px solid #ccd0d4; |
840 width: 100%; |
631 padding: 7px; |
841 color: #555d66; } |
632 margin-right: 10px; |
842 .block-list-appender__toggle:hover { |
633 height: 36px; |
843 outline: 1px dashed #555d66; } |
634 width: 36px; } |
|
635 |
|
636 .block-editor-block-card__content { |
|
637 flex-grow: 1; } |
|
638 |
|
639 .block-editor-block-card__title { |
|
640 font-weight: 500; } |
|
641 .block-editor-block-card__title.block-editor-block-card__title { |
|
642 margin: 0 0 5px; } |
|
643 |
|
644 .block-editor-block-card__description { |
|
645 font-size: 13px; } |
|
646 |
|
647 .block-editor-block-card .block-editor-block-icon { |
|
648 margin-left: -2px; |
|
649 margin-right: 10px; |
|
650 padding: 0 3px; |
|
651 width: 36px; |
|
652 height: 24px; } |
844 |
653 |
845 /** |
654 /** |
846 * Invalid block comparison |
655 * Invalid block comparison |
847 */ |
656 */ |
848 .block-editor-block-compare { |
657 .block-editor-block-compare { |
893 .block-editor-block-compare__wrapper .block-editor-block-compare__heading { |
703 .block-editor-block-compare__wrapper .block-editor-block-compare__heading { |
894 font-size: 1em; |
704 font-size: 1em; |
895 font-weight: 400; |
705 font-weight: 400; |
896 margin: 0.67em 0; } |
706 margin: 0.67em 0; } |
897 |
707 |
|
708 .block-editor-block-draggable-chip-wrapper { |
|
709 position: absolute; |
|
710 top: -60px; } |
|
711 |
|
712 .block-editor-block-draggable-chip { |
|
713 background-color: #1e1e1e; |
|
714 border-radius: 2px; |
|
715 border: 1px solid #1e1e1e; |
|
716 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); |
|
717 color: #fff; |
|
718 cursor: grabbing; |
|
719 display: inline-flex; |
|
720 height: 48px; |
|
721 min-width: 72px; |
|
722 padding: 0 12px; |
|
723 -webkit-user-select: none; |
|
724 -ms-user-select: none; |
|
725 user-select: none; } |
|
726 .block-editor-block-draggable-chip svg { |
|
727 fill: currentColor; } |
|
728 .block-editor-block-draggable-chip .block-editor-block-draggable-chip__content { |
|
729 margin: auto; } |
|
730 .block-editor-block-draggable-chip .components-flex__item { |
|
731 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
732 font-size: 13px; } |
|
733 |
|
734 .is-dragging.is-selected, |
|
735 .is-dragging.is-multi-selected { |
|
736 display: none !important; } |
|
737 |
|
738 .block-editor-block-mobile-toolbar { |
|
739 display: flex; |
|
740 flex-direction: row; |
|
741 border-right: 1px solid #ddd; } |
|
742 .block-editor-block-mobile-toolbar .block-editor-block-mover-button { |
|
743 width: 36px; |
|
744 height: 36px; |
|
745 border-radius: 2px; |
|
746 padding: 3px; |
|
747 margin: 0; |
|
748 justify-content: center; |
|
749 align-items: center; } |
|
750 .block-editor-block-mobile-toolbar .block-editor-block-mover-button .dashicon { |
|
751 margin: auto; } |
|
752 .block-editor-block-mobile-toolbar .block-editor-block-mover { |
|
753 display: flex; |
|
754 margin-right: auto; } |
|
755 .block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover-button { |
|
756 float: left; } |
|
757 |
898 .block-editor-block-mover { |
758 .block-editor-block-mover { |
899 min-height: 56px; |
759 display: inline-flex; |
900 opacity: 0; } |
760 flex-direction: row; } |
901 .block-editor-block-mover.is-visible { |
761 |
|
762 .block-editor-block-mover-button__description { |
|
763 display: none; } |
|
764 |
|
765 .block-editor-block-mover-button.has-icon { |
|
766 padding: 0; } |
|
767 |
|
768 .block-editor-block-mover .components-toolbar-group, |
|
769 .block-editor-block-mover .components-toolbar { |
|
770 flex: 1; |
|
771 flex-direction: row; } |
|
772 @media (min-width: 600px) { |
|
773 .block-editor-block-mover .components-toolbar-group, |
|
774 .block-editor-block-mover .components-toolbar { |
|
775 flex-direction: column; } } |
|
776 |
|
777 .block-editor-block-mover.is-horizontal .components-toolbar-group, |
|
778 .block-editor-block-mover.is-horizontal .components-toolbar { |
|
779 flex-direction: row; } |
|
780 |
|
781 @media (min-width: 600px) { |
|
782 .block-editor-block-mover .block-editor-block-mover-button { |
|
783 padding: 0 !important; |
|
784 height: 24px; |
|
785 width: 48px; } } |
|
786 |
|
787 @media (min-width: 600px) { |
|
788 .block-editor-block-mover .block-editor-block-mover-button::before { |
|
789 left: 8px !important; |
|
790 right: 8px !important; } } |
|
791 |
|
792 @media (min-width: 600px) { |
|
793 .block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button svg, |
|
794 .block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button svg { |
|
795 margin-bottom: -8px; } |
|
796 .block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-up-button::before, |
|
797 .block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-up-button::before { |
|
798 bottom: 0; |
|
799 height: calc(100% - 1px); } |
|
800 .block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button svg, |
|
801 .block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button svg { |
|
802 margin-top: -8px; } |
|
803 .block-editor-block-mover .components-toolbar-group .block-editor-block-mover-button.is-down-button::before, |
|
804 .block-editor-block-mover .components-toolbar .block-editor-block-mover-button.is-down-button::before { |
|
805 top: 0; |
|
806 height: calc(100% - 1px); } } |
|
807 |
|
808 .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon { |
|
809 height: 48px; |
|
810 width: 24px; |
|
811 padding-left: 0; |
|
812 padding-right: 0; } |
|
813 .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.has-icon::before { |
|
814 top: 0; |
|
815 bottom: 0; |
|
816 min-width: 0; |
|
817 width: auto; |
|
818 height: auto; } |
|
819 |
|
820 .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon svg { |
|
821 margin-left: 0; |
|
822 margin-right: -8px; |
|
823 margin-bottom: 0; } |
|
824 |
|
825 .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-up-button.has-icon::before { |
|
826 left: 0 !important; |
|
827 right: 0 !important; } |
|
828 |
|
829 .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon svg { |
|
830 margin-left: -8px; |
|
831 margin-right: 0; |
|
832 margin-top: 0; } |
|
833 |
|
834 .block-editor-block-mover.is-horizontal .block-editor-block-mover-button.is-down-button.has-icon::before { |
|
835 left: 0 !important; |
|
836 right: 0 !important; |
|
837 width: calc(100% + 1px); } |
|
838 |
|
839 .block-editor-block-navigation__container { |
|
840 padding: 7px; } |
|
841 |
|
842 .block-editor-block-navigation__label { |
|
843 margin: 0 0 12px; |
|
844 color: #757575; |
|
845 text-transform: uppercase; |
|
846 font-size: 11px; |
|
847 font-weight: 500; } |
|
848 |
|
849 .block-editor-block-navigation__container { |
|
850 padding: 7px; } |
|
851 |
|
852 .block-editor-block-navigation-tree { |
|
853 width: 100%; |
|
854 border-collapse: collapse; |
|
855 padding: 0; |
|
856 margin: 0; } |
|
857 |
|
858 .block-editor-block-navigation-leaf { |
|
859 position: relative; } |
|
860 .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents { |
|
861 display: flex; |
|
862 align-items: center; |
|
863 width: calc(100% - 0.8em); |
|
864 height: auto; |
|
865 padding: 12px 6px; |
|
866 margin-top: auto; |
|
867 margin-bottom: auto; |
|
868 text-align: left; |
|
869 color: #40464d; |
|
870 border-radius: 2px; } |
|
871 .components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents { |
|
872 padding-left: 0; |
|
873 padding-right: 0; } |
|
874 .block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents { |
|
875 opacity: 1; |
902 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
876 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
903 animation-fill-mode: forwards; } |
877 animation-fill-mode: forwards; } |
904 @media (prefers-reduced-motion: reduce) { |
878 @media (prefers-reduced-motion: reduce) { |
905 .block-editor-block-mover.is-visible { |
879 .block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents { |
906 animation-duration: 1ms !important; } } |
880 animation-duration: 1ms; } } |
907 @media (min-width: 600px) { |
881 .block-editor-block-navigation-leaf .block-editor-block-icon { |
908 .block-editor-block-list__block:not([data-align="wide"]):not([data-align="full"]) .block-editor-block-mover { |
882 align-self: flex-start; |
909 margin-top: -8px; } } |
883 margin-right: 6px; } |
910 |
884 .block-editor-block-navigation-leaf.is-selected .block-editor-block-icon svg, |
911 .block-editor-block-mover__control { |
885 .block-editor-block-navigation-leaf.is-selected:focus .block-editor-block-icon svg { |
912 display: flex; |
886 color: #fff; |
913 align-items: center; |
887 background: #1e1e1e; |
914 justify-content: center; |
888 box-shadow: 0 0 0 1px #1e1e1e; |
|
889 border-radius: 1px; } |
|
890 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
891 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell, |
|
892 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell { |
|
893 padding-top: 0; |
|
894 padding-bottom: 0; } |
|
895 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
896 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell { |
|
897 width: 36px; |
|
898 opacity: 0; |
|
899 vertical-align: top; } |
|
900 @media (prefers-reduced-motion: reduce) { |
|
901 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
902 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell { |
|
903 transition-duration: 0s; } } |
|
904 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible, |
|
905 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible { |
|
906 opacity: 1; |
|
907 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
908 animation-fill-mode: forwards; } |
|
909 @media (prefers-reduced-motion: reduce) { |
|
910 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible, |
|
911 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible { |
|
912 animation-duration: 1ms; } } |
|
913 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
914 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon, |
|
915 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell, |
|
916 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon { |
|
917 width: 24px; |
|
918 min-width: 24px; |
|
919 padding: 0; } |
|
920 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell { |
|
921 padding-top: 8px; } |
|
922 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper { |
|
923 display: flex; |
|
924 height: 100%; |
|
925 flex-direction: column; |
|
926 align-items: center; } |
|
927 .block-editor-block-navigation-leaf .block-editor-block-mover-button { |
|
928 position: relative; |
|
929 width: 36px; |
|
930 height: 24px; } |
|
931 .block-editor-block-navigation-leaf .block-editor-block-mover-button svg { |
|
932 position: relative; |
|
933 height: 24px; } |
|
934 .block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button { |
|
935 align-items: flex-end; } |
|
936 .block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg { |
|
937 bottom: -4px; } |
|
938 .block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button { |
|
939 align-items: flex-start; } |
|
940 .block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg { |
|
941 top: -4px; } |
|
942 .block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled { |
|
943 box-shadow: none; |
|
944 outline: none; } |
|
945 .block-editor-block-navigation-leaf .block-editor-block-mover-button:focus { |
|
946 box-shadow: none; |
|
947 outline: none; } |
|
948 .block-editor-block-navigation-leaf .block-editor-block-mover-button:focus::before { |
|
949 box-shadow: inset 0 0 0 1.5px #007cba, inset 0 0 0 4px #fff; |
|
950 box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 0 0 4px #fff; |
|
951 outline: 2px solid transparent; } |
|
952 .block-editor-block-navigation-leaf .block-editor-block-mover-button::before { |
|
953 content: ""; |
|
954 position: absolute; |
|
955 display: block; |
|
956 border-radius: 2px; |
|
957 height: 16px; |
|
958 min-width: 100%; |
|
959 left: 0; |
|
960 right: 0; |
|
961 animation: components-button__appear-animation 0.1s ease; |
|
962 animation-fill-mode: forwards; } |
|
963 @media (prefers-reduced-motion: reduce) { |
|
964 .block-editor-block-navigation-leaf .block-editor-block-mover-button::before { |
|
965 animation-duration: 1ms; } } |
|
966 .block-editor-block-navigation-leaf .block-editor-inserter__toggle { |
|
967 background: #1e1e1e; |
|
968 color: #fff; |
|
969 height: 24px; |
|
970 margin: 6px 6px 6px 1px; |
|
971 min-width: 24px; } |
|
972 .block-editor-block-navigation-leaf .block-editor-inserter__toggle:active { |
|
973 color: #fff; } |
|
974 |
|
975 .block-editor-block-navigation-block-slot__description, |
|
976 .block-editor-block-navigation-block-select-button__description, |
|
977 .block-editor-block-navigation-appender__description { |
|
978 display: none; } |
|
979 |
|
980 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container, |
|
981 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container, |
|
982 .block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container, |
|
983 .block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container { |
|
984 display: flex; } |
|
985 |
|
986 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container, |
|
987 .block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container { |
|
988 min-height: 56px; } |
|
989 |
|
990 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line, |
|
991 .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line { |
|
992 position: relative; |
|
993 flex-shrink: 0; |
|
994 width: 24px; } |
|
995 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line:first-child, |
|
996 .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line:first-child { |
|
997 width: 18px; } |
|
998 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item, |
|
999 .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item { |
|
1000 margin-right: 6px; } |
|
1001 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line::before, |
|
1002 .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line::before { |
|
1003 content: ""; |
|
1004 display: block; |
|
1005 position: absolute; |
|
1006 top: 1px; |
|
1007 bottom: -2px; |
|
1008 right: -1px; |
|
1009 border-right: 2px solid #a2aab2; } |
|
1010 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.is-terminated::before, |
|
1011 .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.is-terminated::before { |
|
1012 border-color: transparent; } |
|
1013 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item.is-last-row, |
|
1014 .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row { |
|
1015 height: 26px; } |
|
1016 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigator-descender-line.has-item::after, |
|
1017 .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item::after { |
|
1018 content: ""; |
|
1019 display: block; |
|
1020 position: absolute; |
|
1021 top: 26px; |
|
1022 left: 100%; |
|
1023 width: 5px; |
|
1024 border-bottom: 2px solid #a2aab2; } |
|
1025 |
|
1026 .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row { |
|
1027 height: 16px; } |
|
1028 .block-editor-block-navigation-appender__cell .block-editor-block-navigator-descender-line.has-item.is-last-row::after { |
|
1029 top: 100%; } |
|
1030 |
|
1031 .block-editor-block-parent-selector { |
|
1032 background: #fff; |
|
1033 border-radius: 2px; } |
|
1034 .block-editor-block-parent-selector .block-editor-block-parent-selector__button { |
|
1035 width: 48px; |
|
1036 height: 48px; |
|
1037 border: 1px solid #1e1e1e; |
|
1038 border-radius: 2px; } |
|
1039 |
|
1040 .block-editor-block-patterns-list__item { |
|
1041 border-radius: 2px; |
915 cursor: pointer; |
1042 cursor: pointer; |
916 padding: 0; |
1043 margin-top: 16px; |
917 width: 28px; |
1044 transition: all 0.05s ease-in-out; |
918 height: 24px; |
1045 position: relative; |
919 color: rgba(14, 28, 46, 0.62); } |
1046 border: 1px solid transparent; } |
920 .block-editor-block-mover__control svg { |
1047 .block-editor-block-patterns-list__item:hover { |
921 width: 28px; |
1048 border: 1px solid #007cba; |
922 height: 24px; |
1049 border: 1px solid var(--wp-admin-theme-color); } |
923 padding: 2px 5px; } |
1050 .block-editor-block-patterns-list__item:focus { |
924 .is-dark-theme .block-editor-block-mover__control { |
1051 box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba; |
925 color: rgba(255, 255, 255, 0.65); } |
1052 box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color); |
926 .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control, |
1053 outline: 2px solid transparent; } |
927 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control { |
1054 .block-editor-block-patterns-list__item.is-placeholder { |
928 color: rgba(14, 28, 46, 0.62); } |
1055 min-height: 100px; } |
929 .block-editor-block-mover__control[aria-disabled="true"] { |
1056 |
930 cursor: default; |
1057 .block-editor-block-patterns-list__item-title { |
931 pointer-events: none; |
1058 padding: 4px; |
932 color: rgba(130, 148, 147, 0.15); } |
1059 font-size: 12px; |
933 .is-dark-theme .block-editor-block-mover__control[aria-disabled="true"] { |
1060 text-align: center; } |
934 color: rgba(255, 255, 255, 0.2); } |
1061 |
935 |
1062 .block-editor-block-preview__container { |
936 .block-editor-block-mover__control-drag-handle { |
1063 position: relative; |
937 cursor: move; |
|
938 cursor: -webkit-grab; |
|
939 cursor: grab; |
|
940 fill: currentColor; |
|
941 border-radius: 4px; } |
|
942 .block-editor-block-mover__control-drag-handle, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { |
|
943 box-shadow: none; |
|
944 background: none; |
|
945 color: rgba(10, 24, 41, 0.7); } |
|
946 .is-dark-theme .block-editor-block-mover__control-drag-handle, .is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { |
|
947 color: rgba(255, 255, 255, 0.75); } |
|
948 .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle, |
|
949 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle, .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
950 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, |
|
951 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .is-dark-theme .wp-block .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, |
|
952 .wp-block .is-dark-theme .wp-block .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus { |
|
953 color: rgba(10, 24, 41, 0.7); } |
|
954 .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active { |
|
955 cursor: -webkit-grabbing; |
|
956 cursor: grabbing; } |
|
957 |
|
958 .block-editor-block-mover__description { |
|
959 display: none; } |
|
960 |
|
961 @media (min-width: 600px) { |
|
962 .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), |
|
963 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), |
|
964 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default), .block-editor-block-list__layout [data-align="right"] |
|
965 .block-editor-block-mover__control, |
|
966 .block-editor-block-list__layout [data-align="left"] |
|
967 .block-editor-block-mover__control, |
|
968 .block-editor-block-list__layout .block-editor-block-list__layout |
|
969 .block-editor-block-mover__control { |
|
970 background: #fff; |
|
971 box-shadow: inset 0 0 0 1px #e2e4e7; } |
|
972 .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), |
|
973 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), |
|
974 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):nth-child(-n+2), .block-editor-block-list__layout [data-align="right"] |
|
975 .block-editor-block-mover__control:nth-child(-n+2), |
|
976 .block-editor-block-list__layout [data-align="left"] |
|
977 .block-editor-block-mover__control:nth-child(-n+2), |
|
978 .block-editor-block-list__layout .block-editor-block-list__layout |
|
979 .block-editor-block-mover__control:nth-child(-n+2) { |
|
980 margin-bottom: -1px; } |
|
981 .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, .block-editor-block-list__layout [data-align="right"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, |
|
982 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
983 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, |
|
984 .block-editor-block-list__layout [data-align="left"] .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, |
|
985 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
986 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):active, |
|
987 .block-editor-block-list__layout .block-editor-block-list__layout .block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled="true"]):not(.is-default):focus, .block-editor-block-list__layout [data-align="right"] |
|
988 .block-editor-block-mover__control:hover, .block-editor-block-list__layout [data-align="right"] |
|
989 .block-editor-block-mover__control:active, .block-editor-block-list__layout [data-align="right"] |
|
990 .block-editor-block-mover__control:focus, |
|
991 .block-editor-block-list__layout [data-align="left"] |
|
992 .block-editor-block-mover__control:hover, |
|
993 .block-editor-block-list__layout [data-align="left"] |
|
994 .block-editor-block-mover__control:active, |
|
995 .block-editor-block-list__layout [data-align="left"] |
|
996 .block-editor-block-mover__control:focus, |
|
997 .block-editor-block-list__layout .block-editor-block-list__layout |
|
998 .block-editor-block-mover__control:hover, |
|
999 .block-editor-block-list__layout .block-editor-block-list__layout |
|
1000 .block-editor-block-mover__control:active, |
|
1001 .block-editor-block-list__layout .block-editor-block-list__layout |
|
1002 .block-editor-block-mover__control:focus { |
|
1003 z-index: 1; } } |
|
1004 |
|
1005 .block-editor-block-navigation__container { |
|
1006 padding: 7px; } |
|
1007 |
|
1008 .block-editor-block-navigation__label { |
|
1009 margin: 0 0 8px; |
|
1010 color: #6c7781; } |
|
1011 |
|
1012 .block-editor-block-navigation__list, |
|
1013 .block-editor-block-navigation__paragraph { |
|
1014 padding: 0; |
|
1015 margin: 0; } |
|
1016 |
|
1017 .block-editor-block-navigation__list .block-editor-block-navigation__list { |
|
1018 margin-top: 2px; |
|
1019 border-left: 2px solid #a2aab2; |
|
1020 margin-left: 1em; } |
|
1021 .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list { |
|
1022 margin-left: 1.5em; } |
|
1023 .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item { |
|
1024 position: relative; } |
|
1025 .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item::before { |
|
1026 position: absolute; |
|
1027 left: 0; |
|
1028 background: #a2aab2; |
|
1029 width: 0.5em; |
|
1030 height: 2px; |
|
1031 content: ""; |
|
1032 top: calc(50% - 1px); } |
|
1033 .block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button { |
|
1034 margin-left: 0.8em; |
|
1035 width: calc(100% - 0.8em); } |
|
1036 .block-editor-block-navigation__list .block-editor-block-navigation__list > li:last-child { |
|
1037 position: relative; } |
|
1038 .block-editor-block-navigation__list .block-editor-block-navigation__list > li:last-child::after { |
|
1039 position: absolute; |
|
1040 content: ""; |
|
1041 background: #fff; |
|
1042 top: 19px; |
|
1043 bottom: 0; |
|
1044 left: -2px; |
|
1045 width: 2px; } |
|
1046 |
|
1047 .block-editor-block-navigation__item-button { |
|
1048 display: flex; |
|
1049 align-items: center; |
|
1050 width: 100%; |
1064 width: 100%; |
1051 padding: 6px; |
1065 overflow: hidden; } |
1052 text-align: left; |
1066 .block-editor-block-preview__container.editor-styles-wrapper { |
1053 color: #40464d; |
1067 padding: 0; |
1054 border-radius: 4px; } |
1068 margin: 0; } |
1055 .block-editor-block-navigation__item-button .block-editor-block-icon { |
1069 |
1056 margin-right: 6px; } |
1070 .block-editor-block-preview__content { |
1057 .block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled="true"]) { |
1071 position: absolute; |
1058 color: #191e23; |
1072 top: 0; |
1059 border: none; |
1073 left: 0; |
1060 box-shadow: none; |
1074 transform-origin: top left; |
1061 background: #f3f4f5; } |
1075 text-align: initial; |
1062 .block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled="true"]) { |
1076 margin: 0; |
1063 color: #191e23; |
1077 overflow: visible; |
1064 border: none; |
1078 min-height: auto; } |
1065 box-shadow: none; |
1079 .block-editor-block-preview__content .block-editor-block-list__insertion-point, |
1066 outline-offset: -2px; |
1080 .block-editor-block-preview__content .block-editor-block-drop-zone, |
1067 outline: 1px dotted #555d66; } |
1081 .block-editor-block-preview__content .reusable-block-indicator, |
1068 .block-editor-block-navigation__item-button.is-selected, .block-editor-block-navigation__item-button.is-selected:focus { |
1082 .block-editor-block-preview__content .block-list-appender { |
1069 color: #32373c; |
|
1070 background: #edeff0; } |
|
1071 |
|
1072 .block-editor-block-preview { |
|
1073 pointer-events: none; |
|
1074 padding: 10px; |
|
1075 overflow: hidden; |
|
1076 display: none; } |
|
1077 @media (min-width: 782px) { |
|
1078 .block-editor-block-preview { |
|
1079 display: block; } } |
|
1080 .block-editor-block-preview .block-editor-block-preview__content { |
|
1081 padding: 14px; |
|
1082 border: 1px solid #e2e4e7; |
|
1083 font-family: "Noto Serif", serif; } |
|
1084 .block-editor-block-preview .block-editor-block-preview__content > div { |
|
1085 transform: scale(0.9); |
|
1086 transform-origin: center top; |
|
1087 font-family: "Noto Serif", serif; } |
|
1088 .block-editor-block-preview .block-editor-block-preview__content > div section { |
|
1089 height: auto; } |
|
1090 .block-editor-block-preview .block-editor-block-preview__content > .reusable-block-indicator { |
|
1091 display: none; } |
|
1092 |
|
1093 .block-editor-block-preview__title { |
|
1094 margin-bottom: 10px; |
|
1095 color: #6c7781; } |
|
1096 |
|
1097 .block-editor-block-settings-menu__toggle .dashicon { |
|
1098 transform: rotate(90deg); } |
|
1099 |
|
1100 .block-editor-block-settings-menu__popover::before, .block-editor-block-settings-menu__popover::after { |
|
1101 margin-left: 2px; } |
|
1102 |
|
1103 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__content { |
|
1104 padding: 7px 0; } |
|
1105 |
|
1106 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator { |
|
1107 margin-top: 8px; |
|
1108 margin-bottom: 8px; |
|
1109 margin-left: 0; |
|
1110 margin-right: 0; |
|
1111 border-top: 1px solid #e2e4e7; } |
|
1112 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__separator:last-child { |
|
1113 display: none; } |
1083 display: none; } |
1114 |
1084 .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container { |
1115 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__title { |
1085 padding-left: 0; |
1116 display: block; |
1086 padding-right: 0; } |
1117 padding: 6px; |
1087 .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] { |
1118 color: #6c7781; } |
1088 margin-left: 0; |
1119 |
1089 margin-right: 0; } |
1120 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control { |
1090 |
1121 width: 100%; |
1091 .block-editor-block-settings-menu__popover .components-dropdown-menu__menu { |
1122 justify-content: flex-start; |
1092 padding: 0; } |
1123 background: none; |
|
1124 outline: none; |
|
1125 border-radius: 0; |
|
1126 color: #555d66; |
|
1127 text-align: left; |
|
1128 cursor: pointer; |
|
1129 border: none; |
|
1130 box-shadow: none; } |
|
1131 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:hover:not(:disabled):not([aria-disabled="true"]) { |
|
1132 color: #191e23; |
|
1133 border: none; |
|
1134 box-shadow: none; |
|
1135 background: #f3f4f5; } |
|
1136 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control:focus:not(:disabled):not([aria-disabled="true"]) { |
|
1137 color: #191e23; |
|
1138 border: none; |
|
1139 box-shadow: none; |
|
1140 outline-offset: -2px; |
|
1141 outline: 1px dotted #555d66; } |
|
1142 .block-editor-block-settings-menu__popover .block-editor-block-settings-menu__control .dashicon { |
|
1143 margin-right: 5px; } |
|
1144 |
1093 |
1145 .block-editor-block-styles { |
1094 .block-editor-block-styles { |
1146 display: flex; |
1095 display: flex; |
1147 flex-wrap: wrap; |
1096 flex-wrap: wrap; |
1148 justify-content: space-between; } |
1097 justify-content: space-between; } |
1151 width: calc(50% - 4px); |
1100 width: calc(50% - 4px); |
1152 margin: 4px 0; |
1101 margin: 4px 0; |
1153 flex-shrink: 0; |
1102 flex-shrink: 0; |
1154 cursor: pointer; |
1103 cursor: pointer; |
1155 overflow: hidden; |
1104 overflow: hidden; |
1156 border-radius: 4px; |
1105 border-radius: 2px; |
1157 padding: 4px; } |
1106 padding: 6px; |
1158 .block-editor-block-styles__item.is-active { |
1107 display: flex; |
1159 color: #191e23; |
1108 flex-direction: column; } |
1160 box-shadow: 0 0 0 2px #00a0d2; |
|
1161 outline: 2px solid transparent; |
|
1162 outline-offset: -2px; |
|
1163 box-shadow: 0 0 0 2px #555d66; } |
|
1164 .block-editor-block-styles__item:focus { |
1109 .block-editor-block-styles__item:focus { |
1165 color: #191e23; |
1110 box-shadow: 0 0 0 1.5px #007cba; |
1166 box-shadow: 0 0 0 2px #00a0d2; |
1111 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); |
1167 outline: 2px solid transparent; |
1112 outline: 2px solid transparent; } |
1168 outline-offset: -2px; } |
1113 .block-editor-block-styles__item:hover .block-editor-block-styles__item-preview { |
1169 .block-editor-block-styles__item:hover { |
1114 border-color: #007cba; |
1170 background: #f3f4f5; |
1115 border-color: var(--wp-admin-theme-color); } |
1171 color: #191e23; } |
1116 .block-editor-block-styles__item.is-active .block-editor-block-styles__item-label { |
|
1117 font-weight: bold; } |
|
1118 .block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview { |
|
1119 border: 2px solid #1e1e1e; } |
1172 |
1120 |
1173 .block-editor-block-styles__item-preview { |
1121 .block-editor-block-styles__item-preview { |
1174 outline: 1px solid transparent; |
1122 outline: 1px solid transparent; |
1175 border: 1px solid rgba(25, 30, 35, 0.2); |
1123 padding: 0; |
|
1124 border-radius: 2px; |
|
1125 display: flex; |
1176 overflow: hidden; |
1126 overflow: hidden; |
1177 padding: 0; |
1127 background: #fff; |
1178 text-align: initial; |
1128 align-items: center; |
1179 border-radius: 4px; |
1129 flex-grow: 1; |
1180 display: flex; |
1130 min-height: 80px; } |
1181 height: 60px; |
1131 |
1182 background: #fff; } |
1132 .block-editor-block-switcher__styles__menugroup { |
1183 .block-editor-block-styles__item-preview .block-editor-block-preview__content { |
1133 position: relative; } |
1184 transform: scale(0.7); |
|
1185 transform-origin: center center; |
|
1186 width: 100%; |
|
1187 margin: 0; |
|
1188 padding: 0; |
|
1189 overflow: visible; |
|
1190 min-height: auto; } |
|
1191 |
1134 |
1192 .block-editor-block-styles__item-label { |
1135 .block-editor-block-styles__item-label { |
1193 text-align: center; |
1136 text-align: center; |
1194 padding: 4px 2px; } |
1137 padding: 4px 0; } |
1195 |
1138 |
1196 .block-editor-block-switcher { |
1139 .block-editor-block-switcher { |
1197 position: relative; |
1140 position: relative; } |
1198 height: 36px; } |
1141 |
1199 |
1142 .block-editor-block-switcher__no-switcher-icon, |
1200 .components-icon-button.block-editor-block-switcher__toggle, |
1143 .block-editor-block-switcher__toggle { |
1201 .components-icon-button.block-editor-block-switcher__no-switcher-icon { |
1144 position: relative; } |
|
1145 |
|
1146 .components-button.block-editor-block-switcher__toggle, |
|
1147 .components-button.block-editor-block-switcher__no-switcher-icon { |
1202 margin: 0; |
1148 margin: 0; |
1203 display: block; |
1149 display: block; |
1204 height: 36px; |
1150 height: 48px; } |
1205 padding: 3px; } |
1151 .components-button.block-editor-block-switcher__toggle .block-editor-block-icon, |
1206 |
1152 .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon { |
1207 .components-icon-button.block-editor-block-switcher__no-switcher-icon { |
1153 margin: auto; } |
|
1154 |
|
1155 .components-button.block-editor-block-switcher__no-switcher-icon { |
1208 width: 48px; } |
1156 width: 48px; } |
1209 .components-icon-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon { |
1157 .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-blocks-icon { |
1210 margin-right: auto; |
1158 margin-right: auto; |
1211 margin-left: auto; } |
1159 margin-left: auto; } |
1212 |
1160 |
1213 .components-button.block-editor-block-switcher__no-switcher-icon:disabled { |
1161 .components-button.block-editor-block-switcher__no-switcher-icon:disabled { |
1214 background: #f3f4f5; |
1162 opacity: 1; } |
1215 border-radius: 0; |
1163 .components-button.block-editor-block-switcher__no-switcher-icon:disabled, |
1216 opacity: 0.84; } |
|
1217 .components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors { |
1164 .components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors { |
1218 color: #555d66 !important; } |
1165 color: #1e1e1e !important; } |
1219 |
1166 |
1220 .components-icon-button.block-editor-block-switcher__toggle { |
1167 .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon, |
1221 width: auto; } |
1168 .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon, |
1222 .components-icon-button.block-editor-block-switcher__toggle:active, .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled="true"]):hover, .components-icon-button.block-editor-block-switcher__toggle:not([aria-disabled="true"]):focus { |
1169 .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon, |
1223 outline: none; |
1170 .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon { |
1224 box-shadow: none; |
1171 padding: 0; } |
1225 background: none; |
1172 .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon, |
1226 border: none; } |
1173 .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon .block-editor-block-icon, |
1227 .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon, |
1174 .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon, |
1228 .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { |
1175 .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon .block-editor-block-icon { |
1229 width: 42px; |
1176 height: 100%; |
1230 height: 30px; |
|
1231 position: relative; |
1177 position: relative; |
1232 margin: 0 auto; |
1178 margin: 0 auto; |
1233 padding: 3px; |
|
1234 display: flex; |
1179 display: flex; |
1235 align-items: center; |
1180 align-items: center; } |
1236 transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); } |
1181 .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before, |
1237 .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon::after { |
1182 .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__no-switcher-icon.has-icon.has-icon::before, |
1238 content: ""; |
1183 .block-editor-block-toolbar .components-toolbar-group .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before, |
1239 pointer-events: none; |
1184 .block-editor-block-toolbar .components-toolbar .components-button.block-editor-block-switcher__toggle.has-icon.has-icon::before { |
1240 display: block; |
1185 top: 8px; |
1241 width: 0; |
1186 right: 8px; |
1242 height: 0; |
1187 bottom: 8px; |
1243 border-left: 3px solid transparent; |
1188 left: 8px; } |
1244 border-right: 3px solid transparent; |
1189 |
1245 border-top: 5px solid currentColor; |
1190 .components-popover.block-editor-block-switcher__popover .components-popover__content { |
1246 margin-left: 4px; |
1191 min-width: 300px; } |
1247 margin-right: 2px; } |
1192 |
1248 .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { |
1193 .components-popover.block-editor-block-switcher__popover .components-popover__content > div { |
1249 margin-top: 6px; |
1194 min-width: auto; |
1250 border-radius: 4px; } |
1195 display: flex; |
1251 .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-icon, |
1196 background: #fff; |
1252 .components-icon-button.block-editor-block-switcher__toggle[aria-expanded="true"] .block-editor-block-switcher__transform, |
1197 padding: 0; } |
1253 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon, |
1198 .components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group { |
1254 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform, |
1199 padding: 16px; |
1255 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, |
1200 margin: 0; } |
1256 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { |
1201 |
1257 transform: translateY(-36px); } |
1202 .block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles { |
1258 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon, |
1203 margin: 0 -3px; } |
1259 .components-icon-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform { |
|
1260 box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; |
|
1261 outline: 2px solid transparent; |
|
1262 outline-offset: -2px; } |
|
1263 |
|
1264 .components-popover:not(.is-mobile).block-editor-block-switcher__popover .components-popover__content { |
|
1265 min-width: 300px; |
|
1266 max-width: 340px; } |
|
1267 |
|
1268 @media (min-width: 782px) { |
|
1269 .block-editor-block-switcher__popover .components-popover__content { |
|
1270 position: relative; } |
|
1271 .block-editor-block-switcher__popover .components-popover__content .block-editor-block-preview { |
|
1272 border: 1px solid #e2e4e7; |
|
1273 box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); |
|
1274 background: #fff; |
|
1275 position: absolute; |
|
1276 left: 100%; |
|
1277 top: -1px; |
|
1278 bottom: -1px; |
|
1279 width: 300px; |
|
1280 height: auto; } } |
|
1281 |
1204 |
1282 .block-editor-block-switcher__popover .components-popover__content .components-panel__body { |
1205 .block-editor-block-switcher__popover .components-popover__content .components-panel__body { |
1283 border: 0; |
1206 border: 0; |
1284 position: relative; |
1207 position: relative; |
1285 z-index: 1; } |
1208 z-index: 1; } |
1286 |
1209 |
1287 .block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body { |
1210 .block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body { |
1288 border-top: 1px solid #e2e4e7; } |
1211 border-top: 1px solid #f0f0f0; } |
1289 |
1212 |
1290 .block-editor-block-switcher__popover:not(.is-mobile) > .components-popover__content { |
1213 .block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container { |
1291 overflow-y: visible; } |
1214 position: absolute; |
1292 |
1215 top: -12px; |
1293 .block-editor-block-switcher__popover .block-editor-block-styles { |
1216 left: calc(100% + 32px); } |
1294 margin: 0 -3px; } |
1217 |
1295 |
1218 .block-editor-block-switcher__preview__popover { |
1296 .block-editor-block-switcher__popover .block-editor-block-types-list { |
1219 display: none; } |
1297 margin: 8px -8px -8px; } |
1220 .block-editor-block-switcher__preview__popover.components-popover { |
1298 |
1221 margin-left: 4px; |
1299 .block-editor-block-toolbar { |
1222 margin-top: 11px; } |
1300 display: flex; |
1223 @media (min-width: 782px) { |
1301 flex-grow: 1; |
1224 .block-editor-block-switcher__preview__popover { |
1302 width: 100%; |
1225 display: block; } } |
1303 overflow: auto; |
1226 .block-editor-block-switcher__preview__popover .components-popover__content { |
1304 position: relative; |
|
1305 transition: border-color 0.1s linear, box-shadow 0.1s linear; |
|
1306 border-left: 1px solid #b5bcc2; } |
|
1307 @media (min-width: 600px) { |
|
1308 .block-editor-block-toolbar { |
|
1309 overflow: inherit; |
|
1310 border-left: none; |
|
1311 box-shadow: -3px 0 0 0 #555d66; } |
|
1312 .is-dark-theme .block-editor-block-toolbar { |
|
1313 box-shadow: -3px 0 0 0 #d7dade; } } |
|
1314 .block-editor-block-toolbar .components-toolbar { |
|
1315 border: 0; |
|
1316 border-top: 1px solid #b5bcc2; |
|
1317 border-bottom: 1px solid #b5bcc2; |
|
1318 border-right: 1px solid #b5bcc2; } |
|
1319 .has-fixed-toolbar .block-editor-block-toolbar { |
|
1320 box-shadow: none; |
1227 box-shadow: none; |
1321 border-left: 1px solid #e2e4e7; } |
1228 border: 1px solid #1e1e1e; |
1322 .has-fixed-toolbar .block-editor-block-toolbar .components-toolbar { |
1229 background: #fff; |
1323 border-color: #e2e4e7; } |
1230 border-radius: 2px; } |
|
1231 .block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview { |
|
1232 width: 300px; |
|
1233 height: auto; |
|
1234 padding: 16px; } |
|
1235 |
|
1236 .block-editor-block-switcher__preview-title { |
|
1237 margin-bottom: 12px; |
|
1238 color: #757575; |
|
1239 text-transform: uppercase; |
|
1240 font-size: 11px; |
|
1241 font-weight: 500; } |
|
1242 |
|
1243 .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle, |
|
1244 .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon { |
|
1245 height: 48px; } |
|
1246 |
|
1247 .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon { |
|
1248 width: 48px; } |
|
1249 |
|
1250 .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon, |
|
1251 .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform, |
|
1252 .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-icon, |
|
1253 .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { |
|
1254 width: 48px; |
|
1255 height: 48px; } |
|
1256 |
|
1257 .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-switcher__transform, |
|
1258 .block-editor-block-contextual-toolbar .components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform { |
|
1259 padding: 12px; } |
1324 |
1260 |
1325 .block-editor-block-types-list { |
1261 .block-editor-block-types-list { |
1326 list-style: none; |
1262 list-style: none; |
1327 padding: 2px 0; |
1263 padding: 4px; |
|
1264 margin-left: -4px; |
|
1265 margin-right: -4px; |
1328 overflow: hidden; |
1266 overflow: hidden; |
1329 display: flex; |
1267 display: flex; |
1330 flex-wrap: wrap; } |
1268 flex-wrap: wrap; } |
1331 |
1269 |
1332 .block-editor-color-palette-control__color-palette { |
1270 .block-editor-block-variation-picker .components-placeholder__instructions { |
1333 display: inline-block; |
1271 margin-bottom: 0; } |
1334 margin-top: 0.6rem; } |
1272 |
|
1273 .block-editor-block-variation-picker .components-placeholder__fieldset { |
|
1274 flex-direction: column; } |
|
1275 |
|
1276 .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset { |
|
1277 max-width: 90%; } |
|
1278 |
|
1279 .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations { |
|
1280 display: flex; |
|
1281 justify-content: flex-start; |
|
1282 flex-direction: row; |
|
1283 flex-wrap: wrap; |
|
1284 width: 100%; |
|
1285 margin: 16px 0; |
|
1286 padding: 0; |
|
1287 list-style: none; } |
|
1288 .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li { |
|
1289 list-style: none; |
|
1290 margin: 8px 8px 0 0; |
|
1291 flex-shrink: 1; |
|
1292 max-width: 100px; } |
|
1293 .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations > li button { |
|
1294 display: flex; } |
|
1295 .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation { |
|
1296 padding: 8px; } |
|
1297 .block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label { |
|
1298 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1299 font-size: 12px; |
|
1300 display: block; |
|
1301 margin-right: 12px; |
|
1302 text-align: center; } |
|
1303 |
|
1304 .block-editor-block-variation-picker__variation { |
|
1305 width: 100%; } |
|
1306 .block-editor-block-variation-picker__variation.components-button.has-icon { |
|
1307 justify-content: center; |
|
1308 width: auto; } |
|
1309 .block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary { |
|
1310 background-color: #fff; } |
|
1311 .block-editor-block-variation-picker__variation.components-button { |
|
1312 height: auto; |
|
1313 padding: 0; } |
|
1314 .block-editor-block-variation-picker__variation::before { |
|
1315 content: ""; |
|
1316 padding-bottom: 100%; } |
|
1317 .block-editor-block-variation-picker__variation:first-child { |
|
1318 margin-left: 0; } |
|
1319 .block-editor-block-variation-picker__variation:last-child { |
|
1320 margin-right: 0; } |
|
1321 |
|
1322 .block-editor-button-block-appender { |
|
1323 display: flex; |
|
1324 flex-direction: column; |
|
1325 align-items: center; |
|
1326 justify-content: center; |
|
1327 padding: 8px; |
|
1328 width: 100%; |
|
1329 height: auto; |
|
1330 color: #1e1e1e; |
|
1331 box-shadow: inset 0 0 0 1px #1e1e1e; } |
|
1332 .block-editor-button-block-appender:hover { |
|
1333 box-shadow: inset 0 0 0 1px #007cba; |
|
1334 box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color); } |
|
1335 .block-editor-button-block-appender:focus { |
|
1336 box-shadow: inset 0 0 0 2px #007cba; |
|
1337 box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color); } |
|
1338 .block-editor-button-block-appender:active { |
|
1339 color: #000; } |
|
1340 .block-editor-button-block-appender.block-list-appender__toggle { |
|
1341 display: flex; |
|
1342 flex-direction: row; |
|
1343 color: #1e1e1e; |
|
1344 box-shadow: none; |
|
1345 height: 24px; |
|
1346 padding: 0; |
|
1347 margin-left: 8px; } |
|
1348 .block-editor-button-block-appender.block-list-appender__toggle:active { |
|
1349 color: #fff; } |
|
1350 .block-editor-button-block-appender.block-list-appender__toggle > svg { |
|
1351 width: 24px; |
|
1352 background-color: #1e1e1e; |
|
1353 color: #fff; |
|
1354 border-radius: 2px; } |
|
1355 |
|
1356 .block-editor-color-gradient-control__color-indicator { |
|
1357 margin-bottom: 8px; } |
|
1358 |
|
1359 .block-editor-color-gradient-control__button-tabs { |
|
1360 display: block; |
|
1361 margin-bottom: 8px; } |
|
1362 |
|
1363 .block-editor-panel-color-gradient-settings .component-color-indicator { |
|
1364 vertical-align: text-bottom; } |
|
1365 |
|
1366 .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { |
|
1367 display: inline-block; } |
|
1368 |
|
1369 .block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { |
|
1370 display: none; } |
1335 |
1371 |
1336 .block-editor-contrast-checker > .components-notice { |
1372 .block-editor-contrast-checker > .components-notice { |
1337 margin: 0; } |
1373 margin: 0; } |
1338 |
1374 |
1339 .block-editor-default-block-appender { |
1375 .block-editor-default-block-appender { |
1340 clear: both; } |
1376 clear: both; |
|
1377 margin-left: auto; |
|
1378 margin-right: auto; |
|
1379 position: relative; } |
|
1380 .block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover { |
|
1381 outline: 1px solid transparent; } |
1341 .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
1382 .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
1342 font-family: "Noto Serif", serif; |
1383 font-family: inherit; |
1343 font-size: 16px; |
1384 font-size: inherit; |
1344 border: none; |
1385 border: none; |
1345 background: none; |
1386 background: none; |
1346 box-shadow: none; |
1387 box-shadow: none; |
1347 display: block; |
1388 display: block; |
1348 cursor: text; |
1389 cursor: text; |
1349 width: 100%; |
1390 width: 100%; |
1350 outline: 1px solid transparent; |
1391 outline: 1px solid transparent; |
1351 transition: 0.2s outline; |
1392 transition: 0.2s outline; |
1352 resize: none; |
1393 resize: none; |
1353 padding: 0 50px 0 14px; |
1394 margin-top: 28px; |
1354 color: rgba(14, 28, 46, 0.62); } |
1395 margin-bottom: 28px; |
|
1396 padding: 0 50px 0 0; |
|
1397 color: rgba(30, 30, 30, 0.62); } |
|
1398 @media (prefers-reduced-motion: reduce) { |
|
1399 .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
|
1400 transition-duration: 0s; } } |
1355 .is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
1401 .is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content { |
1356 color: rgba(255, 255, 255, 0.65); } |
1402 color: rgba(255, 255, 255, 0.65); } |
1357 .block-editor-default-block-appender .block-editor-inserter__toggle:not([aria-expanded="true"]) { |
|
1358 opacity: 0; |
|
1359 transition: opacity 0.2s; } |
|
1360 .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts { |
|
1361 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
1362 animation-fill-mode: forwards; } |
|
1363 @media (prefers-reduced-motion: reduce) { |
|
1364 .block-editor-default-block-appender:hover .block-editor-inserter-with-shortcuts { |
|
1365 animation-duration: 1ms !important; } } |
|
1366 .block-editor-default-block-appender:hover .block-editor-inserter__toggle { |
|
1367 opacity: 1; } |
|
1368 .block-editor-default-block-appender .components-drop-zone__content-icon { |
1403 .block-editor-default-block-appender .components-drop-zone__content-icon { |
1369 display: none; } |
1404 display: none; } |
1370 |
1405 |
1371 .block-editor-block-list__empty-block-inserter, |
1406 .block-editor-default-block-appender__content { |
1372 .block-editor-default-block-appender .block-editor-inserter, |
1407 line-height: 1.8; } |
1373 .block-editor-inserter-with-shortcuts { |
1408 |
|
1409 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter, |
|
1410 .block-editor-default-block-appender .block-editor-inserter { |
1374 position: absolute; |
1411 position: absolute; |
1375 top: 0; } |
1412 top: 0; |
1376 .block-editor-block-list__empty-block-inserter .components-icon-button, |
1413 height: 32px; } |
1377 .block-editor-default-block-appender .block-editor-inserter .components-icon-button, |
1414 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle, |
1378 .block-editor-inserter-with-shortcuts .components-icon-button { |
1415 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle { |
1379 width: 28px; |
|
1380 height: 28px; |
|
1381 margin-right: 12px; |
|
1382 padding: 0; } |
|
1383 .block-editor-block-list__empty-block-inserter .block-editor-block-icon, |
|
1384 .block-editor-default-block-appender .block-editor-inserter .block-editor-block-icon, |
|
1385 .block-editor-inserter-with-shortcuts .block-editor-block-icon { |
|
1386 margin: auto; } |
|
1387 .block-editor-block-list__empty-block-inserter .components-icon-button svg, |
|
1388 .block-editor-default-block-appender .block-editor-inserter .components-icon-button svg, |
|
1389 .block-editor-inserter-with-shortcuts .components-icon-button svg { |
|
1390 display: block; |
|
1391 margin: auto; } |
|
1392 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle, |
|
1393 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle, |
|
1394 .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle { |
|
1395 margin-right: 0; } |
1416 margin-right: 0; } |
1396 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
1397 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover, |
|
1398 .block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { |
|
1399 box-shadow: none; } |
|
1400 |
1417 |
1401 .block-editor-block-list__empty-block-inserter, |
1418 .block-editor-block-list__empty-block-inserter, |
1402 .block-editor-default-block-appender .block-editor-inserter { |
1419 .block-editor-default-block-appender .block-editor-inserter { |
1403 right: 8px; } |
1420 right: 8px; } |
1404 @media (min-width: 600px) { |
1421 @media (min-width: 600px) { |
1405 .block-editor-block-list__empty-block-inserter, |
1422 .block-editor-block-list__empty-block-inserter, |
1406 .block-editor-default-block-appender .block-editor-inserter { |
1423 .block-editor-default-block-appender .block-editor-inserter { |
1407 left: -44px; |
1424 display: flex; |
1408 right: auto; } } |
1425 height: 100%; } } |
1409 .block-editor-block-list__empty-block-inserter:disabled, |
1426 .block-editor-block-list__empty-block-inserter:disabled, |
1410 .block-editor-default-block-appender .block-editor-inserter:disabled { |
1427 .block-editor-default-block-appender .block-editor-inserter:disabled { |
1411 display: none; } |
1428 display: none; } |
1412 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle, |
1429 |
1413 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle { |
1430 @media (min-width: 600px) { |
1414 border-radius: 50%; |
1431 .block-editor-default-block-appender .block-editor-inserter { |
1415 width: 28px; |
1432 align-items: center; } } |
1416 height: 28px; |
1433 |
1417 padding: 0; } |
1434 .block-editor-link-control { |
1418 .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover), |
1435 position: relative; |
1419 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) { |
1436 min-width: 360px; } |
1420 color: rgba(10, 24, 41, 0.7); } |
1437 .components-popover__content .block-editor-link-control { |
1421 .is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover), .is-dark-theme |
1438 min-width: auto; |
1422 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover) { |
1439 width: 90vw; |
1423 color: rgba(255, 255, 255, 0.75); } |
1440 max-width: 360px; } |
1424 |
1441 |
1425 .block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts, |
1442 .block-editor-link-control__search-input-wrapper { |
1426 .block-editor-default-block-appender .block-editor-inserter-with-shortcuts { |
1443 position: relative; } |
1427 right: 14px; |
1444 |
1428 display: none; |
1445 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { |
1429 z-index: 5; } |
1446 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1447 padding: 6px 8px; |
|
1448 box-shadow: 0 0 0 transparent; |
|
1449 transition: box-shadow 0.1s linear; |
|
1450 border-radius: 2px; |
|
1451 border: 1px solid #757575; |
|
1452 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
1453 font-size: 16px; |
|
1454 /* Override core line-height. To be reviewed. */ |
|
1455 line-height: normal; |
|
1456 width: calc(100% - 32px); |
|
1457 display: block; |
|
1458 padding: 11px 16px; |
|
1459 padding-right: 36px; |
|
1460 margin: 16px; |
|
1461 position: relative; |
|
1462 border: 1px solid #ddd; |
|
1463 border-radius: 2px; } |
|
1464 @media (prefers-reduced-motion: reduce) { |
|
1465 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { |
|
1466 transition-duration: 0s; } } |
1430 @media (min-width: 600px) { |
1467 @media (min-width: 600px) { |
1431 .block-editor-block-list__side-inserter .block-editor-inserter-with-shortcuts, |
1468 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { |
1432 .block-editor-default-block-appender .block-editor-inserter-with-shortcuts { |
1469 font-size: 13px; |
1433 right: 0; |
1470 /* Override core line-height. To be reviewed. */ |
1434 display: flex; } } |
1471 line-height: normal; } } |
1435 |
1472 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:focus { |
1436 .block-editor__container .components-popover.components-font-size-picker__dropdown-content.is-bottom { |
1473 border-color: #007cba; |
1437 z-index: 100001; } |
1474 border-color: var(--wp-admin-theme-color); |
1438 |
1475 box-shadow: 0 0 0 0.5px #007cba; |
1439 .block-editor-inner-blocks.has-overlay::after { |
1476 box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
|
1477 outline: 2px solid transparent; } |
|
1478 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder { |
|
1479 color: rgba(30, 30, 30, 0.62); } |
|
1480 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder { |
|
1481 opacity: 1; |
|
1482 color: rgba(30, 30, 30, 0.62); } |
|
1483 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:-ms-input-placeholder { |
|
1484 color: rgba(30, 30, 30, 0.62); } |
|
1485 .is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder { |
|
1486 color: rgba(255, 255, 255, 0.65); } |
|
1487 .is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder { |
|
1488 opacity: 1; |
|
1489 color: rgba(255, 255, 255, 0.65); } |
|
1490 .is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:-ms-input-placeholder { |
|
1491 color: rgba(255, 255, 255, 0.65); } |
|
1492 |
|
1493 .block-editor-link-control .block-editor-link-control__search-input .components-base-control__field { |
|
1494 margin-bottom: 0; } |
|
1495 |
|
1496 .block-editor-link-control__search-error { |
|
1497 margin: -8px 16px 16px; } |
|
1498 |
|
1499 .block-editor-link-control__search-actions { |
|
1500 position: absolute; |
|
1501 /* |
|
1502 * Actions must be positioned on top of URLInput, since the input will grow |
|
1503 * when suggestions are rendered. |
|
1504 * |
|
1505 * Compensate for: |
|
1506 * - Input margin ($grid-unit-20) |
|
1507 * - Border (1px) |
|
1508 * - Vertically, for the difference in height between the input (40px) and |
|
1509 * the icon buttons. |
|
1510 * - Horizontally, pad to the minimum of: default input padding, or the |
|
1511 * equivalent of the vertical padding. |
|
1512 */ |
|
1513 top: 19px; |
|
1514 right: 19px; } |
|
1515 |
|
1516 .block-editor-link-control__search-results-wrapper { |
|
1517 position: relative; |
|
1518 margin-top: -15px; } |
|
1519 .block-editor-link-control__search-results-wrapper::before, .block-editor-link-control__search-results-wrapper::after { |
|
1520 content: ""; |
|
1521 position: absolute; |
|
1522 left: -1px; |
|
1523 right: 16px; |
|
1524 display: block; |
|
1525 pointer-events: none; |
|
1526 z-index: 100; } |
|
1527 .block-editor-link-control__search-results-wrapper::before { |
|
1528 height: 8px; |
|
1529 top: 0; |
|
1530 bottom: auto; |
|
1531 background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%); } |
|
1532 .block-editor-link-control__search-results-wrapper::after { |
|
1533 height: 16px; |
|
1534 bottom: 0; |
|
1535 top: auto; |
|
1536 background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%); } |
|
1537 |
|
1538 .block-editor-link-control__search-results-label { |
|
1539 padding: 15px 30px 0 30px; |
|
1540 display: block; |
|
1541 font-size: 1.1em; } |
|
1542 |
|
1543 .block-editor-link-control__search-results { |
|
1544 margin: 0; |
|
1545 padding: 8px 16px 8px; |
|
1546 max-height: 200px; |
|
1547 overflow-y: auto; } |
|
1548 .block-editor-link-control__search-results.is-loading { |
|
1549 opacity: 0.2; } |
|
1550 |
|
1551 .block-editor-link-control__search-item { |
|
1552 position: relative; |
|
1553 display: flex; |
|
1554 align-items: center; |
|
1555 font-size: 13px; |
|
1556 cursor: pointer; |
|
1557 background: #fff; |
|
1558 width: 100%; |
|
1559 border: none; |
|
1560 text-align: left; |
|
1561 padding: 10px 15px; |
|
1562 border-radius: 5px; |
|
1563 height: auto; } |
|
1564 .block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus { |
|
1565 background-color: #ddd; } |
|
1566 .block-editor-link-control__search-item:focus:not(:disabled) { |
|
1567 box-shadow: 0 0 0 1.5px #007cba inset; |
|
1568 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color) inset; } |
|
1569 .block-editor-link-control__search-item.is-selected { |
|
1570 background: #f0f0f0; } |
|
1571 .block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type { |
|
1572 background: #fff; } |
|
1573 .block-editor-link-control__search-item.is-current { |
|
1574 background: transparent; |
|
1575 border: 0; |
|
1576 width: 100%; |
|
1577 cursor: default; |
|
1578 padding: 16px; |
|
1579 padding-left: 24px; } |
|
1580 .block-editor-link-control__search-item .block-editor-link-control__search-item-header { |
|
1581 display: block; |
|
1582 margin-right: 24px; |
|
1583 overflow: hidden; |
|
1584 white-space: nowrap; } |
|
1585 .block-editor-link-control__search-item .block-editor-link-control__search-item-icon { |
|
1586 margin-right: 1em; |
|
1587 min-width: 24px; } |
|
1588 .block-editor-link-control__search-item .block-editor-link-control__search-item-info, |
|
1589 .block-editor-link-control__search-item .block-editor-link-control__search-item-title { |
|
1590 max-width: 230px; |
|
1591 overflow: hidden; |
|
1592 text-overflow: ellipsis; } |
|
1593 .block-editor-link-control__search-item .block-editor-link-control__search-item-title mark { |
|
1594 color: #1e1e1e; } |
|
1595 .block-editor-link-control__search-item .block-editor-link-control__search-item-title { |
|
1596 display: block; |
|
1597 margin-bottom: 0.2em; |
|
1598 font-weight: 500; } |
|
1599 .block-editor-link-control__search-item .block-editor-link-control__search-item-title mark { |
|
1600 font-weight: 700; |
|
1601 color: #000; |
|
1602 background-color: transparent; } |
|
1603 .block-editor-link-control__search-item .block-editor-link-control__search-item-title span { |
|
1604 font-weight: normal; } |
|
1605 .block-editor-link-control__search-item .block-editor-link-control__search-item-info { |
|
1606 display: block; |
|
1607 color: #6c7781; |
|
1608 font-size: 0.9em; |
|
1609 line-height: 1.3; } |
|
1610 .block-editor-link-control__search-item .block-editor-link-control__search-item-type { |
|
1611 display: block; |
|
1612 padding: 3px 8px; |
|
1613 margin-left: auto; |
|
1614 font-size: 0.9em; |
|
1615 background-color: #f0f0f0; |
|
1616 border-radius: 2px; } |
|
1617 |
|
1618 .block-editor-link-control__loading { |
|
1619 margin: 16px; |
|
1620 display: flex; |
|
1621 align-items: center; } |
|
1622 .block-editor-link-control__loading .components-spinner { |
|
1623 margin-top: 0; } |
|
1624 |
|
1625 .components-button + .block-editor-link-control__search-create { |
|
1626 margin-top: 20px; |
|
1627 overflow: visible; |
|
1628 padding: 12px 15px; } |
|
1629 .components-button + .block-editor-link-control__search-create::before { |
|
1630 content: ""; |
|
1631 position: absolute; |
|
1632 top: -10px; |
|
1633 left: 0; |
|
1634 display: block; |
|
1635 width: 100%; |
|
1636 border-top: 1px solid #ddd; } |
|
1637 |
|
1638 .block-editor-link-control__search-results div[role="menu"] > .block-editor-link-control__search-item.block-editor-link-control__search-item { |
|
1639 padding: 10px; } |
|
1640 |
|
1641 .block-editor-link-control__settings { |
|
1642 border-top: 1px solid #ddd; |
|
1643 margin: 0; |
|
1644 padding: 16px 24px; } |
|
1645 .block-editor-link-control__settings :last-child { |
|
1646 margin-bottom: 0; } |
|
1647 |
|
1648 .block-editor-link-control__setting { |
|
1649 margin-bottom: 16px; } |
|
1650 .block-editor-link-control__setting :last-child { |
|
1651 margin-bottom: 0; } |
|
1652 |
|
1653 .block-editor-link-control .block-editor-link-control__search-input .components-spinner { |
|
1654 display: block; } |
|
1655 .block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner { |
|
1656 position: absolute; |
|
1657 left: auto; |
|
1658 bottom: auto; |
|
1659 /* |
|
1660 * Position spinner to the left of the actions. |
|
1661 * |
|
1662 * Compensate for: |
|
1663 * - Input margin ($grid-unit-20) |
|
1664 * - Border (1px) |
|
1665 * - Vertically, for the difference in height between the input (40px) |
|
1666 * and the spinner. |
|
1667 * - Horizontally, adjust for the width occupied by the icon buttons, |
|
1668 * then artificially create spacing that mimics as if the spinner |
|
1669 * were center-padded to the same width as an icon button. |
|
1670 */ |
|
1671 top: 28px; |
|
1672 right: 62px; } |
|
1673 |
|
1674 .block-editor-link-control__search-item-action { |
|
1675 margin-left: auto; |
|
1676 flex-shrink: 0; } |
|
1677 |
|
1678 .block-editor-line-height-control { |
|
1679 margin-bottom: 24px; } |
|
1680 .block-editor-line-height-control input { |
|
1681 display: block; |
|
1682 max-width: 60px; } |
|
1683 |
|
1684 .block-editor-image-size-control { |
|
1685 margin-bottom: 1em; } |
|
1686 .block-editor-image-size-control .block-editor-image-size-control__row { |
|
1687 display: flex; |
|
1688 justify-content: space-between; } |
|
1689 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width, |
|
1690 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { |
|
1691 margin-bottom: 0.5em; } |
|
1692 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input, |
|
1693 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input { |
|
1694 line-height: 1.25; } |
|
1695 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width { |
|
1696 margin-right: 5px; } |
|
1697 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { |
|
1698 margin-left: 5px; } |
|
1699 |
|
1700 .block-editor-block-list__layout.has-overlay::after { |
1440 content: ""; |
1701 content: ""; |
1441 position: absolute; |
1702 position: absolute; |
1442 top: 0; |
1703 top: -14px; |
|
1704 right: -14px; |
|
1705 bottom: -14px; |
|
1706 left: -14px; |
|
1707 z-index: 60; } |
|
1708 |
|
1709 [data-align="full"] .has-overlay::after { |
1443 right: 0; |
1710 right: 0; |
1444 bottom: 0; |
1711 left: 0; } |
1445 left: 0; |
|
1446 z-index: 120; } |
|
1447 |
|
1448 .block-editor-inserter-with-shortcuts { |
|
1449 display: flex; |
|
1450 align-items: center; } |
|
1451 .block-editor-inserter-with-shortcuts .components-icon-button { |
|
1452 border-radius: 4px; } |
|
1453 .block-editor-inserter-with-shortcuts .components-icon-button svg:not(.dashicon) { |
|
1454 height: 24px; |
|
1455 width: 24px; } |
|
1456 |
|
1457 .block-editor-inserter-with-shortcuts__block { |
|
1458 margin-right: 4px; |
|
1459 width: 36px; |
|
1460 height: 36px; |
|
1461 padding-top: 8px; |
|
1462 color: rgba(10, 24, 41, 0.7); } |
|
1463 .is-dark-theme .block-editor-inserter-with-shortcuts__block { |
|
1464 color: rgba(255, 255, 255, 0.75); } |
|
1465 |
|
1466 .block-editor-inserter { |
|
1467 display: inline-block; |
|
1468 background: none; |
|
1469 border: none; |
|
1470 padding: 0; |
|
1471 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
1472 font-size: 13px; |
|
1473 line-height: 1.4; } |
|
1474 @media (min-width: 782px) { |
|
1475 .block-editor-inserter { |
|
1476 position: relative; } } |
|
1477 |
|
1478 @media (min-width: 782px) { |
|
1479 .block-editor-inserter__popover:not(.is-mobile) > .components-popover__content { |
|
1480 overflow-y: visible; |
|
1481 height: 432px; } } |
|
1482 |
|
1483 .block-editor-inserter__toggle { |
|
1484 display: inline-flex; |
|
1485 align-items: center; |
|
1486 color: #555d66; |
|
1487 background: none; |
|
1488 cursor: pointer; |
|
1489 border: none; |
|
1490 outline: none; |
|
1491 transition: color 0.2s ease; } |
|
1492 |
|
1493 .block-editor-inserter__menu { |
|
1494 width: auto; |
|
1495 display: flex; |
|
1496 flex-direction: column; |
|
1497 height: 100%; } |
|
1498 @media (min-width: 782px) { |
|
1499 .block-editor-inserter__menu { |
|
1500 width: 400px; |
|
1501 position: relative; } |
|
1502 .block-editor-inserter__menu .block-editor-block-preview { |
|
1503 border: 1px solid #e2e4e7; |
|
1504 box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1); |
|
1505 background: #fff; |
|
1506 position: absolute; |
|
1507 left: 100%; |
|
1508 top: -1px; |
|
1509 bottom: -1px; |
|
1510 width: 300px; } } |
|
1511 |
|
1512 .block-editor-inserter__inline-elements { |
|
1513 margin-top: -1px; } |
|
1514 |
|
1515 .block-editor-inserter__menu.is-bottom::after { |
|
1516 border-bottom-color: #fff; } |
|
1517 |
|
1518 .components-popover input[type="search"].block-editor-inserter__search { |
|
1519 display: block; |
|
1520 margin: 16px; |
|
1521 padding: 11px 16px; |
|
1522 position: relative; |
|
1523 z-index: 1; |
|
1524 border-radius: 4px; |
|
1525 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
1526 font-size: 16px; } |
|
1527 @media (min-width: 600px) { |
|
1528 .components-popover input[type="search"].block-editor-inserter__search { |
|
1529 font-size: 13px; } } |
|
1530 .components-popover input[type="search"].block-editor-inserter__search:focus { |
|
1531 color: #191e23; |
|
1532 border-color: #00a0d2; |
|
1533 box-shadow: 0 0 0 1px #00a0d2; |
|
1534 outline: 2px solid transparent; |
|
1535 outline-offset: -2px; } |
|
1536 |
|
1537 .block-editor-inserter__results { |
|
1538 flex-grow: 1; |
|
1539 overflow: auto; |
|
1540 position: relative; |
|
1541 z-index: 1; |
|
1542 padding: 0 16px 16px 16px; } |
|
1543 .block-editor-inserter__results:focus { |
|
1544 outline: 1px dotted #555d66; } |
|
1545 @media (min-width: 782px) { |
|
1546 .block-editor-inserter__results { |
|
1547 height: 394px; } } |
|
1548 .block-editor-inserter__results [role="presentation"] + .components-panel__body { |
|
1549 border-top: none; } |
|
1550 |
|
1551 .block-editor-inserter__popover .block-editor-block-types-list { |
|
1552 margin: 0 -8px; } |
|
1553 |
|
1554 .block-editor-inserter__reusable-blocks-panel { |
|
1555 position: relative; |
|
1556 text-align: right; } |
|
1557 |
|
1558 .block-editor-inserter__manage-reusable-blocks { |
|
1559 margin: 16px 0 0 16px; } |
|
1560 |
|
1561 .block-editor-inserter__no-results { |
|
1562 font-style: italic; |
|
1563 padding: 24px; |
|
1564 text-align: center; } |
|
1565 |
|
1566 .block-editor-inserter__child-blocks { |
|
1567 padding: 0 16px; } |
|
1568 |
|
1569 .block-editor-inserter__parent-block-header { |
|
1570 display: flex; |
|
1571 align-items: center; } |
|
1572 .block-editor-inserter__parent-block-header h2 { |
|
1573 font-size: 13px; } |
|
1574 .block-editor-inserter__parent-block-header .block-editor-block-icon { |
|
1575 margin-right: 8px; } |
|
1576 |
1712 |
1577 .block-editor-block-types-list__list-item { |
1713 .block-editor-block-types-list__list-item { |
1578 display: block; |
1714 display: block; |
1579 width: 33.33%; |
1715 width: 33.33%; |
1580 padding: 0 4px; |
1716 padding: 0; |
1581 margin: 0 0 12px; } |
1717 margin: 0; } |
1582 |
1718 |
1583 .block-editor-block-types-list__item { |
1719 .components-button.block-editor-block-types-list__item { |
1584 display: flex; |
1720 display: flex; |
1585 flex-direction: column; |
1721 flex-direction: column; |
1586 width: 100%; |
1722 width: 100%; |
1587 font-size: 13px; |
1723 font-size: 13px; |
1588 color: #32373c; |
1724 color: #32373c; |
1589 padding: 0; |
1725 padding: 8px; |
1590 align-items: stretch; |
1726 align-items: stretch; |
1591 justify-content: center; |
1727 justify-content: center; |
1592 cursor: pointer; |
1728 cursor: pointer; |
1593 background: transparent; |
1729 background: transparent; |
1594 word-break: break-word; |
1730 word-break: break-word; |
1595 border-radius: 4px; |
1731 border-radius: 2px; |
1596 border: 1px solid transparent; |
1732 border: 1px solid transparent; |
1597 transition: all 0.05s ease-in-out; |
1733 transition: all 0.05s ease-in-out; |
1598 position: relative; } |
1734 position: relative; |
1599 .block-editor-block-types-list__item:disabled { |
1735 height: auto; } |
|
1736 @media (prefers-reduced-motion: reduce) { |
|
1737 .components-button.block-editor-block-types-list__item { |
|
1738 transition-duration: 0s; } } |
|
1739 .components-button.block-editor-block-types-list__item:disabled { |
1600 opacity: 0.6; |
1740 opacity: 0.6; |
1601 cursor: default; } |
1741 cursor: default; } |
1602 .block-editor-block-types-list__item:not(:disabled):hover::before { |
1742 .components-button.block-editor-block-types-list__item:not(:disabled):hover { |
1603 content: ""; |
1743 border-color: #007cba; |
1604 display: block; |
1744 border-color: var(--wp-admin-theme-color); |
1605 background: #f3f4f5; |
1745 color: #007cba !important; |
1606 color: #191e23; |
1746 color: var(--wp-admin-theme-color) !important; } |
1607 position: absolute; |
1747 .components-button.block-editor-block-types-list__item:not(:disabled).is-active { |
1608 z-index: -1; |
1748 color: #fff; |
1609 border-radius: 4px; |
1749 background: #1e1e1e; |
1610 top: 0; |
|
1611 right: 0; |
|
1612 bottom: 0; |
|
1613 left: 0; } |
|
1614 .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon, |
|
1615 .block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title { |
|
1616 color: currentColor; } |
|
1617 .block-editor-block-types-list__item:not(:disabled):active, .block-editor-block-types-list__item:not(:disabled).is-active, .block-editor-block-types-list__item:not(:disabled):focus { |
|
1618 position: relative; |
|
1619 outline: none; |
|
1620 color: #191e23; |
|
1621 box-shadow: 0 0 0 2px #00a0d2; |
|
1622 outline: 2px solid transparent; |
1750 outline: 2px solid transparent; |
1623 outline-offset: -2px; } |
1751 outline-offset: -2px; } |
1624 .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon, |
|
1625 .block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title, .block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-icon, |
|
1626 .block-editor-block-types-list__item:not(:disabled).is-active .block-editor-block-types-list__item-title, .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon, |
|
1627 .block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title { |
|
1628 color: currentColor; } |
|
1629 |
1752 |
1630 .block-editor-block-types-list__item-icon { |
1753 .block-editor-block-types-list__item-icon { |
1631 padding: 12px 20px; |
1754 padding: 12px 20px; |
1632 border-radius: 4px; |
1755 border-radius: 2px; |
1633 color: #555d66; |
1756 color: #1e1e1e; |
1634 transition: all 0.05s ease-in-out; } |
1757 transition: all 0.05s ease-in-out; } |
|
1758 @media (prefers-reduced-motion: reduce) { |
|
1759 .block-editor-block-types-list__item-icon { |
|
1760 transition-duration: 0s; } } |
1635 .block-editor-block-types-list__item-icon .block-editor-block-icon { |
1761 .block-editor-block-types-list__item-icon .block-editor-block-icon { |
1636 margin-left: auto; |
1762 margin-left: auto; |
1637 margin-right: auto; } |
1763 margin-right: auto; } |
1638 .block-editor-block-types-list__item-icon svg { |
1764 .block-editor-block-types-list__item-icon svg { |
1639 transition: all 0.15s ease-out; } |
1765 transition: all 0.15s ease-out; } |
|
1766 @media (prefers-reduced-motion: reduce) { |
|
1767 .block-editor-block-types-list__item-icon svg { |
|
1768 transition-duration: 0s; } } |
1640 |
1769 |
1641 .block-editor-block-types-list__item-title { |
1770 .block-editor-block-types-list__item-title { |
1642 padding: 4px 2px 8px; } |
1771 padding: 4px 2px 8px; |
1643 |
1772 font-size: 12px; } |
1644 .block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon { |
1773 |
1645 background: #fff; |
1774 .modal-open .block-editor-media-replace-flow__options { |
1646 margin-right: 3px; |
1775 display: none; } |
1647 margin-bottom: 6px; |
1776 |
1648 padding: 9px 20px 9px; |
1777 .block-editor-media-replace-flow__options .components-popover__content > div { |
1649 position: relative; |
1778 padding-top: 16px; } |
1650 top: -2px; |
1779 |
1651 left: -2px; |
1780 .block-editor-media-replace-flow__indicator { |
1652 box-shadow: 0 0 0 1px #e2e4e7; } |
1781 margin-left: 4px; } |
1653 |
1782 |
1654 .block-editor-block-types-list__item-has-children .block-editor-block-types-list__item-icon-stack { |
1783 .block-editor-media-replace-flow__media-upload-menu { |
1655 display: block; |
1784 margin-bottom: 16px; } |
1656 background: #fff; |
1785 |
1657 box-shadow: 0 0 0 1px #e2e4e7; |
1786 .block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label { |
1658 width: 100%; |
1787 top: 16px; } |
1659 height: 100%; |
1788 |
1660 position: absolute; |
1789 .block-editor-media-flow__url-input .block-editor-link-control { |
1661 z-index: -1; |
1790 margin-top: -16px; |
1662 bottom: -6px; |
1791 width: auto; } |
1663 right: -6px; |
1792 .block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field { |
1664 border-radius: 4px; } |
|
1665 |
|
1666 .block-editor-media-placeholder__url-input-container { |
|
1667 width: 100%; } |
|
1668 .block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { |
|
1669 margin-bottom: 0; } |
1793 margin-bottom: 0; } |
|
1794 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title { |
|
1795 max-width: 180px; |
|
1796 margin-top: 16px; } |
|
1797 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current { |
|
1798 width: auto; |
|
1799 padding: 0; } |
|
1800 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] { |
|
1801 margin: 16px 0 0 0; |
|
1802 width: 100%; } |
|
1803 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions { |
|
1804 right: 4px; } |
|
1805 |
|
1806 .block-editor-media-flow__error { |
|
1807 padding: 0 20px 20px 20px; |
|
1808 max-width: 255px; } |
|
1809 .block-editor-media-flow__error .components-with-notices-ui { |
|
1810 max-width: 255px; } |
|
1811 .block-editor-media-flow__error .components-with-notices-ui .components-notice__content { |
|
1812 overflow: hidden; |
|
1813 word-wrap: break-word; } |
|
1814 .block-editor-media-flow__error .components-with-notices-ui .components-notice__dismiss { |
|
1815 position: absolute; |
|
1816 right: 10px; } |
|
1817 |
|
1818 .block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button { |
|
1819 margin-bottom: 0; } |
1670 |
1820 |
1671 .block-editor-media-placeholder__url-input-form { |
1821 .block-editor-media-placeholder__url-input-form { |
1672 display: flex; } |
1822 display: flex; } |
1673 .block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field { |
1823 .block-editor-media-placeholder__url-input-form input[type="url"].block-editor-media-placeholder__url-input-field { |
1674 width: 100%; |
1824 width: 100%; |
1949 .block-editor-url-input__button-modal-line .components-button { |
2147 .block-editor-url-input__button-modal-line .components-button { |
1950 flex-shrink: 0; |
2148 flex-shrink: 0; |
1951 width: 36px; |
2149 width: 36px; |
1952 height: 36px; } |
2150 height: 36px; } |
1953 |
2151 |
|
2152 .block-editor-url-popover__additional-controls { |
|
2153 border-top: 1px solid #ddd; } |
|
2154 |
|
2155 .block-editor-url-popover__additional-controls > div[role="menu"] .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) > svg { |
|
2156 box-shadow: none; } |
|
2157 |
|
2158 .block-editor-url-popover__additional-controls div[role="menu"] > .components-button { |
|
2159 padding-left: 2px; } |
|
2160 |
1954 .block-editor-url-popover__row { |
2161 .block-editor-url-popover__row { |
1955 display: flex; } |
2162 display: flex; } |
1956 |
2163 |
1957 .block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) { |
2164 .block-editor-url-popover__row > :not(.block-editor-url-popover__settings-toggle) { |
1958 flex-grow: 1; } |
2165 flex-grow: 1; } |
1959 |
2166 |
1960 .block-editor-url-popover .components-icon-button { |
2167 .block-editor-url-popover .components-button.has-icon { |
1961 padding: 3px; } |
2168 padding: 3px; } |
1962 .block-editor-url-popover .components-icon-button > svg { |
2169 .block-editor-url-popover .components-button.has-icon > svg { |
1963 padding: 5px; |
2170 padding: 5px; |
1964 border-radius: 4px; |
2171 border-radius: 2px; |
1965 height: 30px; |
2172 height: 30px; |
1966 width: 30px; } |
2173 width: 30px; } |
1967 .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { |
2174 .block-editor-url-popover .components-button.has-icon:not(:disabled):focus { |
1968 box-shadow: none; } |
2175 box-shadow: none; } |
1969 .block-editor-url-popover .components-icon-button:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover > svg { |
2176 .block-editor-url-popover .components-button.has-icon:not(:disabled):focus > svg { |
1970 color: #555d66; |
2177 box-shadow: inset 0 0 0 1.5px #007cba, inset 0 0 0 4px #fff; |
1971 box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; } |
2178 box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 0 0 4px #fff; |
1972 .block-editor-url-popover .components-icon-button:not(:disabled):focus { |
2179 outline: 2px solid transparent; } |
1973 box-shadow: none; } |
|
1974 .block-editor-url-popover .components-icon-button:not(:disabled):focus > svg { |
|
1975 box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff; |
|
1976 outline: 2px solid transparent; |
|
1977 outline-offset: -2px; } |
|
1978 |
2180 |
1979 .block-editor-url-popover__settings-toggle { |
2181 .block-editor-url-popover__settings-toggle { |
1980 flex-shrink: 0; |
2182 flex-shrink: 0; |
1981 border-radius: 0; |
2183 border-radius: 0; |
1982 border-left: 1px solid #e2e4e7; |
2184 border-left: 1px solid #ddd; |
1983 margin-left: 1px; } |
2185 margin-left: 1px; } |
1984 .block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon { |
2186 .block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon { |
1985 transform: rotate(180deg); } |
2187 transform: rotate(180deg); } |
1986 |
2188 |
|
2189 .block-editor-url-popover__input-container .components-base-control:last-child, |
|
2190 .block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field { |
|
2191 margin-bottom: 0; } |
|
2192 |
1987 .block-editor-url-popover__settings { |
2193 .block-editor-url-popover__settings { |
|
2194 display: block; |
1988 padding: 16px; |
2195 padding: 16px; |
1989 border-top: 1px solid #e2e4e7; } |
2196 border-top: 1px solid #ddd; } |
1990 .block-editor-url-popover__settings .components-base-control:last-child .components-base-control__field { |
2197 |
|
2198 .block-editor-url-popover__link-editor, |
|
2199 .block-editor-url-popover__link-viewer { |
|
2200 display: flex; } |
|
2201 .block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field, |
|
2202 .block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field { |
1991 margin-bottom: 0; } |
2203 margin-bottom: 0; } |
|
2204 .block-editor-url-popover__link-editor .block-editor-url-input .components-spinner, |
|
2205 .block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner { |
|
2206 bottom: 9px; } |
|
2207 |
|
2208 .block-editor-url-popover__link-viewer-url { |
|
2209 margin: 7px; |
|
2210 flex-grow: 1; |
|
2211 flex-shrink: 1; |
|
2212 overflow: hidden; |
|
2213 text-overflow: ellipsis; |
|
2214 white-space: nowrap; |
|
2215 min-width: 150px; |
|
2216 max-width: 500px; } |
|
2217 .block-editor-url-popover__link-viewer-url.has-invalid-link { |
|
2218 color: #d94f4f; } |
1992 |
2219 |
1993 .block-editor-warning { |
2220 .block-editor-warning { |
|
2221 align-items: center; |
1994 display: flex; |
2222 display: flex; |
1995 flex-direction: row; |
2223 flex-wrap: wrap; |
1996 justify-content: space-between; |
2224 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
1997 flex-wrap: nowrap; |
2225 font-size: 13px; |
1998 background-color: #fff; |
2226 padding: 6px 12px; |
1999 border: 1px solid #e2e4e7; |
2227 border: 1px solid #1e1e1e; |
2000 text-align: left; |
2228 border-radius: 2px; |
2001 padding: 20px; } |
2229 background-color: #fff; } |
2002 .has-warning.is-multi-selected .block-editor-warning { |
|
2003 background-color: transparent; } |
|
2004 .is-selected .block-editor-warning { |
|
2005 border-color: rgba(66, 88, 99, 0.4); |
|
2006 border-left-color: transparent; } |
|
2007 .is-dark-theme .is-selected .block-editor-warning { |
|
2008 border-color: rgba(255, 255, 255, 0.45); } |
|
2009 .block-editor-warning .block-editor-warning__message { |
2230 .block-editor-warning .block-editor-warning__message { |
2010 line-height: 1.4; |
2231 line-height: 1.4; |
2011 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
2232 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
2012 font-size: 13px; } |
2233 font-size: 13px; |
|
2234 margin: 1em 0; } |
|
2235 .block-editor-warning p.block-editor-warning__message.block-editor-warning__message { |
|
2236 min-height: auto; } |
2013 .block-editor-warning .block-editor-warning__contents { |
2237 .block-editor-warning .block-editor-warning__contents { |
2014 display: flex; |
2238 display: flex; |
2015 flex-direction: row; |
2239 flex-direction: row; |
2016 justify-content: space-between; |
2240 justify-content: space-between; |
2017 flex-wrap: wrap; |
2241 flex-wrap: wrap; |
2018 align-items: center; |
2242 align-items: baseline; |
2019 width: 100%; } |
2243 width: 100%; } |
2020 .block-editor-warning .block-editor-warning__actions { |
2244 .block-editor-warning .block-editor-warning__actions { |
2021 display: flex; } |
2245 display: flex; } |
2022 .block-editor-warning .block-editor-warning__action { |
2246 .block-editor-warning .block-editor-warning__action { |
2023 margin: 0 6px 0 0; } |
2247 margin: 0 0 0 8px; } |
2024 |
2248 |
2025 .block-editor-warning__secondary { |
2249 .block-editor-warning__secondary { |
2026 margin: 3px 0 0 -4px; } |
2250 margin: auto 0 auto 8px; } |
2027 .block-editor-warning__secondary .components-icon-button { |
|
2028 width: auto; |
|
2029 padding: 8px 2px; } |
|
2030 @media (min-width: 600px) { |
|
2031 .block-editor-warning__secondary { |
|
2032 margin-left: 4px; } |
|
2033 .block-editor-warning__secondary .components-icon-button { |
|
2034 padding: 8px 4px; } } |
|
2035 .block-editor-warning__secondary .components-button svg { |
|
2036 transform: rotate(90deg); } |
|
2037 |
2251 |
2038 .block-editor-writing-flow { |
2252 .block-editor-writing-flow { |
2039 height: 100%; |
|
2040 display: flex; |
2253 display: flex; |
2041 flex-direction: column; } |
2254 flex-direction: column; } |
2042 |
2255 |
2043 .block-editor-writing-flow__click-redirect { |
2256 .block-editor-writing-flow__click-redirect { |
2044 flex-basis: 100%; |
|
2045 cursor: text; } |
2257 cursor: text; } |
|
2258 |
|
2259 .html-anchor-control .components-external-link { |
|
2260 display: block; |
|
2261 margin-top: 8px; } |
|
2262 |
|
2263 #end-resizable-editor-section { |
|
2264 display: none; } |
|
2265 |
|
2266 /** |
|
2267 * Block Toolbar |
|
2268 */ |
|
2269 .block-editor-block-toolbar { |
|
2270 display: flex; |
|
2271 flex-grow: 1; |
|
2272 width: 100%; |
|
2273 overflow: auto; |
|
2274 position: relative; |
|
2275 transition: border-color 0.1s linear, box-shadow 0.1s linear; } |
|
2276 @media (prefers-reduced-motion: reduce) { |
|
2277 .block-editor-block-toolbar { |
|
2278 transition-duration: 0s; } } |
|
2279 @media (min-width: 600px) { |
|
2280 .block-editor-block-toolbar { |
|
2281 overflow: inherit; } } |
|
2282 .block-editor-block-toolbar .components-toolbar-group, |
|
2283 .block-editor-block-toolbar .components-toolbar { |
|
2284 background: none; |
|
2285 line-height: 0; |
|
2286 margin-top: -1px; |
|
2287 margin-bottom: -1px; |
|
2288 border: 0; |
|
2289 border-right: 1px solid #ddd; } |
|
2290 .block-editor-block-toolbar > :last-child, |
|
2291 .block-editor-block-toolbar > :last-child .components-toolbar-group, |
|
2292 .block-editor-block-toolbar > :last-child .components-toolbar { |
|
2293 border-right: none; } |
|
2294 |
|
2295 .block-editor-block-toolbar .components-toolbar-group, |
|
2296 .block-editor-block-toolbar .components-toolbar, |
|
2297 .block-editor-format-toolbar .components-toolbar-group, |
|
2298 .block-editor-format-toolbar .components-toolbar { |
|
2299 display: flex; |
|
2300 flex-wrap: nowrap; } |
|
2301 |
|
2302 .block-editor-block-toolbar__slot { |
|
2303 display: inline-block; |
|
2304 line-height: 0; } |
|
2305 @supports ((position: -webkit-sticky) or (position: sticky)) { |
|
2306 .block-editor-block-toolbar__slot { |
|
2307 display: inline-flex; } } |
|
2308 |
|
2309 .block-editor-block-toolbar__block-parent-selector-wrapper { |
|
2310 position: absolute; |
|
2311 top: -1px; |
|
2312 left: -1px; |
|
2313 opacity: 0; |
|
2314 transition: all 60ms linear; |
|
2315 z-index: -1; } |
|
2316 @media (prefers-reduced-motion: reduce) { |
|
2317 .block-editor-block-toolbar__block-parent-selector-wrapper { |
|
2318 transition-duration: 0s; } } |
|
2319 .is-showing-movers .block-editor-block-toolbar__block-parent-selector-wrapper { |
|
2320 opacity: 1; |
|
2321 transform: translateY(-60px); } |
|
2322 .edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar__block-parent-selector-wrapper { |
|
2323 display: none; } |
|
2324 |
|
2325 .block-editor-block-toolbar-animated-width-container { |
|
2326 position: relative; |
|
2327 overflow: hidden; |
|
2328 transition: width 300ms; } |
|
2329 |
|
2330 .block-editor-block-toolbar-content-enter { |
|
2331 position: absolute; |
|
2332 top: 0; |
|
2333 left: 0; |
|
2334 width: auto; |
|
2335 opacity: 0; } |
|
2336 |
|
2337 .block-editor-block-toolbar-content-enter-active { |
|
2338 position: absolute; |
|
2339 opacity: 1; |
|
2340 transition: opacity 300ms; } |
|
2341 |
|
2342 .block-editor-block-toolbar-content-exit { |
|
2343 width: auto; |
|
2344 opacity: 1; |
|
2345 pointer-events: none; } |
|
2346 |
|
2347 .block-editor-block-toolbar-content-exit-active { |
|
2348 opacity: 0; |
|
2349 transition: opacity 300ms; } |
|
2350 |
|
2351 .block-editor-inserter { |
|
2352 display: inline-block; |
|
2353 background: none; |
|
2354 border: none; |
|
2355 padding: 0; |
|
2356 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
2357 font-size: 13px; |
|
2358 line-height: 1.4; } |
|
2359 @media (min-width: 782px) { |
|
2360 .block-editor-inserter { |
|
2361 position: relative; } } |
|
2362 |
|
2363 .block-editor-inserter__popover .block-editor-inserter__menu { |
|
2364 margin: -12px; } |
|
2365 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__tabs .components-tab-panel__tabs { |
|
2366 top: 60px; } |
|
2367 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__main-area { |
|
2368 overflow: visible; |
|
2369 height: auto; } |
|
2370 .block-editor-inserter__popover .block-editor-inserter__menu .block-editor-inserter__preview-container { |
|
2371 display: none; } |
|
2372 |
|
2373 .block-editor-inserter__toggle.components-button { |
|
2374 display: inline-flex; |
|
2375 align-items: center; |
|
2376 cursor: pointer; |
|
2377 border: none; |
|
2378 outline: none; |
|
2379 padding: 0; |
|
2380 transition: color 0.2s ease; } |
|
2381 @media (prefers-reduced-motion: reduce) { |
|
2382 .block-editor-inserter__toggle.components-button { |
|
2383 transition-duration: 0s; } } |
|
2384 |
|
2385 .block-editor-inserter__menu { |
|
2386 height: 100%; |
|
2387 position: relative; |
|
2388 overflow: visible; } |
|
2389 |
|
2390 .block-editor-inserter__main-area { |
|
2391 width: auto; |
|
2392 overflow-y: auto; |
|
2393 height: 100%; } |
|
2394 @media (min-width: 782px) { |
|
2395 .block-editor-inserter__main-area { |
|
2396 width: 350px; } } |
|
2397 |
|
2398 .block-editor-inserter__inline-elements { |
|
2399 margin-top: -1px; } |
|
2400 |
|
2401 .block-editor-inserter__menu.is-bottom::after { |
|
2402 border-bottom-color: #fff; } |
|
2403 |
|
2404 .components-popover.block-editor-inserter__popover { |
|
2405 z-index: 99998; } |
|
2406 |
|
2407 .block-editor-inserter__search { |
|
2408 padding: 16px; |
|
2409 position: -webkit-sticky; |
|
2410 position: sticky; |
|
2411 top: 0; |
|
2412 background: #fff; |
|
2413 z-index: 1; } |
|
2414 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input { |
|
2415 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
2416 padding: 6px 8px; |
|
2417 box-shadow: 0 0 0 transparent; |
|
2418 transition: box-shadow 0.1s linear; |
|
2419 border-radius: 2px; |
|
2420 border: 1px solid #757575; |
|
2421 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
2422 font-size: 16px; |
|
2423 /* Override core line-height. To be reviewed. */ |
|
2424 line-height: normal; |
|
2425 display: block; |
|
2426 padding: 16px 48px 16px 16px; |
|
2427 background: #f0f0f0; |
|
2428 border: none; |
|
2429 width: 100%; |
|
2430 height: 48px; |
|
2431 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
2432 font-size: 16px; } |
|
2433 @media (prefers-reduced-motion: reduce) { |
|
2434 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input { |
|
2435 transition-duration: 0s; } } |
|
2436 @media (min-width: 600px) { |
|
2437 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input { |
|
2438 font-size: 13px; |
|
2439 /* Override core line-height. To be reviewed. */ |
|
2440 line-height: normal; } } |
|
2441 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:focus { |
|
2442 border-color: #007cba; |
|
2443 border-color: var(--wp-admin-theme-color); |
|
2444 box-shadow: 0 0 0 0.5px #007cba; |
|
2445 box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
|
2446 outline: 2px solid transparent; } |
|
2447 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder { |
|
2448 color: rgba(30, 30, 30, 0.62); } |
|
2449 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder { |
|
2450 opacity: 1; |
|
2451 color: rgba(30, 30, 30, 0.62); } |
|
2452 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder { |
|
2453 color: rgba(30, 30, 30, 0.62); } |
|
2454 .is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder { |
|
2455 color: rgba(255, 255, 255, 0.65); } |
|
2456 .is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder { |
|
2457 opacity: 1; |
|
2458 color: rgba(255, 255, 255, 0.65); } |
|
2459 .is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder { |
|
2460 color: rgba(255, 255, 255, 0.65); } |
|
2461 @media (min-width: 600px) { |
|
2462 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input { |
|
2463 font-size: 13px; } } |
|
2464 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:focus { |
|
2465 background: #fff; |
|
2466 box-shadow: 0 0 0 1.5px #007cba; |
|
2467 box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); } |
|
2468 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder { |
|
2469 color: #606a73; } |
|
2470 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-ms-input-placeholder { |
|
2471 color: #606a73; } |
|
2472 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::placeholder { |
|
2473 color: #606a73; } |
|
2474 .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-decoration, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-cancel-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-decoration { |
|
2475 -webkit-appearance: none; } |
|
2476 |
|
2477 .block-editor-inserter__search-icon { |
|
2478 position: absolute; |
|
2479 top: 0; |
|
2480 right: 20px; |
|
2481 bottom: 0; |
|
2482 display: flex; |
|
2483 align-items: center; } |
|
2484 .block-editor-inserter__search-icon > svg { |
|
2485 margin: 8px; } |
|
2486 |
|
2487 .block-editor-inserter__tabs { |
|
2488 display: flex; |
|
2489 flex-direction: column; |
|
2490 margin-top: -8px; } |
|
2491 .block-editor-inserter__tabs .components-tab-panel__tabs { |
|
2492 position: -webkit-sticky; |
|
2493 position: sticky; |
|
2494 top: 72px; |
|
2495 background: #fff; |
|
2496 z-index: 1; |
|
2497 border-bottom: 1px solid #ddd; } |
|
2498 .block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { |
|
2499 flex-grow: 1; |
|
2500 margin-bottom: -1px; } |
|
2501 .block-editor-inserter__tabs .components-tab-panel__tab-content { |
|
2502 display: flex; |
|
2503 flex-grow: 1; |
|
2504 flex-direction: column; |
|
2505 position: relative; } |
|
2506 |
|
2507 .block-editor-inserter__panel-header { |
|
2508 display: inline-flex; |
|
2509 align-items: center; |
|
2510 padding: 16px 16px 0; } |
|
2511 |
|
2512 .block-editor-inserter__panel-content { |
|
2513 padding: 0 16px; } |
|
2514 |
|
2515 .block-editor-inserter__panel-title { |
|
2516 margin: 0 12px 0 0; |
|
2517 color: #757575; |
|
2518 text-transform: uppercase; |
|
2519 font-size: 11px; |
|
2520 font-weight: 500; } |
|
2521 |
|
2522 .block-editor-inserter__block-list { |
|
2523 flex-grow: 1; |
|
2524 position: relative; } |
|
2525 |
|
2526 .block-editor-inserter__popover .block-editor-block-types-list { |
|
2527 margin: 0 -8px; } |
|
2528 |
|
2529 .block-editor-inserter__reusable-blocks-panel { |
|
2530 position: relative; |
|
2531 text-align: right; } |
|
2532 |
|
2533 .block-editor-inserter__manage-reusable-blocks { |
|
2534 display: inline-block; |
|
2535 margin: 16px; } |
|
2536 |
|
2537 .block-editor-inserter__no-results { |
|
2538 padding: 32px; |
|
2539 margin-top: 64px; |
|
2540 text-align: center; } |
|
2541 |
|
2542 .block-editor-inserter__no-results-icon { |
|
2543 fill: #b5bcc2; } |
|
2544 |
|
2545 .block-editor-inserter__child-blocks { |
|
2546 padding: 0 16px; } |
|
2547 |
|
2548 .block-editor-inserter__parent-block-header { |
|
2549 display: flex; |
|
2550 align-items: center; } |
|
2551 .block-editor-inserter__parent-block-header h2 { |
|
2552 font-size: 13px; } |
|
2553 .block-editor-inserter__parent-block-header .block-editor-block-icon { |
|
2554 margin-right: 8px; } |
|
2555 |
|
2556 .block-editor-inserter__preview-container { |
|
2557 display: none; |
|
2558 width: 300px; |
|
2559 background: #fff; |
|
2560 border-radius: 2px; |
|
2561 border: 1px solid #ddd; |
|
2562 position: absolute; |
|
2563 top: 16px; |
|
2564 left: calc(100% + 16px); } |
|
2565 @media (min-width: 782px) { |
|
2566 .block-editor-inserter__preview-container { |
|
2567 display: block; } } |
|
2568 .block-editor-inserter__preview-container .block-editor-block-card { |
|
2569 padding: 16px; } |
|
2570 .block-editor-inserter__preview-container .block-editor-block-card__title { |
|
2571 font-size: 13px; } |
|
2572 |
|
2573 .block-editor-inserter__preview-content { |
|
2574 min-height: 144px; |
|
2575 background: #f0f0f0; |
|
2576 display: -ms-grid; |
|
2577 display: grid; |
|
2578 flex-grow: 1; |
|
2579 align-items: center; } |
|
2580 |
|
2581 .block-editor-inserter__preview-content-missing { |
|
2582 flex: 1; |
|
2583 display: flex; |
|
2584 justify-content: center; |
|
2585 align-items: center; |
|
2586 min-height: 144px; |
|
2587 color: #606a73; |
|
2588 background: #f0f0f0; } |
|
2589 |
|
2590 .block-editor-inserter__tips { |
|
2591 border-top: 1px solid #ddd; |
|
2592 padding: 16px; |
|
2593 flex-shrink: 0; } |
|
2594 |
|
2595 .block-editor-inserter__manage-reusable-blocks-container { |
|
2596 padding: 16px; } |
|
2597 |
|
2598 .block-editor-inserter__quick-inserter { |
|
2599 width: 100%; } |
|
2600 @media (min-width: 782px) { |
|
2601 .block-editor-inserter__quick-inserter { |
|
2602 width: 350px; } } |
|
2603 |
|
2604 .block-editor-inserter__quick-inserter-results { |
|
2605 padding-bottom: 16px; } |
|
2606 .block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header { |
|
2607 height: 0; |
|
2608 padding: 0; |
|
2609 float: left; } |
|
2610 |
|
2611 .block-editor-inserter__quick-inserter-patterns { |
|
2612 display: -ms-grid; |
|
2613 display: grid; |
|
2614 -ms-grid-columns: 1fr 1fr; |
|
2615 grid-template-columns: 1fr 1fr; |
|
2616 grid-gap: 8px; } |
|
2617 |
|
2618 .block-editor-inserter__quick-inserter-separator { |
|
2619 border-top: 1px solid #ddd; } |
|
2620 |
|
2621 .block-editor-inserter__popover.is-quick > .components-popover__content > div { |
|
2622 padding: 0; } |
|
2623 |
|
2624 .block-editor-inserter__quick-inserter-expand.components-button { |
|
2625 display: block; |
|
2626 background: #1e1e1e; |
|
2627 color: #fff; |
|
2628 width: 100%; |
|
2629 height: 44px; |
|
2630 border-radius: 0; } |
|
2631 .block-editor-inserter__quick-inserter-expand.components-button:hover { |
|
2632 color: #fff; } |
|
2633 .block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled) { |
|
2634 box-shadow: inset 0 0 0 1.5px #1e1e1e, inset 0 0 0 2px #fff; } |
|
2635 |
|
2636 .block-editor-post-preview__dropdown { |
|
2637 display: none; |
|
2638 margin-right: 12px; |
|
2639 padding: 0; } |
|
2640 |
|
2641 .block-editor-post-preview__button-resize.block-editor-post-preview__button-resize { |
|
2642 padding-left: 40px; } |
|
2643 .block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon { |
|
2644 padding-left: 8px; } |
|
2645 |
|
2646 .block-editor-post-preview__dropdown-content .components-popover__content { |
|
2647 overflow-y: visible; } |
|
2648 |
|
2649 .block-editor-post-preview__dropdown-content .components-menu-group + .components-menu-group { |
|
2650 border-top: 1px solid #ccc; |
|
2651 padding: 8px 12px; |
|
2652 margin-left: -12px; |
|
2653 margin-right: -12px; } |
|
2654 |
|
2655 @media (min-width: 600px) { |
|
2656 .editor-post-preview { |
|
2657 display: none; } |
|
2658 .block-editor-post-preview__dropdown { |
|
2659 display: flex; } } |