163 } |
183 } |
164 .block-editor-block-list__layout.is-navigate-mode { |
184 .block-editor-block-list__layout.is-navigate-mode { |
165 cursor: default; |
185 cursor: default; |
166 } |
186 } |
167 .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected::after, .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered::after, |
187 .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected::after, .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered::after, |
|
188 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not([contenteditable])::after, |
168 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
189 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
169 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
190 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected::after { |
170 position: absolute; |
191 position: absolute; |
171 z-index: 1; |
192 z-index: 1; |
172 pointer-events: none; |
193 pointer-events: none; |
173 content: ""; |
194 content: ""; |
174 top: 1px; |
195 top: 1px; |
175 bottom: 1px; |
196 bottom: 1px; |
176 right: 1px; |
197 right: 1px; |
177 left: 1px; |
198 left: 1px; |
178 box-shadow: 0 0 0 1px var(--wp-admin-theme-color); |
199 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
179 border-radius: 1px; |
200 border-radius: 1px; |
180 outline: 2px solid transparent; |
201 outline: 2px solid transparent; |
181 } |
202 } |
182 .is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected::after, .is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered::after, |
203 .is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected::after, .is-dark-theme .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered::after, |
|
204 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not([contenteditable])::after, |
183 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
205 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
184 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after { |
206 .is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected::after { |
185 box-shadow: 0 0 0 1px #fff; |
207 box-shadow: 0 0 0 1px #fff; |
186 } |
208 } |
187 .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected .components-placeholder ::selection, .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered .components-placeholder ::selection, |
209 .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected .components-placeholder ::selection, .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered .components-placeholder ::selection, |
|
210 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not([contenteditable]) .components-placeholder ::selection, |
188 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection, |
211 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted .components-placeholder ::selection, |
189 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection { |
212 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected .components-placeholder ::selection { |
190 background: transparent; |
213 background: transparent; |
191 } |
214 } |
192 .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:not(.is-selected)::after { |
215 .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-hovered:not(.is-selected)::after { |
193 box-shadow: 0 0 0 1px #949494; |
216 box-shadow: 0 0 0 1px var(--wp-admin-theme-color); |
194 } |
217 } |
195 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after, |
218 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after { |
196 .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected::after, .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected::after, .block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected { |
|
197 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
219 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
198 outline: var(--wp-admin-border-width-focus) solid transparent; |
220 outline: 1px solid transparent; |
|
221 } |
|
222 .block-editor-block-list__layout.is-navigate-mode .block-editor-block-list__block.is-selected::after, .block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.has-child-selected { |
|
223 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
224 outline: 2px solid transparent; |
199 } |
225 } |
200 .block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::before { |
226 .block-editor-block-list__layout .is-block-moving-mode.block-editor-block-list__block.is-selected::before { |
201 content: ""; |
227 content: ""; |
202 position: absolute; |
228 position: absolute; |
203 z-index: 0; |
229 z-index: 0; |
731 |
738 |
732 .is-dragging-components-draggable .components-tooltip { |
739 .is-dragging-components-draggable .components-tooltip { |
733 display: none; |
740 display: none; |
734 } |
741 } |
735 |
742 |
736 .block-editor-block-list__block .block-list-appender { |
743 .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot, |
737 align-self: center; |
744 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar, |
738 padding: 0; |
745 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown, |
739 list-style: none; |
746 .block-editor-block-toolbar .components-toolbar-group { |
740 margin: 8px; |
747 padding-right: 6px; |
741 } |
748 padding-left: 6px; |
742 .block-editor-block-list__block .block-list-appender.wp-block { |
749 } |
743 max-width: none; |
750 .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button, |
744 } |
751 .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button.has-icon.has-icon, |
745 .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender { |
752 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button, |
746 margin: 8px 0; |
753 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button.has-icon.has-icon, |
747 } |
754 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button, |
748 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle { |
755 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button.has-icon.has-icon, |
749 padding: 0; |
756 .block-editor-block-toolbar .components-toolbar-group .components-button, |
750 opacity: 1; |
757 .block-editor-block-toolbar .components-toolbar-group .components-button.has-icon.has-icon { |
751 transform: scale(1); |
758 min-width: 36px; |
752 transition: all 0.1s ease; |
759 padding-right: 6px; |
753 margin-right: 8px; |
760 padding-left: 6px; |
754 } |
761 } |
755 @media (prefers-reduced-motion: reduce) { |
762 .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button svg, |
756 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle { |
763 .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button.has-icon.has-icon svg, |
757 transition-duration: 0s; |
764 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button svg, |
758 transition-delay: 0s; |
765 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button.has-icon.has-icon svg, |
759 } |
766 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button svg, |
760 } |
767 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button.has-icon.has-icon svg, |
761 .block-editor-block-list__block .block-list-appender:first-of-type .block-list-appender__toggle { |
768 .block-editor-block-toolbar .components-toolbar-group .components-button svg, |
762 margin-right: 0; |
769 .block-editor-block-toolbar .components-toolbar-group .components-button.has-icon.has-icon svg { |
|
770 min-width: 24px; |
|
771 } |
|
772 .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button::before, |
|
773 .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot .components-button.has-icon.has-icon::before, |
|
774 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button::before, |
|
775 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar .components-button.has-icon.has-icon::before, |
|
776 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button::before, |
|
777 .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button.has-icon.has-icon::before, |
|
778 .block-editor-block-toolbar .components-toolbar-group .components-button::before, |
|
779 .block-editor-block-toolbar .components-toolbar-group .components-button.has-icon.has-icon::before { |
|
780 right: 2px; |
|
781 left: 2px; |
763 } |
782 } |
764 |
783 |
765 .is-vertical .block-list-appender { |
784 .is-vertical .block-list-appender { |
766 width: 24px; |
785 width: 24px; |
767 margin-left: auto; |
786 margin-left: auto; |
1101 right: 0 !important; |
1215 right: 0 !important; |
1102 left: 0 !important; |
1216 left: 0 !important; |
1103 width: calc(100% + 1px); |
1217 width: calc(100% + 1px); |
1104 } |
1218 } |
1105 |
1219 |
|
1220 .block-editor-block-navigation__container { |
|
1221 min-width: 280px; |
|
1222 } |
|
1223 |
1106 .block-editor-block-navigation__label { |
1224 .block-editor-block-navigation__label { |
1107 margin: 0 0 12px; |
1225 margin: 0 0 12px; |
1108 color: #757575; |
1226 color: #757575; |
1109 text-transform: uppercase; |
1227 text-transform: uppercase; |
1110 font-size: 11px; |
1228 font-size: 11px; |
1111 font-weight: 500; |
1229 font-weight: 500; |
1112 } |
1230 } |
1113 |
1231 |
1114 .block-editor-block-navigation__container { |
|
1115 min-width: 280px; |
|
1116 } |
|
1117 |
|
1118 .block-editor-block-navigation-tree { |
|
1119 width: 100%; |
|
1120 border-collapse: collapse; |
|
1121 padding: 0; |
|
1122 margin: 0; |
|
1123 } |
|
1124 .components-modal__content .block-editor-block-navigation-tree { |
|
1125 margin: -12px -6px 0; |
|
1126 width: calc(100% + 12px); |
|
1127 } |
|
1128 |
|
1129 .block-editor-block-navigation-leaf { |
|
1130 position: relative; |
|
1131 } |
|
1132 .block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents { |
|
1133 background: var(--wp-admin-theme-color); |
|
1134 color: #fff; |
|
1135 } |
|
1136 .block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-contents:focus { |
|
1137 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
1138 } |
|
1139 .block-editor-block-navigation-leaf.is-branch-selected.is-selected .block-editor-block-navigation-block-contents { |
|
1140 border-radius: 2px 2px 0 0; |
|
1141 } |
|
1142 .block-editor-block-navigation-leaf.is-branch-selected:not(.is-selected) .block-editor-block-navigation-block-contents { |
|
1143 background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), linear-gradient(var(--wp-admin-theme-color), var(--wp-admin-theme-color)); |
|
1144 border-radius: 0; |
|
1145 } |
|
1146 .block-editor-block-navigation-leaf.is-branch-selected.is-last-of-selected-branch .block-editor-block-navigation-block-contents { |
|
1147 border-radius: 0 0 2px 2px; |
|
1148 } |
|
1149 .block-editor-block-navigation-leaf.is-dragging { |
|
1150 display: none; |
|
1151 } |
|
1152 .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents { |
|
1153 display: flex; |
|
1154 align-items: center; |
|
1155 width: 100%; |
|
1156 height: auto; |
|
1157 padding: 6px 12px; |
|
1158 text-align: right; |
|
1159 color: #1e1e1e; |
|
1160 border-radius: 2px; |
|
1161 position: relative; |
|
1162 white-space: nowrap; |
|
1163 } |
|
1164 .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:hover, .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus { |
|
1165 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
1166 } |
|
1167 .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents:focus { |
|
1168 z-index: 1; |
|
1169 } |
|
1170 .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-before::before { |
|
1171 content: ""; |
|
1172 position: absolute; |
|
1173 pointer-events: none; |
|
1174 transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear; |
|
1175 top: -2px; |
|
1176 left: 0; |
|
1177 right: 0; |
|
1178 border-top: 4px solid var(--wp-admin-theme-color); |
|
1179 } |
|
1180 .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-after::before { |
|
1181 content: ""; |
|
1182 position: absolute; |
|
1183 pointer-events: none; |
|
1184 transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear; |
|
1185 bottom: -2px; |
|
1186 left: 0; |
|
1187 right: 0; |
|
1188 border-bottom: 4px solid var(--wp-admin-theme-color); |
|
1189 } |
|
1190 .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents.is-dropping-to-inner-blocks::before { |
|
1191 content: ""; |
|
1192 position: absolute; |
|
1193 pointer-events: none; |
|
1194 transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear; |
|
1195 bottom: -2px; |
|
1196 left: 0; |
|
1197 right: 24px; |
|
1198 border-bottom: 4px solid var(--wp-admin-theme-color); |
|
1199 } |
|
1200 .components-modal__content .block-editor-block-navigation-leaf .block-editor-block-navigation-block-contents { |
|
1201 padding-right: 0; |
|
1202 padding-left: 0; |
|
1203 } |
|
1204 .block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents { |
|
1205 opacity: 1; |
|
1206 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
1207 animation-fill-mode: forwards; |
|
1208 } |
|
1209 @media (prefers-reduced-motion: reduce) { |
|
1210 .block-editor-block-navigation-leaf.is-visible .block-editor-block-navigation-block-contents { |
|
1211 animation-duration: 1ms; |
|
1212 animation-delay: 0s; |
|
1213 } |
|
1214 } |
|
1215 .block-editor-block-navigation-leaf .block-editor-block-icon { |
|
1216 align-self: flex-start; |
|
1217 margin-left: 10px; |
|
1218 width: 20px; |
|
1219 } |
|
1220 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
1221 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell, |
|
1222 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__contents-cell { |
|
1223 padding-top: 0; |
|
1224 padding-bottom: 0; |
|
1225 } |
|
1226 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
1227 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell { |
|
1228 line-height: 0; |
|
1229 width: 36px; |
|
1230 opacity: 0; |
|
1231 vertical-align: top; |
|
1232 } |
|
1233 @media (prefers-reduced-motion: reduce) { |
|
1234 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
1235 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell { |
|
1236 transition-duration: 0s; |
|
1237 transition-delay: 0s; |
|
1238 } |
|
1239 } |
|
1240 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover, .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible, |
|
1241 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover, |
|
1242 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible { |
|
1243 position: relative; |
|
1244 z-index: 1; |
|
1245 opacity: 1; |
|
1246 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
1247 animation-fill-mode: forwards; |
|
1248 } |
|
1249 @media (prefers-reduced-motion: reduce) { |
|
1250 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell:hover, .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell.is-visible, |
|
1251 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell:hover, |
|
1252 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell.is-visible { |
|
1253 animation-duration: 1ms; |
|
1254 animation-delay: 0s; |
|
1255 } |
|
1256 } |
|
1257 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell, |
|
1258 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell .components-button.has-icon, |
|
1259 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell, |
|
1260 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell .components-button.has-icon { |
|
1261 width: 24px; |
|
1262 min-width: 24px; |
|
1263 padding: 0; |
|
1264 } |
|
1265 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__menu-cell { |
|
1266 padding-top: 8px; |
|
1267 } |
|
1268 .block-editor-block-navigation-leaf .block-editor-block-navigation-block__mover-cell-alignment-wrapper { |
|
1269 display: flex; |
|
1270 height: 100%; |
|
1271 flex-direction: column; |
|
1272 align-items: center; |
|
1273 } |
|
1274 .block-editor-block-navigation-leaf .block-editor-block-mover-button { |
|
1275 position: relative; |
|
1276 width: 36px; |
|
1277 height: 24px; |
|
1278 } |
|
1279 .block-editor-block-navigation-leaf .block-editor-block-mover-button svg { |
|
1280 position: relative; |
|
1281 height: 24px; |
|
1282 } |
|
1283 .block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button { |
|
1284 margin-top: -6px; |
|
1285 align-items: flex-end; |
|
1286 } |
|
1287 .block-editor-block-navigation-leaf .block-editor-block-mover-button.is-up-button svg { |
|
1288 bottom: -4px; |
|
1289 } |
|
1290 .block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button { |
|
1291 margin-bottom: -6px; |
|
1292 align-items: flex-start; |
|
1293 } |
|
1294 .block-editor-block-navigation-leaf .block-editor-block-mover-button.is-down-button svg { |
|
1295 top: -4px; |
|
1296 } |
|
1297 .block-editor-block-navigation-leaf .block-editor-block-mover-button:focus:enabled { |
|
1298 box-shadow: none; |
|
1299 outline: none; |
|
1300 } |
|
1301 .block-editor-block-navigation-leaf .block-editor-block-mover-button:focus { |
|
1302 box-shadow: none; |
|
1303 outline: none; |
|
1304 } |
|
1305 .block-editor-block-navigation-leaf .block-editor-block-mover-button:focus::before { |
|
1306 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff; |
|
1307 outline: 2px solid transparent; |
|
1308 } |
|
1309 .block-editor-block-navigation-leaf .block-editor-block-mover-button::before { |
|
1310 content: ""; |
|
1311 position: absolute; |
|
1312 display: block; |
|
1313 border-radius: 2px; |
|
1314 height: 16px; |
|
1315 min-width: 100%; |
|
1316 right: 0; |
|
1317 left: 0; |
|
1318 animation: components-button__appear-animation 0.1s ease; |
|
1319 animation-fill-mode: forwards; |
|
1320 } |
|
1321 @media (prefers-reduced-motion: reduce) { |
|
1322 .block-editor-block-navigation-leaf .block-editor-block-mover-button::before { |
|
1323 animation-duration: 1ms; |
|
1324 animation-delay: 0s; |
|
1325 } |
|
1326 } |
|
1327 .block-editor-block-navigation-leaf .block-editor-inserter__toggle { |
|
1328 background: #1e1e1e; |
|
1329 color: #fff; |
|
1330 height: 24px; |
|
1331 margin: 6px 1px 6px 6px; |
|
1332 min-width: 24px; |
|
1333 } |
|
1334 .block-editor-block-navigation-leaf .block-editor-inserter__toggle:active { |
|
1335 color: #fff; |
|
1336 } |
|
1337 .block-editor-block-navigation-leaf .block-editor-block-navigation-block-select-button__anchor { |
|
1338 background: rgba(0, 0, 0, 0.1); |
|
1339 border-radius: 2px; |
|
1340 display: inline-block; |
|
1341 padding: 2px 6px; |
|
1342 margin: 0 8px; |
|
1343 max-width: 120px; |
|
1344 overflow: hidden; |
|
1345 text-overflow: ellipsis; |
|
1346 } |
|
1347 .block-editor-block-navigation-leaf.is-selected .block-editor-block-navigation-block-select-button__anchor { |
|
1348 background: rgba(0, 0, 0, 0.3); |
|
1349 } |
|
1350 |
|
1351 .block-editor-block-navigation-block-slot__description, |
|
1352 .block-editor-block-navigation-block-select-button__description, |
|
1353 .block-editor-block-navigation-appender__description { |
|
1354 display: none; |
|
1355 } |
|
1356 |
|
1357 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-block__contents-container, |
|
1358 .block-editor-block-navigation-block__contents-cell .block-editor-block-navigation-appender__container, |
|
1359 .block-editor-block-navigation-appender__cell .block-editor-block-navigation-block__contents-container, |
|
1360 .block-editor-block-navigation-appender__cell .block-editor-block-navigation-appender__container { |
|
1361 display: flex; |
|
1362 } |
|
1363 |
|
1364 .block-editor-block-navigation-leaf[aria-level] .block-editor-block-icon { |
|
1365 margin-right: 224px; |
|
1366 } |
|
1367 |
|
1368 .block-editor-block-navigation-leaf[aria-level="1"] .block-editor-block-icon { |
|
1369 margin-right: 0px; |
|
1370 } |
|
1371 |
|
1372 .block-editor-block-navigation-leaf[aria-level="2"] .block-editor-block-icon { |
|
1373 margin-right: 28px; |
|
1374 } |
|
1375 |
|
1376 .block-editor-block-navigation-leaf[aria-level="3"] .block-editor-block-icon { |
|
1377 margin-right: 56px; |
|
1378 } |
|
1379 |
|
1380 .block-editor-block-navigation-leaf[aria-level="4"] .block-editor-block-icon { |
|
1381 margin-right: 84px; |
|
1382 } |
|
1383 |
|
1384 .block-editor-block-navigation-leaf[aria-level="5"] .block-editor-block-icon { |
|
1385 margin-right: 112px; |
|
1386 } |
|
1387 |
|
1388 .block-editor-block-navigation-leaf[aria-level="6"] .block-editor-block-icon { |
|
1389 margin-right: 140px; |
|
1390 } |
|
1391 |
|
1392 .block-editor-block-navigation-leaf[aria-level="7"] .block-editor-block-icon { |
|
1393 margin-right: 168px; |
|
1394 } |
|
1395 |
|
1396 .block-editor-block-navigation-leaf[aria-level="8"] .block-editor-block-icon { |
|
1397 margin-right: 196px; |
|
1398 } |
|
1399 |
|
1400 .block-editor-block-navigation-leaf[aria-level="9"] .block-editor-block-icon { |
|
1401 margin-right: 224px; |
|
1402 } |
|
1403 |
|
1404 .block-editor-block-parent-selector { |
1232 .block-editor-block-parent-selector { |
1405 background: #fff; |
1233 background: #fff; |
1406 border-radius: 2px; |
1234 border-radius: 2px; |
1407 } |
1235 } |
1408 .block-editor-block-parent-selector .block-editor-block-parent-selector__button { |
1236 .block-editor-block-parent-selector .block-editor-block-parent-selector__button { |
1467 .block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-drop-zone, |
1295 .block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-drop-zone, |
1468 .block-editor-block-preview__container .block-editor-block-preview__content .reusable-block-indicator, |
1296 .block-editor-block-preview__container .block-editor-block-preview__content .reusable-block-indicator, |
1469 .block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender { |
1297 .block-editor-block-preview__container .block-editor-block-preview__content .block-list-appender { |
1470 display: none; |
1298 display: none; |
1471 } |
1299 } |
1472 .block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container { |
1300 |
1473 padding-right: 0; |
1301 .block-editor-block-preview__content-iframe .block-list-appender { |
1474 padding-left: 0; |
1302 display: none; |
1475 } |
1303 } |
1476 .block-editor-block-preview__container .block-editor-block-preview__content .block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] { |
1304 |
1477 margin-right: 0; |
1305 .block-editor-block-preview__live-content * { |
1478 margin-left: 0; |
1306 pointer-events: none; |
|
1307 } |
|
1308 .block-editor-block-preview__live-content .block-list-appender { |
|
1309 display: none; |
|
1310 } |
|
1311 .block-editor-block-preview__live-content .components-button:disabled { |
|
1312 opacity: initial; |
|
1313 } |
|
1314 .block-editor-block-preview__live-content .components-placeholder, |
|
1315 .block-editor-block-preview__live-content .block-editor-block-list__block[data-empty=true] { |
|
1316 display: none; |
1479 } |
1317 } |
1480 |
1318 |
1481 .block-editor-block-settings-menu__popover .components-dropdown-menu__menu { |
1319 .block-editor-block-settings-menu__popover .components-dropdown-menu__menu { |
1482 padding: 0; |
1320 padding: 0; |
1483 } |
1321 } |
1484 |
1322 |
1485 .block-editor-block-styles { |
1323 .block-editor-block-styles + .default-style-picker__default-switcher { |
|
1324 margin-top: 16px; |
|
1325 } |
|
1326 |
|
1327 .block-editor-block-styles__preview-panel { |
|
1328 display: none; |
|
1329 position: absolute; |
|
1330 left: 16px; |
|
1331 right: auto; |
|
1332 z-index: 90; |
|
1333 } |
|
1334 @media (min-width: 782px) { |
|
1335 .block-editor-block-styles__preview-panel { |
|
1336 display: block; |
|
1337 } |
|
1338 } |
|
1339 .block-editor-block-styles__preview-panel .block-editor-inserter__preview-container { |
|
1340 right: auto; |
|
1341 left: auto; |
|
1342 top: auto; |
|
1343 position: static; |
|
1344 } |
|
1345 .block-editor-block-styles__preview-panel .block-editor-block-card__title.block-editor-block-card__title { |
|
1346 margin: 0; |
|
1347 } |
|
1348 .block-editor-block-styles__preview-panel .block-editor-block-icon { |
|
1349 display: none; |
|
1350 } |
|
1351 |
|
1352 .block-editor-block-styles__variants { |
1486 display: flex; |
1353 display: flex; |
1487 flex-wrap: wrap; |
1354 flex-wrap: wrap; |
1488 justify-content: space-between; |
1355 justify-content: space-between; |
1489 } |
1356 gap: 8px; |
1490 |
1357 } |
1491 .block-editor-block-styles__item { |
1358 .block-editor-block-styles__variants .block-editor-block-styles__item { |
|
1359 color: #2f2f2f; |
|
1360 box-shadow: inset 0 0 0 1px #ccc; |
|
1361 display: inline-block; |
1492 width: calc(50% - 4px); |
1362 width: calc(50% - 4px); |
1493 margin: 4px 0; |
1363 } |
1494 flex-shrink: 0; |
1364 .block-editor-block-styles__variants .block-editor-block-styles__item:focus, .block-editor-block-styles__variants .block-editor-block-styles__item:hover { |
1495 cursor: pointer; |
1365 color: var(--wp-admin-theme-color); |
1496 overflow: hidden; |
1366 box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color); |
1497 border-radius: 2px; |
1367 } |
1498 padding: 6px; |
1368 .block-editor-block-styles__variants .block-editor-block-styles__item.is-active, .block-editor-block-styles__variants .block-editor-block-styles__item.is-active:hover { |
1499 display: flex; |
1369 background-color: #2f2f2f; |
1500 flex-direction: column; |
1370 box-shadow: none; |
1501 } |
1371 } |
1502 .block-editor-block-styles__item:focus { |
1372 .block-editor-block-styles__variants .block-editor-block-styles__item.is-active .block-editor-block-styles__item-text, .block-editor-block-styles__variants .block-editor-block-styles__item.is-active:hover .block-editor-block-styles__item-text { |
1503 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
1373 color: #fff; |
1504 outline: 2px solid transparent; |
1374 } |
1505 } |
1375 .block-editor-block-styles__variants .block-editor-block-styles__item.is-active:focus { |
1506 .block-editor-block-styles__item:hover .block-editor-block-styles__item-preview { |
1376 box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px var(--wp-admin-theme-color); |
1507 border-color: var(--wp-admin-theme-color); |
1377 } |
1508 } |
1378 .block-editor-block-styles__variants .block-editor-block-styles__item-text { |
1509 .block-editor-block-styles__item.is-active .block-editor-block-styles__item-label { |
1379 word-break: break-all; |
1510 font-weight: bold; |
1380 white-space: normal; |
1511 } |
1381 text-align: start; |
1512 .block-editor-block-styles__item.is-active .block-editor-block-styles__item-preview { |
1382 text-align-last: center; |
1513 margin: 0; |
1383 } |
1514 border: 2px solid #1e1e1e; |
1384 |
1515 } |
1385 .block-editor-block-styles__block-preview-container, |
1516 .block-editor-block-styles__item .block-editor-block-preview__container { |
1386 .block-editor-block-styles__block-preview-container * { |
1517 cursor: inherit; |
1387 box-sizing: border-box !important; |
1518 } |
|
1519 |
|
1520 .block-editor-block-styles__item-preview { |
|
1521 outline: 1px solid transparent; |
|
1522 padding: 0; |
|
1523 margin: 2px; |
|
1524 border-radius: 2px; |
|
1525 display: flex; |
|
1526 overflow: hidden; |
|
1527 background: #fff; |
|
1528 align-items: center; |
|
1529 flex-grow: 1; |
|
1530 min-height: 80px; |
|
1531 max-height: 160px; |
|
1532 } |
|
1533 |
|
1534 .block-editor-block-switcher__styles__menugroup { |
|
1535 position: relative; |
|
1536 } |
|
1537 |
|
1538 .block-editor-block-styles__item-label { |
|
1539 text-align: center; |
|
1540 padding: 4px 0; |
|
1541 } |
1388 } |
1542 |
1389 |
1543 .block-editor-block-switcher { |
1390 .block-editor-block-switcher { |
1544 position: relative; |
1391 position: relative; |
|
1392 padding: 0 6px; |
|
1393 } |
|
1394 .block-editor-block-switcher .components-button.components-dropdown-menu__toggle.has-icon.has-icon { |
|
1395 min-width: 36px; |
1545 } |
1396 } |
1546 |
1397 |
1547 .block-editor-block-switcher__no-switcher-icon, |
1398 .block-editor-block-switcher__no-switcher-icon, |
1548 .block-editor-block-switcher__toggle { |
1399 .block-editor-block-switcher__toggle { |
1549 position: relative; |
1400 position: relative; |
1977 box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color); |
1887 box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color); |
1978 } |
1888 } |
1979 .block-editor-button-block-appender:active { |
1889 .block-editor-button-block-appender:active { |
1980 color: #000; |
1890 color: #000; |
1981 } |
1891 } |
1982 .block-editor-button-block-appender.block-list-appender__toggle { |
|
1983 display: flex; |
|
1984 flex-direction: row; |
|
1985 box-shadow: none; |
|
1986 height: 24px; |
|
1987 width: 24px; |
|
1988 } |
|
1989 .block-editor-button-block-appender.block-list-appender__toggle > svg { |
|
1990 width: 24px; |
|
1991 background-color: #1e1e1e; |
|
1992 color: #fff; |
|
1993 border-radius: 2px; |
|
1994 flex: 1 0 auto; |
|
1995 } |
|
1996 |
1892 |
1997 .block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator { |
1893 .block-editor-color-gradient-control .block-editor-color-gradient-control__color-indicator { |
1998 margin-bottom: 12px; |
1894 margin-bottom: 12px; |
1999 } |
1895 } |
2000 .block-editor-color-gradient-control .block-editor-color-gradient-control__button-tabs { |
1896 |
2001 display: block; |
1897 .block-editor-color-gradient-control__fieldset { |
2002 margin-bottom: 12px; |
1898 min-width: 0; |
2003 } |
1899 } |
2004 |
1900 |
2005 .block-editor-panel-color-gradient-settings .component-color-indicator { |
1901 .block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title { |
2006 vertical-align: text-bottom; |
1902 display: flex; |
2007 } |
1903 gap: 8px; |
2008 .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { |
1904 } |
2009 display: inline-block; |
1905 .block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { |
|
1906 width: 12px; |
|
1907 height: 12px; |
|
1908 align-self: center; |
|
1909 } |
|
1910 .block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator:first-child { |
|
1911 margin-right: 12px; |
2010 } |
1912 } |
2011 .block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { |
1913 .block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator { |
2012 display: none; |
1914 display: none; |
2013 } |
1915 } |
2014 @media screen and (min-width: 782px) { |
1916 @media screen and (min-width: 782px) { |
2015 .block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches { |
1917 .block-editor-panel-color-gradient-settings .components-circular-option-picker__swatches { |
2016 margin-left: 0; |
1918 display: grid; |
2017 } |
1919 grid-template-columns: repeat(6, 28px); |
2018 .block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper { |
1920 justify-content: space-between; |
2019 margin-left: calc((100% - (28px * 6)) / 5); |
1921 } |
2020 } |
1922 } |
2021 .block-editor-panel-color-gradient-settings .components-circular-option-picker__option-wrapper:nth-child(6n+6) { |
1923 .block-editor-block-inspector .block-editor-panel-color-gradient-settings .components-base-control { |
2022 margin-left: 0; |
1924 margin-bottom: inherit; |
2023 } |
1925 } |
|
1926 .block-editor-panel-color-gradient-settings .block-editor-panel-color-gradient-settings__dropdown { |
|
1927 display: block; |
|
1928 } |
|
1929 |
|
1930 .block-editor-panel-color-gradient-settings__dropdown { |
|
1931 width: 100%; |
|
1932 } |
|
1933 |
|
1934 .block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content > div { |
|
1935 width: 280px; |
|
1936 } |
|
1937 |
|
1938 @media (min-width: 782px) { |
|
1939 .block-editor-panel-color-gradient-settings__dropdown-content .components-popover__content { |
|
1940 margin-left: 156px !important; |
|
1941 } |
|
1942 .block-editor-panel-color-gradient-settings__dropdown-content.is-from-top .components-popover__content { |
|
1943 margin-top: -60px !important; |
|
1944 } |
|
1945 .block-editor-panel-color-gradient-settings__dropdown-content.is-from-bottom .components-popover__content { |
|
1946 margin-bottom: -60px !important; |
|
1947 } |
|
1948 } |
|
1949 .block-editor-panel-color-gradient-settings__dropdown:last-child > div { |
|
1950 border-bottom-width: 0; |
|
1951 } |
|
1952 |
|
1953 .block-editor-panel-color-gradient-settings__item { |
|
1954 padding-top: 12px !important; |
|
1955 padding-bottom: 12px !important; |
|
1956 } |
|
1957 .block-editor-panel-color-gradient-settings__item .block-editor-panel-color-gradient-settings__color-indicator { |
|
1958 background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); |
|
1959 } |
|
1960 .block-editor-panel-color-gradient-settings__item.is-open { |
|
1961 background: #f0f0f0; |
|
1962 color: var(--wp-admin-theme-color); |
2024 } |
1963 } |
2025 |
1964 |
2026 .block-editor-contrast-checker > .components-notice { |
1965 .block-editor-contrast-checker > .components-notice { |
2027 margin: 0; |
1966 margin: 0; |
2028 } |
1967 } |
2029 |
1968 |
|
1969 /** |
|
1970 * Default block appender. |
|
1971 * |
|
1972 * This component shows up in 3 places: |
|
1973 * - the black plus that sits at the end of the canvas, if the last block isn't a paragraph |
|
1974 * - on the right, inside empty paragraphs |
|
1975 * - absolute positioned and blue inside nesting containers |
|
1976 */ |
2030 .block-editor-default-block-appender { |
1977 .block-editor-default-block-appender { |
2031 clear: both; |
1978 clear: both; |
2032 margin-right: auto; |
1979 margin-right: auto; |
2033 margin-left: auto; |
1980 margin-left: auto; |
2034 position: relative; |
1981 position: relative; |
2041 } |
1988 } |
2042 .block-editor-default-block-appender .components-drop-zone__content-icon { |
1989 .block-editor-default-block-appender .components-drop-zone__content-icon { |
2043 display: none; |
1990 display: none; |
2044 } |
1991 } |
2045 |
1992 |
2046 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter, |
1993 .block-editor-default-block-appender .block-editor-inserter, |
2047 .block-editor-default-block-appender .block-editor-inserter { |
1994 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter { |
2048 position: absolute; |
1995 position: absolute; |
2049 top: 0; |
1996 top: 0; |
2050 height: 32px; |
1997 left: 0; |
2051 } |
1998 line-height: 0; |
2052 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle, |
1999 } |
2053 .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle { |
2000 .block-editor-default-block-appender .block-editor-inserter:disabled, |
2054 margin-left: 0; |
2001 .block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter:disabled { |
2055 } |
|
2056 |
|
2057 .block-editor-block-list__empty-block-inserter, |
|
2058 .block-editor-default-block-appender .block-editor-inserter { |
|
2059 left: 8px; |
|
2060 } |
|
2061 @media (min-width: 600px) { |
|
2062 .block-editor-block-list__empty-block-inserter, |
|
2063 .block-editor-default-block-appender .block-editor-inserter { |
|
2064 display: flex; |
|
2065 height: 100%; |
|
2066 } |
|
2067 } |
|
2068 .block-editor-block-list__empty-block-inserter:disabled, |
|
2069 .block-editor-default-block-appender .block-editor-inserter:disabled { |
|
2070 display: none; |
2002 display: none; |
2071 } |
2003 } |
2072 |
2004 |
2073 .block-editor-duotone-control__popover .components-popover__content { |
2005 /** |
2074 border: 1px solid #1e1e1e; |
2006 * Fixed position appender. |
2075 min-width: 214px; |
2007 * These styles apply to all in-canvas inserters that exist inside nesting containers. |
2076 } |
2008 */ |
2077 .block-editor-duotone-control__popover .components-circular-option-picker { |
2009 .block-editor-block-list__block .block-list-appender { |
2078 padding: 12px; |
2010 position: absolute; |
|
2011 list-style: none; |
|
2012 padding: 0; |
|
2013 z-index: 2; |
|
2014 bottom: 0; |
|
2015 left: 0; |
|
2016 } |
|
2017 .block-editor-block-list__block .block-list-appender.block-list-appender { |
|
2018 margin: 0; |
|
2019 line-height: 0; |
|
2020 } |
|
2021 .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender { |
|
2022 height: 24px; |
|
2023 } |
|
2024 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon, |
|
2025 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle { |
|
2026 flex-direction: row; |
|
2027 box-shadow: none; |
|
2028 height: 24px; |
|
2029 width: 24px; |
|
2030 display: none; |
|
2031 padding: 0 !important; |
|
2032 background: #1e1e1e; |
|
2033 color: #fff; |
|
2034 } |
|
2035 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon:hover, |
|
2036 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle:hover { |
|
2037 color: #fff; |
|
2038 background: var(--wp-admin-theme-color); |
|
2039 } |
|
2040 .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender__content { |
|
2041 display: none; |
|
2042 } |
|
2043 .block-editor-block-list__block .block-list-appender:only-child { |
|
2044 position: relative; |
|
2045 left: auto; |
|
2046 align-self: center; |
|
2047 list-style: none; |
|
2048 line-height: inherit; |
|
2049 } |
|
2050 .block-editor-block-list__block .block-list-appender:only-child .block-editor-default-block-appender__content { |
|
2051 display: block; |
|
2052 } |
|
2053 |
|
2054 .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon, |
|
2055 .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-list-appender__toggle, |
|
2056 .block-editor-block-list__block.is-selected > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon, |
|
2057 .block-editor-block-list__block.is-selected > .block-list-appender .block-list-appender__toggle { |
|
2058 display: flex; |
|
2059 } |
|
2060 |
|
2061 .block-editor-default-block-appender__content { |
|
2062 cursor: text; |
|
2063 } |
|
2064 |
|
2065 .block-editor-date-format-picker { |
|
2066 margin-bottom: 16px; |
|
2067 } |
|
2068 |
|
2069 .block-editor-date-format-picker__default-format-toggle-control__hint { |
|
2070 color: #757575; |
|
2071 display: block; |
|
2072 } |
|
2073 |
|
2074 .block-editor-date-format-picker__custom-format-select-control.components-base-control { |
|
2075 margin-bottom: 0; |
|
2076 } |
|
2077 .block-editor-date-format-picker__custom-format-select-control .components-custom-select-control__button { |
|
2078 width: 100%; |
|
2079 } |
|
2080 |
|
2081 .block-editor-date-format-picker__custom-format-select-control__custom-option { |
|
2082 border-top: 1px solid #ddd; |
|
2083 } |
|
2084 .block-editor-date-format-picker__custom-format-select-control__custom-option.has-hint { |
|
2085 grid-template-columns: auto 30px; |
|
2086 } |
|
2087 .block-editor-date-format-picker__custom-format-select-control__custom-option .components-custom-select-control__item-hint { |
|
2088 grid-row: 2; |
|
2089 text-align: right; |
|
2090 } |
|
2091 |
|
2092 .block-editor-duotone-control__popover > .components-popover__content > div { |
|
2093 padding: 16px; |
|
2094 width: 280px; |
2079 } |
2095 } |
2080 .block-editor-duotone-control__popover .components-menu-group__label { |
2096 .block-editor-duotone-control__popover .components-menu-group__label { |
2081 padding: 12px 12px 0 12px; |
2097 padding: 0; |
2082 width: 100%; |
2098 } |
2083 box-sizing: border-box; |
2099 .block-editor-duotone-control__popover .components-custom-gradient-picker__gradient-bar { |
2084 } |
2100 margin: 16px 0 12px; |
2085 |
2101 } |
2086 .block-editor-duotone-control__popover > .components-popover__content { |
2102 .block-editor-duotone-control__popover .components-circular-option-picker__swatches { |
2087 width: 334px; |
2103 display: grid; |
|
2104 grid-template-columns: repeat(6, 28px); |
|
2105 gap: 12px; |
|
2106 justify-content: space-between; |
|
2107 } |
|
2108 |
|
2109 .block-editor-duotone-control__description { |
|
2110 margin: 16px 0; |
|
2111 font-size: 12px; |
2088 } |
2112 } |
2089 |
2113 |
2090 .block-editor-duotone-control__popover:not([data-y-axis=middle][data-x-axis=right]) > .components-popover__content { |
2114 .block-editor-duotone-control__popover:not([data-y-axis=middle][data-x-axis=right]) > .components-popover__content { |
2091 margin-right: -14px; |
2115 margin-right: -14px; |
2092 } |
2116 } |
2093 |
2117 |
2094 .components-font-appearance-control__select { |
2118 .components-font-appearance-control { |
2095 margin-bottom: 24px; |
2119 margin-bottom: 24px; |
2096 } |
2120 } |
2097 .components-font-appearance-control__select ul li { |
2121 .components-font-appearance-control ul li { |
2098 color: #1e1e1e; |
2122 color: #1e1e1e; |
2099 text-transform: capitalize; |
2123 text-transform: capitalize; |
2100 } |
2124 } |
2101 |
2125 |
|
2126 .block-editor-image-size-control { |
|
2127 margin-bottom: 1em; |
|
2128 } |
|
2129 .block-editor-image-size-control .block-editor-image-size-control__row { |
|
2130 display: flex; |
|
2131 justify-content: space-between; |
|
2132 } |
|
2133 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width, |
|
2134 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { |
|
2135 margin-bottom: 0.5em; |
|
2136 } |
|
2137 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input, |
|
2138 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input { |
|
2139 line-height: 1.25; |
|
2140 } |
|
2141 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width { |
|
2142 margin-left: 5px; |
|
2143 } |
|
2144 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { |
|
2145 margin-right: 5px; |
|
2146 } |
|
2147 |
|
2148 .block-editor-block-list__layout.has-overlay::after { |
|
2149 content: ""; |
|
2150 position: absolute; |
|
2151 top: 0; |
|
2152 left: 0; |
|
2153 bottom: 0; |
|
2154 right: 0; |
|
2155 z-index: 60; |
|
2156 } |
|
2157 |
|
2158 .block-editor-block-types-list__list-item { |
|
2159 display: block; |
|
2160 width: 33.33%; |
|
2161 padding: 0; |
|
2162 margin: 0; |
|
2163 } |
|
2164 |
|
2165 .components-button.block-editor-block-types-list__item { |
|
2166 display: flex; |
|
2167 flex-direction: column; |
|
2168 width: 100%; |
|
2169 font-size: 13px; |
|
2170 color: #1e1e1e; |
|
2171 padding: 8px; |
|
2172 align-items: stretch; |
|
2173 justify-content: center; |
|
2174 cursor: pointer; |
|
2175 background: transparent; |
|
2176 word-break: break-word; |
|
2177 border-radius: 2px; |
|
2178 transition: all 0.05s ease-in-out; |
|
2179 position: relative; |
|
2180 height: auto; |
|
2181 } |
|
2182 @media (prefers-reduced-motion: reduce) { |
|
2183 .components-button.block-editor-block-types-list__item { |
|
2184 transition-duration: 0s; |
|
2185 transition-delay: 0s; |
|
2186 } |
|
2187 } |
|
2188 .components-button.block-editor-block-types-list__item:disabled { |
|
2189 opacity: 0.6; |
|
2190 cursor: default; |
|
2191 } |
|
2192 .components-button.block-editor-block-types-list__item:not(:disabled):hover { |
|
2193 color: var(--wp-admin-theme-color) !important; |
|
2194 } |
|
2195 .components-button.block-editor-block-types-list__item:not(:disabled):focus { |
|
2196 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
2197 } |
|
2198 .components-button.block-editor-block-types-list__item:not(:disabled).is-active { |
|
2199 color: #fff; |
|
2200 background: #1e1e1e; |
|
2201 outline: 2px solid transparent; |
|
2202 outline-offset: -2px; |
|
2203 } |
|
2204 |
|
2205 .block-editor-block-types-list__item-icon { |
|
2206 padding: 12px 20px; |
|
2207 border-radius: 2px; |
|
2208 color: #1e1e1e; |
|
2209 transition: all 0.05s ease-in-out; |
|
2210 } |
|
2211 @media (prefers-reduced-motion: reduce) { |
|
2212 .block-editor-block-types-list__item-icon { |
|
2213 transition-duration: 0s; |
|
2214 transition-delay: 0s; |
|
2215 } |
|
2216 } |
|
2217 .block-editor-block-types-list__item-icon .block-editor-block-icon { |
|
2218 margin-right: auto; |
|
2219 margin-left: auto; |
|
2220 } |
|
2221 .block-editor-block-types-list__item-icon svg { |
|
2222 transition: all 0.15s ease-out; |
|
2223 } |
|
2224 @media (prefers-reduced-motion: reduce) { |
|
2225 .block-editor-block-types-list__item-icon svg { |
|
2226 transition-duration: 0s; |
|
2227 transition-delay: 0s; |
|
2228 } |
|
2229 } |
|
2230 .block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon { |
|
2231 cursor: grab; |
|
2232 } |
|
2233 |
|
2234 .block-editor-block-types-list__item-title { |
|
2235 padding: 4px 2px 8px; |
|
2236 font-size: 12px; |
|
2237 } |
|
2238 |
2102 .items-justified-left { |
2239 .items-justified-left { |
2103 justify-content: flex-start; |
2240 justify-content: flex-start; |
2104 } |
2241 } |
2105 |
2242 |
2106 .items-justified-center { |
2243 .items-justified-center { |
2142 line-height: normal; |
2310 line-height: normal; |
2143 width: calc(100% - 32px); |
2311 width: calc(100% - 32px); |
2144 display: block; |
2312 display: block; |
2145 padding: 11px 16px; |
2313 padding: 11px 16px; |
2146 padding-left: 36px; |
2314 padding-left: 36px; |
2147 margin: 16px; |
2315 margin: 0; |
2148 position: relative; |
2316 position: relative; |
2149 border: 1px solid #ddd; |
2317 border: 1px solid #ddd; |
2150 border-radius: 2px; |
2318 border-radius: 2px; |
2151 } |
2319 } |
2152 @media (prefers-reduced-motion: reduce) { |
2320 @media (prefers-reduced-motion: reduce) { |
2153 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text] { |
2321 .block-editor-link-control__field input[type=text], .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input { |
2154 transition-duration: 0s; |
2322 transition-duration: 0s; |
2155 transition-delay: 0s; |
2323 transition-delay: 0s; |
2156 } |
2324 } |
2157 } |
2325 } |
2158 @media (min-width: 600px) { |
2326 @media (min-width: 600px) { |
2159 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text] { |
2327 .block-editor-link-control__field input[type=text], .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input { |
2160 font-size: 13px; |
2328 font-size: 13px; |
2161 /* Override core line-height. To be reviewed. */ |
2329 /* Override core line-height. To be reviewed. */ |
2162 line-height: normal; |
2330 line-height: normal; |
2163 } |
2331 } |
2164 } |
2332 } |
2165 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus { |
2333 .block-editor-link-control__field input[type=text]:focus, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input:focus { |
2166 border-color: var(--wp-admin-theme-color); |
2334 border-color: var(--wp-admin-theme-color); |
2167 box-shadow: 0 0 0 1px var(--wp-admin-theme-color); |
2335 box-shadow: 0 0 0 1px var(--wp-admin-theme-color); |
2168 outline: 2px solid transparent; |
2336 outline: 2px solid transparent; |
2169 } |
2337 } |
2170 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-webkit-input-placeholder { |
2338 .block-editor-link-control__field input[type=text]::-webkit-input-placeholder, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input::-webkit-input-placeholder { |
2171 color: rgba(30, 30, 30, 0.62); |
2339 color: rgba(30, 30, 30, 0.62); |
2172 } |
2340 } |
2173 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]::-moz-placeholder { |
2341 .block-editor-link-control__field input[type=text]::-moz-placeholder, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input::-moz-placeholder { |
2174 opacity: 1; |
2342 opacity: 1; |
2175 color: rgba(30, 30, 30, 0.62); |
2343 color: rgba(30, 30, 30, 0.62); |
2176 } |
2344 } |
2177 .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:-ms-input-placeholder { |
2345 .block-editor-link-control__field input[type=text]:-ms-input-placeholder, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input:-ms-input-placeholder { |
2178 color: rgba(30, 30, 30, 0.62); |
2346 color: rgba(30, 30, 30, 0.62); |
2179 } |
|
2180 .block-editor-link-control .block-editor-link-control__search-input .components-base-control__field { |
|
2181 margin-bottom: 0; |
|
2182 } |
2347 } |
2183 |
2348 |
2184 .block-editor-link-control__search-error { |
2349 .block-editor-link-control__search-error { |
2185 margin: -8px 16px 16px; |
2350 margin: -8px 16px 16px; |
2186 } |
2351 } |
2386 bottom: auto; |
2689 bottom: auto; |
2387 /* |
2690 /* |
2388 * Position spinner to the left of the actions. |
2691 * Position spinner to the left of the actions. |
2389 * |
2692 * |
2390 * Compensate for: |
2693 * Compensate for: |
2391 * - Input margin ($grid-unit-20) |
2694 * - Input padding right ($button-size) |
2392 * - Border (1px) |
|
2393 * - Vertically, for the difference in height between the input (40px) |
|
2394 * and the spinner. |
|
2395 * - Horizontally, adjust for the width occupied by the icon buttons, |
|
2396 * then artificially create spacing that mimics as if the spinner |
|
2397 * were center-padded to the same width as an icon button. |
|
2398 */ |
2695 */ |
2399 top: 28px; |
2696 top: calc(50% - 16px / 2); |
2400 left: 62px; |
2697 left: 36px; |
2401 } |
2698 } |
2402 |
2699 |
2403 .block-editor-link-control__search-item-action { |
2700 .block-editor-link-control__search-item-action { |
2404 margin-right: auto; |
2701 margin-right: auto; |
2405 flex-shrink: 0; |
2702 flex-shrink: 0; |
2406 } |
2703 } |
2407 |
2704 |
2408 .block-editor-line-height-control { |
2705 .block-editor-list-view-tree { |
2409 margin-bottom: 24px; |
2706 width: 100%; |
2410 } |
2707 border-collapse: collapse; |
2411 .block-editor-line-height-control input { |
2708 padding: 0; |
2412 display: block; |
2709 margin: 0; |
2413 max-width: 60px; |
2710 } |
2414 } |
2711 .components-modal__content .block-editor-list-view-tree { |
2415 |
2712 margin: -12px -6px 0; |
2416 .block-editor-image-size-control { |
2713 width: calc(100% + 12px); |
2417 margin-bottom: 1em; |
2714 } |
2418 } |
2715 |
2419 .block-editor-image-size-control .block-editor-image-size-control__row { |
2716 .block-editor-list-view-leaf { |
2420 display: flex; |
2717 position: relative; |
2421 justify-content: space-between; |
2718 } |
2422 } |
2719 .block-editor-list-view-leaf.is-selected td { |
2423 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width, |
2720 background: var(--wp-admin-theme-color); |
2424 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { |
2721 } |
2425 margin-bottom: 0.5em; |
2722 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents, .block-editor-list-view-leaf.is-selected .components-button.has-icon { |
2426 } |
2723 color: #fff; |
2427 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input, |
2724 } |
2428 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input { |
2725 .is-dragging-components-draggable .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents { |
2429 line-height: 1.25; |
2726 background: none; |
2430 } |
2727 color: #1e1e1e; |
2431 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width { |
2728 } |
2432 margin-left: 5px; |
2729 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents:focus::after { |
2433 } |
2730 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
2434 .block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height { |
2731 } |
2435 margin-right: 5px; |
2732 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block__menu:focus { |
2436 } |
2733 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff; |
2437 |
2734 } |
2438 .block-editor-block-list__layout.has-overlay::after { |
2735 .block-editor-list-view-leaf.is-dragging { |
|
2736 display: none; |
|
2737 } |
|
2738 .block-editor-list-view-leaf.is-first-selected td:first-child { |
|
2739 border-top-right-radius: 2px; |
|
2740 } |
|
2741 .block-editor-list-view-leaf.is-first-selected td:last-child { |
|
2742 border-top-left-radius: 2px; |
|
2743 } |
|
2744 .block-editor-list-view-leaf.is-last-selected td:first-child { |
|
2745 border-bottom-right-radius: 2px; |
|
2746 } |
|
2747 .block-editor-list-view-leaf.is-last-selected td:last-child { |
|
2748 border-bottom-left-radius: 2px; |
|
2749 } |
|
2750 .block-editor-list-view-leaf.is-branch-selected:not(.is-selected) { |
|
2751 background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), linear-gradient(var(--wp-admin-theme-color), var(--wp-admin-theme-color)); |
|
2752 } |
|
2753 .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:first-child { |
|
2754 border-top-right-radius: 2px; |
|
2755 } |
|
2756 .block-editor-list-view-leaf.is-branch-selected.is-first-selected td:last-child { |
|
2757 border-top-left-radius: 2px; |
|
2758 } |
|
2759 .block-editor-list-view-leaf[aria-expanded=false].is-branch-selected.is-first-selected td:first-child { |
|
2760 border-top-right-radius: 2px; |
|
2761 } |
|
2762 .block-editor-list-view-leaf[aria-expanded=false].is-branch-selected.is-first-selected td:last-child { |
|
2763 border-top-left-radius: 2px; |
|
2764 } |
|
2765 .block-editor-list-view-leaf[aria-expanded=false].is-branch-selected.is-last-selected td:first-child { |
|
2766 border-bottom-right-radius: 2px; |
|
2767 } |
|
2768 .block-editor-list-view-leaf[aria-expanded=false].is-branch-selected.is-last-selected td:last-child { |
|
2769 border-bottom-left-radius: 2px; |
|
2770 } |
|
2771 .block-editor-list-view-leaf.is-branch-selected:not(.is-selected) td { |
|
2772 border-radius: 0; |
|
2773 } |
|
2774 .block-editor-list-view-leaf .block-editor-list-view-block-contents { |
|
2775 display: flex; |
|
2776 align-items: center; |
|
2777 width: 100%; |
|
2778 height: auto; |
|
2779 padding: 6px 0 6px 12px; |
|
2780 text-align: right; |
|
2781 color: #1e1e1e; |
|
2782 border-radius: 2px; |
|
2783 position: relative; |
|
2784 white-space: nowrap; |
|
2785 } |
|
2786 .block-editor-list-view-leaf .block-editor-list-view-block-contents.is-dropping-before::before { |
2439 content: ""; |
2787 content: ""; |
2440 position: absolute; |
2788 position: absolute; |
2441 top: -14px; |
2789 pointer-events: none; |
2442 left: -14px; |
2790 transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear; |
2443 bottom: -14px; |
2791 top: -2px; |
2444 right: -14px; |
|
2445 z-index: 60; |
|
2446 } |
|
2447 |
|
2448 [data-align=full] .has-overlay::after { |
|
2449 left: 0; |
2792 left: 0; |
2450 right: 0; |
2793 right: 0; |
2451 } |
2794 border-top: 4px solid var(--wp-admin-theme-color); |
2452 |
2795 } |
2453 .block-editor-block-types-list__list-item { |
2796 .components-modal__content .block-editor-list-view-leaf .block-editor-list-view-block-contents { |
|
2797 padding-right: 0; |
|
2798 padding-left: 0; |
|
2799 } |
|
2800 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus { |
|
2801 box-shadow: none; |
|
2802 } |
|
2803 .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after { |
|
2804 content: ""; |
|
2805 position: absolute; |
|
2806 top: 0; |
|
2807 left: -29px; |
|
2808 bottom: 0; |
|
2809 right: 0; |
|
2810 border-radius: inherit; |
|
2811 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
2812 z-index: 2; |
|
2813 pointer-events: none; |
|
2814 } |
|
2815 .is-dragging-components-draggable .block-editor-list-view-leaf .block-editor-list-view-block-contents:focus::after { |
|
2816 box-shadow: none; |
|
2817 } |
|
2818 .block-editor-list-view-leaf.has-single-cell .block-editor-list-view-block-contents:focus::after { |
|
2819 left: 0; |
|
2820 } |
|
2821 .block-editor-list-view-leaf .block-editor-list-view-block__menu:focus { |
|
2822 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
2823 z-index: 1; |
|
2824 } |
|
2825 .is-dragging-components-draggable .block-editor-list-view-leaf .block-editor-list-view-block__menu:focus { |
|
2826 box-shadow: none; |
|
2827 } |
|
2828 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents { |
|
2829 opacity: 1; |
|
2830 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
2831 animation-fill-mode: forwards; |
|
2832 } |
|
2833 @media (prefers-reduced-motion: reduce) { |
|
2834 .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents { |
|
2835 animation-duration: 1ms; |
|
2836 animation-delay: 0s; |
|
2837 } |
|
2838 } |
|
2839 .block-editor-list-view-leaf .block-editor-block-icon { |
|
2840 align-self: flex-start; |
|
2841 margin-left: 8px; |
|
2842 width: 24px; |
|
2843 } |
|
2844 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell, |
|
2845 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell, |
|
2846 .block-editor-list-view-leaf .block-editor-list-view-block__contents-cell { |
|
2847 padding-top: 0; |
|
2848 padding-bottom: 0; |
|
2849 } |
|
2850 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell, |
|
2851 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell { |
|
2852 line-height: 0; |
|
2853 width: 36px; |
|
2854 vertical-align: middle; |
|
2855 } |
|
2856 @media (prefers-reduced-motion: reduce) { |
|
2857 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell, |
|
2858 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell { |
|
2859 transition-duration: 0s; |
|
2860 transition-delay: 0s; |
|
2861 } |
|
2862 } |
|
2863 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell > *, |
|
2864 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell > * { |
|
2865 opacity: 0; |
|
2866 } |
|
2867 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible, |
|
2868 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover, |
|
2869 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible { |
|
2870 position: relative; |
|
2871 z-index: 1; |
|
2872 } |
|
2873 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover > *, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible > *, |
|
2874 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover > *, |
|
2875 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible > * { |
|
2876 opacity: 1; |
|
2877 animation: edit-post__fade-in-animation 0.2s ease-out 0s; |
|
2878 animation-fill-mode: forwards; |
|
2879 } |
|
2880 @media (prefers-reduced-motion: reduce) { |
|
2881 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell:hover > *, .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell.is-visible > *, |
|
2882 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell:hover > *, |
|
2883 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell.is-visible > * { |
|
2884 animation-duration: 1ms; |
|
2885 animation-delay: 0s; |
|
2886 } |
|
2887 } |
|
2888 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell, |
|
2889 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell .components-button.has-icon, |
|
2890 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell, |
|
2891 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell .components-button.has-icon { |
|
2892 width: 24px; |
|
2893 min-width: 24px; |
|
2894 padding: 0; |
|
2895 } |
|
2896 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell { |
|
2897 padding-left: 5px; |
|
2898 } |
|
2899 .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell .components-button.has-icon { |
|
2900 height: 24px; |
|
2901 } |
|
2902 .block-editor-list-view-leaf .block-editor-list-view-block__mover-cell-alignment-wrapper { |
|
2903 display: flex; |
|
2904 height: 100%; |
|
2905 flex-direction: column; |
|
2906 align-items: center; |
|
2907 } |
|
2908 .block-editor-list-view-leaf .block-editor-block-mover-button { |
|
2909 position: relative; |
|
2910 width: 36px; |
|
2911 height: 24px; |
|
2912 } |
|
2913 .block-editor-list-view-leaf .block-editor-block-mover-button svg { |
|
2914 position: relative; |
|
2915 height: 24px; |
|
2916 } |
|
2917 .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button { |
|
2918 margin-top: -6px; |
|
2919 align-items: flex-end; |
|
2920 } |
|
2921 .block-editor-list-view-leaf .block-editor-block-mover-button.is-up-button svg { |
|
2922 bottom: -4px; |
|
2923 } |
|
2924 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button { |
|
2925 margin-bottom: -6px; |
|
2926 align-items: flex-start; |
|
2927 } |
|
2928 .block-editor-list-view-leaf .block-editor-block-mover-button.is-down-button svg { |
|
2929 top: -4px; |
|
2930 } |
|
2931 .block-editor-list-view-leaf .block-editor-block-mover-button:focus:enabled { |
|
2932 box-shadow: none; |
|
2933 outline: none; |
|
2934 } |
|
2935 .block-editor-list-view-leaf .block-editor-block-mover-button:focus { |
|
2936 box-shadow: none; |
|
2937 outline: none; |
|
2938 } |
|
2939 .block-editor-list-view-leaf .block-editor-block-mover-button:focus::before { |
|
2940 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff; |
|
2941 outline: 2px solid transparent; |
|
2942 } |
|
2943 .block-editor-list-view-leaf .block-editor-block-mover-button::before { |
|
2944 content: ""; |
|
2945 position: absolute; |
2454 display: block; |
2946 display: block; |
2455 width: 33.33%; |
2947 border-radius: 2px; |
|
2948 height: 16px; |
|
2949 min-width: 100%; |
|
2950 right: 0; |
|
2951 left: 0; |
|
2952 animation: components-button__appear-animation 0.1s ease; |
|
2953 animation-fill-mode: forwards; |
|
2954 } |
|
2955 @media (prefers-reduced-motion: reduce) { |
|
2956 .block-editor-list-view-leaf .block-editor-block-mover-button::before { |
|
2957 animation-duration: 1ms; |
|
2958 animation-delay: 0s; |
|
2959 } |
|
2960 } |
|
2961 .block-editor-list-view-leaf .block-editor-inserter__toggle { |
|
2962 background: #1e1e1e; |
|
2963 color: #fff; |
|
2964 height: 24px; |
|
2965 margin: 6px 1px 6px 6px; |
|
2966 min-width: 24px; |
|
2967 } |
|
2968 .block-editor-list-view-leaf .block-editor-inserter__toggle:active { |
|
2969 color: #fff; |
|
2970 } |
|
2971 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__anchor { |
|
2972 background: rgba(0, 0, 0, 0.1); |
|
2973 border-radius: 2px; |
|
2974 display: inline-block; |
|
2975 padding: 2px 6px; |
|
2976 margin: 0 8px; |
|
2977 max-width: 120px; |
|
2978 overflow: hidden; |
|
2979 text-overflow: ellipsis; |
|
2980 } |
|
2981 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-select-button__anchor { |
|
2982 background: rgba(0, 0, 0, 0.3); |
|
2983 } |
|
2984 .block-editor-list-view-leaf .block-editor-list-view-block-select-button__lock { |
|
2985 line-height: 0; |
|
2986 width: 24px; |
|
2987 min-width: 24px; |
|
2988 margin-right: auto; |
|
2989 padding: 0; |
|
2990 vertical-align: middle; |
|
2991 } |
|
2992 |
|
2993 .block-editor-list-view-block-select-button__description, |
|
2994 .block-editor-list-view-appender__description { |
|
2995 display: none; |
|
2996 } |
|
2997 |
|
2998 .block-editor-list-view-block__contents-cell .block-editor-list-view-block__contents-container, |
|
2999 .block-editor-list-view-block__contents-cell .block-editor-list-view-appender__container, |
|
3000 .block-editor-list-view-appender__cell .block-editor-list-view-block__contents-container, |
|
3001 .block-editor-list-view-appender__cell .block-editor-list-view-appender__container { |
|
3002 display: flex; |
|
3003 } |
|
3004 |
|
3005 .block-editor-list-view__expander { |
|
3006 height: 24px; |
|
3007 margin-right: 4px; |
|
3008 width: 24px; |
|
3009 } |
|
3010 |
|
3011 .block-editor-list-view-leaf[aria-level] .block-editor-list-view__expander { |
|
3012 margin-right: 220px; |
|
3013 } |
|
3014 |
|
3015 .block-editor-list-view-leaf:not([aria-level="1"]) .block-editor-list-view__expander { |
|
3016 margin-left: 4px; |
|
3017 } |
|
3018 |
|
3019 .block-editor-list-view-leaf[aria-level="1"] .block-editor-list-view__expander { |
|
3020 margin-right: 0px; |
|
3021 } |
|
3022 |
|
3023 .block-editor-list-view-leaf[aria-level="2"] .block-editor-list-view__expander { |
|
3024 margin-right: 24px; |
|
3025 } |
|
3026 |
|
3027 .block-editor-list-view-leaf[aria-level="3"] .block-editor-list-view__expander { |
|
3028 margin-right: 52px; |
|
3029 } |
|
3030 |
|
3031 .block-editor-list-view-leaf[aria-level="4"] .block-editor-list-view__expander { |
|
3032 margin-right: 80px; |
|
3033 } |
|
3034 |
|
3035 .block-editor-list-view-leaf[aria-level="5"] .block-editor-list-view__expander { |
|
3036 margin-right: 108px; |
|
3037 } |
|
3038 |
|
3039 .block-editor-list-view-leaf[aria-level="6"] .block-editor-list-view__expander { |
|
3040 margin-right: 136px; |
|
3041 } |
|
3042 |
|
3043 .block-editor-list-view-leaf[aria-level="7"] .block-editor-list-view__expander { |
|
3044 margin-right: 164px; |
|
3045 } |
|
3046 |
|
3047 .block-editor-list-view-leaf[aria-level="8"] .block-editor-list-view__expander { |
|
3048 margin-right: 192px; |
|
3049 } |
|
3050 |
|
3051 .block-editor-list-view-leaf .block-editor-list-view__expander { |
|
3052 visibility: hidden; |
|
3053 } |
|
3054 |
|
3055 .block-editor-list-view-leaf[aria-expanded=true] .block-editor-list-view__expander svg { |
|
3056 visibility: visible; |
|
3057 transition: transform 0.2s ease; |
|
3058 transform: rotate(-90deg); |
|
3059 } |
|
3060 @media (prefers-reduced-motion: reduce) { |
|
3061 .block-editor-list-view-leaf[aria-expanded=true] .block-editor-list-view__expander svg { |
|
3062 transition-duration: 0s; |
|
3063 transition-delay: 0s; |
|
3064 } |
|
3065 } |
|
3066 |
|
3067 .block-editor-list-view-leaf[aria-expanded=false] .block-editor-list-view__expander svg { |
|
3068 visibility: visible; |
|
3069 transform: rotate(0deg); |
|
3070 transition: transform 0.2s ease; |
|
3071 } |
|
3072 @media (prefers-reduced-motion: reduce) { |
|
3073 .block-editor-list-view-leaf[aria-expanded=false] .block-editor-list-view__expander svg { |
|
3074 transition-duration: 0s; |
|
3075 transition-delay: 0s; |
|
3076 } |
|
3077 } |
|
3078 |
|
3079 .block-editor-list-view-drop-indicator { |
|
3080 pointer-events: none; |
|
3081 } |
|
3082 .block-editor-list-view-drop-indicator .block-editor-list-view-drop-indicator__line { |
|
3083 background: var(--wp-admin-theme-color); |
|
3084 height: 1px; |
|
3085 } |
|
3086 |
|
3087 .block-editor-list-view-drop-indicator:not([data-y-axis=middle][data-x-axis=right]) > .components-popover__content { |
|
3088 margin-right: 0; |
|
3089 border: none; |
|
3090 box-shadow: none; |
|
3091 } |
|
3092 |
|
3093 .block-editor-list-view-placeholder { |
2456 padding: 0; |
3094 padding: 0; |
2457 margin: 0; |
3095 margin: 0; |
2458 } |
3096 height: 36px; |
2459 |
|
2460 .components-button.block-editor-block-types-list__item { |
|
2461 display: flex; |
|
2462 flex-direction: column; |
|
2463 width: 100%; |
|
2464 font-size: 13px; |
|
2465 color: #1e1e1e; |
|
2466 padding: 8px; |
|
2467 align-items: stretch; |
|
2468 justify-content: center; |
|
2469 cursor: pointer; |
|
2470 background: transparent; |
|
2471 word-break: break-word; |
|
2472 border-radius: 2px; |
|
2473 border: 1px solid transparent; |
|
2474 transition: all 0.05s ease-in-out; |
|
2475 position: relative; |
|
2476 height: auto; |
|
2477 } |
|
2478 @media (prefers-reduced-motion: reduce) { |
|
2479 .components-button.block-editor-block-types-list__item { |
|
2480 transition-duration: 0s; |
|
2481 transition-delay: 0s; |
|
2482 } |
|
2483 } |
|
2484 .components-button.block-editor-block-types-list__item:disabled { |
|
2485 opacity: 0.6; |
|
2486 cursor: default; |
|
2487 } |
|
2488 .components-button.block-editor-block-types-list__item:not(:disabled):hover { |
|
2489 border-color: var(--wp-admin-theme-color); |
|
2490 color: var(--wp-admin-theme-color) !important; |
|
2491 } |
|
2492 .components-button.block-editor-block-types-list__item:not(:disabled).is-active { |
|
2493 color: #fff; |
|
2494 background: #1e1e1e; |
|
2495 outline: 2px solid transparent; |
|
2496 outline-offset: -2px; |
|
2497 } |
|
2498 |
|
2499 .block-editor-block-types-list__item-icon { |
|
2500 padding: 12px 20px; |
|
2501 border-radius: 2px; |
|
2502 color: #1e1e1e; |
|
2503 transition: all 0.05s ease-in-out; |
|
2504 } |
|
2505 @media (prefers-reduced-motion: reduce) { |
|
2506 .block-editor-block-types-list__item-icon { |
|
2507 transition-duration: 0s; |
|
2508 transition-delay: 0s; |
|
2509 } |
|
2510 } |
|
2511 .block-editor-block-types-list__item-icon .block-editor-block-icon { |
|
2512 margin-right: auto; |
|
2513 margin-left: auto; |
|
2514 } |
|
2515 .block-editor-block-types-list__item-icon svg { |
|
2516 transition: all 0.15s ease-out; |
|
2517 } |
|
2518 @media (prefers-reduced-motion: reduce) { |
|
2519 .block-editor-block-types-list__item-icon svg { |
|
2520 transition-duration: 0s; |
|
2521 transition-delay: 0s; |
|
2522 } |
|
2523 } |
|
2524 .block-editor-block-types-list__list-item[draggable=true] .block-editor-block-types-list__item-icon { |
|
2525 cursor: grab; |
|
2526 } |
|
2527 |
|
2528 .block-editor-block-types-list__item-title { |
|
2529 padding: 4px 2px 8px; |
|
2530 font-size: 12px; |
|
2531 } |
3097 } |
2532 |
3098 |
2533 .modal-open .block-editor-media-replace-flow__options { |
3099 .modal-open .block-editor-media-replace-flow__options { |
2534 display: none; |
3100 display: none; |
2535 } |
3101 } |
2536 |
3102 |
2537 .block-editor-media-replace-flow__options .components-popover__content > div { |
|
2538 padding-top: 16px; |
|
2539 } |
|
2540 |
|
2541 .block-editor-media-replace-flow__indicator { |
3103 .block-editor-media-replace-flow__indicator { |
2542 margin-right: 4px; |
3104 margin-right: 4px; |
2543 } |
3105 } |
2544 |
3106 |
2545 .block-editor-media-flow__url-input { |
3107 .block-editor-media-flow__url-input { |
2546 border-top: 1px solid #1e1e1e; |
3108 border-top: 1px solid #1e1e1e; |
2547 margin-top: 12px; |
3109 margin-top: 8px; |
2548 margin-left: -12px; |
3110 margin-left: -8px; |
2549 margin-right: -12px; |
3111 margin-right: -8px; |
2550 padding: 12px 24px 0; |
3112 padding: 16px; |
2551 } |
3113 } |
2552 .block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label { |
3114 .block-editor-media-flow__url-input .block-editor-media-replace-flow__image-url-label { |
|
3115 display: block; |
2553 top: 16px; |
3116 top: 16px; |
|
3117 margin-bottom: 8px; |
2554 } |
3118 } |
2555 .block-editor-media-flow__url-input .block-editor-link-control { |
3119 .block-editor-media-flow__url-input .block-editor-link-control { |
2556 margin-top: -16px; |
3120 width: 220px; |
2557 width: auto; |
3121 } |
|
3122 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-url-input { |
|
3123 padding: 0; |
2558 } |
3124 } |
2559 .block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field { |
3125 .block-editor-media-flow__url-input .block-editor-link-control .components-base-control .components-base-control__field { |
2560 margin-bottom: 0; |
3126 margin-bottom: 0; |
2561 } |
3127 } |
2562 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title { |
3128 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-title { |
2563 max-width: 180px; |
3129 max-width: 180px; |
2564 margin-top: 16px; |
3130 white-space: nowrap; |
|
3131 } |
|
3132 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item-info { |
|
3133 white-space: nowrap; |
2565 } |
3134 } |
2566 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current { |
3135 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-item.is-current { |
2567 width: auto; |
3136 width: auto; |
2568 padding: 0; |
3137 padding: 0; |
2569 } |
3138 } |
2570 .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] { |
3139 .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] { |
2571 margin: 16px 0 0 0; |
3140 margin: 0; |
2572 width: 100%; |
3141 width: 100%; |
2573 } |
3142 } |
2574 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions { |
3143 .block-editor-media-flow__url-input .block-editor-link-control .block-editor-link-control__search-actions { |
|
3144 top: 0; |
2575 left: 4px; |
3145 left: 4px; |
2576 } |
3146 } |
2577 |
3147 |
2578 .block-editor-media-flow__error { |
3148 .block-editor-media-flow__error { |
2579 padding: 0 20px 20px 20px; |
3149 padding: 0 20px 20px 20px; |
3191 |
3760 |
3192 .block-editor-hooks__layout-controls-helptext { |
3761 .block-editor-hooks__layout-controls-helptext { |
3193 font-size: 12px; |
3762 font-size: 12px; |
3194 } |
3763 } |
3195 |
3764 |
3196 #end-resizable-editor-section { |
3765 .block-editor-hooks__flex-layout-justification-controls, |
3197 display: none; |
3766 .block-editor-hooks__flex-layout-orientation-controls { |
|
3767 margin-bottom: 12px; |
|
3768 } |
|
3769 .block-editor-hooks__flex-layout-justification-controls legend, |
|
3770 .block-editor-hooks__flex-layout-orientation-controls legend { |
|
3771 margin-bottom: 8px; |
|
3772 } |
|
3773 |
|
3774 .border-block-support-panel .single-column { |
|
3775 grid-column: span 1; |
|
3776 } |
|
3777 |
|
3778 .dimensions-block-support-panel .single-column { |
|
3779 grid-column: span 1; |
|
3780 } |
|
3781 |
|
3782 .typography-block-support-panel .components-font-appearance-control, |
|
3783 .typography-block-support-panel .components-font-size-picker__controls, |
|
3784 .typography-block-support-panel .block-editor-text-decoration-control__buttons, |
|
3785 .typography-block-support-panel .block-editor-text-transform-control__buttons { |
|
3786 margin-bottom: 0; |
|
3787 } |
|
3788 .typography-block-support-panel .single-column { |
|
3789 grid-column: span 1; |
|
3790 } |
|
3791 |
|
3792 .color-block-support-panel { |
|
3793 /* Increased specificity required to remove the slot wrapper's row gap */ |
|
3794 /** |
|
3795 * The following styles replicate the separated border of the |
|
3796 * `ItemGroup` component but allows for hidden items. This is because |
|
3797 * to maintain the order of `ToolsPanel` controls, each `ToolsPanelItem` |
|
3798 * must at least render a placeholder which would otherwise interfere |
|
3799 * with the `:last-child` styles. |
|
3800 */ |
|
3801 /** |
|
3802 * The following few styles fix the layout and spacing for the due to the |
|
3803 * introduced wrapper element by the `Item` component. |
|
3804 */ |
|
3805 } |
|
3806 .color-block-support-panel .block-editor-contrast-checker { |
|
3807 /** |
|
3808 * Contrast checkers are forced to the bottom of the panel so all |
|
3809 * injected color controls can appear as a single item group without |
|
3810 * the contrast checkers suddenly appearing between items. |
|
3811 */ |
|
3812 order: 9999; |
|
3813 grid-column: span 2; |
|
3814 margin-top: 16px; |
|
3815 } |
|
3816 .color-block-support-panel .block-editor-contrast-checker .components-notice__content { |
|
3817 margin-left: 0; |
|
3818 } |
|
3819 .color-block-support-panel.color-block-support-panel .color-block-support-panel__inner-wrapper { |
|
3820 row-gap: 0; |
|
3821 } |
|
3822 .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item { |
|
3823 padding: 0; |
|
3824 border-right: 1px solid rgba(0, 0, 0, 0.1); |
|
3825 border-left: 1px solid rgba(0, 0, 0, 0.1); |
|
3826 border-bottom: 1px solid rgba(0, 0, 0, 0.1); |
|
3827 } |
|
3828 .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item.first { |
|
3829 border-top-right-radius: 2px; |
|
3830 border-top-left-radius: 2px; |
|
3831 border-top: 1px solid rgba(0, 0, 0, 0.1); |
|
3832 } |
|
3833 .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item.last { |
|
3834 border-bottom-right-radius: 2px; |
|
3835 border-bottom-left-radius: 2px; |
|
3836 } |
|
3837 .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item > div, |
|
3838 .color-block-support-panel .block-editor-tools-panel-color-gradient-settings__item > div > button { |
|
3839 border-radius: inherit; |
|
3840 } |
|
3841 .color-block-support-panel .block-editor-panel-color-gradient-settings__color-indicator { |
|
3842 background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); |
|
3843 } |
|
3844 .color-block-support-panel .block-editor-tools-panel-color-dropdown { |
|
3845 display: block; |
|
3846 padding: 0; |
|
3847 } |
|
3848 .color-block-support-panel .block-editor-tools-panel-color-dropdown > button { |
|
3849 height: 46px; |
|
3850 } |
|
3851 .color-block-support-panel .block-editor-tools-panel-color-dropdown > button.is-open { |
|
3852 background: #f0f0f0; |
|
3853 color: var(--wp-admin-theme-color); |
|
3854 } |
|
3855 .color-block-support-panel .color-block-support-panel__item-group > div { |
|
3856 grid-column: span 2; |
|
3857 border-radius: inherit; |
3198 } |
3858 } |
3199 |
3859 |
3200 /** |
3860 /** |
3201 * Block Toolbar |
3861 * Block Toolbar |
3202 */ |
3862 */ |
3203 .block-editor-block-toolbar { |
3863 .block-editor-block-toolbar { |
3204 display: flex; |
3864 display: flex; |
3205 flex-grow: 1; |
3865 flex-grow: 1; |
3206 width: 100%; |
3866 width: 100%; |
3207 overflow: auto; |
|
3208 position: relative; |
3867 position: relative; |
|
3868 overflow-y: hidden; |
|
3869 overflow-x: auto; |
3209 transition: border-color 0.1s linear, box-shadow 0.1s linear; |
3870 transition: border-color 0.1s linear, box-shadow 0.1s linear; |
3210 } |
3871 } |
3211 @media (prefers-reduced-motion: reduce) { |
3872 @media (prefers-reduced-motion: reduce) { |
3212 .block-editor-block-toolbar { |
3873 .block-editor-block-toolbar { |
3213 transition-duration: 0s; |
3874 transition-duration: 0s; |
3444 .components-popover.block-editor-inserter__popover { |
4107 .components-popover.block-editor-inserter__popover { |
3445 z-index: 99999; |
4108 z-index: 99999; |
3446 } |
4109 } |
3447 |
4110 |
3448 .block-editor-inserter__search { |
4111 .block-editor-inserter__search { |
3449 padding: 16px; |
4112 background: #fff; |
|
4113 padding: 16px 16px 0 16px; |
3450 position: sticky; |
4114 position: sticky; |
3451 top: 0; |
4115 top: 0; |
3452 background: #fff; |
|
3453 z-index: 1; |
4116 z-index: 1; |
3454 } |
4117 } |
3455 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input { |
4118 .block-editor-inserter__search .components-search-control__icon { |
3456 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
3457 padding: 6px 8px; |
|
3458 box-shadow: 0 0 0 transparent; |
|
3459 transition: box-shadow 0.1s linear; |
|
3460 border-radius: 2px; |
|
3461 border: 1px solid #757575; |
|
3462 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
3463 font-size: 16px; |
|
3464 /* Override core line-height. To be reviewed. */ |
|
3465 line-height: normal; |
|
3466 display: block; |
|
3467 padding: 16px 16px 16px 48px; |
|
3468 background: #f0f0f0; |
|
3469 border: none; |
|
3470 width: 100%; |
|
3471 height: 48px; |
|
3472 /* Fonts smaller than 16px causes mobile safari to zoom. */ |
|
3473 font-size: 16px; |
|
3474 } |
|
3475 @media (prefers-reduced-motion: reduce) { |
|
3476 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input { |
|
3477 transition-duration: 0s; |
|
3478 transition-delay: 0s; |
|
3479 } |
|
3480 } |
|
3481 @media (min-width: 600px) { |
|
3482 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input { |
|
3483 font-size: 13px; |
|
3484 /* Override core line-height. To be reviewed. */ |
|
3485 line-height: normal; |
|
3486 } |
|
3487 } |
|
3488 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus { |
|
3489 border-color: var(--wp-admin-theme-color); |
|
3490 box-shadow: 0 0 0 1px var(--wp-admin-theme-color); |
|
3491 outline: 2px solid transparent; |
|
3492 } |
|
3493 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-webkit-input-placeholder { |
|
3494 color: rgba(30, 30, 30, 0.62); |
|
3495 } |
|
3496 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::-moz-placeholder { |
|
3497 opacity: 1; |
|
3498 color: rgba(30, 30, 30, 0.62); |
|
3499 } |
|
3500 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:-ms-input-placeholder { |
|
3501 color: rgba(30, 30, 30, 0.62); |
|
3502 } |
|
3503 @media (min-width: 600px) { |
|
3504 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input { |
|
3505 font-size: 13px; |
|
3506 } |
|
3507 } |
|
3508 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input:focus { |
|
3509 background: #fff; |
|
3510 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
|
3511 } |
|
3512 .block-editor-inserter__search input[type=search].block-editor-inserter__search-input::placeholder { |
|
3513 color: #757575; |
|
3514 } |
|
3515 .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 { |
|
3516 -webkit-appearance: none; |
|
3517 } |
|
3518 |
|
3519 .block-editor-inserter__search-icon { |
|
3520 position: absolute; |
|
3521 top: 0; |
|
3522 left: 20px; |
4119 left: 20px; |
3523 bottom: 0; |
4120 } |
3524 display: flex; |
4121 .block-editor-inserter__search .components-base-control__field { |
3525 align-items: center; |
4122 margin-bottom: 0; |
3526 } |
|
3527 .block-editor-inserter__search-icon > svg { |
|
3528 margin: 8px; |
|
3529 } |
4123 } |
3530 |
4124 |
3531 .block-editor-inserter__tabs { |
4125 .block-editor-inserter__tabs { |
3532 display: flex; |
4126 display: flex; |
3533 flex-direction: column; |
4127 flex-direction: column; |
3534 margin-top: -8px; |
|
3535 } |
4128 } |
3536 .block-editor-inserter__tabs .components-tab-panel__tabs { |
4129 .block-editor-inserter__tabs .components-tab-panel__tabs { |
3537 position: sticky; |
4130 position: sticky; |
3538 top: 72px; |
4131 top: 64px; |
3539 background: #fff; |
4132 background: #fff; |
3540 z-index: 1; |
4133 z-index: 1; |
3541 border-bottom: 1px solid #ddd; |
4134 border-bottom: 1px solid #ddd; |
3542 } |
4135 } |
3543 .block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { |
4136 .block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { |
3790 } |
4436 } |
3791 } |
4437 } |
3792 |
4438 |
3793 body.admin-color-light { |
4439 body.admin-color-light { |
3794 --wp-admin-theme-color: #0085ba; |
4440 --wp-admin-theme-color: #0085ba; |
|
4441 --wp-admin-theme-color--rgb: 0, 133, 186; |
3795 --wp-admin-theme-color-darker-10: #0073a1; |
4442 --wp-admin-theme-color-darker-10: #0073a1; |
|
4443 --wp-admin-theme-color-darker-10--rgb: 0, 115, 161; |
3796 --wp-admin-theme-color-darker-20: #006187; |
4444 --wp-admin-theme-color-darker-20: #006187; |
|
4445 --wp-admin-theme-color-darker-20--rgb: 0, 97, 135; |
3797 --wp-admin-border-width-focus: 2px; |
4446 --wp-admin-border-width-focus: 2px; |
3798 } |
4447 } |
3799 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
4448 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
3800 body.admin-color-light { |
4449 body.admin-color-light { |
3801 --wp-admin-border-width-focus: 1.5px; |
4450 --wp-admin-border-width-focus: 1.5px; |
3802 } |
4451 } |
3803 } |
4452 } |
3804 |
4453 |
3805 body.admin-color-modern { |
4454 body.admin-color-modern { |
3806 --wp-admin-theme-color: #3858e9; |
4455 --wp-admin-theme-color: #3858e9; |
|
4456 --wp-admin-theme-color--rgb: 56, 88, 233; |
3807 --wp-admin-theme-color-darker-10: #2145e6; |
4457 --wp-admin-theme-color-darker-10: #2145e6; |
|
4458 --wp-admin-theme-color-darker-10--rgb: 33, 69, 230; |
3808 --wp-admin-theme-color-darker-20: #183ad6; |
4459 --wp-admin-theme-color-darker-20: #183ad6; |
|
4460 --wp-admin-theme-color-darker-20--rgb: 24, 58, 214; |
3809 --wp-admin-border-width-focus: 2px; |
4461 --wp-admin-border-width-focus: 2px; |
3810 } |
4462 } |
3811 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
4463 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
3812 body.admin-color-modern { |
4464 body.admin-color-modern { |
3813 --wp-admin-border-width-focus: 1.5px; |
4465 --wp-admin-border-width-focus: 1.5px; |
3814 } |
4466 } |
3815 } |
4467 } |
3816 |
4468 |
3817 body.admin-color-blue { |
4469 body.admin-color-blue { |
3818 --wp-admin-theme-color: #096484; |
4470 --wp-admin-theme-color: #096484; |
|
4471 --wp-admin-theme-color--rgb: 9, 100, 132; |
3819 --wp-admin-theme-color-darker-10: #07526c; |
4472 --wp-admin-theme-color-darker-10: #07526c; |
|
4473 --wp-admin-theme-color-darker-10--rgb: 7, 82, 108; |
3820 --wp-admin-theme-color-darker-20: #064054; |
4474 --wp-admin-theme-color-darker-20: #064054; |
|
4475 --wp-admin-theme-color-darker-20--rgb: 6, 64, 84; |
3821 --wp-admin-border-width-focus: 2px; |
4476 --wp-admin-border-width-focus: 2px; |
3822 } |
4477 } |
3823 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
4478 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
3824 body.admin-color-blue { |
4479 body.admin-color-blue { |
3825 --wp-admin-border-width-focus: 1.5px; |
4480 --wp-admin-border-width-focus: 1.5px; |
3826 } |
4481 } |
3827 } |
4482 } |
3828 |
4483 |
3829 body.admin-color-coffee { |
4484 body.admin-color-coffee { |
3830 --wp-admin-theme-color: #46403c; |
4485 --wp-admin-theme-color: #46403c; |
|
4486 --wp-admin-theme-color--rgb: 70, 64, 60; |
3831 --wp-admin-theme-color-darker-10: #383330; |
4487 --wp-admin-theme-color-darker-10: #383330; |
|
4488 --wp-admin-theme-color-darker-10--rgb: 56, 51, 48; |
3832 --wp-admin-theme-color-darker-20: #2b2724; |
4489 --wp-admin-theme-color-darker-20: #2b2724; |
|
4490 --wp-admin-theme-color-darker-20--rgb: 43, 39, 36; |
3833 --wp-admin-border-width-focus: 2px; |
4491 --wp-admin-border-width-focus: 2px; |
3834 } |
4492 } |
3835 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
4493 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
3836 body.admin-color-coffee { |
4494 body.admin-color-coffee { |
3837 --wp-admin-border-width-focus: 1.5px; |
4495 --wp-admin-border-width-focus: 1.5px; |
3838 } |
4496 } |
3839 } |
4497 } |
3840 |
4498 |
3841 body.admin-color-ectoplasm { |
4499 body.admin-color-ectoplasm { |
3842 --wp-admin-theme-color: #523f6d; |
4500 --wp-admin-theme-color: #523f6d; |
|
4501 --wp-admin-theme-color--rgb: 82, 63, 109; |
3843 --wp-admin-theme-color-darker-10: #46365d; |
4502 --wp-admin-theme-color-darker-10: #46365d; |
|
4503 --wp-admin-theme-color-darker-10--rgb: 70, 54, 93; |
3844 --wp-admin-theme-color-darker-20: #3a2c4d; |
4504 --wp-admin-theme-color-darker-20: #3a2c4d; |
|
4505 --wp-admin-theme-color-darker-20--rgb: 58, 44, 77; |
3845 --wp-admin-border-width-focus: 2px; |
4506 --wp-admin-border-width-focus: 2px; |
3846 } |
4507 } |
3847 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
4508 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
3848 body.admin-color-ectoplasm { |
4509 body.admin-color-ectoplasm { |
3849 --wp-admin-border-width-focus: 1.5px; |
4510 --wp-admin-border-width-focus: 1.5px; |
3850 } |
4511 } |
3851 } |
4512 } |
3852 |
4513 |
3853 body.admin-color-midnight { |
4514 body.admin-color-midnight { |
3854 --wp-admin-theme-color: #e14d43; |
4515 --wp-admin-theme-color: #e14d43; |
|
4516 --wp-admin-theme-color--rgb: 225, 77, 67; |
3855 --wp-admin-theme-color-darker-10: #dd382d; |
4517 --wp-admin-theme-color-darker-10: #dd382d; |
|
4518 --wp-admin-theme-color-darker-10--rgb: 221, 56, 45; |
3856 --wp-admin-theme-color-darker-20: #d02c21; |
4519 --wp-admin-theme-color-darker-20: #d02c21; |
|
4520 --wp-admin-theme-color-darker-20--rgb: 208, 44, 33; |
3857 --wp-admin-border-width-focus: 2px; |
4521 --wp-admin-border-width-focus: 2px; |
3858 } |
4522 } |
3859 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
4523 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
3860 body.admin-color-midnight { |
4524 body.admin-color-midnight { |
3861 --wp-admin-border-width-focus: 1.5px; |
4525 --wp-admin-border-width-focus: 1.5px; |
3862 } |
4526 } |
3863 } |
4527 } |
3864 |
4528 |
3865 body.admin-color-ocean { |
4529 body.admin-color-ocean { |
3866 --wp-admin-theme-color: #627c83; |
4530 --wp-admin-theme-color: #627c83; |
|
4531 --wp-admin-theme-color--rgb: 98, 124, 131; |
3867 --wp-admin-theme-color-darker-10: #576e74; |
4532 --wp-admin-theme-color-darker-10: #576e74; |
|
4533 --wp-admin-theme-color-darker-10--rgb: 87, 110, 116; |
3868 --wp-admin-theme-color-darker-20: #4c6066; |
4534 --wp-admin-theme-color-darker-20: #4c6066; |
|
4535 --wp-admin-theme-color-darker-20--rgb: 76, 96, 102; |
3869 --wp-admin-border-width-focus: 2px; |
4536 --wp-admin-border-width-focus: 2px; |
3870 } |
4537 } |
3871 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
4538 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
3872 body.admin-color-ocean { |
4539 body.admin-color-ocean { |
3873 --wp-admin-border-width-focus: 1.5px; |
4540 --wp-admin-border-width-focus: 1.5px; |
3874 } |
4541 } |
3875 } |
4542 } |
3876 |
4543 |
3877 body.admin-color-sunrise { |
4544 body.admin-color-sunrise { |
3878 --wp-admin-theme-color: #dd823b; |
4545 --wp-admin-theme-color: #dd823b; |
|
4546 --wp-admin-theme-color--rgb: 221, 130, 59; |
3879 --wp-admin-theme-color-darker-10: #d97426; |
4547 --wp-admin-theme-color-darker-10: #d97426; |
|
4548 --wp-admin-theme-color-darker-10--rgb: 217, 116, 38; |
3880 --wp-admin-theme-color-darker-20: #c36922; |
4549 --wp-admin-theme-color-darker-20: #c36922; |
|
4550 --wp-admin-theme-color-darker-20--rgb: 195, 105, 34; |
3881 --wp-admin-border-width-focus: 2px; |
4551 --wp-admin-border-width-focus: 2px; |
3882 } |
4552 } |
3883 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
4553 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { |
3884 body.admin-color-sunrise { |
4554 body.admin-color-sunrise { |
3885 --wp-admin-border-width-focus: 1.5px; |
4555 --wp-admin-border-width-focus: 1.5px; |