| 1 |
/** |
| 2 |
* Colors |
| 3 |
*/ |
| 4 |
/** |
| 5 |
* Typography |
| 6 |
*/ |
| 7 |
/** |
| 8 |
* SCSS Variables. |
| 9 |
* |
| 10 |
* Please use variables from this sheet to ensure consistency across the UI. |
| 11 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 12 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 13 |
*/ |
| 14 |
/** |
| 15 |
* Fonts & basic variables. |
| 16 |
*/ |
| 17 |
/** |
| 18 |
* Typography |
| 19 |
*/ |
| 20 |
/** |
| 21 |
* Grid System. |
| 22 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 23 |
*/ |
| 24 |
/** |
| 25 |
* Radius scale. |
| 26 |
*/ |
| 27 |
/** |
| 28 |
* Elevation scale. |
| 29 |
*/ |
| 30 |
/** |
| 31 |
* Dimensions. |
| 32 |
*/ |
| 33 |
/** |
| 34 |
* Mobile specific styles |
| 35 |
*/ |
| 36 |
/** |
| 37 |
* Editor styles. |
| 38 |
*/ |
| 39 |
/** |
| 40 |
* Block & Editor UI. |
| 41 |
*/ |
| 42 |
/** |
| 43 |
* Block paddings. |
| 44 |
*/ |
| 45 |
/** |
| 46 |
* React Native specific. |
| 47 |
* These variables do not appear to be used anywhere else. |
| 48 |
*/ |
| 49 |
/** |
| 50 |
* Breakpoints & Media Queries |
| 51 |
*/ |
| 52 |
/** |
| 53 |
* Converts a hex value into the rgb equivalent. |
| 54 |
* |
| 55 |
* @param {string} hex - the hexadecimal value to convert |
| 56 |
* @return {string} comma separated rgb values |
| 57 |
*/ |
| 58 |
/** |
| 59 |
* Long content fade mixin |
| 60 |
* |
| 61 |
* Creates a fading overlay to signify that the content is longer |
| 62 |
* than the space allows. |
| 63 |
*/ |
| 64 |
/** |
| 65 |
* Breakpoint mixins |
| 66 |
*/ |
| 67 |
/** |
| 68 |
* Focus styles. |
| 69 |
*/ |
| 70 |
/** |
| 71 |
* Applies editor left position to the selector passed as argument |
| 72 |
*/ |
| 73 |
/** |
| 74 |
* Styles that are reused verbatim in a few places |
| 75 |
*/ |
| 76 |
/** |
| 77 |
* Allows users to opt-out of animations via OS-level preferences. |
| 78 |
*/ |
| 79 |
/** |
| 80 |
* Reset default styles for JavaScript UI based pages. |
| 81 |
* This is a WP-admin agnostic reset |
| 82 |
*/ |
| 83 |
/** |
| 84 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
| 85 |
*/ |
| 86 |
/** |
| 87 |
* Creates a checkerboard pattern background to indicate transparency. |
| 88 |
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. |
| 89 |
*/ |
| 90 |
:root { |
| 91 |
--wp-block-synced-color: #7a00df; |
| 92 |
--wp-block-synced-color--rgb: 122, 0, 223; |
| 93 |
--wp-bound-block-color: var(--wp-block-synced-color); |
| 94 |
--wp-editor-canvas-background: #ddd; |
| 95 |
--wp-admin-theme-color: #007cba; |
| 96 |
--wp-admin-theme-color--rgb: 0, 124, 186; |
| 97 |
--wp-admin-theme-color-darker-10: rgb(0, 107, 160.5); |
| 98 |
--wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5; |
| 99 |
--wp-admin-theme-color-darker-20: #005a87; |
| 100 |
--wp-admin-theme-color-darker-20--rgb: 0, 90, 135; |
| 101 |
--wp-admin-border-width-focus: 2px; |
| 102 |
} |
| 103 |
@media (min-resolution: 192dpi) { |
| 104 |
:root { |
| 105 |
--wp-admin-border-width-focus: 1.5px; |
| 106 |
} |
| 107 |
} |
| 108 |
|
| 109 |
/** |
| 110 |
* Colors |
| 111 |
*/ |
| 112 |
/** |
| 113 |
* SCSS Variables. |
| 114 |
* |
| 115 |
* Please use variables from this sheet to ensure consistency across the UI. |
| 116 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 117 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 118 |
*/ |
| 119 |
/** |
| 120 |
* Fonts & basic variables. |
| 121 |
*/ |
| 122 |
/** |
| 123 |
* Typography |
| 124 |
*/ |
| 125 |
/** |
| 126 |
* Grid System. |
| 127 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 128 |
*/ |
| 129 |
/** |
| 130 |
* Radius scale. |
| 131 |
*/ |
| 132 |
/** |
| 133 |
* Elevation scale. |
| 134 |
*/ |
| 135 |
/** |
| 136 |
* Dimensions. |
| 137 |
*/ |
| 138 |
/** |
| 139 |
* Mobile specific styles |
| 140 |
*/ |
| 141 |
/** |
| 142 |
* Editor styles. |
| 143 |
*/ |
| 144 |
/** |
| 145 |
* Block & Editor UI. |
| 146 |
*/ |
| 147 |
/** |
| 148 |
* Block paddings. |
| 149 |
*/ |
| 150 |
/** |
| 151 |
* React Native specific. |
| 152 |
* These variables do not appear to be used anywhere else. |
| 153 |
*/ |
| 154 |
.interface-complementary-area-header { |
| 155 |
background: #fff; |
| 156 |
padding-right: 8px; |
| 157 |
gap: 4px; |
| 158 |
} |
| 159 |
|
| 160 |
.interface-complementary-area-header .interface-complementary-area-header__title { |
| 161 |
margin: 0 auto 0 0; |
| 162 |
} |
| 163 |
|
| 164 |
/** |
| 165 |
* Typography |
| 166 |
*/ |
| 167 |
/** |
| 168 |
* Breakpoints & Media Queries |
| 169 |
*/ |
| 170 |
/** |
| 171 |
* Converts a hex value into the rgb equivalent. |
| 172 |
* |
| 173 |
* @param {string} hex - the hexadecimal value to convert |
| 174 |
* @return {string} comma separated rgb values |
| 175 |
*/ |
| 176 |
/** |
| 177 |
* Long content fade mixin |
| 178 |
* |
| 179 |
* Creates a fading overlay to signify that the content is longer |
| 180 |
* than the space allows. |
| 181 |
*/ |
| 182 |
/** |
| 183 |
* Breakpoint mixins |
| 184 |
*/ |
| 185 |
/** |
| 186 |
* Focus styles. |
| 187 |
*/ |
| 188 |
/** |
| 189 |
* Applies editor left position to the selector passed as argument |
| 190 |
*/ |
| 191 |
/** |
| 192 |
* Styles that are reused verbatim in a few places |
| 193 |
*/ |
| 194 |
/** |
| 195 |
* Allows users to opt-out of animations via OS-level preferences. |
| 196 |
*/ |
| 197 |
/** |
| 198 |
* Reset default styles for JavaScript UI based pages. |
| 199 |
* This is a WP-admin agnostic reset |
| 200 |
*/ |
| 201 |
/** |
| 202 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
| 203 |
*/ |
| 204 |
/** |
| 205 |
* Creates a checkerboard pattern background to indicate transparency. |
| 206 |
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. |
| 207 |
*/ |
| 208 |
.interface-complementary-area { |
| 209 |
background: #fff; |
| 210 |
color: #1e1e1e; |
| 211 |
height: 100%; |
| 212 |
overflow: auto; |
| 213 |
} |
| 214 |
|
| 215 |
@media (min-width: 782px) { |
| 216 |
.interface-complementary-area { |
| 217 |
width: 280px; |
| 218 |
} |
| 219 |
} |
| 220 |
.interface-complementary-area .components-panel { |
| 221 |
border: none; |
| 222 |
position: relative; |
| 223 |
z-index: 0; |
| 224 |
} |
| 225 |
|
| 226 |
.interface-complementary-area .components-panel__header { |
| 227 |
position: sticky; |
| 228 |
top: 0; |
| 229 |
z-index: 1; |
| 230 |
} |
| 231 |
|
| 232 |
.interface-complementary-area .components-panel__header.editor-sidebar__panel-tabs { |
| 233 |
top: 0; |
| 234 |
} |
| 235 |
|
| 236 |
.interface-complementary-area p:not(.components-base-control__help, .components-form-token-field__help) { |
| 237 |
margin-top: 0; |
| 238 |
} |
| 239 |
|
| 240 |
.interface-complementary-area h2 { |
| 241 |
font-size: 13px; |
| 242 |
font-weight: 499; |
| 243 |
color: #1e1e1e; |
| 244 |
margin-bottom: 1.5em; |
| 245 |
} |
| 246 |
|
| 247 |
.interface-complementary-area h3 { |
| 248 |
font-size: 11px; |
| 249 |
text-transform: uppercase; |
| 250 |
font-weight: 499; |
| 251 |
color: #1e1e1e; |
| 252 |
margin-bottom: 1.5em; |
| 253 |
} |
| 254 |
|
| 255 |
.interface-complementary-area hr { |
| 256 |
border-top: none; |
| 257 |
border-bottom: 1px solid #f0f0f0; |
| 258 |
margin: 1.5em 0; |
| 259 |
} |
| 260 |
|
| 261 |
.interface-complementary-area div.components-toolbar-group, |
| 262 |
.interface-complementary-area div.components-toolbar { |
| 263 |
box-shadow: none; |
| 264 |
margin-bottom: 1.5em; |
| 265 |
} |
| 266 |
|
| 267 |
.interface-complementary-area div.components-toolbar-group:last-child, |
| 268 |
.interface-complementary-area div.components-toolbar:last-child { |
| 269 |
margin-bottom: 0; |
| 270 |
} |
| 271 |
|
| 272 |
.interface-complementary-area .block-editor-skip-to-selected-block:focus { |
| 273 |
top: auto; |
| 274 |
right: 10px; |
| 275 |
bottom: 10px; |
| 276 |
left: auto; |
| 277 |
} |
| 278 |
|
| 279 |
.interface-complementary-area__fill { |
| 280 |
height: 100%; |
| 281 |
} |
| 282 |
|
| 283 |
@media (min-width: 782px) { |
| 284 |
body.js.is-fullscreen-mode { |
| 285 |
margin-top: -32px; |
| 286 |
height: calc(100% + 32px); |
| 287 |
} |
| 288 |
body.js.is-fullscreen-mode #adminmenumain, |
| 289 |
body.js.is-fullscreen-mode #wpadminbar { |
| 290 |
display: none; |
| 291 |
} |
| 292 |
body.js.is-fullscreen-mode #wpcontent, |
| 293 |
body.js.is-fullscreen-mode #wpfooter { |
| 294 |
margin-left: 0; |
| 295 |
} |
| 296 |
} |
| 297 |
html.interface-interface-skeleton__html-container { |
| 298 |
position: fixed; |
| 299 |
width: 100%; |
| 300 |
} |
| 301 |
|
| 302 |
@media (min-width: 782px) { |
| 303 |
html.interface-interface-skeleton__html-container:not(:has(.is-zoom-out)) { |
| 304 |
position: initial; |
| 305 |
width: initial; |
| 306 |
} |
| 307 |
} |
| 308 |
.interface-interface-skeleton { |
| 309 |
display: flex; |
| 310 |
flex-direction: row; |
| 311 |
height: auto; |
| 312 |
max-height: 100%; |
| 313 |
position: fixed; |
| 314 |
top: 46px; |
| 315 |
left: 0; |
| 316 |
right: 0; |
| 317 |
bottom: 0; |
| 318 |
} |
| 319 |
|
| 320 |
@media (min-width: 783px) { |
| 321 |
.interface-interface-skeleton { |
| 322 |
top: 32px; |
| 323 |
} |
| 324 |
.is-fullscreen-mode .interface-interface-skeleton { |
| 325 |
top: 0; |
| 326 |
} |
| 327 |
} |
| 328 |
.interface-interface-skeleton__editor { |
| 329 |
display: flex; |
| 330 |
flex-direction: column; |
| 331 |
flex: 0 1 100%; |
| 332 |
overflow: hidden; |
| 333 |
} |
| 334 |
|
| 335 |
.interface-interface-skeleton { /* Set left position when auto-fold is not on the body element. */ |
| 336 |
left: 0; |
| 337 |
} |
| 338 |
|
| 339 |
@media (min-width: 783px) { |
| 340 |
.interface-interface-skeleton { |
| 341 |
left: 160px; |
| 342 |
} |
| 343 |
} |
| 344 |
.auto-fold .interface-interface-skeleton { /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ } |
| 345 |
|
| 346 |
@media (min-width: 783px) { |
| 347 |
.auto-fold .interface-interface-skeleton { |
| 348 |
left: 36px; |
| 349 |
} |
| 350 |
} |
| 351 |
@media (min-width: 961px) { |
| 352 |
.auto-fold .interface-interface-skeleton { |
| 353 |
left: 160px; |
| 354 |
} |
| 355 |
} |
| 356 |
/* Sidebar manually collapsed. */ |
| 357 |
.folded .interface-interface-skeleton { |
| 358 |
left: 0; |
| 359 |
} |
| 360 |
|
| 361 |
@media (min-width: 783px) { |
| 362 |
.folded .interface-interface-skeleton { |
| 363 |
left: 36px; |
| 364 |
} |
| 365 |
} |
| 366 |
body.is-fullscreen-mode .interface-interface-skeleton { |
| 367 |
left: 0 !important; |
| 368 |
} |
| 369 |
|
| 370 |
.interface-interface-skeleton__body { |
| 371 |
position: relative; |
| 372 |
flex-grow: 1; |
| 373 |
display: flex; |
| 374 |
overflow: auto; |
| 375 |
overscroll-behavior-y: none; |
| 376 |
} |
| 377 |
|
| 378 |
@media (min-width: 782px) { |
| 379 |
.has-footer .interface-interface-skeleton__body { |
| 380 |
padding-bottom: 25px; |
| 381 |
} |
| 382 |
} |
| 383 |
.interface-interface-skeleton__content { |
| 384 |
flex-grow: 1; |
| 385 |
display: flex; |
| 386 |
flex-direction: column; |
| 387 |
overflow: auto; |
| 388 |
z-index: 20; |
| 389 |
} |
| 390 |
|
| 391 |
@media (min-width: 782px) { |
| 392 |
.interface-interface-skeleton__content { |
| 393 |
z-index: auto; |
| 394 |
} |
| 395 |
} |
| 396 |
.interface-interface-skeleton__secondary-sidebar, |
| 397 |
.interface-interface-skeleton__sidebar { |
| 398 |
flex-shrink: 0; |
| 399 |
position: absolute; |
| 400 |
z-index: 100000; |
| 401 |
top: 0; |
| 402 |
left: 0; |
| 403 |
bottom: 0; |
| 404 |
background: #fff; |
| 405 |
color: #1e1e1e; |
| 406 |
width: auto; |
| 407 |
} |
| 408 |
|
| 409 |
@media (min-width: 782px) { |
| 410 |
.interface-interface-skeleton__secondary-sidebar, |
| 411 |
.interface-interface-skeleton__sidebar { |
| 412 |
position: relative !important; |
| 413 |
} |
| 414 |
} |
| 415 |
.interface-interface-skeleton__sidebar { |
| 416 |
border-top: 1px solid #e0e0e0; |
| 417 |
overflow: hidden; |
| 418 |
} |
| 419 |
|
| 420 |
@media (min-width: 782px) { |
| 421 |
.interface-interface-skeleton__sidebar { |
| 422 |
box-shadow: -1px 0 0 0 rgba(0, 0, 0, 0.133); |
| 423 |
outline: 1px solid transparent; |
| 424 |
} |
| 425 |
} |
| 426 |
.interface-interface-skeleton__secondary-sidebar { |
| 427 |
border-top: 1px solid #e0e0e0; |
| 428 |
right: 0; |
| 429 |
} |
| 430 |
|
| 431 |
@media (min-width: 782px) { |
| 432 |
.interface-interface-skeleton__secondary-sidebar { |
| 433 |
box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.133); |
| 434 |
outline: 1px solid transparent; |
| 435 |
} |
| 436 |
} |
| 437 |
.interface-interface-skeleton__header { |
| 438 |
flex-shrink: 0; |
| 439 |
height: auto; |
| 440 |
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.133); |
| 441 |
z-index: 30; |
| 442 |
color: #1e1e1e; |
| 443 |
outline: 1px solid transparent; |
| 444 |
} |
| 445 |
|
| 446 |
.interface-interface-skeleton__footer { |
| 447 |
height: auto; |
| 448 |
flex-shrink: 0; |
| 449 |
border-top: 1px solid #e0e0e0; |
| 450 |
color: #1e1e1e; |
| 451 |
position: absolute; |
| 452 |
bottom: 0; |
| 453 |
left: 0; |
| 454 |
width: 100%; |
| 455 |
background-color: #fff; |
| 456 |
z-index: 90; |
| 457 |
display: none; |
| 458 |
} |
| 459 |
|
| 460 |
@media (min-width: 782px) { |
| 461 |
.interface-interface-skeleton__footer { |
| 462 |
display: flex; |
| 463 |
} |
| 464 |
} |
| 465 |
.interface-interface-skeleton__footer .block-editor-block-breadcrumb { |
| 466 |
z-index: 30; |
| 467 |
display: flex; |
| 468 |
background: #fff; |
| 469 |
height: 24px; |
| 470 |
align-items: center; |
| 471 |
font-size: 13px; |
| 472 |
padding: 0 18px; |
| 473 |
} |
| 474 |
|
| 475 |
.interface-interface-skeleton__actions { |
| 476 |
z-index: 100000; |
| 477 |
position: fixed !important; |
| 478 |
top: -9999em; |
| 479 |
bottom: auto; |
| 480 |
left: auto; |
| 481 |
right: 0; |
| 482 |
color: #1e1e1e; |
| 483 |
background: #fff; |
| 484 |
width: 100vw; |
| 485 |
} |
| 486 |
|
| 487 |
@media (min-width: 782px) { |
| 488 |
.interface-interface-skeleton__actions { |
| 489 |
width: 280px; |
| 490 |
} |
| 491 |
} |
| 492 |
.interface-interface-skeleton__actions:focus, .interface-interface-skeleton__actions:focus-within { |
| 493 |
top: auto; |
| 494 |
bottom: 0; |
| 495 |
} |
| 496 |
|
| 497 |
.is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within { |
| 498 |
top: 46px; |
| 499 |
} |
| 500 |
|
| 501 |
@media (min-width: 782px) { |
| 502 |
.is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within { |
| 503 |
border-left: 1px solid #ddd; |
| 504 |
top: 32px; |
| 505 |
} |
| 506 |
.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within { |
| 507 |
top: 0; |
| 508 |
} |
| 509 |
} |
| 510 |
.interface-pinned-items { |
| 511 |
display: flex; |
| 512 |
} |
| 513 |
|
| 514 |
.interface-pinned-items .components-button { |
| 515 |
display: none; |
| 516 |
margin: 0; |
| 517 |
} |
| 518 |
|
| 519 |
.interface-pinned-items .components-button[aria-controls="edit-post:document"], .interface-pinned-items .components-button[aria-controls="edit-post:block"], .interface-pinned-items .components-button[aria-controls="edit-site:template"], .interface-pinned-items .components-button[aria-controls="edit-site:block-inspector"] { |
| 520 |
display: flex; |
| 521 |
} |
| 522 |
|
| 523 |
.interface-pinned-items .components-button svg { |
| 524 |
max-width: 24px; |
| 525 |
max-height: 24px; |
| 526 |
} |
| 527 |
|
| 528 |
@media (min-width: 600px) { |
| 529 |
.interface-pinned-items .components-button { |
| 530 |
display: flex; |
| 531 |
} |
| 532 |
} |
| 533 |
.interface-pinned-items { |
| 534 |
gap: 8px; |
| 535 |
} |
| 536 |
|
| 537 |
.wp-block[data-type="core/widget-area"] { |
| 538 |
max-width: 700px; |
| 539 |
margin-left: auto; |
| 540 |
margin-right: auto; |
| 541 |
} |
| 542 |
.wp-block[data-type="core/widget-area"] .components-panel__body > .components-panel__body-title { |
| 543 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 544 |
margin: 0; |
| 545 |
height: 48px; |
| 546 |
position: relative; |
| 547 |
z-index: 1; |
| 548 |
background: #fff; |
| 549 |
transform: translateZ(0); |
| 550 |
} |
| 551 |
.wp-block[data-type="core/widget-area"] .components-panel__body > .components-panel__body-title:hover { |
| 552 |
background: #fff; |
| 553 |
} |
| 554 |
.wp-block[data-type="core/widget-area"] .block-list-appender.wp-block { |
| 555 |
width: initial; |
| 556 |
position: relative; |
| 557 |
} |
| 558 |
.wp-block[data-type="core/widget-area"] .editor-styles-wrapper .wp-block.wp-block.wp-block.wp-block.wp-block { |
| 559 |
max-width: 100%; |
| 560 |
} |
| 561 |
.wp-block[data-type="core/widget-area"] .components-panel__body.is-opened { |
| 562 |
padding: 0; |
| 563 |
} |
| 564 |
|
| 565 |
.blocks-widgets-container .wp-block-widget-area__inner-blocks.editor-styles-wrapper { |
| 566 |
margin: 0; |
| 567 |
padding: 0; |
| 568 |
} |
| 569 |
.blocks-widgets-container .wp-block-widget-area__inner-blocks.editor-styles-wrapper > .block-editor-block-list__layout { |
| 570 |
margin-top: -48px; |
| 571 |
padding: 72px 16px 16px; |
| 572 |
min-height: 32px; |
| 573 |
} |
| 574 |
|
| 575 |
.wp-block-widget-area__highlight-drop-zone { |
| 576 |
outline: var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color); |
| 577 |
} |
| 578 |
|
| 579 |
body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .components-panel__body > .components-panel__body-title, |
| 580 |
body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .components-panel__body > .components-panel__body-title * { |
| 581 |
pointer-events: none; |
| 582 |
} |
| 583 |
|
| 584 |
.edit-widgets-error-boundary { |
| 585 |
margin: auto; |
| 586 |
max-width: 780px; |
| 587 |
padding: 20px; |
| 588 |
margin-top: 64px; |
| 589 |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02); |
| 590 |
} |
| 591 |
|
| 592 |
.edit-widgets-header { |
| 593 |
display: flex; |
| 594 |
align-items: center; |
| 595 |
justify-content: space-between; |
| 596 |
height: 64px; |
| 597 |
overflow: auto; |
| 598 |
background: #fff; |
| 599 |
} |
| 600 |
@media (min-width: 600px) { |
| 601 |
.edit-widgets-header { |
| 602 |
overflow: visible; |
| 603 |
} |
| 604 |
} |
| 605 |
.edit-widgets-header .selected-block-tools-wrapper { |
| 606 |
overflow: hidden; |
| 607 |
display: flex; |
| 608 |
align-items: center; |
| 609 |
height: 64px; |
| 610 |
} |
| 611 |
.edit-widgets-header .selected-block-tools-wrapper .block-editor-block-contextual-toolbar { |
| 612 |
border-bottom: 0; |
| 613 |
height: 100%; |
| 614 |
} |
| 615 |
.edit-widgets-header .selected-block-tools-wrapper .block-editor-block-toolbar { |
| 616 |
height: 100%; |
| 617 |
padding-top: 17px; |
| 618 |
} |
| 619 |
.edit-widgets-header .selected-block-tools-wrapper .block-editor-block-toolbar .components-button:not(.block-editor-block-mover-button) { |
| 620 |
height: 32px; |
| 621 |
} |
| 622 |
.edit-widgets-header .selected-block-tools-wrapper .components-toolbar-group, |
| 623 |
.edit-widgets-header .selected-block-tools-wrapper .components-toolbar { |
| 624 |
border-right: none; |
| 625 |
} |
| 626 |
.edit-widgets-header .selected-block-tools-wrapper .components-toolbar-group::after, |
| 627 |
.edit-widgets-header .selected-block-tools-wrapper .components-toolbar::after { |
| 628 |
content: ""; |
| 629 |
width: 1px; |
| 630 |
height: 24px; |
| 631 |
background-color: #ddd; |
| 632 |
margin-top: 4px; |
| 633 |
margin-left: 8px; |
| 634 |
} |
| 635 |
.edit-widgets-header .selected-block-tools-wrapper .components-toolbar-group .components-toolbar-group.components-toolbar-group::after, |
| 636 |
.edit-widgets-header .selected-block-tools-wrapper .components-toolbar .components-toolbar-group.components-toolbar-group::after { |
| 637 |
display: none; |
| 638 |
} |
| 639 |
.edit-widgets-header .selected-block-tools-wrapper .block-editor-block-mover.is-horizontal .block-editor-block-mover-button { |
| 640 |
height: 32px; |
| 641 |
overflow: visible; |
| 642 |
} |
| 643 |
@media (min-width: 600px) { |
| 644 |
.edit-widgets-header .selected-block-tools-wrapper .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container { |
| 645 |
position: relative; |
| 646 |
top: -10px; |
| 647 |
} |
| 648 |
} |
| 649 |
|
| 650 |
.edit-widgets-header__navigable-toolbar-wrapper { |
| 651 |
display: flex; |
| 652 |
align-items: center; |
| 653 |
justify-content: center; |
| 654 |
flex-shrink: 2; |
| 655 |
padding-right: 8px; |
| 656 |
padding-left: 16px; |
| 657 |
overflow: hidden; |
| 658 |
height: 64px; |
| 659 |
} |
| 660 |
|
| 661 |
.edit-widgets-header__title { |
| 662 |
font-size: 20px; |
| 663 |
padding: 0; |
| 664 |
margin: 0 20px 0 0; |
| 665 |
} |
| 666 |
|
| 667 |
.edit-widgets-header__actions { |
| 668 |
display: flex; |
| 669 |
align-items: center; |
| 670 |
padding-right: 4px; |
| 671 |
} |
| 672 |
@media (min-width: 600px) { |
| 673 |
.edit-widgets-header__actions { |
| 674 |
padding-right: 8px; |
| 675 |
} |
| 676 |
} |
| 677 |
.edit-widgets-header__actions { |
| 678 |
gap: 8px; |
| 679 |
} |
| 680 |
|
| 681 |
.edit-widgets-header-toolbar { |
| 682 |
gap: 8px; |
| 683 |
margin-right: 8px; |
| 684 |
} |
| 685 |
.edit-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon, |
| 686 |
.edit-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon { |
| 687 |
height: 32px; |
| 688 |
min-width: 32px; |
| 689 |
padding: 4px; |
| 690 |
} |
| 691 |
.edit-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon.is-pressed, |
| 692 |
.edit-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon.is-pressed { |
| 693 |
background: #1e1e1e; |
| 694 |
} |
| 695 |
.edit-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon:focus:not(:disabled), |
| 696 |
.edit-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon:focus:not(:disabled) { |
| 697 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff; |
| 698 |
outline: 1px solid transparent; |
| 699 |
} |
| 700 |
.edit-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon::before, |
| 701 |
.edit-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon::before { |
| 702 |
display: none; |
| 703 |
} |
| 704 |
|
| 705 |
.edit-widgets-header-toolbar__inserter-toggle.edit-widgets-header-toolbar__inserter-toggle { |
| 706 |
padding-left: 8px; |
| 707 |
padding-right: 8px; |
| 708 |
} |
| 709 |
@media (min-width: 600px) { |
| 710 |
.edit-widgets-header-toolbar__inserter-toggle.edit-widgets-header-toolbar__inserter-toggle { |
| 711 |
padding-left: 12px; |
| 712 |
padding-right: 12px; |
| 713 |
} |
| 714 |
} |
| 715 |
.edit-widgets-header-toolbar__inserter-toggle.edit-widgets-header-toolbar__inserter-toggle::after { |
| 716 |
content: none; |
| 717 |
} |
| 718 |
@media not (prefers-reduced-motion) { |
| 719 |
.edit-widgets-header-toolbar__inserter-toggle.edit-widgets-header-toolbar__inserter-toggle svg { |
| 720 |
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s; |
| 721 |
} |
| 722 |
} |
| 723 |
.edit-widgets-header-toolbar__inserter-toggle.edit-widgets-header-toolbar__inserter-toggle.is-pressed svg { |
| 724 |
transform: rotate(45deg); |
| 725 |
} |
| 726 |
|
| 727 |
.edit-widgets-keyboard-shortcut-help-modal__section { |
| 728 |
margin: 0 0 2rem 0; |
| 729 |
} |
| 730 |
.edit-widgets-keyboard-shortcut-help-modal__section-title { |
| 731 |
font-size: 0.9rem; |
| 732 |
font-weight: 600; |
| 733 |
} |
| 734 |
.edit-widgets-keyboard-shortcut-help-modal__shortcut { |
| 735 |
display: flex; |
| 736 |
align-items: baseline; |
| 737 |
padding: 0.6rem 0; |
| 738 |
border-top: 1px solid #ddd; |
| 739 |
margin-bottom: 0; |
| 740 |
} |
| 741 |
.edit-widgets-keyboard-shortcut-help-modal__shortcut:last-child { |
| 742 |
border-bottom: 1px solid #ddd; |
| 743 |
} |
| 744 |
.edit-widgets-keyboard-shortcut-help-modal__shortcut:empty { |
| 745 |
display: none; |
| 746 |
} |
| 747 |
.edit-widgets-keyboard-shortcut-help-modal__shortcut-term { |
| 748 |
font-weight: 600; |
| 749 |
margin: 0 0 0 1rem; |
| 750 |
text-align: right; |
| 751 |
} |
| 752 |
.edit-widgets-keyboard-shortcut-help-modal__shortcut-description { |
| 753 |
flex: 1; |
| 754 |
margin: 0; |
| 755 |
} |
| 756 |
.edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination { |
| 757 |
display: block; |
| 758 |
background: none; |
| 759 |
margin: 0; |
| 760 |
padding: 0; |
| 761 |
} |
| 762 |
.edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination + .edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination { |
| 763 |
margin-top: 10px; |
| 764 |
} |
| 765 |
.edit-widgets-keyboard-shortcut-help-modal__shortcut-key { |
| 766 |
padding: 0.25rem 0.5rem; |
| 767 |
border-radius: 8%; |
| 768 |
margin: 0 0.2rem 0 0.2rem; |
| 769 |
} |
| 770 |
.edit-widgets-keyboard-shortcut-help-modal__shortcut-key:last-child { |
| 771 |
margin: 0 0 0 0.2rem; |
| 772 |
} |
| 773 |
|
| 774 |
.components-panel__header.edit-widgets-sidebar__panel-tabs { |
| 775 |
padding-left: 0; |
| 776 |
} |
| 777 |
|
| 778 |
.edit-widgets-widget-areas__top-container { |
| 779 |
display: flex; |
| 780 |
padding: 16px; |
| 781 |
} |
| 782 |
.edit-widgets-widget-areas__top-container .block-editor-block-icon { |
| 783 |
margin-right: 16px; |
| 784 |
} |
| 785 |
|
| 786 |
.edit-widgets-notices__snackbar { |
| 787 |
position: fixed; |
| 788 |
bottom: 24px; |
| 789 |
left: 0; |
| 790 |
right: 0; |
| 791 |
padding-inline: 16px; |
| 792 |
box-sizing: border-box; |
| 793 |
display: flex; |
| 794 |
flex-direction: column; |
| 795 |
pointer-events: none; |
| 796 |
} |
| 797 |
.edit-widgets-notices__snackbar .components-snackbar { |
| 798 |
margin-inline: auto; |
| 799 |
} |
| 800 |
|
| 801 |
.edit-widgets-layout__inserter-panel { |
| 802 |
height: 100%; |
| 803 |
display: flex; |
| 804 |
flex-direction: column; |
| 805 |
} |
| 806 |
.edit-widgets-layout__inserter-panel .block-editor-inserter__menu { |
| 807 |
overflow: hidden; |
| 808 |
} |
| 809 |
|
| 810 |
.edit-widgets-layout__inserter-panel-content { |
| 811 |
height: calc(100% - 36px - 8px); |
| 812 |
} |
| 813 |
.edit-widgets-layout__inserter-panel-content .block-editor-inserter__tablist-and-close { |
| 814 |
display: none; |
| 815 |
} |
| 816 |
@media (min-width: 782px) { |
| 817 |
.edit-widgets-layout__inserter-panel-content { |
| 818 |
height: 100%; |
| 819 |
} |
| 820 |
} |
| 821 |
|
| 822 |
.components-popover.more-menu-dropdown__content { |
| 823 |
z-index: 99998; |
| 824 |
} |
| 825 |
|
| 826 |
.edit-widgets-welcome-guide { |
| 827 |
width: 312px; |
| 828 |
} |
| 829 |
.edit-widgets-welcome-guide__image { |
| 830 |
background: #00a0d2; |
| 831 |
margin: 0 0 16px; |
| 832 |
} |
| 833 |
.edit-widgets-welcome-guide__image > img { |
| 834 |
display: block; |
| 835 |
max-width: 100%; |
| 836 |
object-fit: cover; |
| 837 |
} |
| 838 |
.edit-widgets-welcome-guide__heading { |
| 839 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 840 |
font-size: 24px; |
| 841 |
line-height: 1.4; |
| 842 |
margin: 16px 0 16px 0; |
| 843 |
padding: 0 32px; |
| 844 |
} |
| 845 |
.edit-widgets-welcome-guide__text { |
| 846 |
font-size: 13px; |
| 847 |
line-height: 1.4; |
| 848 |
margin: 0 0 24px 0; |
| 849 |
padding: 0 32px; |
| 850 |
} |
| 851 |
.edit-widgets-welcome-guide__inserter-icon { |
| 852 |
margin: 0 4px; |
| 853 |
vertical-align: text-top; |
| 854 |
} |
| 855 |
.edit-widgets-welcome-guide .components-button:hover svg { |
| 856 |
fill: #fff; |
| 857 |
} |
| 858 |
|
| 859 |
.edit-widgets-block-editor { |
| 860 |
position: relative; |
| 861 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 862 |
display: flex; |
| 863 |
flex-direction: column; |
| 864 |
flex-grow: 1; |
| 865 |
} |
| 866 |
.edit-widgets-block-editor > div:last-of-type, |
| 867 |
.edit-widgets-block-editor .block-editor-writing-flow { |
| 868 |
display: flex; |
| 869 |
flex-direction: column; |
| 870 |
flex-grow: 1; |
| 871 |
} |
| 872 |
.edit-widgets-block-editor .edit-widgets-main-block-list { |
| 873 |
height: 100%; |
| 874 |
} |
| 875 |
.edit-widgets-block-editor .components-button { |
| 876 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 877 |
font-size: 13px; |
| 878 |
} |
| 879 |
.edit-widgets-block-editor .components-button.is-tertiary, .edit-widgets-block-editor .components-button.has-icon { |
| 880 |
padding: 6px; |
| 881 |
} |
| 882 |
|
| 883 |
.edit-widgets-editor__list-view-panel { |
| 884 |
height: 100%; |
| 885 |
display: flex; |
| 886 |
flex-direction: column; |
| 887 |
min-width: 350px; |
| 888 |
} |
| 889 |
|
| 890 |
.edit-widgets-editor__list-view-panel-content { |
| 891 |
height: calc(100% - 36px - 8px); |
| 892 |
overflow-y: auto; |
| 893 |
padding: 8px; |
| 894 |
} |
| 895 |
|
| 896 |
.edit-widgets-editor__list-view-panel-header { |
| 897 |
align-items: center; |
| 898 |
border-bottom: 1px solid #ddd; |
| 899 |
display: flex; |
| 900 |
justify-content: space-between; |
| 901 |
height: 48px; |
| 902 |
padding-left: 16px; |
| 903 |
padding-right: 8px; |
| 904 |
} |
| 905 |
|
| 906 |
body.js.appearance_page_gutenberg-widgets, |
| 907 |
body.js.widgets-php { |
| 908 |
background: #fff; |
| 909 |
} |
| 910 |
body.js.appearance_page_gutenberg-widgets #wpcontent, |
| 911 |
body.js.widgets-php #wpcontent { |
| 912 |
padding-left: 0; |
| 913 |
} |
| 914 |
body.js.appearance_page_gutenberg-widgets #wpbody-content, |
| 915 |
body.js.widgets-php #wpbody-content { |
| 916 |
padding-bottom: 0; |
| 917 |
} |
| 918 |
body.js.appearance_page_gutenberg-widgets, |
| 919 |
body.js.widgets-php { |
| 920 |
/* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well. |
| 921 |
Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */ |
| 922 |
} |
| 923 |
body.js.appearance_page_gutenberg-widgets #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta), |
| 924 |
body.js.widgets-php #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta) { |
| 925 |
display: none; |
| 926 |
} |
| 927 |
body.js.appearance_page_gutenberg-widgets #wpfooter, |
| 928 |
body.js.widgets-php #wpfooter { |
| 929 |
display: none; |
| 930 |
} |
| 931 |
body.js.appearance_page_gutenberg-widgets .a11y-speak-region, |
| 932 |
body.js.widgets-php .a11y-speak-region { |
| 933 |
left: -1px; |
| 934 |
top: -1px; |
| 935 |
} |
| 936 |
body.js.appearance_page_gutenberg-widgets ul#adminmenu a.wp-has-current-submenu::after, |
| 937 |
body.js.appearance_page_gutenberg-widgets ul#adminmenu > li.current > a.current::after, |
| 938 |
body.js.widgets-php ul#adminmenu a.wp-has-current-submenu::after, |
| 939 |
body.js.widgets-php ul#adminmenu > li.current > a.current::after { |
| 940 |
border-right-color: #fff; |
| 941 |
} |
| 942 |
body.js.appearance_page_gutenberg-widgets .media-frame select.attachment-filters:last-of-type, |
| 943 |
body.js.widgets-php .media-frame select.attachment-filters:last-of-type { |
| 944 |
width: auto; |
| 945 |
max-width: 100%; |
| 946 |
} |
| 947 |
|
| 948 |
.blocks-widgets-container { |
| 949 |
box-sizing: border-box; |
| 950 |
} |
| 951 |
.blocks-widgets-container *, |
| 952 |
.blocks-widgets-container *::before, |
| 953 |
.blocks-widgets-container *::after { |
| 954 |
box-sizing: inherit; |
| 955 |
} |
| 956 |
@media (min-width: 600px) { |
| 957 |
.blocks-widgets-container { |
| 958 |
position: absolute; |
| 959 |
top: 0; |
| 960 |
right: 0; |
| 961 |
bottom: 0; |
| 962 |
left: 0; |
| 963 |
min-height: calc(100vh - 46px); |
| 964 |
} |
| 965 |
} |
| 966 |
@media (min-width: 782px) { |
| 967 |
.blocks-widgets-container { |
| 968 |
min-height: calc(100vh - 32px); |
| 969 |
} |
| 970 |
} |
| 971 |
.blocks-widgets-container .interface-interface-skeleton__content { |
| 972 |
background-color: #f0f0f0; |
| 973 |
} |
| 974 |
|
| 975 |
.blocks-widgets-container .editor-styles-wrapper { |
| 976 |
max-width: 700px; |
| 977 |
margin: auto; |
| 978 |
} |
| 979 |
|
| 980 |
.edit-widgets-sidebar .components-button.interface-complementary-area__pin-unpin-item { |
| 981 |
display: none; |
| 982 |
} |
| 983 |
|
| 984 |
.js .widgets-php .notice { |
| 985 |
display: none !important; |
| 986 |
} |