[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/css/dist/customize-widgets/ -> style.css (source)

   1  /**
   2   * Typography
   3   */
   4  /**
   5   * SCSS Variables.
   6   *
   7   * Please use variables from this sheet to ensure consistency across the UI.
   8   * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
   9   * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
  10   */
  11  /**
  12   * Colors
  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   * Standard focus rings for the WordPress Design System.
  72   *
  73   * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
  74   * e.g. `&:focus { @include outset-ring__focus(); }`.
  75   */
  76  /**
  77   * Applies editor left position to the selector passed as argument
  78   */
  79  /**
  80   * Styles that are reused verbatim in a few places
  81   */
  82  /**
  83   * Allows users to opt-out of animations via OS-level preferences.
  84   */
  85  /**
  86   * Reset default styles for JavaScript UI based pages.
  87   * This is a WP-admin agnostic reset
  88   */
  89  /**
  90   * Reset the WP Admin page styles for Gutenberg-like pages.
  91   */
  92  /**
  93   * Creates a checkerboard pattern background to indicate transparency.
  94   * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
  95   */
  96  :root {
  97    --wp-block-synced-color: #7a00df;
  98    --wp-block-synced-color--rgb: 122, 0, 223;
  99    --wp-bound-block-color: var(--wp-block-synced-color);
 100    --wp-editor-canvas-background: #ddd;
 101    --wp-admin-theme-color: #3858e9;
 102    --wp-admin-theme-color--rgb: 56, 88, 233;
 103    --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615);
 104    --wp-admin-theme-color-darker-10--rgb: 33.0384615385, 68.7307692308, 230.4615384615;
 105    --wp-admin-theme-color-darker-20: rgb(23.6923076923, 58.1538461538, 214.3076923077);
 106    --wp-admin-theme-color-darker-20--rgb: 23.6923076923, 58.1538461538, 214.3076923077;
 107    --wp-admin-border-width-focus: 2px;
 108  }
 109  @media (min-resolution: 192dpi) {
 110    :root {
 111      --wp-admin-border-width-focus: 1.5px;
 112    }
 113  }
 114  
 115  body.admin-color-fresh {
 116    --wp-admin-theme-color: #007cba;
 117    --wp-admin-theme-color--rgb: 0, 124, 186;
 118    --wp-admin-theme-color-darker-10: rgb(0, 107, 160.5);
 119    --wp-admin-theme-color-darker-10--rgb: 0, 107, 160.5;
 120    --wp-admin-theme-color-darker-20: #005a87;
 121    --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
 122    --wp-admin-border-width-focus: 2px;
 123  }
 124  @media (min-resolution: 192dpi) {
 125    body.admin-color-fresh {
 126      --wp-admin-border-width-focus: 1.5px;
 127    }
 128  }
 129  
 130  #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector {
 131    background: #fff;
 132    box-sizing: border-box;
 133  }
 134  #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector * {
 135    box-sizing: inherit;
 136  }
 137  #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector .block-editor-block-inspector {
 138    margin: -12px;
 139  }
 140  #customize-theme-controls .customize-pane-child.accordion-section-content.customize-widgets-layout__inspector .block-editor-block-inspector h3 {
 141    margin-bottom: 0;
 142  }
 143  
 144  #customize-theme-controls .customize-pane-child.control-section-sidebar.is-sub-section-open {
 145    transform: translateX(-100%);
 146  }
 147  
 148  .customize-widgets-error-boundary {
 149    font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
 150    padding: var(--wpds-dimension-padding-md, 12px);
 151  }
 152  
 153  .customize-widgets-error-boundary__report {
 154    max-height: 420px;
 155    overflow: auto;
 156    overflow-anchor: none;
 157  }
 158  
 159  .customize-widgets-error-boundary__report-section {
 160    margin: 0;
 161    white-space: pre-wrap;
 162    overflow-wrap: break-word;
 163  }
 164  
 165  @media (min-width: 600px) {
 166    .customize-widgets-header {
 167      margin-bottom: 44px;
 168    }
 169  }
 170  .customize-widgets-header.is-fixed-toolbar-active {
 171    margin-bottom: 0;
 172  }
 173  .customize-widgets-header {
 174    display: flex;
 175    justify-content: flex-end;
 176    margin: -15px -12px 0 -12px;
 177    background: #f0f0f1;
 178    border-bottom: 1px solid #e0e0e0;
 179    z-index: 8;
 180  }
 181  
 182  .customize-widgets-header-toolbar {
 183    display: flex;
 184    border: none;
 185    width: 100%;
 186    align-items: center;
 187    gap: 8px;
 188    padding: 0 12px;
 189  }
 190  .customize-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon,
 191  .customize-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon {
 192    height: 32px;
 193    min-width: 32px;
 194    padding: 4px;
 195  }
 196  .customize-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon.is-pressed,
 197  .customize-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon.is-pressed {
 198    background: #1e1e1e;
 199  }
 200  .customize-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon:focus:not(:active),
 201  .customize-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon:focus:not(:active) {
 202    outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
 203    outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
 204  }
 205  .customize-widgets-header-toolbar > .components-button.has-icon.has-icon.has-icon::before,
 206  .customize-widgets-header-toolbar > .components-dropdown > .components-button.has-icon.has-icon::before {
 207    display: none;
 208  }
 209  .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon {
 210    border-radius: 2px;
 211    color: #fff;
 212    margin: 12px 0 12px auto;
 213  }
 214  @media not (prefers-reduced-motion) {
 215    .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon svg {
 216      transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
 217    }
 218  }
 219  .customize-widgets-header-toolbar .customize-widgets-header-toolbar__inserter-toggle.components-button.has-icon.is-pressed svg {
 220    transform: rotate(45deg);
 221  }
 222  
 223  #customize-sidebar-outer-content {
 224    width: auto;
 225    min-width: 100%;
 226  }
 227  
 228  #customize-outer-theme-controls .widgets-inserter {
 229    padding: 0;
 230  }
 231  #customize-outer-theme-controls .widgets-inserter .customize-section-description-container {
 232    display: none;
 233  }
 234  
 235  .customize-widgets-layout__inserter-panel {
 236    background: #fff;
 237  }
 238  
 239  .customize-widgets-layout__inserter-panel-header {
 240    display: flex;
 241    justify-content: space-between;
 242    align-items: center;
 243    padding: 16px;
 244    height: 46px;
 245    box-sizing: border-box;
 246    border-bottom: 1px solid #ddd;
 247  }
 248  .customize-widgets-layout__inserter-panel-header .customize-widgets-layout__inserter-panel-header-title {
 249    margin: 0;
 250  }
 251  
 252  .block-editor-inserter__quick-inserter .block-editor-inserter__panel-content {
 253    background: #fff;
 254  }
 255  
 256  .customize-widgets-keyboard-shortcut-help-modal__section {
 257    margin: 0 0 2rem 0;
 258  }
 259  .customize-widgets-keyboard-shortcut-help-modal__section-title {
 260    font-size: 0.9rem;
 261    font-weight: var(--wpds-typography-font-weight-emphasis, 600);
 262  }
 263  .customize-widgets-keyboard-shortcut-help-modal__shortcut {
 264    display: flex;
 265    align-items: baseline;
 266    padding: 0.6rem 0;
 267    border-top: 1px solid #ddd;
 268    margin-bottom: 0;
 269  }
 270  .customize-widgets-keyboard-shortcut-help-modal__shortcut:last-child {
 271    border-bottom: 1px solid #ddd;
 272  }
 273  .customize-widgets-keyboard-shortcut-help-modal__shortcut:empty {
 274    display: none;
 275  }
 276  .customize-widgets-keyboard-shortcut-help-modal__shortcut-term {
 277    font-weight: var(--wpds-typography-font-weight-emphasis, 600);
 278    margin: 0 0 0 1rem;
 279    text-align: right;
 280  }
 281  .customize-widgets-keyboard-shortcut-help-modal__shortcut-description {
 282    flex: 1;
 283    margin: 0;
 284  }
 285  .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination {
 286    display: block;
 287    background: none;
 288    margin: 0;
 289    padding: 0;
 290  }
 291  .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination + .customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination {
 292    margin-top: 10px;
 293  }
 294  .customize-widgets-keyboard-shortcut-help-modal__shortcut-key {
 295    padding: 0.25rem 0.5rem;
 296    border-radius: 8%;
 297    margin: 0 0.2rem 0 0.2rem;
 298  }
 299  .customize-widgets-keyboard-shortcut-help-modal__shortcut-key:last-child {
 300    margin: 0 0 0 0.2rem;
 301  }
 302  
 303  .components-popover.more-menu-dropdown__content {
 304    z-index: 99998;
 305  }
 306  
 307  .customize-control-sidebar_block_editor .block-editor-block-list__block-popover {
 308    position: fixed !important;
 309    z-index: 7;
 310  }
 311  
 312  .customize-widgets-popover .components-popover,
 313  .customize-control-sidebar_block_editor .components-popover {
 314    position: fixed !important;
 315  }
 316  
 317  .customize-widgets-welcome-guide__image__wrapper {
 318    background: #00a0d2;
 319    text-align: center;
 320    margin-bottom: 8px;
 321  }
 322  .customize-widgets-welcome-guide__image {
 323    height: auto;
 324  }
 325  .wrap .customize-widgets-welcome-guide__heading {
 326    font-size: 18px;
 327    font-weight: var(--wpds-typography-font-weight-emphasis, 600);
 328  }
 329  .customize-widgets-welcome-guide__text {
 330    line-height: 1.7;
 331  }
 332  .customize-widgets-welcome-guide__button {
 333    justify-content: center;
 334    margin: 1em 0;
 335    width: 100%;
 336  }
 337  .customize-widgets-welcome-guide__separator {
 338    margin: 1em 0;
 339  }
 340  .customize-widgets-welcome-guide__more-info {
 341    line-height: 1.4;
 342  }
 343  
 344  #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section.open {
 345    overflow: unset;
 346  }
 347  #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section {
 348    min-height: 100%;
 349    background-color: #fff;
 350    padding-top: 12px !important;
 351  }
 352  #customize-theme-controls .customize-pane-child.customize-widgets__sidebar-section .customize-section-title {
 353    position: static !important;
 354    margin-top: -12px !important;
 355    width: unset !important;
 356  }
 357  
 358  .components-modal__screen-overlay {
 359    z-index: 999999;
 360  }
 361  
 362  .customize-control-sidebar_block_editor,
 363  .customize-widgets-layout__inspector {
 364    box-sizing: border-box;
 365  }
 366  .customize-control-sidebar_block_editor *,
 367  .customize-control-sidebar_block_editor *::before,
 368  .customize-control-sidebar_block_editor *::after,
 369  .customize-widgets-layout__inspector *,
 370  .customize-widgets-layout__inspector *::before,
 371  .customize-widgets-layout__inspector *::after {
 372    box-sizing: inherit;
 373  }


Generated : Sat Oct 24 08:20:34 2026 Cross-referenced by PHPXref