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