| 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 |
* 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, #fcfcfc); |
| 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, #e4e4e4); |
| 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-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif); |
| 131 |
font-size: var(--wpds-typography-font-size-lg, 15px); |
| 132 |
font-weight: var(--wpds-typography-font-weight-medium, 499); |
| 133 |
line-height: var(--wpds-typography-line-height-lg, 28px); |
| 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, #707070); |
| 147 |
font-size: var(--wpds-typography-font-size-md, 13px); |
| 148 |
line-height: var(--wpds-typography-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-typography-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 |
font-family: var(--wpds-typography-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif); |
| 224 |
font-size: var(--wpds-typography-font-size-lg, 15px); |
| 225 |
font-weight: var(--wpds-typography-font-weight-medium, 499); |
| 226 |
line-height: var(--wpds-typography-line-height-lg, 28px); |
| 227 |
list-style: none; |
| 228 |
padding: 0; |
| 229 |
margin: 0; |
| 230 |
gap: 0; |
| 231 |
min-height: 32px; |
| 232 |
} |
| 233 |
|
| 234 |
.admin-ui-breadcrumbs__list li:not(:last-child)::after { |
| 235 |
content: "/"; |
| 236 |
margin: 0 8px; |
| 237 |
} |
| 238 |
|
| 239 |
.admin-ui-breadcrumbs__list h1 { |
| 240 |
font-size: inherit; |
| 241 |
line-height: inherit; |
| 242 |
} |
| 243 |
|
| 244 |
.edit-post-fullscreen-mode-close__view-mode-toggle { |
| 245 |
top: 0; |
| 246 |
right: 0; |
| 247 |
height: 64px; |
| 248 |
width: 64px; |
| 249 |
z-index: 100; |
| 250 |
} |
| 251 |
.edit-post-fullscreen-mode-close__view-mode-toggle .components-button { |
| 252 |
color: #fff; |
| 253 |
height: 100%; |
| 254 |
width: 100%; |
| 255 |
border-radius: 0; |
| 256 |
overflow: hidden; |
| 257 |
padding: 0; |
| 258 |
display: flex; |
| 259 |
align-items: center; |
| 260 |
justify-content: center; |
| 261 |
} |
| 262 |
.edit-post-fullscreen-mode-close__view-mode-toggle .components-button:hover, .edit-post-fullscreen-mode-close__view-mode-toggle .components-button:active { |
| 263 |
color: #fff; |
| 264 |
} |
| 265 |
.edit-post-fullscreen-mode-close__view-mode-toggle .components-button:focus { |
| 266 |
box-shadow: none; |
| 267 |
} |
| 268 |
.edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__view-mode-toggle-icon svg, |
| 269 |
.edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__view-mode-toggle-icon img { |
| 270 |
background: #1e1e1e; |
| 271 |
display: block; |
| 272 |
} |
| 273 |
|
| 274 |
.edit-post-fullscreen-mode-close-site-icon__icon { |
| 275 |
fill: currentColor; |
| 276 |
width: 100%; |
| 277 |
height: 100%; |
| 278 |
padding: 12px; |
| 279 |
} |
| 280 |
|
| 281 |
.edit-post-fullscreen-mode-close-site-icon__image { |
| 282 |
width: 100%; |
| 283 |
height: 100%; |
| 284 |
object-fit: cover; |
| 285 |
background: #333; |
| 286 |
aspect-ratio: 1/1; |
| 287 |
} |
| 288 |
|
| 289 |
.edit-post-fullscreen-mode-close.components-button:focus { |
| 290 |
position: relative; |
| 291 |
} |
| 292 |
.edit-post-fullscreen-mode-close.components-button:focus::before { |
| 293 |
content: ""; |
| 294 |
display: block; |
| 295 |
position: absolute; |
| 296 |
z-index: 1; |
| 297 |
top: 0; |
| 298 |
left: 0; |
| 299 |
bottom: 0; |
| 300 |
right: 0; |
| 301 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 calc(1px + var(--wp-admin-border-width-focus)) #fff; |
| 302 |
} |
| 303 |
|
| 304 |
.edit-post-fullscreen-mode-close__back-icon { |
| 305 |
position: absolute; |
| 306 |
top: 0; |
| 307 |
right: 0; |
| 308 |
width: 64px; |
| 309 |
height: 64px; |
| 310 |
display: flex; |
| 311 |
align-items: center; |
| 312 |
justify-content: center; |
| 313 |
background-color: hsl(0, 0%, 80%); |
| 314 |
pointer-events: none; |
| 315 |
} |
| 316 |
.edit-post-fullscreen-mode-close__back-icon svg { |
| 317 |
fill: currentColor; |
| 318 |
} |
| 319 |
.edit-post-fullscreen-mode-close__back-icon.has-site-icon { |
| 320 |
background-color: hsla(0, 0%, 100%, 0.6); |
| 321 |
backdrop-filter: saturate(180%) blur(15px); |
| 322 |
} |
| 323 |
|
| 324 |
/** |
| 325 |
* Show icon label overrides. |
| 326 |
*/ |
| 327 |
.show-icon-labels .editor-header .edit-post-fullscreen-mode-close.has-icon { |
| 328 |
width: 64px; |
| 329 |
} |
| 330 |
.show-icon-labels .editor-header .edit-post-fullscreen-mode-close.has-icon svg { |
| 331 |
display: block; |
| 332 |
} |
| 333 |
.show-icon-labels .editor-header .edit-post-fullscreen-mode-close.has-icon::after { |
| 334 |
content: none; |
| 335 |
} |
| 336 |
|
| 337 |
.edit-post-meta-boxes-main { |
| 338 |
filter: drop-shadow(0 -1px rgba(0, 0, 0, 0.133)); |
| 339 |
outline: 1px solid transparent; |
| 340 |
background-color: #fff; |
| 341 |
display: flex; |
| 342 |
flex-direction: column; |
| 343 |
overflow: hidden; |
| 344 |
} |
| 345 |
|
| 346 |
.edit-post-meta-boxes-main__presenter { |
| 347 |
flex-shrink: 0; |
| 348 |
display: flex; |
| 349 |
justify-content: center; |
| 350 |
box-shadow: 0 1px #ddd; |
| 351 |
outline: 1px solid transparent; |
| 352 |
position: relative; |
| 353 |
z-index: 1; |
| 354 |
height: 32px; |
| 355 |
} |
| 356 |
@media (pointer: coarse) { |
| 357 |
.edit-post-meta-boxes-main__presenter { |
| 358 |
height: 36px; |
| 359 |
} |
| 360 |
} |
| 361 |
.edit-post-meta-boxes-main__presenter > button { |
| 362 |
appearance: none; |
| 363 |
padding: 0; |
| 364 |
border: none; |
| 365 |
outline: none; |
| 366 |
background-color: transparent; |
| 367 |
touch-action: none; |
| 368 |
} |
| 369 |
.edit-post-meta-boxes-main__presenter > button[aria-expanded] { |
| 370 |
cursor: pointer; |
| 371 |
width: 100%; |
| 372 |
display: flex; |
| 373 |
justify-content: space-between; |
| 374 |
align-items: center; |
| 375 |
padding-inline: 24px 12px; |
| 376 |
} |
| 377 |
.edit-post-meta-boxes-main__presenter > button[aria-expanded]:is(:hover, :focus-visible) { |
| 378 |
color: var(--wp-admin-theme-color); |
| 379 |
} |
| 380 |
.edit-post-meta-boxes-main__presenter > button[aria-expanded]:focus-visible::after { |
| 381 |
content: ""; |
| 382 |
position: absolute; |
| 383 |
inset: var(--wp-admin-border-width-focus); |
| 384 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
| 385 |
outline: 2px solid transparent; |
| 386 |
} |
| 387 |
.edit-post-meta-boxes-main__presenter > button[aria-expanded] > svg { |
| 388 |
fill: currentColor; |
| 389 |
} |
| 390 |
.edit-post-meta-boxes-main__presenter > button[role=separator] { |
| 391 |
cursor: row-resize; |
| 392 |
position: absolute; |
| 393 |
width: 64px; |
| 394 |
height: inherit; |
| 395 |
} |
| 396 |
.edit-post-meta-boxes-main__presenter > button[role=separator]::before { |
| 397 |
content: ""; |
| 398 |
background-color: #ddd; |
| 399 |
outline: 2px solid transparent; |
| 400 |
outline-offset: -2px; |
| 401 |
position: absolute; |
| 402 |
inset-block: calc(50% - 4px / 2) auto; |
| 403 |
transform: translateX(50%); |
| 404 |
width: inherit; |
| 405 |
height: 4px; |
| 406 |
border-radius: 2px; |
| 407 |
} |
| 408 |
@media not (prefers-reduced-motion) { |
| 409 |
.edit-post-meta-boxes-main__presenter > button[role=separator]::before { |
| 410 |
transition: width 0.3s ease-out; |
| 411 |
} |
| 412 |
} |
| 413 |
.edit-post-meta-boxes-main__presenter > button[role=separator]:is(:hover, :focus)::before { |
| 414 |
background-color: var(--wp-admin-theme-color); |
| 415 |
width: 80px; |
| 416 |
} |
| 417 |
|
| 418 |
.edit-post-meta-boxes-main .edit-post-meta-boxes-main__liner { |
| 419 |
overflow: auto; |
| 420 |
} |
| 421 |
.edit-post-meta-boxes-main__liner { |
| 422 |
isolation: isolate; |
| 423 |
} |
| 424 |
.is-resizing.edit-post-meta-boxes-main .edit-post-meta-boxes-main__liner { |
| 425 |
display: unset; |
| 426 |
} |
| 427 |
|
| 428 |
.edit-post-layout__metaboxes { |
| 429 |
clear: both; |
| 430 |
} |
| 431 |
|
| 432 |
.has-metaboxes .interface-interface-skeleton__content:has(.edit-post-meta-boxes-main) .editor-visual-editor { |
| 433 |
flex-shrink: 1; |
| 434 |
flex-basis: 0%; |
| 435 |
overflow: hidden; |
| 436 |
isolation: isolate; |
| 437 |
} |
| 438 |
|
| 439 |
.edit-post-layout__snackbar { |
| 440 |
position: fixed; |
| 441 |
bottom: 24px; |
| 442 |
right: 0; |
| 443 |
left: 0; |
| 444 |
padding-inline: 16px; |
| 445 |
box-sizing: border-box; |
| 446 |
display: flex; |
| 447 |
flex-direction: column; |
| 448 |
pointer-events: none; |
| 449 |
} |
| 450 |
.edit-post-layout__snackbar .components-snackbar { |
| 451 |
margin-inline: auto; |
| 452 |
} |
| 453 |
|
| 454 |
.edit-post-meta-boxes-area { |
| 455 |
position: relative; |
| 456 |
/** |
| 457 |
* The wordpress default for most meta-box elements is content-box. Some |
| 458 |
* elements such as textarea and input are set to border-box in forms.css. |
| 459 |
* These elements therefore specifically set back to border-box here, while |
| 460 |
* other elements (such as .button) are unaffected by Gutenberg's style |
| 461 |
* because of their higher specificity. |
| 462 |
*/ |
| 463 |
} |
| 464 |
.edit-post-meta-boxes-area__container, |
| 465 |
.edit-post-meta-boxes-area .inside { |
| 466 |
box-sizing: content-box; |
| 467 |
} |
| 468 |
.edit-post-meta-boxes-area textarea, |
| 469 |
.edit-post-meta-boxes-area input { |
| 470 |
box-sizing: border-box; |
| 471 |
} |
| 472 |
.edit-post-meta-boxes-area .postbox-header { |
| 473 |
border-top: 1px solid #ddd; |
| 474 |
border-bottom: 0; |
| 475 |
} |
| 476 |
.edit-post-meta-boxes-area { |
| 477 |
/* Match width and positioning of the meta boxes. Override default styles. */ |
| 478 |
} |
| 479 |
.edit-post-meta-boxes-area #poststuff { |
| 480 |
margin: 0 auto; |
| 481 |
padding-top: 0; |
| 482 |
min-width: auto; |
| 483 |
} |
| 484 |
.edit-post-meta-boxes-area { |
| 485 |
/* Override Default meta box stylings */ |
| 486 |
} |
| 487 |
.edit-post-meta-boxes-area #poststuff h3.hndle, |
| 488 |
.edit-post-meta-boxes-area #poststuff .stuffbox > h3, |
| 489 |
.edit-post-meta-boxes-area #poststuff h2.hndle { /* WordPress selectors yolo */ |
| 490 |
box-sizing: border-box; |
| 491 |
color: inherit; |
| 492 |
font-weight: 600; |
| 493 |
outline: none; |
| 494 |
padding: 0 24px; |
| 495 |
position: relative; |
| 496 |
width: 100%; |
| 497 |
} |
| 498 |
.edit-post-meta-boxes-area .postbox { |
| 499 |
border: 0; |
| 500 |
color: inherit; |
| 501 |
margin-bottom: 0; |
| 502 |
} |
| 503 |
.edit-post-meta-boxes-area .postbox > .inside { |
| 504 |
color: inherit; |
| 505 |
padding: 0 24px 24px; |
| 506 |
margin: 0; |
| 507 |
} |
| 508 |
.edit-post-meta-boxes-area .postbox .handlediv { |
| 509 |
height: 44px; |
| 510 |
width: 44px; |
| 511 |
} |
| 512 |
.edit-post-meta-boxes-area.is-loading::before { |
| 513 |
position: absolute; |
| 514 |
top: 0; |
| 515 |
right: 0; |
| 516 |
left: 0; |
| 517 |
bottom: 0; |
| 518 |
content: ""; |
| 519 |
background: transparent; |
| 520 |
z-index: 1; |
| 521 |
} |
| 522 |
.edit-post-meta-boxes-area .components-spinner { |
| 523 |
position: absolute; |
| 524 |
top: 10px; |
| 525 |
left: 20px; |
| 526 |
z-index: 5; |
| 527 |
} |
| 528 |
.edit-post-meta-boxes-area .is-hidden { |
| 529 |
display: none; |
| 530 |
} |
| 531 |
|
| 532 |
.edit-post-meta-boxes-area__clear { |
| 533 |
clear: both; |
| 534 |
} |
| 535 |
|
| 536 |
.edit-post-welcome-guide, |
| 537 |
.edit-template-welcome-guide { |
| 538 |
width: 312px; |
| 539 |
} |
| 540 |
.edit-post-welcome-guide__image, |
| 541 |
.edit-template-welcome-guide__image { |
| 542 |
background: #00a0d2; |
| 543 |
margin: 0 0 16px; |
| 544 |
} |
| 545 |
.edit-post-welcome-guide__image > img, |
| 546 |
.edit-template-welcome-guide__image > img { |
| 547 |
display: block; |
| 548 |
max-width: 100%; |
| 549 |
object-fit: cover; |
| 550 |
} |
| 551 |
.edit-post-welcome-guide__heading, |
| 552 |
.edit-template-welcome-guide__heading { |
| 553 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 554 |
font-size: 24px; |
| 555 |
line-height: 1.4; |
| 556 |
margin: 16px 0 16px 0; |
| 557 |
padding: 0 24px; |
| 558 |
} |
| 559 |
.edit-post-welcome-guide__text, |
| 560 |
.edit-template-welcome-guide__text { |
| 561 |
font-size: 13px; |
| 562 |
line-height: 1.4; |
| 563 |
margin: 0 0 24px 0; |
| 564 |
padding: 0 24px; |
| 565 |
} |
| 566 |
.edit-post-welcome-guide__inserter-icon, |
| 567 |
.edit-template-welcome-guide__inserter-icon { |
| 568 |
margin: 0 4px; |
| 569 |
vertical-align: text-top; |
| 570 |
} |
| 571 |
.edit-post-welcome-guide .components-button:hover svg, |
| 572 |
.edit-template-welcome-guide .components-button:hover svg { |
| 573 |
fill: #fff; |
| 574 |
} |
| 575 |
|
| 576 |
.edit-template-welcome-guide .components-button svg { |
| 577 |
fill: #fff; |
| 578 |
} |
| 579 |
|
| 580 |
body.js.block-editor-page { |
| 581 |
background: #fff; |
| 582 |
} |
| 583 |
body.js.block-editor-page #wpcontent { |
| 584 |
padding-right: 0; |
| 585 |
} |
| 586 |
body.js.block-editor-page #wpbody-content { |
| 587 |
padding-bottom: 0; |
| 588 |
} |
| 589 |
body.js.block-editor-page { |
| 590 |
/* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well. |
| 591 |
Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */ |
| 592 |
} |
| 593 |
body.js.block-editor-page #wpbody-content > div:not(.block-editor):not(#screen-meta) { |
| 594 |
display: none; |
| 595 |
} |
| 596 |
body.js.block-editor-page #wpfooter { |
| 597 |
display: none; |
| 598 |
} |
| 599 |
body.js.block-editor-page .a11y-speak-region { |
| 600 |
right: -1px; |
| 601 |
top: -1px; |
| 602 |
} |
| 603 |
body.js.block-editor-page ul#adminmenu a.wp-has-current-submenu::after, |
| 604 |
body.js.block-editor-page ul#adminmenu > li.current > a.current::after { |
| 605 |
border-left-color: #fff; |
| 606 |
} |
| 607 |
body.js.block-editor-page .media-frame select.attachment-filters:last-of-type { |
| 608 |
width: auto; |
| 609 |
max-width: 100%; |
| 610 |
} |
| 611 |
|
| 612 |
.block-editor-page #wpwrap { |
| 613 |
overflow-y: auto; |
| 614 |
} |
| 615 |
@media (min-width: 782px) { |
| 616 |
.block-editor-page #wpwrap { |
| 617 |
overflow-y: initial; |
| 618 |
} |
| 619 |
} |
| 620 |
|
| 621 |
.edit-post-visual-editor.is-iframed { |
| 622 |
box-sizing: border-box; |
| 623 |
} |
| 624 |
.edit-post-visual-editor.is-iframed *, |
| 625 |
.edit-post-visual-editor.is-iframed *::before, |
| 626 |
.edit-post-visual-editor.is-iframed *::after { |
| 627 |
box-sizing: inherit; |
| 628 |
} |
| 629 |
|
| 630 |
@media (min-width: 600px) { |
| 631 |
.block-editor__container { |
| 632 |
position: absolute; |
| 633 |
top: 0; |
| 634 |
left: 0; |
| 635 |
bottom: 0; |
| 636 |
right: 0; |
| 637 |
min-height: calc(100vh - 46px); |
| 638 |
} |
| 639 |
} |
| 640 |
@media (min-width: 782px) { |
| 641 |
.block-editor__container { |
| 642 |
min-height: calc(100vh - 32px); |
| 643 |
} |
| 644 |
body.is-fullscreen-mode .block-editor__container { |
| 645 |
min-height: 100vh; |
| 646 |
} |
| 647 |
} |
| 648 |
.block-editor__container img { |
| 649 |
max-width: 100%; |
| 650 |
height: auto; |
| 651 |
} |