| 1 |
@charset "UTF-8"; |
| 2 |
/** |
| 3 |
* Typography |
| 4 |
*/ |
| 5 |
/** |
| 6 |
* SCSS Variables. |
| 7 |
* |
| 8 |
* Please use variables from this sheet to ensure consistency across the UI. |
| 9 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 10 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 11 |
*/ |
| 12 |
/** |
| 13 |
* Colors |
| 14 |
*/ |
| 15 |
/** |
| 16 |
* Fonts & basic variables. |
| 17 |
*/ |
| 18 |
/** |
| 19 |
* Typography |
| 20 |
*/ |
| 21 |
/** |
| 22 |
* Grid System. |
| 23 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 24 |
*/ |
| 25 |
/** |
| 26 |
* Radius scale. |
| 27 |
*/ |
| 28 |
/** |
| 29 |
* Elevation scale. |
| 30 |
*/ |
| 31 |
/** |
| 32 |
* Dimensions. |
| 33 |
*/ |
| 34 |
/** |
| 35 |
* Mobile specific styles |
| 36 |
*/ |
| 37 |
/** |
| 38 |
* Editor styles. |
| 39 |
*/ |
| 40 |
/** |
| 41 |
* Block & Editor UI. |
| 42 |
*/ |
| 43 |
/** |
| 44 |
* Block paddings. |
| 45 |
*/ |
| 46 |
/** |
| 47 |
* React Native specific. |
| 48 |
* These variables do not appear to be used anywhere else. |
| 49 |
*/ |
| 50 |
/** |
| 51 |
* Breakpoints & Media Queries |
| 52 |
*/ |
| 53 |
/** |
| 54 |
* Converts a hex value into the rgb equivalent. |
| 55 |
* |
| 56 |
* @param {string} hex - the hexadecimal value to convert |
| 57 |
* @return {string} comma separated rgb values |
| 58 |
*/ |
| 59 |
/** |
| 60 |
* Long content fade mixin |
| 61 |
* |
| 62 |
* Creates a fading overlay to signify that the content is longer |
| 63 |
* than the space allows. |
| 64 |
*/ |
| 65 |
/** |
| 66 |
* Breakpoint mixins |
| 67 |
*/ |
| 68 |
/** |
| 69 |
* Focus styles. |
| 70 |
*/ |
| 71 |
/** |
| 72 |
* Applies editor left position to the selector passed as argument |
| 73 |
*/ |
| 74 |
/** |
| 75 |
* Styles that are reused verbatim in a few places |
| 76 |
*/ |
| 77 |
/** |
| 78 |
* Allows users to opt-out of animations via OS-level preferences. |
| 79 |
*/ |
| 80 |
/** |
| 81 |
* Reset default styles for JavaScript UI based pages. |
| 82 |
* This is a WP-admin agnostic reset |
| 83 |
*/ |
| 84 |
/** |
| 85 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
| 86 |
*/ |
| 87 |
/** |
| 88 |
* Creates a checkerboard pattern background to indicate transparency. |
| 89 |
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. |
| 90 |
*/ |
| 91 |
@media not (prefers-reduced-motion) { |
| 92 |
.components-animate__appear { |
| 93 |
animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s; |
| 94 |
animation-fill-mode: forwards; |
| 95 |
} |
| 96 |
} |
| 97 |
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left { |
| 98 |
transform-origin: top left; |
| 99 |
} |
| 100 |
.components-animate__appear.is-from-top.is-from-right { |
| 101 |
transform-origin: top right; |
| 102 |
} |
| 103 |
.components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left { |
| 104 |
transform-origin: bottom left; |
| 105 |
} |
| 106 |
.components-animate__appear.is-from-bottom.is-from-right { |
| 107 |
transform-origin: bottom right; |
| 108 |
} |
| 109 |
|
| 110 |
@keyframes components-animate__appear-animation { |
| 111 |
from { |
| 112 |
transform: translateY(-2em) scaleY(0) scaleX(0); |
| 113 |
} |
| 114 |
to { |
| 115 |
transform: translateY(0%) scaleY(1) scaleX(1); |
| 116 |
} |
| 117 |
} |
| 118 |
@media not (prefers-reduced-motion) { |
| 119 |
.components-animate__slide-in { |
| 120 |
animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1); |
| 121 |
animation-fill-mode: forwards; |
| 122 |
} |
| 123 |
.components-animate__slide-in.is-from-left { |
| 124 |
transform: translateX(100%); |
| 125 |
} |
| 126 |
.components-animate__slide-in.is-from-right { |
| 127 |
transform: translateX(-100%); |
| 128 |
} |
| 129 |
} |
| 130 |
|
| 131 |
@keyframes components-animate__slide-in-animation { |
| 132 |
100% { |
| 133 |
transform: translateX(0%); |
| 134 |
} |
| 135 |
} |
| 136 |
@media not (prefers-reduced-motion) { |
| 137 |
.components-animate__loading { |
| 138 |
animation: components-animate__loading 1.6s ease-in-out infinite; |
| 139 |
} |
| 140 |
} |
| 141 |
|
| 142 |
@keyframes components-animate__loading { |
| 143 |
0% { |
| 144 |
opacity: 0.5; |
| 145 |
} |
| 146 |
50% { |
| 147 |
opacity: 1; |
| 148 |
} |
| 149 |
100% { |
| 150 |
opacity: 0.5; |
| 151 |
} |
| 152 |
} |
| 153 |
.components-autocomplete__popover .components-popover__content { |
| 154 |
padding: 8px; |
| 155 |
min-width: 200px; |
| 156 |
} |
| 157 |
|
| 158 |
.components-autocomplete__result.components-button { |
| 159 |
display: flex; |
| 160 |
height: auto; |
| 161 |
min-height: 36px; |
| 162 |
text-align: left; |
| 163 |
width: 100%; |
| 164 |
} |
| 165 |
.components-autocomplete__result.components-button:focus:not(:disabled) { |
| 166 |
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
| 167 |
outline: 2px solid transparent; |
| 168 |
} |
| 169 |
|
| 170 |
.components-badge { |
| 171 |
box-sizing: border-box; |
| 172 |
} |
| 173 |
.components-badge *, |
| 174 |
.components-badge *::before, |
| 175 |
.components-badge *::after { |
| 176 |
box-sizing: inherit; |
| 177 |
} |
| 178 |
.components-badge { |
| 179 |
background-color: color-mix(in srgb, #fff 90%, var(--base-color)); |
| 180 |
color: color-mix(in srgb, #000 50%, var(--base-color)); |
| 181 |
padding: 2px 8px; |
| 182 |
min-height: 24px; |
| 183 |
border-radius: 2px; |
| 184 |
line-height: 0; |
| 185 |
max-width: 100%; |
| 186 |
display: inline-block; |
| 187 |
} |
| 188 |
.components-badge:where(.is-default) { |
| 189 |
background-color: #f0f0f0; |
| 190 |
color: #2f2f2f; |
| 191 |
} |
| 192 |
.components-badge.has-icon { |
| 193 |
padding-inline-start: 4px; |
| 194 |
} |
| 195 |
.components-badge.is-info { |
| 196 |
--base-color: #3858e9; |
| 197 |
} |
| 198 |
.components-badge.is-warning { |
| 199 |
--base-color: #f0b849; |
| 200 |
} |
| 201 |
.components-badge.is-error { |
| 202 |
--base-color: #cc1818; |
| 203 |
} |
| 204 |
.components-badge.is-success { |
| 205 |
--base-color: #4ab866; |
| 206 |
} |
| 207 |
|
| 208 |
.components-badge__flex-wrapper { |
| 209 |
display: inline-flex; |
| 210 |
align-items: center; |
| 211 |
gap: 2px; |
| 212 |
max-width: 100%; |
| 213 |
font-size: 12px; |
| 214 |
font-weight: 400; |
| 215 |
line-height: 20px; |
| 216 |
} |
| 217 |
|
| 218 |
.components-badge__icon { |
| 219 |
flex-shrink: 0; |
| 220 |
} |
| 221 |
|
| 222 |
.components-badge__content { |
| 223 |
overflow: hidden; |
| 224 |
white-space: nowrap; |
| 225 |
text-overflow: ellipsis; |
| 226 |
} |
| 227 |
|
| 228 |
.components-button-group { |
| 229 |
display: inline-block; |
| 230 |
} |
| 231 |
.components-button-group .components-button { |
| 232 |
border-radius: 0; |
| 233 |
display: inline-flex; |
| 234 |
color: #1e1e1e; |
| 235 |
box-shadow: inset 0 0 0 1px #1e1e1e; |
| 236 |
} |
| 237 |
.components-button-group .components-button + .components-button { |
| 238 |
margin-left: -1px; |
| 239 |
} |
| 240 |
.components-button-group .components-button:first-child { |
| 241 |
border-radius: 2px 0 0 2px; |
| 242 |
} |
| 243 |
.components-button-group .components-button:last-child { |
| 244 |
border-radius: 0 2px 2px 0; |
| 245 |
} |
| 246 |
.components-button-group .components-button:focus, .components-button-group .components-button.is-primary { |
| 247 |
position: relative; |
| 248 |
z-index: 1; |
| 249 |
} |
| 250 |
.components-button-group .components-button.is-primary { |
| 251 |
box-shadow: inset 0 0 0 1px #1e1e1e; |
| 252 |
} |
| 253 |
|
| 254 |
/** |
| 255 |
* For easier testing of potential regressions, you can use a Button variant matrix |
| 256 |
* available in a special Storybook instance by running `npm run storybook:e2e:dev`. |
| 257 |
* |
| 258 |
* @see https://github.com/WordPress/gutenberg/blob/trunk/test/storybook-playwright/README.md |
| 259 |
*/ |
| 260 |
.components-button { |
| 261 |
display: inline-flex; |
| 262 |
text-decoration: none; |
| 263 |
font-family: inherit; |
| 264 |
font-size: 13px; |
| 265 |
font-weight: 499; |
| 266 |
margin: 0; |
| 267 |
border: 0; |
| 268 |
cursor: var(--wpds-cursor-control, pointer); |
| 269 |
appearance: none; |
| 270 |
background: none; |
| 271 |
} |
| 272 |
@media not (prefers-reduced-motion) { |
| 273 |
.components-button { |
| 274 |
transition: box-shadow 0.1s linear; |
| 275 |
} |
| 276 |
} |
| 277 |
.components-button { |
| 278 |
height: 36px; |
| 279 |
align-items: center; |
| 280 |
box-sizing: border-box; |
| 281 |
padding: 4px 12px; |
| 282 |
border-radius: 2px; |
| 283 |
color: var(--wp-components-color-foreground, #1e1e1e); |
| 284 |
} |
| 285 |
.components-button.is-next-40px-default-size { |
| 286 |
height: 40px; |
| 287 |
} |
| 288 |
.components-button[aria-expanded=true], .components-button:hover:not(:disabled, [aria-disabled=true]) { |
| 289 |
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 290 |
} |
| 291 |
.components-button:focus:not(:active) { |
| 292 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 293 |
} |
| 294 |
.components-button { |
| 295 |
/** |
| 296 |
* Primary button style. |
| 297 |
*/ |
| 298 |
} |
| 299 |
.components-button.is-primary { |
| 300 |
white-space: nowrap; |
| 301 |
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 302 |
color: var(--wp-components-color-accent-inverted, #fff); |
| 303 |
text-decoration: none; |
| 304 |
text-shadow: none; |
| 305 |
outline: 1px solid transparent; |
| 306 |
} |
| 307 |
.components-button.is-primary:hover:not(:disabled) { |
| 308 |
background: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)); |
| 309 |
color: var(--wp-components-color-accent-inverted, #fff); |
| 310 |
} |
| 311 |
.components-button.is-primary:active:not(:disabled) { |
| 312 |
background: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)); |
| 313 |
border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)); |
| 314 |
color: var(--wp-components-color-accent-inverted, #fff); |
| 315 |
} |
| 316 |
.components-button.is-primary:focus:not(:active) { |
| 317 |
box-shadow: inset 0 0 0 1px var(--wp-components-color-background, #fff), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 318 |
} |
| 319 |
.components-button.is-primary:disabled, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary[aria-disabled=true], .components-button.is-primary[aria-disabled=true]:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled { |
| 320 |
color: rgba(255, 255, 255, 0.4); |
| 321 |
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 322 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 323 |
outline: none; |
| 324 |
} |
| 325 |
.components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:focus:enabled, .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled { |
| 326 |
box-shadow: inset 0 0 0 1px var(--wp-components-color-background, #fff), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 327 |
} |
| 328 |
.components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] { |
| 329 |
color: var(--wp-components-color-accent-inverted, #fff); |
| 330 |
background-size: 100px 100%; |
| 331 |
/* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */ |
| 332 |
background-image: linear-gradient(-45deg, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)) 70%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 70%); |
| 333 |
/* stylelint-enable */ |
| 334 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 335 |
} |
| 336 |
.components-button { |
| 337 |
/** |
| 338 |
* Secondary and tertiary buttons. |
| 339 |
*/ |
| 340 |
} |
| 341 |
.components-button.is-secondary, .components-button.is-tertiary { |
| 342 |
outline: 1px solid transparent; |
| 343 |
} |
| 344 |
.components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) { |
| 345 |
box-shadow: none; |
| 346 |
} |
| 347 |
.components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled=true], .components-button.is-secondary[aria-disabled=true]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled=true], .components-button.is-tertiary[aria-disabled=true]:hover { |
| 348 |
color: #949494; |
| 349 |
background: transparent; |
| 350 |
transform: none; |
| 351 |
} |
| 352 |
.components-button { |
| 353 |
/** |
| 354 |
* Secondary button style. |
| 355 |
*/ |
| 356 |
} |
| 357 |
.components-button.is-secondary { |
| 358 |
box-shadow: inset 0 0 0 1px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)), 0 0 0 currentColor; |
| 359 |
outline: 1px solid transparent; |
| 360 |
white-space: nowrap; |
| 361 |
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 362 |
background: transparent; |
| 363 |
} |
| 364 |
.components-button.is-secondary:hover:not(:disabled, [aria-disabled=true], .is-pressed) { |
| 365 |
box-shadow: inset 0 0 0 1px var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)); |
| 366 |
color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)); |
| 367 |
background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent); |
| 368 |
} |
| 369 |
.components-button.is-secondary:disabled:not(:focus), .components-button.is-secondary[aria-disabled=true]:not(:focus), .components-button.is-secondary[aria-disabled=true]:hover:not(:focus) { |
| 370 |
box-shadow: inset 0 0 0 1px #ddd; |
| 371 |
} |
| 372 |
.components-button.is-secondary:focus:not(:active) { |
| 373 |
box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 374 |
} |
| 375 |
.components-button { |
| 376 |
/** |
| 377 |
* Tertiary buttons. |
| 378 |
*/ |
| 379 |
} |
| 380 |
.components-button.is-tertiary { |
| 381 |
white-space: nowrap; |
| 382 |
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 383 |
background: transparent; |
| 384 |
} |
| 385 |
.components-button.is-tertiary:hover:not(:disabled, [aria-disabled=true], .is-pressed) { |
| 386 |
background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent); |
| 387 |
color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)); |
| 388 |
} |
| 389 |
.components-button.is-tertiary:active:not(:disabled, [aria-disabled=true]) { |
| 390 |
background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 8%, transparent); |
| 391 |
} |
| 392 |
p + .components-button.is-tertiary { |
| 393 |
margin-left: -6px; |
| 394 |
} |
| 395 |
.components-button.is-tertiary:disabled:not(:focus), .components-button.is-tertiary[aria-disabled=true]:not(:focus), .components-button.is-tertiary[aria-disabled=true]:hover:not(:focus) { |
| 396 |
box-shadow: none; |
| 397 |
outline: none; |
| 398 |
} |
| 399 |
.components-button { |
| 400 |
/** |
| 401 |
* Destructive buttons. |
| 402 |
*/ |
| 403 |
} |
| 404 |
.components-button.is-destructive { |
| 405 |
--wp-components-color-accent: #cc1818; |
| 406 |
--wp-components-color-accent-darker-10: rgb(158.3684210526, 18.6315789474, 18.6315789474); |
| 407 |
--wp-components-color-accent-darker-20: rgb(112.7368421053, 13.2631578947, 13.2631578947); |
| 408 |
} |
| 409 |
.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link) { |
| 410 |
color: #cc1818; |
| 411 |
} |
| 412 |
.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):hover:not(:disabled, [aria-disabled=true]) { |
| 413 |
color: rgb(112.7368421053, 13.2631578947, 13.2631578947); |
| 414 |
} |
| 415 |
.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):focus:not(:active) { |
| 416 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #cc1818; |
| 417 |
} |
| 418 |
.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):active:not(:disabled, [aria-disabled=true]) { |
| 419 |
background: #ccc; |
| 420 |
} |
| 421 |
.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):disabled, .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link)[aria-disabled=true] { |
| 422 |
color: #949494; |
| 423 |
} |
| 424 |
.components-button.is-destructive.is-tertiary:hover:not(:disabled, [aria-disabled=true]), .components-button.is-destructive.is-secondary:hover:not(:disabled, [aria-disabled=true]) { |
| 425 |
background: rgba(204, 24, 24, 0.04); |
| 426 |
} |
| 427 |
.components-button.is-destructive.is-tertiary:active:not(:disabled, [aria-disabled=true]), .components-button.is-destructive.is-secondary:active:not(:disabled, [aria-disabled=true]) { |
| 428 |
background: rgba(204, 24, 24, 0.08); |
| 429 |
} |
| 430 |
.components-button { |
| 431 |
/** |
| 432 |
* Link buttons. |
| 433 |
*/ |
| 434 |
} |
| 435 |
.components-button.is-link { |
| 436 |
margin: 0; |
| 437 |
padding: 0; |
| 438 |
box-shadow: none; |
| 439 |
border: 0; |
| 440 |
border-radius: 0; |
| 441 |
background: none; |
| 442 |
outline: none; |
| 443 |
text-align: left; |
| 444 |
font-weight: 400; |
| 445 |
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 446 |
text-decoration: underline; |
| 447 |
text-underline-offset: 0.2em; |
| 448 |
text-decoration-thickness: from-font; |
| 449 |
} |
| 450 |
@media not (prefers-reduced-motion) { |
| 451 |
.components-button.is-link { |
| 452 |
transition-property: border, background, color; |
| 453 |
transition-duration: 0.05s; |
| 454 |
transition-timing-function: ease-in-out; |
| 455 |
} |
| 456 |
} |
| 457 |
.components-button.is-link { |
| 458 |
height: auto; |
| 459 |
} |
| 460 |
.components-button.is-link:focus { |
| 461 |
border-radius: 2px; |
| 462 |
} |
| 463 |
.components-button.is-link:disabled, .components-button.is-link[aria-disabled=true] { |
| 464 |
color: #949494; |
| 465 |
} |
| 466 |
.components-button:focus { |
| 467 |
outline: 3px solid transparent; |
| 468 |
} |
| 469 |
.components-button:not(:disabled, [aria-disabled=true]):active { |
| 470 |
color: var(--wp-components-color-foreground, #1e1e1e); |
| 471 |
} |
| 472 |
.components-button:disabled, .components-button[aria-disabled=true] { |
| 473 |
cursor: default; |
| 474 |
color: #949494; |
| 475 |
} |
| 476 |
@media not (prefers-reduced-motion) { |
| 477 |
.components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] { |
| 478 |
animation: components-button__busy-animation 2500ms infinite linear; |
| 479 |
} |
| 480 |
} |
| 481 |
.components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] { |
| 482 |
background-size: 100px 100%; |
| 483 |
/* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */ |
| 484 |
background-image: linear-gradient(-45deg, rgb(249.9, 249.9, 249.9) 33%, rgb(224.4, 224.4, 224.4) 33%, rgb(224.4, 224.4, 224.4) 70%, rgb(249.9, 249.9, 249.9) 70%); |
| 485 |
/* stylelint-enable */ |
| 486 |
} |
| 487 |
.components-button.is-compact { |
| 488 |
height: 32px; |
| 489 |
} |
| 490 |
.components-button.is-compact.has-icon:not(.has-text) { |
| 491 |
padding: 0; |
| 492 |
min-width: 32px; |
| 493 |
} |
| 494 |
.components-button.is-small { |
| 495 |
height: 24px; |
| 496 |
line-height: 22px; |
| 497 |
padding: 0 8px; |
| 498 |
font-size: 11px; |
| 499 |
} |
| 500 |
.components-button.is-small.has-icon:not(.has-text) { |
| 501 |
padding: 0; |
| 502 |
min-width: 24px; |
| 503 |
} |
| 504 |
.components-button.has-icon { |
| 505 |
padding: 6px; |
| 506 |
min-width: 36px; |
| 507 |
justify-content: center; |
| 508 |
} |
| 509 |
.components-button.has-icon.is-next-40px-default-size { |
| 510 |
min-width: 40px; |
| 511 |
} |
| 512 |
.components-button.has-icon .dashicon { |
| 513 |
display: inline-flex; |
| 514 |
justify-content: center; |
| 515 |
align-items: center; |
| 516 |
padding: 2px; |
| 517 |
box-sizing: content-box; |
| 518 |
} |
| 519 |
.components-button.has-icon.has-text { |
| 520 |
justify-content: start; |
| 521 |
padding-right: 12px; |
| 522 |
padding-left: 8px; |
| 523 |
gap: 4px; |
| 524 |
} |
| 525 |
.components-button.has-icon.has-text.has-icon-right { |
| 526 |
padding-right: 8px; |
| 527 |
padding-left: 12px; |
| 528 |
} |
| 529 |
.components-button.is-pressed, .components-button.is-pressed:hover { |
| 530 |
color: var(--wp-components-color-foreground-inverted, #fff); |
| 531 |
} |
| 532 |
.components-button.is-pressed:not(:disabled, [aria-disabled=true]), .components-button.is-pressed:hover:not(:disabled, [aria-disabled=true]) { |
| 533 |
background: var(--wp-components-color-foreground, #1e1e1e); |
| 534 |
} |
| 535 |
.components-button.is-pressed:disabled, .components-button.is-pressed[aria-disabled=true] { |
| 536 |
color: #949494; |
| 537 |
} |
| 538 |
.components-button.is-pressed:disabled:not(.is-primary):not(.is-secondary):not(.is-tertiary), .components-button.is-pressed[aria-disabled=true]:not(.is-primary):not(.is-secondary):not(.is-tertiary) { |
| 539 |
color: var(--wp-components-color-foreground-inverted, #fff); |
| 540 |
background: #949494; |
| 541 |
} |
| 542 |
.components-button.is-pressed:focus:not(:active) { |
| 543 |
box-shadow: inset 0 0 0 1px var(--wp-components-color-background, #fff), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 544 |
} |
| 545 |
.components-button.is-pressed:focus { |
| 546 |
outline: 2px solid transparent; |
| 547 |
} |
| 548 |
.components-button:focus:active { |
| 549 |
outline: none; |
| 550 |
} |
| 551 |
.components-button svg { |
| 552 |
fill: currentColor; |
| 553 |
outline: none; |
| 554 |
flex-shrink: 0; |
| 555 |
} |
| 556 |
@media (forced-colors: active) { |
| 557 |
.components-button svg { |
| 558 |
fill: CanvasText; |
| 559 |
} |
| 560 |
} |
| 561 |
|
| 562 |
@keyframes components-button__busy-animation { |
| 563 |
0% { |
| 564 |
background-position: 200px 0; |
| 565 |
} |
| 566 |
} |
| 567 |
/* Root of the component. */ |
| 568 |
.components-calendar { |
| 569 |
position: relative; /* Required to position the navigation toolbar. */ |
| 570 |
box-sizing: border-box; |
| 571 |
display: inline flow-root; |
| 572 |
color: var(--wp-components-color-foreground, #1e1e1e); |
| 573 |
background-color: var(--wp-components-color-background, #fff); |
| 574 |
font-size: 13px; |
| 575 |
font-weight: 400; |
| 576 |
z-index: 0; |
| 577 |
} |
| 578 |
.components-calendar *, |
| 579 |
.components-calendar *::before, |
| 580 |
.components-calendar *::after { |
| 581 |
box-sizing: border-box; |
| 582 |
} |
| 583 |
|
| 584 |
.components-calendar__day { |
| 585 |
padding: 0; |
| 586 |
position: relative; |
| 587 |
} |
| 588 |
.components-calendar__day:has(.components-calendar__day-button:disabled) { |
| 589 |
color: var(--wp-components-color-gray-400, #ccc); |
| 590 |
} |
| 591 |
.components-calendar__day:has(.components-calendar__day-button:hover:not(:disabled)), .components-calendar__day:has(.components-calendar__day-button:focus-visible) { |
| 592 |
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 593 |
} |
| 594 |
|
| 595 |
.components-calendar__day-button { |
| 596 |
background: none; |
| 597 |
padding: 0; |
| 598 |
margin: 0; |
| 599 |
cursor: var(--wpds-cursor-control, pointer); |
| 600 |
justify-content: center; |
| 601 |
align-items: center; |
| 602 |
display: flex; |
| 603 |
position: relative; |
| 604 |
width: 32px; |
| 605 |
height: 32px; |
| 606 |
border: none; |
| 607 |
border-radius: 2px; |
| 608 |
font: inherit; |
| 609 |
font-variant-numeric: tabular-nums; |
| 610 |
color: inherit; |
| 611 |
} |
| 612 |
.components-calendar__day-button::before { |
| 613 |
content: ""; |
| 614 |
position: absolute; |
| 615 |
z-index: -1; |
| 616 |
inset: 0; |
| 617 |
border: none; |
| 618 |
border-radius: 2px; |
| 619 |
} |
| 620 |
.components-calendar__day-button::after { |
| 621 |
content: ""; |
| 622 |
position: absolute; |
| 623 |
z-index: 1; |
| 624 |
inset: 0; |
| 625 |
pointer-events: none; |
| 626 |
} |
| 627 |
.components-calendar__day-button:disabled { |
| 628 |
cursor: revert; |
| 629 |
} |
| 630 |
@media (forced-colors: active) { |
| 631 |
.components-calendar__day-button:disabled { |
| 632 |
text-decoration: line-through; |
| 633 |
} |
| 634 |
} |
| 635 |
.components-calendar__day-button:focus-visible { |
| 636 |
outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 637 |
outline-offset: 1px; |
| 638 |
} |
| 639 |
|
| 640 |
.components-calendar__caption-label { |
| 641 |
z-index: 1; |
| 642 |
position: relative; |
| 643 |
display: inline-flex; |
| 644 |
align-items: center; |
| 645 |
white-space: nowrap; |
| 646 |
border: 0; |
| 647 |
text-transform: capitalize; |
| 648 |
} |
| 649 |
|
| 650 |
.components-calendar__button-next, |
| 651 |
.components-calendar__button-previous { |
| 652 |
border: none; |
| 653 |
border-radius: 2px; |
| 654 |
background: none; |
| 655 |
padding: 0; |
| 656 |
margin: 0; |
| 657 |
cursor: var(--wpds-cursor-control, pointer); |
| 658 |
appearance: none; |
| 659 |
display: inline-flex; |
| 660 |
align-items: center; |
| 661 |
justify-content: center; |
| 662 |
position: relative; |
| 663 |
width: 32px; |
| 664 |
height: 32px; |
| 665 |
color: inherit; |
| 666 |
} |
| 667 |
.components-calendar__button-next:disabled, .components-calendar__button-next[aria-disabled=true], |
| 668 |
.components-calendar__button-previous:disabled, |
| 669 |
.components-calendar__button-previous[aria-disabled=true] { |
| 670 |
cursor: revert; |
| 671 |
color: var(--wp-components-color-gray-600, #949494); |
| 672 |
} |
| 673 |
.components-calendar__button-next:focus-visible, |
| 674 |
.components-calendar__button-previous:focus-visible { |
| 675 |
outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 676 |
} |
| 677 |
|
| 678 |
.components-calendar__chevron { |
| 679 |
display: inline-block; |
| 680 |
fill: currentColor; |
| 681 |
width: 16px; |
| 682 |
height: 16px; |
| 683 |
} |
| 684 |
|
| 685 |
.components-calendar[dir=rtl] .components-calendar__nav .components-calendar__chevron { |
| 686 |
transform: rotate(180deg); |
| 687 |
transform-origin: 50%; |
| 688 |
} |
| 689 |
|
| 690 |
.components-calendar__month-caption { |
| 691 |
display: flex; |
| 692 |
justify-content: center; |
| 693 |
align-content: center; |
| 694 |
height: 32px; |
| 695 |
margin-bottom: 12px; |
| 696 |
} |
| 697 |
|
| 698 |
.components-calendar__months { |
| 699 |
position: relative; |
| 700 |
display: flex; |
| 701 |
justify-content: center; |
| 702 |
flex-wrap: wrap; |
| 703 |
gap: 16px; |
| 704 |
max-width: fit-content; |
| 705 |
} |
| 706 |
|
| 707 |
.components-calendar__month-grid { |
| 708 |
border-collapse: separate; |
| 709 |
border-spacing: 0 4px; |
| 710 |
} |
| 711 |
|
| 712 |
.components-calendar__nav { |
| 713 |
position: absolute; |
| 714 |
inset-block-start: 0; |
| 715 |
inset-inline-start: 0; |
| 716 |
inset-inline-end: 0; |
| 717 |
display: flex; |
| 718 |
align-items: center; |
| 719 |
justify-content: space-between; |
| 720 |
height: 32px; |
| 721 |
} |
| 722 |
|
| 723 |
.components-calendar__weekday { |
| 724 |
width: 32px; |
| 725 |
height: 32px; |
| 726 |
padding: 0; |
| 727 |
color: var(--wp-components-color-gray-700, #757575); |
| 728 |
text-align: center; |
| 729 |
text-transform: uppercase; |
| 730 |
} |
| 731 |
|
| 732 |
/* DAY MODIFIERS */ |
| 733 |
.components-calendar__day--today::after { |
| 734 |
content: ""; |
| 735 |
position: absolute; |
| 736 |
z-index: 1; |
| 737 |
inset-block-start: 2px; |
| 738 |
inset-inline-end: 2px; |
| 739 |
width: 0; |
| 740 |
height: 0; |
| 741 |
border-radius: 50%; |
| 742 |
border: 2px solid currentColor; |
| 743 |
} |
| 744 |
|
| 745 |
.components-calendar__day--selected:not(.components-calendar__range-middle):has(.components-calendar__day-button, |
| 746 |
.components-calendar__day-button:hover:not(:disabled)) { |
| 747 |
color: var(--wp-components-color-foreground-inverted, #fff); |
| 748 |
} |
| 749 |
.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button::before { |
| 750 |
background-color: var(--wp-components-color-foreground, #1e1e1e); |
| 751 |
border: 1px solid transparent; |
| 752 |
} |
| 753 |
.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:disabled::before { |
| 754 |
background-color: var(--wp-components-color-gray-400, #ccc); |
| 755 |
} |
| 756 |
.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:hover:not(:disabled)::before { |
| 757 |
background-color: var(--wp-components-color-gray-800, #2f2f2f); |
| 758 |
} |
| 759 |
|
| 760 |
.components-calendar__day--outside { |
| 761 |
color: var(--wp-components-color-gray-600, #949494); |
| 762 |
} |
| 763 |
|
| 764 |
.components-calendar__day--hidden { |
| 765 |
visibility: hidden; |
| 766 |
} |
| 767 |
|
| 768 |
.components-calendar__range-start:not(.components-calendar__range-end) .components-calendar__day-button, .components-calendar__range-start:not(.components-calendar__range-end) .components-calendar__day-button::before { |
| 769 |
border-start-end-radius: 0; |
| 770 |
border-end-end-radius: 0; |
| 771 |
} |
| 772 |
|
| 773 |
.components-calendar__range-middle .components-calendar__day-button::before { |
| 774 |
background-color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent); |
| 775 |
border-radius: 0; |
| 776 |
border-width: 1px 0; |
| 777 |
border-color: transparent; |
| 778 |
border-style: solid; |
| 779 |
} |
| 780 |
|
| 781 |
.components-calendar__range-end:not(.components-calendar__range-start) .components-calendar__day-button, .components-calendar__range-end:not(.components-calendar__range-start) .components-calendar__day-button::before { |
| 782 |
border-start-start-radius: 0; |
| 783 |
border-end-start-radius: 0; |
| 784 |
} |
| 785 |
|
| 786 |
/* |
| 787 |
* RANGE PREVIEW (range calendar only) |
| 788 |
* |
| 789 |
* The preview is rendered in the button's ::after pseudo-element, so that it |
| 790 |
* can be rendered over the button's contents. |
| 791 |
* The selection preview is shown with a dashed border. In order to have |
| 792 |
* control over the dash pattern (especially the seams between days), the |
| 793 |
* dashed borders are rendered as SVGs via the url() CSS function. |
| 794 |
* Since SVGs rendered in the url() function don't seem to be able to access |
| 795 |
* CSS variables, we're using the SVGs as masks, and using `background-color` |
| 796 |
* to consume the accent color variable. |
| 797 |
*/ |
| 798 |
.components-calendar__day--preview svg { |
| 799 |
position: absolute; |
| 800 |
inset: 0; |
| 801 |
pointer-events: none; |
| 802 |
color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 16%, transparent); |
| 803 |
} |
| 804 |
@media (forced-colors: active) { |
| 805 |
.components-calendar__day--preview svg { |
| 806 |
color: inherit; |
| 807 |
} |
| 808 |
} |
| 809 |
.components-calendar[dir=rtl] .components-calendar__day--preview svg { |
| 810 |
transform: scaleX(-1); |
| 811 |
} |
| 812 |
|
| 813 |
.components-calendar__day--preview.components-calendar__range-middle .components-calendar__day-button::before { |
| 814 |
border: none; |
| 815 |
} |
| 816 |
|
| 817 |
/* ANIMATIONS */ |
| 818 |
@keyframes slide-in-left { |
| 819 |
0% { |
| 820 |
transform: translateX(-100%); |
| 821 |
} |
| 822 |
100% { |
| 823 |
transform: translateX(0); |
| 824 |
} |
| 825 |
} |
| 826 |
@keyframes slide-in-right { |
| 827 |
0% { |
| 828 |
transform: translateX(100%); |
| 829 |
} |
| 830 |
100% { |
| 831 |
transform: translateX(0); |
| 832 |
} |
| 833 |
} |
| 834 |
@keyframes slide-out-left { |
| 835 |
0% { |
| 836 |
transform: translateX(0); |
| 837 |
} |
| 838 |
100% { |
| 839 |
transform: translateX(-100%); |
| 840 |
} |
| 841 |
} |
| 842 |
@keyframes slide-out-right { |
| 843 |
0% { |
| 844 |
transform: translateX(0); |
| 845 |
} |
| 846 |
100% { |
| 847 |
transform: translateX(100%); |
| 848 |
} |
| 849 |
} |
| 850 |
@keyframes fade-in { |
| 851 |
from { |
| 852 |
opacity: 0; |
| 853 |
} |
| 854 |
to { |
| 855 |
opacity: 1; |
| 856 |
} |
| 857 |
} |
| 858 |
@keyframes fade-out { |
| 859 |
from { |
| 860 |
opacity: 1; |
| 861 |
} |
| 862 |
to { |
| 863 |
opacity: 0; |
| 864 |
} |
| 865 |
} |
| 866 |
.components-calendar__weeks-before-enter, |
| 867 |
.components-calendar__weeks-before-exit, |
| 868 |
.components-calendar__weeks-after-enter, |
| 869 |
.components-calendar__weeks-after-exit, |
| 870 |
.components-calendar__caption-after-enter, |
| 871 |
.components-calendar__caption-after-exit, |
| 872 |
.components-calendar__caption-before-enter, |
| 873 |
.components-calendar__caption-before-exit { |
| 874 |
animation-duration: 0s; |
| 875 |
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); |
| 876 |
animation-fill-mode: forwards; |
| 877 |
} |
| 878 |
@media not (prefers-reduced-motion) { |
| 879 |
.components-calendar__weeks-before-enter, |
| 880 |
.components-calendar__weeks-before-exit, |
| 881 |
.components-calendar__weeks-after-enter, |
| 882 |
.components-calendar__weeks-after-exit, |
| 883 |
.components-calendar__caption-after-enter, |
| 884 |
.components-calendar__caption-after-exit, |
| 885 |
.components-calendar__caption-before-enter, |
| 886 |
.components-calendar__caption-before-exit { |
| 887 |
animation-duration: 0.3s; |
| 888 |
} |
| 889 |
} |
| 890 |
|
| 891 |
.components-calendar__weeks-before-enter, |
| 892 |
.components-calendar[dir=rtl] .components-calendar__weeks-after-enter { |
| 893 |
animation-name: slide-in-left; |
| 894 |
} |
| 895 |
|
| 896 |
.components-calendar__weeks-before-exit, |
| 897 |
.components-calendar[dir=rtl] .components-calendar__weeks-after-exit { |
| 898 |
animation-name: slide-out-left; |
| 899 |
} |
| 900 |
|
| 901 |
.components-calendar__weeks-after-enter, |
| 902 |
.components-calendar[dir=rtl] .components-calendar__weeks-before-enter { |
| 903 |
animation-name: slide-in-right; |
| 904 |
} |
| 905 |
|
| 906 |
.components-calendar__weeks-after-exit, |
| 907 |
.components-calendar[dir=rtl] .components-calendar__weeks-before-exit { |
| 908 |
animation-name: slide-out-right; |
| 909 |
} |
| 910 |
|
| 911 |
.components-calendar__caption-after-enter { |
| 912 |
animation-name: fade-in; |
| 913 |
} |
| 914 |
|
| 915 |
.components-calendar__caption-after-exit { |
| 916 |
animation-name: fade-out; |
| 917 |
} |
| 918 |
|
| 919 |
.components-calendar__caption-before-enter { |
| 920 |
animation-name: fade-in; |
| 921 |
} |
| 922 |
|
| 923 |
.components-calendar__caption-before-exit { |
| 924 |
animation-name: fade-out; |
| 925 |
} |
| 926 |
|
| 927 |
.components-checkbox-control { |
| 928 |
--checkbox-input-size: 24px; |
| 929 |
} |
| 930 |
@media (min-width: 600px) { |
| 931 |
.components-checkbox-control { |
| 932 |
--checkbox-input-size: 16px; |
| 933 |
} |
| 934 |
} |
| 935 |
.components-checkbox-control { |
| 936 |
--checkbox-input-margin: 8px; |
| 937 |
} |
| 938 |
|
| 939 |
.components-checkbox-control__label { |
| 940 |
line-height: var(--checkbox-input-size); |
| 941 |
} |
| 942 |
.components-checkbox-control:not(:has(:disabled)) .components-checkbox-control__label { |
| 943 |
cursor: var(--wpds-cursor-control, pointer); |
| 944 |
} |
| 945 |
|
| 946 |
.components-checkbox-control__input[type=checkbox] { |
| 947 |
border: 1px solid #1e1e1e; |
| 948 |
margin-right: 12px; |
| 949 |
transition: none; |
| 950 |
border-radius: 2px; |
| 951 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 952 |
padding: 6px 8px; |
| 953 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 954 |
font-size: 16px; |
| 955 |
/* Override core line-height. To be reviewed. */ |
| 956 |
line-height: normal; |
| 957 |
box-shadow: 0 0 0 transparent; |
| 958 |
border-radius: 2px; |
| 959 |
border: 1px solid #949494; |
| 960 |
} |
| 961 |
@media not (prefers-reduced-motion) { |
| 962 |
.components-checkbox-control__input[type=checkbox] { |
| 963 |
transition: box-shadow 0.1s linear; |
| 964 |
} |
| 965 |
} |
| 966 |
@media (min-width: 600px) { |
| 967 |
.components-checkbox-control__input[type=checkbox] { |
| 968 |
font-size: 13px; |
| 969 |
/* Override core line-height. To be reviewed. */ |
| 970 |
line-height: normal; |
| 971 |
} |
| 972 |
} |
| 973 |
.components-checkbox-control__input[type=checkbox]:focus { |
| 974 |
border-color: var(--wp-admin-theme-color); |
| 975 |
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
| 976 |
outline: 2px solid transparent; |
| 977 |
} |
| 978 |
.components-checkbox-control__input[type=checkbox]::placeholder { |
| 979 |
color: rgba(30, 30, 30, 0.62); |
| 980 |
} |
| 981 |
.components-checkbox-control__input[type=checkbox]:focus { |
| 982 |
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); |
| 983 |
outline: 2px solid transparent; |
| 984 |
} |
| 985 |
.components-checkbox-control__input[type=checkbox]:checked { |
| 986 |
background: var(--wp-admin-theme-color); |
| 987 |
border-color: var(--wp-admin-theme-color); |
| 988 |
} |
| 989 |
.components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before { |
| 990 |
margin: -3px -5px; |
| 991 |
color: #fff; |
| 992 |
} |
| 993 |
@media (min-width: 782px) { |
| 994 |
.components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before { |
| 995 |
margin: -4px 0 0 -5px; |
| 996 |
} |
| 997 |
} |
| 998 |
.components-checkbox-control__input[type=checkbox][aria-checked=mixed] { |
| 999 |
background: var(--wp-admin-theme-color); |
| 1000 |
border-color: var(--wp-admin-theme-color); |
| 1001 |
} |
| 1002 |
.components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before { |
| 1003 |
content: "\f460"; |
| 1004 |
float: left; |
| 1005 |
display: inline-block; |
| 1006 |
vertical-align: middle; |
| 1007 |
width: 16px; |
| 1008 |
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */ |
| 1009 |
font: normal 30px/1 dashicons; |
| 1010 |
speak: none; |
| 1011 |
-webkit-font-smoothing: antialiased; |
| 1012 |
-moz-osx-font-smoothing: grayscale; |
| 1013 |
} |
| 1014 |
@media (min-width: 782px) { |
| 1015 |
.components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before { |
| 1016 |
float: none; |
| 1017 |
font-size: 21px; |
| 1018 |
} |
| 1019 |
} |
| 1020 |
.components-checkbox-control__input[type=checkbox][aria-disabled=true], .components-checkbox-control__input[type=checkbox]:disabled { |
| 1021 |
background: #f0f0f0; |
| 1022 |
border-color: #ddd; |
| 1023 |
cursor: default; |
| 1024 |
opacity: 1; |
| 1025 |
} |
| 1026 |
.components-checkbox-control__input[type=checkbox] { |
| 1027 |
background: #fff; |
| 1028 |
color: #1e1e1e; |
| 1029 |
clear: none; |
| 1030 |
display: inline-block; |
| 1031 |
line-height: 0; |
| 1032 |
margin: 0 4px 0 0; |
| 1033 |
outline: 0; |
| 1034 |
padding: 0 !important; |
| 1035 |
text-align: center; |
| 1036 |
vertical-align: top; |
| 1037 |
width: var(--checkbox-input-size); |
| 1038 |
height: var(--checkbox-input-size); |
| 1039 |
appearance: none; |
| 1040 |
} |
| 1041 |
@media not (prefers-reduced-motion) { |
| 1042 |
.components-checkbox-control__input[type=checkbox] { |
| 1043 |
transition: 0.1s border-color ease-in-out; |
| 1044 |
} |
| 1045 |
} |
| 1046 |
.components-checkbox-control__input[type=checkbox]:focus { |
| 1047 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-admin-theme-color); |
| 1048 |
outline: 2px solid transparent; |
| 1049 |
outline-offset: 2px; |
| 1050 |
} |
| 1051 |
.components-checkbox-control__input[type=checkbox]:not(:disabled):is(:checked, :indeterminate) { |
| 1052 |
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1053 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1054 |
} |
| 1055 |
.components-checkbox-control__input[type=checkbox]:not(:disabled) { |
| 1056 |
cursor: var(--wpds-cursor-control, pointer); |
| 1057 |
} |
| 1058 |
.components-checkbox-control__input[type=checkbox]:checked::before { |
| 1059 |
content: none; |
| 1060 |
} |
| 1061 |
|
| 1062 |
.components-checkbox-control__input-container { |
| 1063 |
position: relative; |
| 1064 |
display: inline-block; |
| 1065 |
margin-right: var(--checkbox-input-margin); |
| 1066 |
vertical-align: middle; |
| 1067 |
width: var(--checkbox-input-size); |
| 1068 |
aspect-ratio: 1; |
| 1069 |
line-height: 1; |
| 1070 |
flex-shrink: 0; |
| 1071 |
} |
| 1072 |
|
| 1073 |
svg.components-checkbox-control__checked, |
| 1074 |
svg.components-checkbox-control__indeterminate { |
| 1075 |
--checkmark-size: var(--checkbox-input-size); |
| 1076 |
fill: #fff; |
| 1077 |
cursor: var(--wpds-cursor-control, pointer); |
| 1078 |
position: absolute; |
| 1079 |
left: 50%; |
| 1080 |
top: 50%; |
| 1081 |
transform: translate(-50%, -50%); |
| 1082 |
width: var(--checkmark-size); |
| 1083 |
height: var(--checkmark-size); |
| 1084 |
-webkit-user-select: none; |
| 1085 |
user-select: none; |
| 1086 |
pointer-events: none; |
| 1087 |
} |
| 1088 |
@media (min-width: 600px) { |
| 1089 |
svg.components-checkbox-control__checked, |
| 1090 |
svg.components-checkbox-control__indeterminate { |
| 1091 |
--checkmark-size: calc(var(--checkbox-input-size) + 4px); |
| 1092 |
} |
| 1093 |
} |
| 1094 |
|
| 1095 |
.components-checkbox-control:has(:disabled) svg.components-checkbox-control__checked, |
| 1096 |
.components-checkbox-control:has(:disabled) svg.components-checkbox-control__indeterminate { |
| 1097 |
fill: var(--wp-components-color-gray-400, #ccc); |
| 1098 |
} |
| 1099 |
|
| 1100 |
.components-checkbox-control__help { |
| 1101 |
display: inline-block; |
| 1102 |
margin-inline-start: calc(var(--checkbox-input-size) + var(--checkbox-input-margin)); |
| 1103 |
} |
| 1104 |
|
| 1105 |
.components-circular-option-picker { |
| 1106 |
display: inline-block; |
| 1107 |
width: 100%; |
| 1108 |
min-width: 188px; |
| 1109 |
isolation: isolate; |
| 1110 |
} |
| 1111 |
.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { |
| 1112 |
display: flex; |
| 1113 |
justify-content: flex-end; |
| 1114 |
margin-top: 12px; |
| 1115 |
} |
| 1116 |
.components-circular-option-picker .components-circular-option-picker__swatches { |
| 1117 |
display: flex; |
| 1118 |
flex-wrap: wrap; |
| 1119 |
gap: 12px; |
| 1120 |
position: relative; |
| 1121 |
z-index: 1; |
| 1122 |
} |
| 1123 |
.components-circular-option-picker > *:not(.components-circular-option-picker__swatches) { |
| 1124 |
position: relative; |
| 1125 |
z-index: 0; |
| 1126 |
} |
| 1127 |
|
| 1128 |
.components-circular-option-picker__option-wrapper { |
| 1129 |
display: inline-block; |
| 1130 |
height: 28px; |
| 1131 |
width: 28px; |
| 1132 |
vertical-align: top; |
| 1133 |
transform: scale(1); |
| 1134 |
} |
| 1135 |
@media not (prefers-reduced-motion) { |
| 1136 |
.components-circular-option-picker__option-wrapper { |
| 1137 |
transition: 100ms transform ease; |
| 1138 |
will-change: transform; |
| 1139 |
} |
| 1140 |
} |
| 1141 |
.components-circular-option-picker__option-wrapper:hover { |
| 1142 |
transform: scale(1.2); |
| 1143 |
} |
| 1144 |
.components-circular-option-picker__option-wrapper > div { |
| 1145 |
height: 100%; |
| 1146 |
width: 100%; |
| 1147 |
} |
| 1148 |
|
| 1149 |
.components-circular-option-picker__option-wrapper::before { |
| 1150 |
content: ""; |
| 1151 |
position: absolute; |
| 1152 |
top: 1px; |
| 1153 |
left: 1px; |
| 1154 |
bottom: 1px; |
| 1155 |
right: 1px; |
| 1156 |
border-radius: 50%; |
| 1157 |
z-index: -1; |
| 1158 |
/* stylelint-disable-next-line function-url-quotes -- We need quotes for the data URL to use the SVG inline. */ |
| 1159 |
background: url('data:image/svg+xml,%3Csvg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z" fill="%23555D65"/%3E%3Cpath d="M18 18v2h-2v-2h2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z" fill="%23555D65"/%3E%3C/svg%3E'); |
| 1160 |
} |
| 1161 |
|
| 1162 |
.components-circular-option-picker__option { |
| 1163 |
display: inline-block; |
| 1164 |
vertical-align: top; |
| 1165 |
height: 100% !important; |
| 1166 |
aspect-ratio: 1; |
| 1167 |
border: none; |
| 1168 |
border-radius: 50%; |
| 1169 |
background: transparent; |
| 1170 |
box-shadow: inset 0 0 0 14px; |
| 1171 |
} |
| 1172 |
@media not (prefers-reduced-motion) { |
| 1173 |
.components-circular-option-picker__option { |
| 1174 |
transition: 100ms box-shadow ease; |
| 1175 |
} |
| 1176 |
} |
| 1177 |
.components-circular-option-picker__option { |
| 1178 |
cursor: var(--wpds-cursor-control, pointer); |
| 1179 |
} |
| 1180 |
.components-circular-option-picker__option:hover { |
| 1181 |
box-shadow: inset 0 0 0 14px !important; |
| 1182 |
} |
| 1183 |
.components-circular-option-picker__option[aria-pressed=true], .components-circular-option-picker__option[aria-selected=true] { |
| 1184 |
box-shadow: inset 0 0 0 4px; |
| 1185 |
position: relative; |
| 1186 |
z-index: 1; |
| 1187 |
overflow: visible; |
| 1188 |
} |
| 1189 |
.components-circular-option-picker__option[aria-pressed=true] + svg, .components-circular-option-picker__option[aria-selected=true] + svg { |
| 1190 |
position: absolute; |
| 1191 |
left: 2px; |
| 1192 |
top: 2px; |
| 1193 |
border-radius: 50%; |
| 1194 |
z-index: 2; |
| 1195 |
pointer-events: none; |
| 1196 |
} |
| 1197 |
.components-circular-option-picker__option::after { |
| 1198 |
content: ""; |
| 1199 |
position: absolute; |
| 1200 |
top: -1px; |
| 1201 |
left: -1px; |
| 1202 |
bottom: -1px; |
| 1203 |
right: -1px; |
| 1204 |
border-radius: 50%; |
| 1205 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); |
| 1206 |
border: 1px solid transparent; |
| 1207 |
box-sizing: inherit; |
| 1208 |
} |
| 1209 |
.components-circular-option-picker__option:focus::after { |
| 1210 |
content: ""; |
| 1211 |
border-radius: 50%; |
| 1212 |
box-shadow: inset 0 0 0 2px #fff; |
| 1213 |
position: absolute; |
| 1214 |
top: 50%; |
| 1215 |
left: 50%; |
| 1216 |
transform: translate(-50%, -50%); |
| 1217 |
border: 2px solid #757575; |
| 1218 |
width: calc(100% + 4px); |
| 1219 |
height: calc(100% + 4px); |
| 1220 |
} |
| 1221 |
.components-circular-option-picker__option.components-button:focus { |
| 1222 |
background-color: transparent; |
| 1223 |
box-shadow: inset 0 0 0 14px; |
| 1224 |
outline: none; |
| 1225 |
} |
| 1226 |
|
| 1227 |
.components-circular-option-picker__button-action .components-circular-option-picker__option { |
| 1228 |
color: #fff; |
| 1229 |
background: #fff; |
| 1230 |
} |
| 1231 |
|
| 1232 |
.components-circular-option-picker__dropdown-link-action { |
| 1233 |
margin-right: 16px; |
| 1234 |
} |
| 1235 |
.components-circular-option-picker__dropdown-link-action .components-button { |
| 1236 |
line-height: 22px; |
| 1237 |
} |
| 1238 |
|
| 1239 |
.components-palette-edit__popover-gradient-picker { |
| 1240 |
width: 260px; |
| 1241 |
padding: 8px; |
| 1242 |
} |
| 1243 |
|
| 1244 |
.components-dropdown-menu__menu .components-palette-edit__menu-button { |
| 1245 |
width: 100%; |
| 1246 |
} |
| 1247 |
|
| 1248 |
.component-color-indicator { |
| 1249 |
width: 20px; |
| 1250 |
height: 20px; |
| 1251 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); |
| 1252 |
border-radius: 50%; |
| 1253 |
display: inline-block; |
| 1254 |
padding: 0; |
| 1255 |
background: #fff linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); |
| 1256 |
} |
| 1257 |
|
| 1258 |
.components-combobox-control { |
| 1259 |
width: 100%; |
| 1260 |
} |
| 1261 |
|
| 1262 |
input.components-combobox-control__input[type=text] { |
| 1263 |
width: 100%; |
| 1264 |
border: none; |
| 1265 |
box-shadow: none; |
| 1266 |
font-family: inherit; |
| 1267 |
font-size: 16px; |
| 1268 |
padding: 2px; |
| 1269 |
margin: 0; |
| 1270 |
line-height: inherit; |
| 1271 |
min-height: auto; |
| 1272 |
background: var(--wp-components-color-background, #fff); |
| 1273 |
color: var(--wp-components-color-foreground, #1e1e1e); |
| 1274 |
} |
| 1275 |
@media (min-width: 600px) { |
| 1276 |
input.components-combobox-control__input[type=text] { |
| 1277 |
font-size: 13px; |
| 1278 |
} |
| 1279 |
} |
| 1280 |
input.components-combobox-control__input[type=text]:focus { |
| 1281 |
outline: none; |
| 1282 |
box-shadow: none; |
| 1283 |
} |
| 1284 |
|
| 1285 |
.components-combobox-control__suggestions-container { |
| 1286 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 1287 |
padding: 6px 8px; |
| 1288 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 1289 |
font-size: 16px; |
| 1290 |
/* Override core line-height. To be reviewed. */ |
| 1291 |
line-height: normal; |
| 1292 |
box-shadow: 0 0 0 transparent; |
| 1293 |
border-radius: 2px; |
| 1294 |
border: 1px solid #949494; |
| 1295 |
} |
| 1296 |
@media not (prefers-reduced-motion) { |
| 1297 |
.components-combobox-control__suggestions-container { |
| 1298 |
transition: box-shadow 0.1s linear; |
| 1299 |
} |
| 1300 |
} |
| 1301 |
@media (min-width: 600px) { |
| 1302 |
.components-combobox-control__suggestions-container { |
| 1303 |
font-size: 13px; |
| 1304 |
/* Override core line-height. To be reviewed. */ |
| 1305 |
line-height: normal; |
| 1306 |
} |
| 1307 |
} |
| 1308 |
.components-combobox-control__suggestions-container:focus { |
| 1309 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1310 |
box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1311 |
outline: 2px solid transparent; |
| 1312 |
} |
| 1313 |
.components-combobox-control__suggestions-container::placeholder { |
| 1314 |
color: rgba(30, 30, 30, 0.62); |
| 1315 |
} |
| 1316 |
.components-combobox-control__suggestions-container { |
| 1317 |
display: flex; |
| 1318 |
flex-wrap: wrap; |
| 1319 |
align-items: flex-start; |
| 1320 |
width: 100%; |
| 1321 |
padding: 0; |
| 1322 |
} |
| 1323 |
.components-combobox-control__suggestions-container:focus-within { |
| 1324 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1325 |
box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1326 |
outline: 2px solid transparent; |
| 1327 |
} |
| 1328 |
.components-combobox-control__suggestions-container .components-spinner { |
| 1329 |
margin: 0; |
| 1330 |
} |
| 1331 |
|
| 1332 |
.components-color-palette__custom-color-wrapper { |
| 1333 |
position: relative; |
| 1334 |
z-index: 0; |
| 1335 |
} |
| 1336 |
|
| 1337 |
.components-color-palette__custom-color-button { |
| 1338 |
position: relative; |
| 1339 |
border: none; |
| 1340 |
background: none; |
| 1341 |
height: 64px; |
| 1342 |
width: 100%; |
| 1343 |
box-sizing: border-box; |
| 1344 |
cursor: var(--wpds-cursor-control, pointer); |
| 1345 |
outline: 1px solid transparent; |
| 1346 |
border-radius: 4px 4px 0 0; |
| 1347 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); |
| 1348 |
} |
| 1349 |
.components-color-palette__custom-color-button:focus { |
| 1350 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1351 |
outline-width: 2px; |
| 1352 |
} |
| 1353 |
.components-color-palette__custom-color-button::after { |
| 1354 |
content: ""; |
| 1355 |
position: absolute; |
| 1356 |
inset: 1px; |
| 1357 |
z-index: -1; |
| 1358 |
border-radius: 3px 3px 0 0; |
| 1359 |
/*rtl:begin:ignore*/ |
| 1360 |
background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0); |
| 1361 |
background-position: 0 0, 24px 24px; |
| 1362 |
/*rtl:end:ignore*/ |
| 1363 |
background-size: 48px 48px; |
| 1364 |
} |
| 1365 |
|
| 1366 |
.components-color-palette__custom-color-text-wrapper { |
| 1367 |
padding: 12px 16px; |
| 1368 |
border-radius: 0 0 4px 4px; |
| 1369 |
position: relative; |
| 1370 |
font-size: 13px; |
| 1371 |
box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.2), inset 1px 0 0 0 rgba(0, 0, 0, 0.2), inset -1px 0 0 0 rgba(0, 0, 0, 0.2); |
| 1372 |
} |
| 1373 |
|
| 1374 |
.components-color-palette__custom-color-name { |
| 1375 |
color: var(--wp-components-color-foreground, #1e1e1e); |
| 1376 |
margin: 0 1px; |
| 1377 |
} |
| 1378 |
|
| 1379 |
.components-color-palette__custom-color-value { |
| 1380 |
color: #757575; |
| 1381 |
} |
| 1382 |
.components-color-palette__custom-color-value--is-hex { |
| 1383 |
text-transform: uppercase; |
| 1384 |
} |
| 1385 |
.components-color-palette__custom-color-value:empty::after { |
| 1386 |
content: "​"; |
| 1387 |
visibility: hidden; |
| 1388 |
} |
| 1389 |
|
| 1390 |
.components-custom-gradient-picker__gradient-bar { |
| 1391 |
border-radius: 2px; |
| 1392 |
width: 100%; |
| 1393 |
height: 48px; |
| 1394 |
position: relative; |
| 1395 |
z-index: 1; |
| 1396 |
} |
| 1397 |
.components-custom-gradient-picker__gradient-bar.has-gradient { |
| 1398 |
/*rtl:begin:ignore*/ |
| 1399 |
background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0); |
| 1400 |
background-position: 0 0, 12px 12px; |
| 1401 |
/*rtl:end:ignore*/ |
| 1402 |
background-size: 24px 24px; |
| 1403 |
} |
| 1404 |
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__gradient-bar-background { |
| 1405 |
position: absolute; |
| 1406 |
inset: 0; |
| 1407 |
} |
| 1408 |
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container { |
| 1409 |
position: relative; |
| 1410 |
width: calc(100% - 48px); |
| 1411 |
margin-left: auto; |
| 1412 |
margin-right: auto; |
| 1413 |
} |
| 1414 |
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-dropdown { |
| 1415 |
position: absolute; |
| 1416 |
height: 16px; |
| 1417 |
width: 16px; |
| 1418 |
top: 16px; |
| 1419 |
display: flex; |
| 1420 |
} |
| 1421 |
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown { |
| 1422 |
position: relative; |
| 1423 |
height: inherit; |
| 1424 |
width: inherit; |
| 1425 |
min-width: 16px !important; |
| 1426 |
border-radius: 50%; |
| 1427 |
background: #fff; |
| 1428 |
padding: 2px; |
| 1429 |
color: #1e1e1e; |
| 1430 |
} |
| 1431 |
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown svg { |
| 1432 |
height: 100%; |
| 1433 |
width: 100%; |
| 1434 |
} |
| 1435 |
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button { |
| 1436 |
height: inherit; |
| 1437 |
width: inherit; |
| 1438 |
border-radius: 50%; |
| 1439 |
padding: 0; |
| 1440 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25); |
| 1441 |
outline: 2px solid transparent; |
| 1442 |
} |
| 1443 |
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus, .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active { |
| 1444 |
box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25); |
| 1445 |
outline: 1.5px solid transparent; |
| 1446 |
} |
| 1447 |
|
| 1448 |
.components-custom-gradient-picker__remove-control-point-wrapper { |
| 1449 |
padding-bottom: 8px; |
| 1450 |
} |
| 1451 |
|
| 1452 |
.components-custom-gradient-picker__inserter { |
| 1453 |
/*rtl:ignore*/ |
| 1454 |
direction: ltr; |
| 1455 |
} |
| 1456 |
|
| 1457 |
.components-custom-gradient-picker__liner-gradient-indicator { |
| 1458 |
display: inline-block; |
| 1459 |
flex: 0 auto; |
| 1460 |
width: 20px; |
| 1461 |
height: 20px; |
| 1462 |
} |
| 1463 |
|
| 1464 |
.components-custom-gradient-picker__ui-line { |
| 1465 |
position: relative; |
| 1466 |
z-index: 0; |
| 1467 |
} |
| 1468 |
|
| 1469 |
.components-drop-zone { |
| 1470 |
position: absolute; |
| 1471 |
top: 0; |
| 1472 |
right: 0; |
| 1473 |
bottom: 0; |
| 1474 |
left: 0; |
| 1475 |
z-index: 40; |
| 1476 |
visibility: hidden; |
| 1477 |
opacity: 0; |
| 1478 |
border-radius: 2px; |
| 1479 |
} |
| 1480 |
.components-drop-zone.is-active { |
| 1481 |
opacity: 1; |
| 1482 |
visibility: visible; |
| 1483 |
} |
| 1484 |
.components-drop-zone .components-drop-zone__content { |
| 1485 |
position: absolute; |
| 1486 |
top: 0; |
| 1487 |
bottom: 0; |
| 1488 |
left: 0; |
| 1489 |
right: 0; |
| 1490 |
height: 100%; |
| 1491 |
width: 100%; |
| 1492 |
display: flex; |
| 1493 |
background-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1494 |
align-items: center; |
| 1495 |
justify-content: center; |
| 1496 |
z-index: 50; |
| 1497 |
text-align: center; |
| 1498 |
color: #fff; |
| 1499 |
opacity: 0; |
| 1500 |
pointer-events: none; |
| 1501 |
} |
| 1502 |
.components-drop-zone .components-drop-zone__content-inner { |
| 1503 |
opacity: 0; |
| 1504 |
transform: scale(0.9); |
| 1505 |
} |
| 1506 |
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content { |
| 1507 |
opacity: 1; |
| 1508 |
} |
| 1509 |
@media not (prefers-reduced-motion) { |
| 1510 |
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content { |
| 1511 |
transition: opacity 0.2s ease-in-out; |
| 1512 |
} |
| 1513 |
} |
| 1514 |
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner { |
| 1515 |
opacity: 1; |
| 1516 |
transform: scale(1); |
| 1517 |
} |
| 1518 |
@media not (prefers-reduced-motion) { |
| 1519 |
.components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner { |
| 1520 |
transition: opacity 0.1s ease-in-out 0.1s, transform 0.1s ease-in-out 0.1s; |
| 1521 |
} |
| 1522 |
} |
| 1523 |
|
| 1524 |
.components-drop-zone__content-icon, |
| 1525 |
.components-drop-zone__content-text { |
| 1526 |
display: block; |
| 1527 |
} |
| 1528 |
|
| 1529 |
.components-drop-zone__content-icon { |
| 1530 |
margin: 0 auto 8px; |
| 1531 |
line-height: 0; |
| 1532 |
fill: currentColor; |
| 1533 |
pointer-events: none; |
| 1534 |
} |
| 1535 |
|
| 1536 |
.components-drop-zone__content-text { |
| 1537 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 1538 |
font-size: 13px; |
| 1539 |
} |
| 1540 |
|
| 1541 |
.components-dropdown { |
| 1542 |
display: inline-block; |
| 1543 |
} |
| 1544 |
|
| 1545 |
.components-dropdown__content .components-popover__content { |
| 1546 |
padding: 8px; |
| 1547 |
} |
| 1548 |
.components-dropdown__content .components-popover__content:has(.components-menu-group) { |
| 1549 |
padding: 0; |
| 1550 |
} |
| 1551 |
.components-dropdown__content .components-popover__content:has(.components-menu-group) .components-dropdown-menu__menu > .components-menu-item__button, |
| 1552 |
.components-dropdown__content .components-popover__content:has(.components-menu-group) > .components-menu-item__button { |
| 1553 |
margin: 8px; |
| 1554 |
width: auto; |
| 1555 |
} |
| 1556 |
.components-dropdown__content [role=menuitem] { |
| 1557 |
white-space: nowrap; |
| 1558 |
} |
| 1559 |
.components-dropdown__content .components-menu-group { |
| 1560 |
padding: 8px; |
| 1561 |
} |
| 1562 |
.components-dropdown__content .components-menu-group + .components-menu-group { |
| 1563 |
border-top: 1px solid #ccc; |
| 1564 |
padding: 8px; |
| 1565 |
} |
| 1566 |
.components-dropdown__content.is-alternate .components-menu-group + .components-menu-group { |
| 1567 |
border-color: #1e1e1e; |
| 1568 |
} |
| 1569 |
|
| 1570 |
.components-dropdown-menu__toggle { |
| 1571 |
vertical-align: top; |
| 1572 |
} |
| 1573 |
|
| 1574 |
.components-dropdown-menu__menu { |
| 1575 |
width: 100%; |
| 1576 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 1577 |
font-size: 13px; |
| 1578 |
line-height: 1.4; |
| 1579 |
} |
| 1580 |
.components-dropdown-menu__menu .components-dropdown-menu__menu-item, |
| 1581 |
.components-dropdown-menu__menu .components-menu-item { |
| 1582 |
width: 100%; |
| 1583 |
padding: 6px; |
| 1584 |
outline: none; |
| 1585 |
cursor: var(--wpds-cursor-control, pointer); |
| 1586 |
white-space: nowrap; |
| 1587 |
font-weight: 400; |
| 1588 |
} |
| 1589 |
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator, |
| 1590 |
.components-dropdown-menu__menu .components-menu-item.has-separator { |
| 1591 |
margin-top: 6px; |
| 1592 |
position: relative; |
| 1593 |
overflow: visible; |
| 1594 |
} |
| 1595 |
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator::before, |
| 1596 |
.components-dropdown-menu__menu .components-menu-item.has-separator::before { |
| 1597 |
display: block; |
| 1598 |
content: ""; |
| 1599 |
box-sizing: content-box; |
| 1600 |
background-color: #ddd; |
| 1601 |
position: absolute; |
| 1602 |
top: -3px; |
| 1603 |
left: 0; |
| 1604 |
right: 0; |
| 1605 |
height: 1px; |
| 1606 |
} |
| 1607 |
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg, |
| 1608 |
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active .dashicon, |
| 1609 |
.components-dropdown-menu__menu .components-menu-item.is-active svg, |
| 1610 |
.components-dropdown-menu__menu .components-menu-item.is-active .dashicon { |
| 1611 |
color: #fff; |
| 1612 |
background: #1e1e1e; |
| 1613 |
box-shadow: 0 0 0 1px #1e1e1e; |
| 1614 |
border-radius: 1px; |
| 1615 |
} |
| 1616 |
.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-icon-only, |
| 1617 |
.components-dropdown-menu__menu .components-menu-item.is-icon-only { |
| 1618 |
width: auto; |
| 1619 |
} |
| 1620 |
.components-dropdown-menu__menu .components-menu-item__button, |
| 1621 |
.components-dropdown-menu__menu .components-menu-item__button.components-button { |
| 1622 |
min-height: 32px; |
| 1623 |
height: auto; |
| 1624 |
text-align: left; |
| 1625 |
padding-left: 8px; |
| 1626 |
padding-right: 8px; |
| 1627 |
} |
| 1628 |
|
| 1629 |
.components-duotone-picker__color-indicator::before { |
| 1630 |
background: transparent; |
| 1631 |
} |
| 1632 |
|
| 1633 |
.components-duotone-picker__color-indicator > .components-button { |
| 1634 |
background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); |
| 1635 |
color: transparent; |
| 1636 |
} |
| 1637 |
.components-duotone-picker__color-indicator > .components-button.is-pressed:hover:not(:disabled) { |
| 1638 |
background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); |
| 1639 |
color: transparent; |
| 1640 |
} |
| 1641 |
.components-duotone-picker__color-indicator > .components-button:hover:not(:disabled):not([aria-disabled=true]) { |
| 1642 |
color: transparent; |
| 1643 |
} |
| 1644 |
.components-duotone-picker__color-indicator > .components-button:not([aria-disabled=true]):active { |
| 1645 |
color: transparent; |
| 1646 |
} |
| 1647 |
|
| 1648 |
.components-color-list-picker, |
| 1649 |
.components-color-list-picker__swatch-button { |
| 1650 |
width: 100%; |
| 1651 |
} |
| 1652 |
|
| 1653 |
.components-color-list-picker__color-picker { |
| 1654 |
margin: 8px 0; |
| 1655 |
} |
| 1656 |
|
| 1657 |
.components-color-list-picker__swatch-color { |
| 1658 |
margin: 2px; |
| 1659 |
} |
| 1660 |
|
| 1661 |
.components-external-link { |
| 1662 |
color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 1663 |
text-decoration: none; |
| 1664 |
} |
| 1665 |
@media not (prefers-reduced-motion) { |
| 1666 |
.components-external-link { |
| 1667 |
transition: outline 0.1s ease-out; |
| 1668 |
} |
| 1669 |
} |
| 1670 |
.components-external-link { |
| 1671 |
outline: 0 solid transparent; |
| 1672 |
outline-offset: 1px; |
| 1673 |
} |
| 1674 |
.components-external-link:visited { |
| 1675 |
color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 1676 |
} |
| 1677 |
.components-external-link:hover, .components-external-link:active { |
| 1678 |
color: var(--wpds-color-fg-interactive-brand-active, var(--wp-admin-theme-color, #3858e9)); |
| 1679 |
} |
| 1680 |
.components-external-link:focus { |
| 1681 |
outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); |
| 1682 |
box-shadow: none; |
| 1683 |
border-radius: 0; |
| 1684 |
} |
| 1685 |
|
| 1686 |
.components-external-link__contents { |
| 1687 |
text-decoration: underline; |
| 1688 |
text-underline-offset: 0.2em; |
| 1689 |
text-decoration-thickness: from-font; |
| 1690 |
} |
| 1691 |
|
| 1692 |
.components-external-link__icon { |
| 1693 |
line-height: 1; |
| 1694 |
display: inline-block; |
| 1695 |
margin-inline-start: var(--wpds-dimension-padding-xs, 4px); |
| 1696 |
font-weight: var(--wpds-typography-font-weight-regular, 400); |
| 1697 |
} |
| 1698 |
|
| 1699 |
.components-form-toggle { |
| 1700 |
position: relative; |
| 1701 |
isolation: isolate; |
| 1702 |
display: inline-block; |
| 1703 |
height: 16px; |
| 1704 |
} |
| 1705 |
.components-form-toggle .components-form-toggle__track { |
| 1706 |
position: relative; |
| 1707 |
content: ""; |
| 1708 |
display: inline-block; |
| 1709 |
box-sizing: border-box; |
| 1710 |
vertical-align: top; |
| 1711 |
background-color: #fff; |
| 1712 |
border: 1px solid #949494; |
| 1713 |
width: 32px; |
| 1714 |
height: 16px; |
| 1715 |
border-radius: 8px; |
| 1716 |
} |
| 1717 |
@media not (prefers-reduced-motion) { |
| 1718 |
.components-form-toggle .components-form-toggle__track { |
| 1719 |
transition: 0.2s background-color ease, 0.2s border-color ease; |
| 1720 |
} |
| 1721 |
} |
| 1722 |
.components-form-toggle .components-form-toggle__track { |
| 1723 |
overflow: hidden; |
| 1724 |
} |
| 1725 |
.components-form-toggle .components-form-toggle__track::after { |
| 1726 |
content: ""; |
| 1727 |
position: absolute; |
| 1728 |
inset: 0; |
| 1729 |
box-sizing: border-box; |
| 1730 |
border-top: 16px solid transparent; |
| 1731 |
} |
| 1732 |
@media not (prefers-reduced-motion) { |
| 1733 |
.components-form-toggle .components-form-toggle__track::after { |
| 1734 |
transition: 0.2s opacity ease; |
| 1735 |
} |
| 1736 |
} |
| 1737 |
.components-form-toggle .components-form-toggle__track::after { |
| 1738 |
opacity: 0; |
| 1739 |
} |
| 1740 |
.components-form-toggle .components-form-toggle__thumb { |
| 1741 |
display: block; |
| 1742 |
position: absolute; |
| 1743 |
box-sizing: border-box; |
| 1744 |
top: 2px; |
| 1745 |
left: 2px; |
| 1746 |
width: 12px; |
| 1747 |
height: 12px; |
| 1748 |
border-radius: 50%; |
| 1749 |
} |
| 1750 |
@media not (prefers-reduced-motion) { |
| 1751 |
.components-form-toggle .components-form-toggle__thumb { |
| 1752 |
transition: 0.2s transform ease, 0.2s background-color ease-out; |
| 1753 |
} |
| 1754 |
} |
| 1755 |
.components-form-toggle .components-form-toggle__thumb { |
| 1756 |
background-color: #1e1e1e; |
| 1757 |
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01); |
| 1758 |
border: 6px solid transparent; |
| 1759 |
} |
| 1760 |
.components-form-toggle.is-checked .components-form-toggle__track { |
| 1761 |
background-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1762 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1763 |
} |
| 1764 |
.components-form-toggle.is-checked .components-form-toggle__track::after { |
| 1765 |
opacity: 1; |
| 1766 |
} |
| 1767 |
.components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track { |
| 1768 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1769 |
outline: 2px solid transparent; |
| 1770 |
outline-offset: 2px; |
| 1771 |
} |
| 1772 |
.components-form-toggle.is-checked .components-form-toggle__thumb { |
| 1773 |
background-color: #fff; |
| 1774 |
border-width: 0; |
| 1775 |
transform: translateX(16px); |
| 1776 |
} |
| 1777 |
.components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track { |
| 1778 |
background-color: var(--wp-components-color-gray-100, #f0f0f0); |
| 1779 |
border-color: var(--wp-components-color-gray-300, #ddd); |
| 1780 |
} |
| 1781 |
@media (forced-colors: active) { |
| 1782 |
.components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track { |
| 1783 |
border-color: GrayText; |
| 1784 |
} |
| 1785 |
} |
| 1786 |
.components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb { |
| 1787 |
background-color: var(--wp-components-color-gray-400, #ccc); |
| 1788 |
box-shadow: none; |
| 1789 |
} |
| 1790 |
@media (forced-colors: active) { |
| 1791 |
.components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb { |
| 1792 |
border-color: GrayText; |
| 1793 |
} |
| 1794 |
} |
| 1795 |
.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track { |
| 1796 |
background-color: var(--wp-components-color-gray-400, #ccc); |
| 1797 |
border-color: var(--wp-components-color-gray-400, #ccc); |
| 1798 |
} |
| 1799 |
@media (forced-colors: active) { |
| 1800 |
.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track { |
| 1801 |
border-color: GrayText; |
| 1802 |
} |
| 1803 |
.components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track::after { |
| 1804 |
border-top-color: GrayText; |
| 1805 |
} |
| 1806 |
} |
| 1807 |
.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, .components-disabled .components-form-toggle.is-checked .components-form-toggle__thumb { |
| 1808 |
background-color: #fff; |
| 1809 |
} |
| 1810 |
|
| 1811 |
.components-form-toggle input.components-form-toggle__input[type=checkbox] { |
| 1812 |
position: absolute; |
| 1813 |
top: 0; |
| 1814 |
left: 0; |
| 1815 |
width: 100%; |
| 1816 |
height: 100%; |
| 1817 |
opacity: 0; |
| 1818 |
margin: 0; |
| 1819 |
padding: 0; |
| 1820 |
z-index: 1; |
| 1821 |
border: none; |
| 1822 |
} |
| 1823 |
.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked { |
| 1824 |
background: none; |
| 1825 |
} |
| 1826 |
.components-form-toggle input.components-form-toggle__input[type=checkbox]::before { |
| 1827 |
content: ""; |
| 1828 |
} |
| 1829 |
.components-form-toggle input.components-form-toggle__input[type=checkbox]:not(:disabled, [aria-disabled=true]) { |
| 1830 |
cursor: var(--wpds-cursor-control, pointer); |
| 1831 |
} |
| 1832 |
|
| 1833 |
.components-form-token-field__input-container { |
| 1834 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 1835 |
padding: 6px 8px; |
| 1836 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 1837 |
font-size: 16px; |
| 1838 |
/* Override core line-height. To be reviewed. */ |
| 1839 |
line-height: normal; |
| 1840 |
box-shadow: 0 0 0 transparent; |
| 1841 |
border-radius: 2px; |
| 1842 |
border: 1px solid #949494; |
| 1843 |
} |
| 1844 |
@media not (prefers-reduced-motion) { |
| 1845 |
.components-form-token-field__input-container { |
| 1846 |
transition: box-shadow 0.1s linear; |
| 1847 |
} |
| 1848 |
} |
| 1849 |
@media (min-width: 600px) { |
| 1850 |
.components-form-token-field__input-container { |
| 1851 |
font-size: 13px; |
| 1852 |
/* Override core line-height. To be reviewed. */ |
| 1853 |
line-height: normal; |
| 1854 |
} |
| 1855 |
} |
| 1856 |
.components-form-token-field__input-container:focus { |
| 1857 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1858 |
box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1859 |
outline: 2px solid transparent; |
| 1860 |
} |
| 1861 |
.components-form-token-field__input-container::placeholder { |
| 1862 |
color: rgba(30, 30, 30, 0.62); |
| 1863 |
} |
| 1864 |
.components-form-token-field__input-container { |
| 1865 |
width: 100%; |
| 1866 |
padding: 0; |
| 1867 |
cursor: text; |
| 1868 |
} |
| 1869 |
.components-form-token-field__input-container.is-disabled { |
| 1870 |
background: var(--wp-components-color-gray-100, #f0f0f0); |
| 1871 |
border-color: var(--wp-components-color-gray-400, #ccc); |
| 1872 |
cursor: default; |
| 1873 |
} |
| 1874 |
.components-form-token-field__input-container.is-active { |
| 1875 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1876 |
box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1877 |
outline: 2px solid transparent; |
| 1878 |
} |
| 1879 |
.components-form-token-field__input-container input[type=text].components-form-token-field__input { |
| 1880 |
display: inline-block; |
| 1881 |
flex: 1; |
| 1882 |
font-family: inherit; |
| 1883 |
font-size: 16px; |
| 1884 |
line-height: 1; |
| 1885 |
width: 100%; |
| 1886 |
max-width: 100%; |
| 1887 |
margin-left: 4px; |
| 1888 |
padding: 0; |
| 1889 |
min-height: 24px; |
| 1890 |
min-width: 50px; |
| 1891 |
background: inherit; |
| 1892 |
border: 0; |
| 1893 |
color: var(--wp-components-color-foreground, #1e1e1e); |
| 1894 |
box-shadow: none; |
| 1895 |
} |
| 1896 |
@media (min-width: 600px) { |
| 1897 |
.components-form-token-field__input-container input[type=text].components-form-token-field__input { |
| 1898 |
font-size: 13px; |
| 1899 |
} |
| 1900 |
} |
| 1901 |
.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus, .components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input { |
| 1902 |
outline: none; |
| 1903 |
box-shadow: none; |
| 1904 |
} |
| 1905 |
.components-form-token-field__input-container .components-form-token-field__token + input[type=text].components-form-token-field__input { |
| 1906 |
width: auto; |
| 1907 |
} |
| 1908 |
|
| 1909 |
.components-form-token-field__token { |
| 1910 |
font-size: 13px; |
| 1911 |
display: flex; |
| 1912 |
color: #1e1e1e; |
| 1913 |
max-width: 100%; |
| 1914 |
} |
| 1915 |
.components-form-token-field__token.is-success .components-form-token-field__token-text, |
| 1916 |
.components-form-token-field__token.is-success .components-form-token-field__remove-token { |
| 1917 |
background: #4ab866; |
| 1918 |
} |
| 1919 |
.components-form-token-field__token.is-error .components-form-token-field__token-text, |
| 1920 |
.components-form-token-field__token.is-error .components-form-token-field__remove-token { |
| 1921 |
background: #cc1818; |
| 1922 |
} |
| 1923 |
.components-form-token-field__token.is-validating .components-form-token-field__token-text, |
| 1924 |
.components-form-token-field__token.is-validating .components-form-token-field__remove-token { |
| 1925 |
color: #757575; |
| 1926 |
} |
| 1927 |
.components-form-token-field__token.is-disabled .components-form-token-field__token-text, |
| 1928 |
.components-form-token-field__token.is-disabled .components-form-token-field__remove-token.components-button { |
| 1929 |
background: var(--wp-components-color-gray-100, #f0f0f0); |
| 1930 |
color: var(--wp-components-color-gray-600, #949494); |
| 1931 |
} |
| 1932 |
.components-form-token-field__token.is-borderless { |
| 1933 |
position: relative; |
| 1934 |
padding: 0 24px 0 0; |
| 1935 |
} |
| 1936 |
.components-form-token-field__token.is-borderless .components-form-token-field__token-text { |
| 1937 |
background: transparent; |
| 1938 |
} |
| 1939 |
.components-form-token-field__token.is-borderless:not(.is-disabled) .components-form-token-field__token-text { |
| 1940 |
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1941 |
} |
| 1942 |
.components-form-token-field__token.is-borderless .components-form-token-field__remove-token { |
| 1943 |
background: transparent; |
| 1944 |
color: #757575; |
| 1945 |
position: absolute; |
| 1946 |
top: 1px; |
| 1947 |
right: 0; |
| 1948 |
} |
| 1949 |
.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text { |
| 1950 |
color: #4ab866; |
| 1951 |
} |
| 1952 |
.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text { |
| 1953 |
color: #cc1818; |
| 1954 |
padding: 0 4px 0 6px; |
| 1955 |
} |
| 1956 |
.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text { |
| 1957 |
color: #1e1e1e; |
| 1958 |
} |
| 1959 |
|
| 1960 |
.components-form-token-field__token-text, |
| 1961 |
.components-form-token-field__remove-token.components-button { |
| 1962 |
display: inline-block; |
| 1963 |
height: auto; |
| 1964 |
background: #ddd; |
| 1965 |
min-width: unset; |
| 1966 |
} |
| 1967 |
@media not (prefers-reduced-motion) { |
| 1968 |
.components-form-token-field__token-text, |
| 1969 |
.components-form-token-field__remove-token.components-button { |
| 1970 |
transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1); |
| 1971 |
} |
| 1972 |
} |
| 1973 |
|
| 1974 |
.components-form-token-field__token-text { |
| 1975 |
border-radius: 1px 0 0 1px; |
| 1976 |
padding: 0 0 0 8px; |
| 1977 |
line-height: 24px; |
| 1978 |
white-space: nowrap; |
| 1979 |
overflow: hidden; |
| 1980 |
text-overflow: ellipsis; |
| 1981 |
} |
| 1982 |
|
| 1983 |
.components-form-token-field__remove-token.components-button { |
| 1984 |
border-radius: 0 1px 1px 0; |
| 1985 |
color: #1e1e1e; |
| 1986 |
line-height: 10px; |
| 1987 |
overflow: initial; |
| 1988 |
} |
| 1989 |
.components-form-token-field__remove-token.components-button:hover:not(:disabled) { |
| 1990 |
color: #1e1e1e; |
| 1991 |
} |
| 1992 |
|
| 1993 |
.components-form-token-field__suggestions-list { |
| 1994 |
flex: 1 0 100%; |
| 1995 |
min-width: 100%; |
| 1996 |
max-height: 128px; |
| 1997 |
overflow-y: auto; |
| 1998 |
} |
| 1999 |
@media not (prefers-reduced-motion) { |
| 2000 |
.components-form-token-field__suggestions-list { |
| 2001 |
transition: all 0.15s ease-in-out; |
| 2002 |
} |
| 2003 |
} |
| 2004 |
.components-form-token-field__suggestions-list { |
| 2005 |
list-style: none; |
| 2006 |
box-shadow: inset 0 1px 0 0 #949494; |
| 2007 |
margin: 0; |
| 2008 |
padding: 0; |
| 2009 |
} |
| 2010 |
|
| 2011 |
.components-form-token-field__suggestion { |
| 2012 |
color: var(--wp-components-color-foreground, #1e1e1e); |
| 2013 |
display: block; |
| 2014 |
font-size: 13px; |
| 2015 |
padding: 8px 12px; |
| 2016 |
min-height: 32px; |
| 2017 |
margin: 0; |
| 2018 |
box-sizing: border-box; |
| 2019 |
} |
| 2020 |
.components-form-token-field__suggestion.is-selected { |
| 2021 |
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 2022 |
color: var(--wp-components-color-foreground-inverted, #fff); |
| 2023 |
} |
| 2024 |
.components-form-token-field__suggestion[aria-disabled=true] { |
| 2025 |
pointer-events: none; |
| 2026 |
color: #949494; |
| 2027 |
} |
| 2028 |
.components-form-token-field__suggestion[aria-disabled=true].is-selected { |
| 2029 |
background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent); |
| 2030 |
} |
| 2031 |
.components-form-token-field__suggestion:not(.is-empty) { |
| 2032 |
cursor: var(--wpds-cursor-control, pointer); |
| 2033 |
} |
| 2034 |
|
| 2035 |
@media (min-width: 600px) { |
| 2036 |
.components-guide { |
| 2037 |
width: 600px; |
| 2038 |
} |
| 2039 |
} |
| 2040 |
.components-guide .components-modal__content { |
| 2041 |
padding: 0; |
| 2042 |
margin-top: 0; |
| 2043 |
} |
| 2044 |
.components-guide .components-modal__content::before { |
| 2045 |
content: none; |
| 2046 |
} |
| 2047 |
.components-guide .components-modal__header { |
| 2048 |
border-bottom: none; |
| 2049 |
padding: 0; |
| 2050 |
position: sticky; |
| 2051 |
height: 64px; |
| 2052 |
} |
| 2053 |
.components-guide .components-modal__header .components-button { |
| 2054 |
align-self: flex-start; |
| 2055 |
margin: 8px 8px 0 0; |
| 2056 |
position: static; |
| 2057 |
} |
| 2058 |
.components-guide .components-guide__container { |
| 2059 |
display: flex; |
| 2060 |
flex-direction: column; |
| 2061 |
justify-content: space-between; |
| 2062 |
margin-top: -64px; |
| 2063 |
min-height: 100%; |
| 2064 |
} |
| 2065 |
.components-guide .components-guide__page { |
| 2066 |
display: flex; |
| 2067 |
flex-direction: column; |
| 2068 |
justify-content: center; |
| 2069 |
position: relative; |
| 2070 |
} |
| 2071 |
@media (min-width: 600px) { |
| 2072 |
.components-guide .components-guide__page { |
| 2073 |
min-height: 300px; |
| 2074 |
} |
| 2075 |
} |
| 2076 |
.components-guide .components-guide__footer { |
| 2077 |
align-content: center; |
| 2078 |
display: flex; |
| 2079 |
height: 36px; |
| 2080 |
justify-content: center; |
| 2081 |
margin: 0 0 24px 0; |
| 2082 |
padding: 0 24px; |
| 2083 |
position: relative; |
| 2084 |
width: 100%; |
| 2085 |
} |
| 2086 |
.components-guide .components-guide__page-control { |
| 2087 |
margin: 0; |
| 2088 |
text-align: center; |
| 2089 |
} |
| 2090 |
.components-guide .components-guide__page-control li { |
| 2091 |
display: inline-block; |
| 2092 |
margin: 0; |
| 2093 |
} |
| 2094 |
.components-guide .components-guide__page-control .components-button { |
| 2095 |
margin: -6px 0; |
| 2096 |
color: #e0e0e0; |
| 2097 |
} |
| 2098 |
.components-guide .components-guide__page-control li[aria-current=step] .components-button { |
| 2099 |
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 2100 |
} |
| 2101 |
|
| 2102 |
.components-modal__frame.components-guide { |
| 2103 |
border: none; |
| 2104 |
min-width: 312px; |
| 2105 |
max-height: 575px; |
| 2106 |
} |
| 2107 |
@media (max-width: 600px) { |
| 2108 |
.components-modal__frame.components-guide { |
| 2109 |
margin: auto; |
| 2110 |
max-width: calc(100vw - 16px * 2); |
| 2111 |
} |
| 2112 |
} |
| 2113 |
|
| 2114 |
.components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button { |
| 2115 |
position: absolute; |
| 2116 |
} |
| 2117 |
.components-button.components-guide__back-button { |
| 2118 |
left: 24px; |
| 2119 |
} |
| 2120 |
.components-button.components-guide__forward-button, .components-button.components-guide__finish-button { |
| 2121 |
right: 24px; |
| 2122 |
} |
| 2123 |
|
| 2124 |
[role=region] { |
| 2125 |
position: relative; |
| 2126 |
} |
| 2127 |
[role=region].interface-interface-skeleton__content:focus-visible::after { |
| 2128 |
content: ""; |
| 2129 |
position: absolute; |
| 2130 |
pointer-events: none; |
| 2131 |
top: 0; |
| 2132 |
right: 0; |
| 2133 |
bottom: 0; |
| 2134 |
left: 0; |
| 2135 |
outline-color: var(--wp-admin-theme-color); |
| 2136 |
outline-style: solid; |
| 2137 |
outline-width: calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2138 |
outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2139 |
box-shadow: inset 0 0 0 calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1) + 0.5px) rgba(255, 255, 255, 0.7); |
| 2140 |
z-index: 1000000; |
| 2141 |
} |
| 2142 |
|
| 2143 |
.is-focusing-regions [role=region]:focus::after { |
| 2144 |
content: ""; |
| 2145 |
position: absolute; |
| 2146 |
pointer-events: none; |
| 2147 |
top: 0; |
| 2148 |
right: 0; |
| 2149 |
bottom: 0; |
| 2150 |
left: 0; |
| 2151 |
outline-color: var(--wp-admin-theme-color); |
| 2152 |
outline-style: solid; |
| 2153 |
outline-width: calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2154 |
outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2155 |
box-shadow: inset 0 0 0 calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1) + 0.5px) rgba(255, 255, 255, 0.7); |
| 2156 |
z-index: 1000000; |
| 2157 |
} |
| 2158 |
.is-focusing-regions.is-distraction-free .interface-interface-skeleton__header .edit-post-header, |
| 2159 |
.is-focusing-regions .interface-interface-skeleton__sidebar .editor-layout__toggle-sidebar-panel, |
| 2160 |
.is-focusing-regions .interface-interface-skeleton__actions .editor-layout__toggle-publish-panel, |
| 2161 |
.is-focusing-regions .interface-interface-skeleton__actions .editor-layout__toggle-entities-saved-states-panel, |
| 2162 |
.is-focusing-regions .editor-post-publish-panel { |
| 2163 |
outline-color: var(--wp-admin-theme-color); |
| 2164 |
outline-style: solid; |
| 2165 |
outline-width: calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2166 |
outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2167 |
box-shadow: inset 0 0 0 calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1) + 0.5px) rgba(255, 255, 255, 0.7); |
| 2168 |
} |
| 2169 |
|
| 2170 |
.components-menu-group + .components-menu-group { |
| 2171 |
padding-top: 8px; |
| 2172 |
border-top: 1px solid #1e1e1e; |
| 2173 |
} |
| 2174 |
.components-menu-group + .components-menu-group.has-hidden-separator { |
| 2175 |
border-top: none; |
| 2176 |
margin-top: 0; |
| 2177 |
padding-top: 0; |
| 2178 |
} |
| 2179 |
|
| 2180 |
.components-menu-group:has(> div:empty) { |
| 2181 |
display: none; |
| 2182 |
} |
| 2183 |
|
| 2184 |
.components-menu-group__label { |
| 2185 |
padding: 0 8px; |
| 2186 |
margin-top: 4px; |
| 2187 |
margin-bottom: 12px; |
| 2188 |
color: #757575; |
| 2189 |
text-transform: uppercase; |
| 2190 |
font-size: 11px; |
| 2191 |
font-weight: 499; |
| 2192 |
white-space: nowrap; |
| 2193 |
} |
| 2194 |
|
| 2195 |
.components-menu-item__button, |
| 2196 |
.components-menu-item__button.components-button { |
| 2197 |
width: 100%; |
| 2198 |
font-weight: 400; |
| 2199 |
} |
| 2200 |
.components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child, |
| 2201 |
.components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child, |
| 2202 |
.components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child { |
| 2203 |
padding-right: 48px; |
| 2204 |
box-sizing: initial; |
| 2205 |
} |
| 2206 |
.components-menu-item__button .components-menu-items__item-icon, |
| 2207 |
.components-menu-item__button.components-button .components-menu-items__item-icon { |
| 2208 |
display: inline-block; |
| 2209 |
flex: 0 0 auto; |
| 2210 |
} |
| 2211 |
.components-menu-item__button .components-menu-items__item-icon.has-icon-right, |
| 2212 |
.components-menu-item__button.components-button .components-menu-items__item-icon.has-icon-right { |
| 2213 |
margin-right: -2px; |
| 2214 |
margin-left: 24px; |
| 2215 |
} |
| 2216 |
.components-menu-item__button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right, |
| 2217 |
.components-menu-item__button.components-button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right { |
| 2218 |
margin-left: 8px; |
| 2219 |
} |
| 2220 |
.components-menu-item__button .block-editor-block-icon, |
| 2221 |
.components-menu-item__button.components-button .block-editor-block-icon { |
| 2222 |
margin-left: -2px; |
| 2223 |
margin-right: 8px; |
| 2224 |
} |
| 2225 |
.components-menu-item__button.is-primary, |
| 2226 |
.components-menu-item__button.components-button.is-primary { |
| 2227 |
justify-content: center; |
| 2228 |
} |
| 2229 |
.components-menu-item__button.is-primary .components-menu-item__item, |
| 2230 |
.components-menu-item__button.components-button.is-primary .components-menu-item__item { |
| 2231 |
margin-right: 0; |
| 2232 |
} |
| 2233 |
.components-menu-item__button:disabled.is-tertiary, .components-menu-item__button[aria-disabled=true].is-tertiary, |
| 2234 |
.components-menu-item__button.components-button:disabled.is-tertiary, |
| 2235 |
.components-menu-item__button.components-button[aria-disabled=true].is-tertiary { |
| 2236 |
background: none; |
| 2237 |
color: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)); |
| 2238 |
opacity: 0.3; |
| 2239 |
} |
| 2240 |
|
| 2241 |
.components-menu-item__info-wrapper { |
| 2242 |
display: flex; |
| 2243 |
flex-direction: column; |
| 2244 |
margin-right: auto; |
| 2245 |
} |
| 2246 |
|
| 2247 |
.components-menu-item__info { |
| 2248 |
margin-top: 4px; |
| 2249 |
font-size: 12px; |
| 2250 |
color: #757575; |
| 2251 |
white-space: normal; |
| 2252 |
} |
| 2253 |
|
| 2254 |
.components-menu-item__item { |
| 2255 |
white-space: nowrap; |
| 2256 |
min-width: 160px; |
| 2257 |
margin-right: auto; |
| 2258 |
display: inline-flex; |
| 2259 |
align-items: center; |
| 2260 |
} |
| 2261 |
|
| 2262 |
.components-menu-item__shortcut { |
| 2263 |
align-self: center; |
| 2264 |
margin-right: 0; |
| 2265 |
margin-left: auto; |
| 2266 |
padding-left: 24px; |
| 2267 |
color: currentColor; |
| 2268 |
display: none; |
| 2269 |
} |
| 2270 |
@media (min-width: 480px) { |
| 2271 |
.components-menu-item__shortcut { |
| 2272 |
display: inline; |
| 2273 |
} |
| 2274 |
} |
| 2275 |
|
| 2276 |
.components-menu-items-choice, |
| 2277 |
.components-menu-items-choice.components-button { |
| 2278 |
min-height: 40px; |
| 2279 |
height: auto; |
| 2280 |
} |
| 2281 |
.components-menu-items-choice svg, |
| 2282 |
.components-menu-items-choice.components-button svg { |
| 2283 |
margin-right: 12px; |
| 2284 |
} |
| 2285 |
.components-menu-items-choice.has-icon, |
| 2286 |
.components-menu-items-choice.components-button.has-icon { |
| 2287 |
padding-left: 12px; |
| 2288 |
} |
| 2289 |
|
| 2290 |
.components-modal__screen-overlay { |
| 2291 |
position: fixed; |
| 2292 |
top: 0; |
| 2293 |
right: 0; |
| 2294 |
bottom: 0; |
| 2295 |
left: 0; |
| 2296 |
background-color: rgba(0, 0, 0, 0.35); |
| 2297 |
z-index: 100000; |
| 2298 |
display: flex; |
| 2299 |
} |
| 2300 |
@keyframes __wp-base-styles-fade-in { |
| 2301 |
from { |
| 2302 |
opacity: 0; |
| 2303 |
} |
| 2304 |
to { |
| 2305 |
opacity: 1; |
| 2306 |
} |
| 2307 |
} |
| 2308 |
@media not (prefers-reduced-motion) { |
| 2309 |
.components-modal__screen-overlay { |
| 2310 |
animation: __wp-base-styles-fade-in var(--wpds-motion-duration-sm, 100ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1)) 0s; |
| 2311 |
animation-fill-mode: forwards; |
| 2312 |
} |
| 2313 |
} |
| 2314 |
@keyframes __wp-base-styles-fade-out { |
| 2315 |
from { |
| 2316 |
opacity: 1; |
| 2317 |
} |
| 2318 |
to { |
| 2319 |
opacity: 0; |
| 2320 |
} |
| 2321 |
} |
| 2322 |
@media not (prefers-reduced-motion) { |
| 2323 |
.components-modal__screen-overlay.is-animating-out { |
| 2324 |
animation: __wp-base-styles-fade-out var(--wpds-motion-duration-sm, 100ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1)) var(--wpds-motion-duration-xs, 50ms); |
| 2325 |
animation-fill-mode: forwards; |
| 2326 |
} |
| 2327 |
} |
| 2328 |
|
| 2329 |
.components-modal__frame { |
| 2330 |
box-sizing: border-box; |
| 2331 |
} |
| 2332 |
.components-modal__frame *, |
| 2333 |
.components-modal__frame *::before, |
| 2334 |
.components-modal__frame *::after { |
| 2335 |
box-sizing: inherit; |
| 2336 |
} |
| 2337 |
.components-modal__frame { |
| 2338 |
align-self: flex-end; |
| 2339 |
margin: 0; |
| 2340 |
width: 100%; |
| 2341 |
max-height: calc(100% - 40px); |
| 2342 |
background: #fff; |
| 2343 |
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); |
| 2344 |
border-radius: 8px 8px 0 0; |
| 2345 |
overflow: hidden; |
| 2346 |
display: flex; |
| 2347 |
color: #1e1e1e; |
| 2348 |
animation-name: components-modal__appear-animation; |
| 2349 |
animation-fill-mode: forwards; |
| 2350 |
animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1)); |
| 2351 |
} |
| 2352 |
.components-modal__frame h1, |
| 2353 |
.components-modal__frame h2, |
| 2354 |
.components-modal__frame h3 { |
| 2355 |
color: #1e1e1e; |
| 2356 |
} |
| 2357 |
@media not (prefers-reduced-motion) { |
| 2358 |
.components-modal__frame { |
| 2359 |
animation-duration: var(--wpds-motion-duration-md, 200ms); |
| 2360 |
} |
| 2361 |
} |
| 2362 |
.components-modal__screen-overlay.is-animating-out .components-modal__frame { |
| 2363 |
animation-name: components-modal__disappear-animation; |
| 2364 |
animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1)); |
| 2365 |
} |
| 2366 |
@media (min-width: 600px) { |
| 2367 |
.components-modal__frame { |
| 2368 |
align-self: auto; |
| 2369 |
border-radius: 8px; |
| 2370 |
margin: auto; |
| 2371 |
width: auto; |
| 2372 |
min-width: var(--wpds-dimension-surface-width-sm, 320px); |
| 2373 |
max-width: calc(100% - 32px); |
| 2374 |
max-height: calc(100% - 128px); |
| 2375 |
} |
| 2376 |
.components-modal__frame.has-size-small, .components-modal__frame.has-size-medium, .components-modal__frame.has-size-large { |
| 2377 |
width: 100%; |
| 2378 |
} |
| 2379 |
.components-modal__frame.has-size-small { |
| 2380 |
max-width: var(--wpds-dimension-surface-width-md, 400px); |
| 2381 |
} |
| 2382 |
.components-modal__frame.has-size-medium { |
| 2383 |
max-width: var(--wpds-dimension-surface-width-lg, 560px); |
| 2384 |
} |
| 2385 |
.components-modal__frame.has-size-large { |
| 2386 |
max-width: var(--wpds-dimension-surface-width-2xl, 960px); |
| 2387 |
} |
| 2388 |
} |
| 2389 |
@media (min-width: 960px) { |
| 2390 |
.components-modal__frame { |
| 2391 |
max-height: 70%; |
| 2392 |
} |
| 2393 |
} |
| 2394 |
.components-modal__frame.is-full-screen { |
| 2395 |
margin: 0; |
| 2396 |
width: 100%; |
| 2397 |
height: 100%; |
| 2398 |
max-height: none; |
| 2399 |
border-radius: 0; |
| 2400 |
} |
| 2401 |
.components-modal__frame.is-full-screen :where(.components-modal__content) { |
| 2402 |
display: flex; |
| 2403 |
margin-bottom: 24px; |
| 2404 |
padding-bottom: 0; |
| 2405 |
} |
| 2406 |
.components-modal__frame.is-full-screen :where(.components-modal__content) > :last-child { |
| 2407 |
flex: 1; |
| 2408 |
} |
| 2409 |
@media (min-width: 600px) { |
| 2410 |
.components-modal__frame.is-full-screen { |
| 2411 |
margin: auto; |
| 2412 |
border-radius: 8px; |
| 2413 |
width: calc(100% - 32px); |
| 2414 |
height: calc(100% - 32px); |
| 2415 |
} |
| 2416 |
} |
| 2417 |
@media (min-width: 782px) { |
| 2418 |
.components-modal__frame.is-full-screen { |
| 2419 |
width: calc(100% - 80px); |
| 2420 |
height: calc(100% - 80px); |
| 2421 |
max-width: none; |
| 2422 |
} |
| 2423 |
} |
| 2424 |
|
| 2425 |
@keyframes components-modal__appear-animation { |
| 2426 |
from { |
| 2427 |
opacity: 0; |
| 2428 |
transform: translateY(100%); |
| 2429 |
} |
| 2430 |
to { |
| 2431 |
opacity: 1; |
| 2432 |
transform: translateY(0); |
| 2433 |
} |
| 2434 |
} |
| 2435 |
@keyframes components-modal__disappear-animation { |
| 2436 |
from { |
| 2437 |
opacity: 1; |
| 2438 |
transform: translateY(0); |
| 2439 |
} |
| 2440 |
to { |
| 2441 |
opacity: 0; |
| 2442 |
transform: translateY(100%); |
| 2443 |
} |
| 2444 |
} |
| 2445 |
@media (min-width: 600px) { |
| 2446 |
@keyframes components-modal__appear-animation { |
| 2447 |
from { |
| 2448 |
opacity: 0; |
| 2449 |
transform: scale(0.9); |
| 2450 |
} |
| 2451 |
to { |
| 2452 |
opacity: 1; |
| 2453 |
transform: scale(1); |
| 2454 |
} |
| 2455 |
} |
| 2456 |
@keyframes components-modal__disappear-animation { |
| 2457 |
from { |
| 2458 |
opacity: 1; |
| 2459 |
transform: scale(1); |
| 2460 |
} |
| 2461 |
to { |
| 2462 |
opacity: 0; |
| 2463 |
transform: scale(0.9); |
| 2464 |
} |
| 2465 |
} |
| 2466 |
} |
| 2467 |
.components-modal__header { |
| 2468 |
box-sizing: border-box; |
| 2469 |
border-bottom: 1px solid transparent; |
| 2470 |
padding: 24px; |
| 2471 |
display: flex; |
| 2472 |
flex-direction: row; |
| 2473 |
justify-content: space-between; |
| 2474 |
align-items: center; |
| 2475 |
height: 72px; |
| 2476 |
width: 100%; |
| 2477 |
z-index: 10; |
| 2478 |
position: absolute; |
| 2479 |
top: 0; |
| 2480 |
left: 0; |
| 2481 |
} |
| 2482 |
.components-modal__header .components-modal__header-heading { |
| 2483 |
font-size: 20px; |
| 2484 |
font-weight: 600; |
| 2485 |
} |
| 2486 |
.components-modal__header h1 { |
| 2487 |
line-height: 1; |
| 2488 |
margin: 0; |
| 2489 |
} |
| 2490 |
.components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header { |
| 2491 |
border-bottom-color: #ddd; |
| 2492 |
} |
| 2493 |
.components-modal__header + p { |
| 2494 |
margin-top: 0; |
| 2495 |
} |
| 2496 |
|
| 2497 |
.components-modal__header-heading-container { |
| 2498 |
align-items: center; |
| 2499 |
flex-grow: 1; |
| 2500 |
display: flex; |
| 2501 |
flex-direction: row; |
| 2502 |
justify-content: flex-start; |
| 2503 |
} |
| 2504 |
|
| 2505 |
.components-modal__header-icon-container { |
| 2506 |
display: inline-block; |
| 2507 |
} |
| 2508 |
.components-modal__header-icon-container svg { |
| 2509 |
max-width: 36px; |
| 2510 |
max-height: 36px; |
| 2511 |
padding: 8px; |
| 2512 |
} |
| 2513 |
|
| 2514 |
.components-modal__content { |
| 2515 |
flex: 1; |
| 2516 |
margin-top: 72px; |
| 2517 |
padding: 4px 24px 24px; |
| 2518 |
overflow: auto; |
| 2519 |
} |
| 2520 |
.components-modal__content.hide-header { |
| 2521 |
margin-top: 0; |
| 2522 |
padding-top: 24px; |
| 2523 |
} |
| 2524 |
.components-modal__content.is-scrollable:focus-visible { |
| 2525 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 2526 |
outline: 2px solid transparent; |
| 2527 |
outline-offset: -2px; |
| 2528 |
} |
| 2529 |
|
| 2530 |
.components-notice { |
| 2531 |
--wp-components-notice-background-color: var(--wpds-color-bg-surface-info-weak, #f3f9ff); |
| 2532 |
--wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #9fbcdc); |
| 2533 |
--wp-components-notice-text-color: var(--wpds-color-fg-content-info, #001b4f); |
| 2534 |
box-sizing: border-box; |
| 2535 |
display: grid; |
| 2536 |
grid-template-columns: 1fr auto; |
| 2537 |
align-items: start; |
| 2538 |
padding: var(--wpds-dimension-padding-md, 12px); |
| 2539 |
border: var(--wpds-border-width-xs, 1px) solid var(--wp-components-notice-border-color); |
| 2540 |
border-radius: var(--wpds-border-radius-lg, 8px); |
| 2541 |
background-color: var(--wp-components-notice-background-color); |
| 2542 |
color: var(--wp-components-notice-text-color); |
| 2543 |
font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif); |
| 2544 |
font-size: var(--wpds-typography-font-size-md, 13px); |
| 2545 |
line-height: var(--wpds-typography-line-height-sm, 20px); |
| 2546 |
} |
| 2547 |
.components-notice.is-success { |
| 2548 |
--wp-components-notice-background-color: var(--wpds-color-bg-surface-success-weak, #ebffed); |
| 2549 |
--wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #8ac894); |
| 2550 |
--wp-components-notice-text-color: var(--wpds-color-fg-content-success, #002900); |
| 2551 |
} |
| 2552 |
.components-notice.is-warning { |
| 2553 |
--wp-components-notice-background-color: var(--wpds-color-bg-surface-warning-weak, #fff7e1); |
| 2554 |
--wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #d0b481); |
| 2555 |
--wp-components-notice-text-color: var(--wpds-color-fg-content-warning, #2e1900); |
| 2556 |
} |
| 2557 |
.components-notice.is-error { |
| 2558 |
--wp-components-notice-background-color: var(--wpds-color-bg-surface-error-weak, #fff6f5); |
| 2559 |
--wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #daa39b); |
| 2560 |
--wp-components-notice-text-color: var(--wpds-color-fg-content-error, #470000); |
| 2561 |
} |
| 2562 |
|
| 2563 |
.components-notice__content { |
| 2564 |
grid-column: 1; |
| 2565 |
grid-row: 1; |
| 2566 |
padding-block: calc((24px - 1lh) / 2); |
| 2567 |
} |
| 2568 |
|
| 2569 |
.components-notice__actions { |
| 2570 |
grid-column: 1; |
| 2571 |
grid-row: 2; |
| 2572 |
display: flex; |
| 2573 |
flex-wrap: wrap; |
| 2574 |
align-items: center; |
| 2575 |
gap: var(--wpds-dimension-gap-md, 12px); |
| 2576 |
margin-top: var(--wpds-dimension-gap-sm, 8px); |
| 2577 |
} |
| 2578 |
|
| 2579 |
.components-notice__dismiss { |
| 2580 |
grid-column: 2; |
| 2581 |
grid-row: 1; |
| 2582 |
color: var(--wpds-color-fg-interactive-neutral, #1e1e1e); |
| 2583 |
margin-inline-start: var(--wpds-dimension-gap-xs, 4px); |
| 2584 |
} |
| 2585 |
.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus { |
| 2586 |
color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e); |
| 2587 |
background-color: transparent; |
| 2588 |
} |
| 2589 |
.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover { |
| 2590 |
box-shadow: none; |
| 2591 |
} |
| 2592 |
|
| 2593 |
.components-notice-list { |
| 2594 |
display: flex; |
| 2595 |
flex-direction: column; |
| 2596 |
gap: var(--wpds-dimension-gap-md, 12px); |
| 2597 |
max-width: 100vw; |
| 2598 |
box-sizing: border-box; |
| 2599 |
} |
| 2600 |
|
| 2601 |
.components-panel { |
| 2602 |
background: #fff; |
| 2603 |
border: 1px solid #e0e0e0; |
| 2604 |
} |
| 2605 |
.components-panel > .components-panel__header:first-child, |
| 2606 |
.components-panel > .components-panel__body:first-child { |
| 2607 |
margin-top: -1px; |
| 2608 |
} |
| 2609 |
.components-panel > .components-panel__header:last-child, |
| 2610 |
.components-panel > .components-panel__body:last-child { |
| 2611 |
border-bottom-width: 0; |
| 2612 |
} |
| 2613 |
|
| 2614 |
.components-panel + .components-panel { |
| 2615 |
margin-top: -1px; |
| 2616 |
} |
| 2617 |
|
| 2618 |
.components-panel__body { |
| 2619 |
border-top: 1px solid #e0e0e0; |
| 2620 |
border-bottom: 1px solid #e0e0e0; |
| 2621 |
} |
| 2622 |
.components-panel__body h3 { |
| 2623 |
margin: 0 0 0.5em; |
| 2624 |
} |
| 2625 |
.components-panel__body.is-opened { |
| 2626 |
padding: 16px; |
| 2627 |
} |
| 2628 |
|
| 2629 |
.components-panel__header { |
| 2630 |
display: flex; |
| 2631 |
flex-shrink: 0; |
| 2632 |
justify-content: space-between; |
| 2633 |
align-items: center; |
| 2634 |
padding: 0 16px; |
| 2635 |
border-bottom: 1px solid #ddd; |
| 2636 |
box-sizing: content-box; |
| 2637 |
height: 47px; |
| 2638 |
} |
| 2639 |
.components-panel__header h2 { |
| 2640 |
margin: 0; |
| 2641 |
font-size: inherit; |
| 2642 |
color: inherit; |
| 2643 |
} |
| 2644 |
|
| 2645 |
.components-panel__body + .components-panel__body, |
| 2646 |
.components-panel__body + .components-panel__header, |
| 2647 |
.components-panel__header + .components-panel__body, |
| 2648 |
.components-panel__header + .components-panel__header { |
| 2649 |
margin-top: -1px; |
| 2650 |
} |
| 2651 |
|
| 2652 |
.components-panel__body > .components-panel__body-title { |
| 2653 |
display: block; |
| 2654 |
padding: 0; |
| 2655 |
font-size: inherit; |
| 2656 |
margin-top: 0; |
| 2657 |
margin-bottom: 0; |
| 2658 |
} |
| 2659 |
@media not (prefers-reduced-motion) { |
| 2660 |
.components-panel__body > .components-panel__body-title { |
| 2661 |
transition: 0.1s background ease-in-out; |
| 2662 |
} |
| 2663 |
} |
| 2664 |
|
| 2665 |
.components-panel__body.is-opened > .components-panel__body-title { |
| 2666 |
margin: -16px; |
| 2667 |
margin-bottom: 5px; |
| 2668 |
} |
| 2669 |
|
| 2670 |
.components-panel__body > .components-panel__body-title:hover { |
| 2671 |
background: #f0f0f0; |
| 2672 |
border: none; |
| 2673 |
} |
| 2674 |
|
| 2675 |
.components-panel__body-toggle.components-button { |
| 2676 |
position: relative; |
| 2677 |
padding: 16px 48px 16px 16px; |
| 2678 |
outline: none; |
| 2679 |
width: 100%; |
| 2680 |
font-weight: 499; |
| 2681 |
text-align: left; |
| 2682 |
color: #1e1e1e; |
| 2683 |
border: none; |
| 2684 |
box-shadow: none; |
| 2685 |
} |
| 2686 |
@media not (prefers-reduced-motion) { |
| 2687 |
.components-panel__body-toggle.components-button { |
| 2688 |
transition: 0.1s background ease-in-out; |
| 2689 |
} |
| 2690 |
} |
| 2691 |
.components-panel__body-toggle.components-button { |
| 2692 |
height: auto; |
| 2693 |
} |
| 2694 |
.components-panel__body-toggle.components-button:focus { |
| 2695 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 2696 |
border-radius: 0; |
| 2697 |
} |
| 2698 |
.components-panel__body-toggle.components-button .components-panel__arrow { |
| 2699 |
position: absolute; |
| 2700 |
right: 16px; |
| 2701 |
top: 50%; |
| 2702 |
transform: translateY(-50%); |
| 2703 |
color: #1e1e1e; |
| 2704 |
fill: currentColor; |
| 2705 |
} |
| 2706 |
@media not (prefers-reduced-motion) { |
| 2707 |
.components-panel__body-toggle.components-button .components-panel__arrow { |
| 2708 |
transition: 0.1s color ease-in-out; |
| 2709 |
} |
| 2710 |
} |
| 2711 |
.components-panel__body-toggle.components-button { |
| 2712 |
/* rtl:begin:ignore */ |
| 2713 |
} |
| 2714 |
body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right { |
| 2715 |
transform: scaleX(-1); |
| 2716 |
margin-top: -10px; |
| 2717 |
} |
| 2718 |
.components-panel__body-toggle.components-button { |
| 2719 |
/* rtl:end:ignore */ |
| 2720 |
} |
| 2721 |
|
| 2722 |
.components-panel__icon { |
| 2723 |
color: #757575; |
| 2724 |
margin: -2px 0 -2px 6px; |
| 2725 |
} |
| 2726 |
|
| 2727 |
.components-panel__body-toggle-icon { |
| 2728 |
margin-right: -5px; |
| 2729 |
} |
| 2730 |
|
| 2731 |
.components-panel__color-title { |
| 2732 |
float: left; |
| 2733 |
height: 19px; |
| 2734 |
} |
| 2735 |
|
| 2736 |
.components-panel__row { |
| 2737 |
display: flex; |
| 2738 |
justify-content: space-between; |
| 2739 |
align-items: center; |
| 2740 |
margin-top: 8px; |
| 2741 |
min-height: 36px; |
| 2742 |
} |
| 2743 |
.components-panel__row select { |
| 2744 |
min-width: 0; |
| 2745 |
} |
| 2746 |
.components-panel__row label { |
| 2747 |
margin-right: 12px; |
| 2748 |
flex-shrink: 0; |
| 2749 |
max-width: 75%; |
| 2750 |
} |
| 2751 |
.components-panel__row:empty, .components-panel__row:first-of-type { |
| 2752 |
margin-top: 0; |
| 2753 |
} |
| 2754 |
|
| 2755 |
.components-panel .circle-picker { |
| 2756 |
padding-bottom: 20px; |
| 2757 |
} |
| 2758 |
|
| 2759 |
.components-placeholder.components-placeholder { |
| 2760 |
font-size: 13px; |
| 2761 |
box-sizing: border-box; |
| 2762 |
position: relative; |
| 2763 |
padding: 24px; |
| 2764 |
width: 100%; |
| 2765 |
text-align: left; |
| 2766 |
margin: 0; |
| 2767 |
color: #1e1e1e; |
| 2768 |
display: flex; |
| 2769 |
flex-direction: column; |
| 2770 |
align-items: flex-start; |
| 2771 |
gap: 16px; |
| 2772 |
-webkit-font-smoothing: subpixel-antialiased; |
| 2773 |
border-radius: 2px; |
| 2774 |
background-color: #fff; |
| 2775 |
box-shadow: inset 0 0 0 1px #1e1e1e; |
| 2776 |
outline: 1px solid transparent; |
| 2777 |
} |
| 2778 |
|
| 2779 |
.components-placeholder__error, |
| 2780 |
.components-placeholder__instructions, |
| 2781 |
.components-placeholder__label, |
| 2782 |
.components-placeholder__fieldset { |
| 2783 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 2784 |
font-size: 13px; |
| 2785 |
letter-spacing: initial; |
| 2786 |
line-height: initial; |
| 2787 |
text-transform: none; |
| 2788 |
font-weight: normal; |
| 2789 |
} |
| 2790 |
|
| 2791 |
.components-placeholder__label { |
| 2792 |
font-weight: 600; |
| 2793 |
align-items: center; |
| 2794 |
display: flex; |
| 2795 |
} |
| 2796 |
.components-placeholder__label > svg, |
| 2797 |
.components-placeholder__label .dashicon, |
| 2798 |
.components-placeholder__label .block-editor-block-icon { |
| 2799 |
margin-right: 4px; |
| 2800 |
fill: currentColor; |
| 2801 |
} |
| 2802 |
@media (forced-colors: active) { |
| 2803 |
.components-placeholder__label > svg, |
| 2804 |
.components-placeholder__label .dashicon, |
| 2805 |
.components-placeholder__label .block-editor-block-icon { |
| 2806 |
fill: CanvasText; |
| 2807 |
} |
| 2808 |
} |
| 2809 |
.components-placeholder__label:empty { |
| 2810 |
display: none; |
| 2811 |
} |
| 2812 |
|
| 2813 |
.components-placeholder__fieldset, |
| 2814 |
.components-placeholder__fieldset form { |
| 2815 |
display: flex; |
| 2816 |
flex-direction: row; |
| 2817 |
width: 100%; |
| 2818 |
flex-wrap: wrap; |
| 2819 |
gap: 16px; |
| 2820 |
justify-content: flex-start; |
| 2821 |
} |
| 2822 |
.components-placeholder__fieldset p, |
| 2823 |
.components-placeholder__fieldset form p { |
| 2824 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 2825 |
font-size: 13px; |
| 2826 |
} |
| 2827 |
|
| 2828 |
.components-placeholder__fieldset.is-column-layout, |
| 2829 |
.components-placeholder__fieldset.is-column-layout form { |
| 2830 |
flex-direction: column; |
| 2831 |
} |
| 2832 |
|
| 2833 |
.components-placeholder__input[type=url] { |
| 2834 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 2835 |
padding: 6px 8px; |
| 2836 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 2837 |
font-size: 16px; |
| 2838 |
/* Override core line-height. To be reviewed. */ |
| 2839 |
line-height: normal; |
| 2840 |
box-shadow: 0 0 0 transparent; |
| 2841 |
border-radius: 2px; |
| 2842 |
border: 1px solid #949494; |
| 2843 |
} |
| 2844 |
@media not (prefers-reduced-motion) { |
| 2845 |
.components-placeholder__input[type=url] { |
| 2846 |
transition: box-shadow 0.1s linear; |
| 2847 |
} |
| 2848 |
} |
| 2849 |
@media (min-width: 600px) { |
| 2850 |
.components-placeholder__input[type=url] { |
| 2851 |
font-size: 13px; |
| 2852 |
/* Override core line-height. To be reviewed. */ |
| 2853 |
line-height: normal; |
| 2854 |
} |
| 2855 |
} |
| 2856 |
.components-placeholder__input[type=url]:focus { |
| 2857 |
border-color: var(--wp-admin-theme-color); |
| 2858 |
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
| 2859 |
outline: 2px solid transparent; |
| 2860 |
} |
| 2861 |
.components-placeholder__input[type=url]::placeholder { |
| 2862 |
color: rgba(30, 30, 30, 0.62); |
| 2863 |
} |
| 2864 |
.components-placeholder__input[type=url] { |
| 2865 |
flex: 1 1 auto; |
| 2866 |
} |
| 2867 |
|
| 2868 |
.components-placeholder__error { |
| 2869 |
width: 100%; |
| 2870 |
gap: 8px; |
| 2871 |
} |
| 2872 |
|
| 2873 |
.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link { |
| 2874 |
margin-left: 10px; |
| 2875 |
margin-right: 10px; |
| 2876 |
} |
| 2877 |
.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child { |
| 2878 |
margin-right: 0; |
| 2879 |
} |
| 2880 |
|
| 2881 |
.components-placeholder.is-medium .components-placeholder__instructions, .components-placeholder.is-small .components-placeholder__instructions { |
| 2882 |
display: none; |
| 2883 |
} |
| 2884 |
.components-placeholder.is-medium .components-placeholder__fieldset, |
| 2885 |
.components-placeholder.is-medium .components-placeholder__fieldset form, .components-placeholder.is-small .components-placeholder__fieldset, |
| 2886 |
.components-placeholder.is-small .components-placeholder__fieldset form { |
| 2887 |
flex-direction: column; |
| 2888 |
} |
| 2889 |
.components-placeholder.is-medium .components-placeholder__fieldset > *, |
| 2890 |
.components-placeholder.is-medium .components-button, .components-placeholder.is-small .components-placeholder__fieldset > *, |
| 2891 |
.components-placeholder.is-small .components-button { |
| 2892 |
width: 100%; |
| 2893 |
justify-content: center; |
| 2894 |
} |
| 2895 |
.components-placeholder.is-small { |
| 2896 |
padding: 16px; |
| 2897 |
} |
| 2898 |
|
| 2899 |
/** |
| 2900 |
* Dashed style placeholders |
| 2901 |
*/ |
| 2902 |
.components-placeholder.has-illustration { |
| 2903 |
color: inherit; |
| 2904 |
display: flex; |
| 2905 |
box-shadow: none; |
| 2906 |
border-radius: 0; |
| 2907 |
backdrop-filter: blur(100px); |
| 2908 |
background-color: transparent; |
| 2909 |
backface-visibility: hidden; |
| 2910 |
} |
| 2911 |
.is-dark-theme .components-placeholder.has-illustration { |
| 2912 |
background-color: rgba(0, 0, 0, 0.1); |
| 2913 |
} |
| 2914 |
.components-placeholder.has-illustration .components-placeholder__fieldset { |
| 2915 |
margin-left: 0; |
| 2916 |
margin-right: 0; |
| 2917 |
} |
| 2918 |
.components-placeholder.has-illustration .components-placeholder__label, |
| 2919 |
.components-placeholder.has-illustration .components-placeholder__instructions, |
| 2920 |
.components-placeholder.has-illustration .components-button { |
| 2921 |
opacity: 0; |
| 2922 |
pointer-events: none; |
| 2923 |
} |
| 2924 |
@media not (prefers-reduced-motion) { |
| 2925 |
.components-placeholder.has-illustration .components-placeholder__label, |
| 2926 |
.components-placeholder.has-illustration .components-placeholder__instructions, |
| 2927 |
.components-placeholder.has-illustration .components-button { |
| 2928 |
transition: opacity 0.1s linear; |
| 2929 |
} |
| 2930 |
} |
| 2931 |
.is-selected > .components-placeholder.has-illustration .components-placeholder__label, |
| 2932 |
.is-selected > .components-placeholder.has-illustration .components-placeholder__instructions, |
| 2933 |
.is-selected > .components-placeholder.has-illustration .components-button { |
| 2934 |
opacity: 1; |
| 2935 |
pointer-events: auto; |
| 2936 |
} |
| 2937 |
.components-placeholder.has-illustration::before { |
| 2938 |
content: ""; |
| 2939 |
position: absolute; |
| 2940 |
top: 0; |
| 2941 |
right: 0; |
| 2942 |
bottom: 0; |
| 2943 |
left: 0; |
| 2944 |
pointer-events: none; |
| 2945 |
background: currentColor; |
| 2946 |
opacity: 0.1; |
| 2947 |
} |
| 2948 |
.components-placeholder.has-illustration { |
| 2949 |
overflow: hidden; |
| 2950 |
} |
| 2951 |
.is-selected .components-placeholder.has-illustration { |
| 2952 |
overflow: auto; |
| 2953 |
} |
| 2954 |
|
| 2955 |
.components-placeholder__preview { |
| 2956 |
display: flex; |
| 2957 |
justify-content: center; |
| 2958 |
} |
| 2959 |
|
| 2960 |
.components-placeholder__illustration { |
| 2961 |
box-sizing: content-box; |
| 2962 |
position: absolute; |
| 2963 |
top: 50%; |
| 2964 |
left: 50%; |
| 2965 |
transform: translate(-50%, -50%); |
| 2966 |
width: 100%; |
| 2967 |
height: 100%; |
| 2968 |
stroke: currentColor; |
| 2969 |
opacity: 0.25; |
| 2970 |
} |
| 2971 |
|
| 2972 |
.components-popover { |
| 2973 |
box-sizing: border-box; |
| 2974 |
} |
| 2975 |
.components-popover *, |
| 2976 |
.components-popover *::before, |
| 2977 |
.components-popover *::after { |
| 2978 |
box-sizing: inherit; |
| 2979 |
} |
| 2980 |
.components-popover { |
| 2981 |
z-index: 1000000; |
| 2982 |
will-change: transform; |
| 2983 |
} |
| 2984 |
.components-popover.is-expanded { |
| 2985 |
position: fixed; |
| 2986 |
top: 0; |
| 2987 |
left: 0; |
| 2988 |
right: 0; |
| 2989 |
bottom: 0; |
| 2990 |
z-index: 1000000 !important; |
| 2991 |
} |
| 2992 |
|
| 2993 |
.components-popover__content { |
| 2994 |
background: #fff; |
| 2995 |
box-shadow: 0 0 0 1px #ccc, 0 2px 3px rgba(0, 0, 0, 0.05), 0 4px 5px rgba(0, 0, 0, 0.04), 0 12px 12px rgba(0, 0, 0, 0.03), 0 16px 16px rgba(0, 0, 0, 0.02); |
| 2996 |
border-radius: 4px; |
| 2997 |
box-sizing: border-box; |
| 2998 |
width: min-content; |
| 2999 |
} |
| 3000 |
.is-alternate .components-popover__content { |
| 3001 |
box-shadow: 0 0 0 1px #1e1e1e; |
| 3002 |
border-radius: 2px; |
| 3003 |
} |
| 3004 |
.is-unstyled .components-popover__content { |
| 3005 |
background: none; |
| 3006 |
border-radius: 0; |
| 3007 |
box-shadow: none; |
| 3008 |
} |
| 3009 |
.components-popover.is-expanded .components-popover__content { |
| 3010 |
position: static; |
| 3011 |
height: calc(100% - 48px); |
| 3012 |
overflow-y: visible; |
| 3013 |
width: auto; |
| 3014 |
box-shadow: 0 -1px 0 0 #ccc; |
| 3015 |
} |
| 3016 |
.components-popover.is-expanded.is-alternate .components-popover__content { |
| 3017 |
box-shadow: 0 -1px 0 #1e1e1e; |
| 3018 |
} |
| 3019 |
|
| 3020 |
.components-popover__header { |
| 3021 |
align-items: center; |
| 3022 |
background: #fff; |
| 3023 |
display: flex; |
| 3024 |
height: 48px; |
| 3025 |
justify-content: space-between; |
| 3026 |
padding: 0 8px 0 16px; |
| 3027 |
} |
| 3028 |
|
| 3029 |
.components-popover__header-title { |
| 3030 |
overflow: hidden; |
| 3031 |
text-overflow: ellipsis; |
| 3032 |
white-space: nowrap; |
| 3033 |
width: 100%; |
| 3034 |
} |
| 3035 |
|
| 3036 |
.components-popover__arrow { |
| 3037 |
position: absolute; |
| 3038 |
width: 14px; |
| 3039 |
height: 14px; |
| 3040 |
pointer-events: none; |
| 3041 |
display: flex; |
| 3042 |
} |
| 3043 |
.components-popover__arrow::before { |
| 3044 |
content: ""; |
| 3045 |
position: absolute; |
| 3046 |
top: -1px; |
| 3047 |
left: 1px; |
| 3048 |
height: 2px; |
| 3049 |
right: 1px; |
| 3050 |
background-color: #fff; |
| 3051 |
} |
| 3052 |
.components-popover__arrow.is-top { |
| 3053 |
bottom: -14px !important; |
| 3054 |
transform: rotate(0); |
| 3055 |
} |
| 3056 |
.components-popover__arrow.is-right { |
| 3057 |
/*rtl:begin:ignore*/ |
| 3058 |
left: -14px !important; |
| 3059 |
transform: rotate(90deg); |
| 3060 |
} |
| 3061 |
.components-popover__arrow.is-bottom { |
| 3062 |
top: -14px !important; |
| 3063 |
transform: rotate(180deg); |
| 3064 |
} |
| 3065 |
.components-popover__arrow.is-left { |
| 3066 |
/*rtl:begin:ignore*/ |
| 3067 |
right: -14px !important; |
| 3068 |
transform: rotate(-90deg); |
| 3069 |
/*rtl:end:ignore*/ |
| 3070 |
} |
| 3071 |
|
| 3072 |
.components-popover__triangle { |
| 3073 |
display: block; |
| 3074 |
flex: 1; |
| 3075 |
} |
| 3076 |
|
| 3077 |
.components-popover__triangle-bg { |
| 3078 |
fill: #fff; |
| 3079 |
} |
| 3080 |
|
| 3081 |
.components-popover__triangle-border { |
| 3082 |
fill: transparent; |
| 3083 |
stroke-width: 1px; |
| 3084 |
stroke: #ccc; |
| 3085 |
} |
| 3086 |
.is-alternate .components-popover__triangle-border { |
| 3087 |
stroke: #1e1e1e; |
| 3088 |
} |
| 3089 |
|
| 3090 |
.components-radio-control { |
| 3091 |
border: 0; |
| 3092 |
margin: 0; |
| 3093 |
padding: 0; |
| 3094 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3095 |
font-size: 13px; |
| 3096 |
} |
| 3097 |
|
| 3098 |
.components-radio-control__group-wrapper.has-help { |
| 3099 |
margin-block-end: 12px; |
| 3100 |
} |
| 3101 |
|
| 3102 |
.components-radio-control__option { |
| 3103 |
display: grid; |
| 3104 |
grid-template-columns: auto 1fr; |
| 3105 |
grid-template-rows: auto minmax(0, max-content); |
| 3106 |
column-gap: 8px; |
| 3107 |
align-items: center; |
| 3108 |
} |
| 3109 |
|
| 3110 |
.components-radio-control__input[type=radio] { |
| 3111 |
grid-column: 1; |
| 3112 |
grid-row: 1; |
| 3113 |
border: 1px solid #1e1e1e; |
| 3114 |
margin-right: 12px; |
| 3115 |
transition: none; |
| 3116 |
border-radius: 50%; |
| 3117 |
width: 24px; |
| 3118 |
height: 24px; |
| 3119 |
min-width: 24px; |
| 3120 |
max-width: 24px; |
| 3121 |
position: relative; |
| 3122 |
} |
| 3123 |
@media not (prefers-reduced-motion) { |
| 3124 |
.components-radio-control__input[type=radio] { |
| 3125 |
transition: box-shadow 0.1s linear; |
| 3126 |
} |
| 3127 |
} |
| 3128 |
@media (min-width: 600px) { |
| 3129 |
.components-radio-control__input[type=radio] { |
| 3130 |
height: 16px; |
| 3131 |
width: 16px; |
| 3132 |
min-width: 16px; |
| 3133 |
max-width: 16px; |
| 3134 |
} |
| 3135 |
} |
| 3136 |
.components-radio-control__input[type=radio]:checked::before { |
| 3137 |
box-sizing: inherit; |
| 3138 |
width: 12px; |
| 3139 |
height: 12px; |
| 3140 |
position: absolute; |
| 3141 |
top: 50%; |
| 3142 |
left: 50%; |
| 3143 |
transform: translate(-50%, -50%); |
| 3144 |
margin: 0; |
| 3145 |
background-color: #fff; |
| 3146 |
border: 4px solid #fff; |
| 3147 |
} |
| 3148 |
@media (min-width: 600px) { |
| 3149 |
.components-radio-control__input[type=radio]:checked::before { |
| 3150 |
width: 8px; |
| 3151 |
height: 8px; |
| 3152 |
} |
| 3153 |
} |
| 3154 |
.components-radio-control__input[type=radio]:focus { |
| 3155 |
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); |
| 3156 |
outline: 2px solid transparent; |
| 3157 |
} |
| 3158 |
.components-radio-control__input[type=radio]:checked { |
| 3159 |
background: var(--wp-admin-theme-color); |
| 3160 |
border: none; |
| 3161 |
} |
| 3162 |
.components-radio-control__input[type=radio] { |
| 3163 |
display: inline-flex; |
| 3164 |
margin: 0; |
| 3165 |
padding: 0; |
| 3166 |
appearance: none; |
| 3167 |
} |
| 3168 |
.components-radio-control__input[type=radio]:not(:disabled) { |
| 3169 |
cursor: var(--wpds-cursor-control, pointer); |
| 3170 |
} |
| 3171 |
.components-radio-control__input[type=radio]:focus { |
| 3172 |
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 0 calc(2 * var(--wp-admin-border-width-focus)) var(--wp-admin-theme-color); |
| 3173 |
outline: 2px solid transparent; |
| 3174 |
outline-offset: 2px; |
| 3175 |
} |
| 3176 |
.components-radio-control__input[type=radio]:checked { |
| 3177 |
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3178 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3179 |
} |
| 3180 |
.components-radio-control__input[type=radio]:checked::before { |
| 3181 |
content: ""; |
| 3182 |
border-radius: 50%; |
| 3183 |
} |
| 3184 |
.components-radio-control__input[type=radio]:disabled { |
| 3185 |
background: var(--wp-components-color-gray-100, #f0f0f0); |
| 3186 |
border: 1px solid var(--wp-components-color-gray-300, #ddd); |
| 3187 |
opacity: 1; |
| 3188 |
} |
| 3189 |
.components-radio-control__input[type=radio]:disabled:checked::before { |
| 3190 |
border-color: var(--wp-components-color-gray-400, #ccc); |
| 3191 |
opacity: 1; |
| 3192 |
} |
| 3193 |
|
| 3194 |
.components-radio-control__label { |
| 3195 |
grid-column: 2; |
| 3196 |
grid-row: 1; |
| 3197 |
} |
| 3198 |
.components-radio-control:not(:disabled) .components-radio-control__label { |
| 3199 |
cursor: var(--wpds-cursor-control, pointer); |
| 3200 |
} |
| 3201 |
.components-radio-control__label { |
| 3202 |
line-height: 24px; |
| 3203 |
} |
| 3204 |
@media (min-width: 600px) { |
| 3205 |
.components-radio-control__label { |
| 3206 |
line-height: 16px; |
| 3207 |
} |
| 3208 |
} |
| 3209 |
|
| 3210 |
.components-radio-control__option-description { |
| 3211 |
grid-column: 2; |
| 3212 |
grid-row: 2; |
| 3213 |
padding-block-start: 4px; |
| 3214 |
} |
| 3215 |
.components-radio-control__option-description.components-radio-control__option-description { |
| 3216 |
margin-top: 0; |
| 3217 |
} |
| 3218 |
|
| 3219 |
.components-resizable-box__handle { |
| 3220 |
display: none; |
| 3221 |
width: 23px; |
| 3222 |
height: 23px; |
| 3223 |
z-index: 2; |
| 3224 |
} |
| 3225 |
.components-resizable-box__container.has-show-handle .components-resizable-box__handle { |
| 3226 |
display: block; |
| 3227 |
} |
| 3228 |
.components-resizable-box__handle > div { |
| 3229 |
position: relative; |
| 3230 |
width: 100%; |
| 3231 |
height: 100%; |
| 3232 |
z-index: 2; |
| 3233 |
outline: none; |
| 3234 |
} |
| 3235 |
|
| 3236 |
.components-resizable-box__container > img { |
| 3237 |
width: inherit; |
| 3238 |
} |
| 3239 |
|
| 3240 |
.components-resizable-box__handle::after { |
| 3241 |
display: block; |
| 3242 |
content: ""; |
| 3243 |
width: 15px; |
| 3244 |
height: 15px; |
| 3245 |
border-radius: 50%; |
| 3246 |
background: #fff; |
| 3247 |
cursor: inherit; |
| 3248 |
position: absolute; |
| 3249 |
top: calc(50% - 8px); |
| 3250 |
right: calc(50% - 8px); |
| 3251 |
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)), 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01); |
| 3252 |
outline: 2px solid transparent; |
| 3253 |
} |
| 3254 |
|
| 3255 |
.components-resizable-box__side-handle::before { |
| 3256 |
display: block; |
| 3257 |
border-radius: 9999px; |
| 3258 |
content: ""; |
| 3259 |
width: 3px; |
| 3260 |
height: 3px; |
| 3261 |
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3262 |
cursor: inherit; |
| 3263 |
position: absolute; |
| 3264 |
top: calc(50% - 1px); |
| 3265 |
right: calc(50% - 1px); |
| 3266 |
} |
| 3267 |
@media not (prefers-reduced-motion) { |
| 3268 |
.components-resizable-box__side-handle::before { |
| 3269 |
transition: transform 0.1s ease-in; |
| 3270 |
will-change: transform; |
| 3271 |
} |
| 3272 |
} |
| 3273 |
.components-resizable-box__side-handle::before { |
| 3274 |
opacity: 0; |
| 3275 |
} |
| 3276 |
|
| 3277 |
.components-resizable-box__side-handle { |
| 3278 |
z-index: 2; |
| 3279 |
} |
| 3280 |
|
| 3281 |
.components-resizable-box__corner-handle { |
| 3282 |
z-index: 2; |
| 3283 |
} |
| 3284 |
|
| 3285 |
.components-resizable-box__side-handle.components-resizable-box__handle-top, |
| 3286 |
.components-resizable-box__side-handle.components-resizable-box__handle-bottom, |
| 3287 |
.components-resizable-box__side-handle.components-resizable-box__handle-top::before, |
| 3288 |
.components-resizable-box__side-handle.components-resizable-box__handle-bottom::before { |
| 3289 |
width: 100%; |
| 3290 |
left: 0; |
| 3291 |
border-left: 0; |
| 3292 |
border-right: 0; |
| 3293 |
} |
| 3294 |
|
| 3295 |
.components-resizable-box__side-handle.components-resizable-box__handle-left, |
| 3296 |
.components-resizable-box__side-handle.components-resizable-box__handle-right, |
| 3297 |
.components-resizable-box__side-handle.components-resizable-box__handle-left::before, |
| 3298 |
.components-resizable-box__side-handle.components-resizable-box__handle-right::before { |
| 3299 |
height: 100%; |
| 3300 |
top: 0; |
| 3301 |
border-top: 0; |
| 3302 |
border-bottom: 0; |
| 3303 |
} |
| 3304 |
|
| 3305 |
@media not (prefers-reduced-motion) { |
| 3306 |
.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before, |
| 3307 |
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before, |
| 3308 |
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before, |
| 3309 |
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before { |
| 3310 |
animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s; |
| 3311 |
animation-fill-mode: forwards; |
| 3312 |
} |
| 3313 |
} |
| 3314 |
|
| 3315 |
@media not (prefers-reduced-motion) { |
| 3316 |
.components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before, |
| 3317 |
.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before, |
| 3318 |
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before, |
| 3319 |
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before { |
| 3320 |
animation: components-resizable-box__left-right-animation 0.1s ease-out 0s; |
| 3321 |
animation-fill-mode: forwards; |
| 3322 |
} |
| 3323 |
} |
| 3324 |
|
| 3325 |
/* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy. |
| 3326 |
See https://bugs.webkit.org/show_bug.cgi?id=187903. */ |
| 3327 |
@media not all and (min-resolution: 0.001dpcm) { |
| 3328 |
@supports (-webkit-appearance: none) { |
| 3329 |
.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before, |
| 3330 |
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before, |
| 3331 |
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before, |
| 3332 |
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before { |
| 3333 |
animation: none; |
| 3334 |
} |
| 3335 |
.components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before, |
| 3336 |
.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before, |
| 3337 |
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before, |
| 3338 |
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before { |
| 3339 |
animation: none; |
| 3340 |
} |
| 3341 |
} |
| 3342 |
} |
| 3343 |
@keyframes components-resizable-box__top-bottom-animation { |
| 3344 |
from { |
| 3345 |
transform: scaleX(0); |
| 3346 |
opacity: 0; |
| 3347 |
} |
| 3348 |
to { |
| 3349 |
transform: scaleX(1); |
| 3350 |
opacity: 1; |
| 3351 |
} |
| 3352 |
} |
| 3353 |
@keyframes components-resizable-box__left-right-animation { |
| 3354 |
from { |
| 3355 |
transform: scaleY(0); |
| 3356 |
opacity: 0; |
| 3357 |
} |
| 3358 |
to { |
| 3359 |
transform: scaleY(1); |
| 3360 |
opacity: 1; |
| 3361 |
} |
| 3362 |
} |
| 3363 |
/*!rtl:begin:ignore*/ |
| 3364 |
.components-resizable-box__handle-right { |
| 3365 |
right: calc(11.5px * -1); |
| 3366 |
} |
| 3367 |
|
| 3368 |
.components-resizable-box__handle-left { |
| 3369 |
left: calc(11.5px * -1); |
| 3370 |
} |
| 3371 |
|
| 3372 |
.components-resizable-box__handle-top { |
| 3373 |
top: calc(11.5px * -1); |
| 3374 |
} |
| 3375 |
|
| 3376 |
.components-resizable-box__handle-bottom { |
| 3377 |
bottom: calc(11.5px * -1); |
| 3378 |
} |
| 3379 |
|
| 3380 |
/*!rtl:end:ignore*/ |
| 3381 |
.components-responsive-wrapper { |
| 3382 |
position: relative; |
| 3383 |
max-width: 100%; |
| 3384 |
display: flex; |
| 3385 |
align-items: center; |
| 3386 |
justify-content: center; |
| 3387 |
} |
| 3388 |
|
| 3389 |
.components-responsive-wrapper__content { |
| 3390 |
display: block; |
| 3391 |
max-width: 100%; |
| 3392 |
width: 100%; |
| 3393 |
} |
| 3394 |
|
| 3395 |
.components-sandbox { |
| 3396 |
overflow: hidden; |
| 3397 |
} |
| 3398 |
|
| 3399 |
iframe.components-sandbox { |
| 3400 |
width: 100%; |
| 3401 |
} |
| 3402 |
|
| 3403 |
html.lockscroll, |
| 3404 |
body.lockscroll { |
| 3405 |
overflow: hidden; |
| 3406 |
} |
| 3407 |
|
| 3408 |
.components-select-control__input { |
| 3409 |
outline: 0; |
| 3410 |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; |
| 3411 |
} |
| 3412 |
|
| 3413 |
.components-snackbar { |
| 3414 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3415 |
font-size: 13px; |
| 3416 |
background: rgba(0, 0, 0, 0.85); |
| 3417 |
backdrop-filter: blur(16px) saturate(180%); |
| 3418 |
border-radius: 4px; |
| 3419 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02); |
| 3420 |
color: #fff; |
| 3421 |
padding: 12px 20px; |
| 3422 |
width: 100%; |
| 3423 |
max-width: var(--wpds-dimension-surface-width-lg, 560px); |
| 3424 |
box-sizing: border-box; |
| 3425 |
cursor: var(--wpds-cursor-control, pointer); |
| 3426 |
pointer-events: auto; |
| 3427 |
} |
| 3428 |
@media (min-width: 600px) { |
| 3429 |
.components-snackbar { |
| 3430 |
width: fit-content; |
| 3431 |
} |
| 3432 |
} |
| 3433 |
.components-snackbar:focus { |
| 3434 |
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3435 |
} |
| 3436 |
.components-snackbar.components-snackbar-explicit-dismiss { |
| 3437 |
cursor: default; |
| 3438 |
} |
| 3439 |
.components-snackbar .components-snackbar__content-with-icon { |
| 3440 |
position: relative; |
| 3441 |
padding-left: 24px; |
| 3442 |
} |
| 3443 |
.components-snackbar .components-snackbar__icon { |
| 3444 |
position: absolute; |
| 3445 |
left: -8px; |
| 3446 |
top: calc((5.8px) / -2); |
| 3447 |
} |
| 3448 |
.components-snackbar .components-snackbar__dismiss-button { |
| 3449 |
margin-left: 24px; |
| 3450 |
cursor: var(--wpds-cursor-control, pointer); |
| 3451 |
} |
| 3452 |
|
| 3453 |
.components-snackbar__action.components-button, |
| 3454 |
.components-snackbar__action.components-external-link { |
| 3455 |
margin-left: 32px; |
| 3456 |
color: #fff; |
| 3457 |
flex-shrink: 0; |
| 3458 |
} |
| 3459 |
.components-snackbar__action.components-button:focus, |
| 3460 |
.components-snackbar__action.components-external-link:focus { |
| 3461 |
box-shadow: none; |
| 3462 |
outline: 1px dotted #fff; |
| 3463 |
} |
| 3464 |
.components-snackbar__action.components-button:hover, |
| 3465 |
.components-snackbar__action.components-external-link:hover { |
| 3466 |
text-decoration: none; |
| 3467 |
color: currentColor; |
| 3468 |
} |
| 3469 |
|
| 3470 |
.components-snackbar__content { |
| 3471 |
display: flex; |
| 3472 |
align-items: baseline; |
| 3473 |
justify-content: space-between; |
| 3474 |
line-height: 1.4; |
| 3475 |
} |
| 3476 |
|
| 3477 |
.components-snackbar-list { |
| 3478 |
position: absolute; |
| 3479 |
z-index: 100000; |
| 3480 |
width: 100%; |
| 3481 |
box-sizing: border-box; |
| 3482 |
pointer-events: none; |
| 3483 |
} |
| 3484 |
|
| 3485 |
.components-snackbar-list__notice-container { |
| 3486 |
position: relative; |
| 3487 |
padding-top: 8px; |
| 3488 |
} |
| 3489 |
|
| 3490 |
.components-tab-panel__tabs { |
| 3491 |
display: flex; |
| 3492 |
align-items: stretch; |
| 3493 |
flex-direction: row; |
| 3494 |
} |
| 3495 |
.components-tab-panel__tabs[aria-orientation=vertical] { |
| 3496 |
flex-direction: column; |
| 3497 |
} |
| 3498 |
|
| 3499 |
.components-tab-panel__tabs-item { |
| 3500 |
position: relative; |
| 3501 |
border-radius: 0; |
| 3502 |
height: 48px !important; |
| 3503 |
background: transparent; |
| 3504 |
border: none; |
| 3505 |
box-shadow: none; |
| 3506 |
cursor: var(--wpds-cursor-control, pointer); |
| 3507 |
padding: 3px var(--wpds-dimension-padding-lg, 16px); |
| 3508 |
margin-left: 0; |
| 3509 |
font-weight: var(--wpds-typography-font-weight-regular, 400); |
| 3510 |
color: var(--wpds-color-fg-interactive-neutral, #1e1e1e); |
| 3511 |
} |
| 3512 |
.components-tab-panel__tabs-item:disabled, .components-tab-panel__tabs-item[aria-disabled=true] { |
| 3513 |
color: var(--wpds-color-fg-interactive-neutral-disabled, #8d8d8d); |
| 3514 |
} |
| 3515 |
.components-tab-panel__tabs-item:not(:disabled, [aria-disabled=true]):is(:hover, :focus-visible) { |
| 3516 |
color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e); |
| 3517 |
} |
| 3518 |
.components-tab-panel__tabs-item:focus:not(:disabled) { |
| 3519 |
position: relative; |
| 3520 |
box-shadow: none; |
| 3521 |
outline: none; |
| 3522 |
} |
| 3523 |
.components-tab-panel__tabs-item::after { |
| 3524 |
content: ""; |
| 3525 |
position: absolute; |
| 3526 |
right: 0; |
| 3527 |
bottom: 0; |
| 3528 |
left: 0; |
| 3529 |
pointer-events: none; |
| 3530 |
background: var(--wpds-color-stroke-interactive-neutral-strong, #6e6e6e); |
| 3531 |
height: calc(0 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); |
| 3532 |
border-radius: 0; |
| 3533 |
} |
| 3534 |
@media not (prefers-reduced-motion) { |
| 3535 |
.components-tab-panel__tabs-item::after { |
| 3536 |
transition: height 0.1s linear; |
| 3537 |
} |
| 3538 |
} |
| 3539 |
.components-tab-panel__tabs-item.is-active::after { |
| 3540 |
height: calc(1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))); |
| 3541 |
outline: 2px solid transparent; |
| 3542 |
outline-offset: -1px; |
| 3543 |
} |
| 3544 |
.components-tab-panel__tabs-item::before { |
| 3545 |
content: ""; |
| 3546 |
position: absolute; |
| 3547 |
inset: var(--wpds-dimension-padding-md, 12px); |
| 3548 |
pointer-events: none; |
| 3549 |
box-shadow: 0 0 0 0 transparent; |
| 3550 |
border-radius: var(--wpds-border-radius-sm, 2px); |
| 3551 |
} |
| 3552 |
@media not (prefers-reduced-motion) { |
| 3553 |
.components-tab-panel__tabs-item::before { |
| 3554 |
transition: box-shadow 0.1s linear; |
| 3555 |
} |
| 3556 |
} |
| 3557 |
.components-tab-panel__tabs-item:focus-visible::before { |
| 3558 |
box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); |
| 3559 |
outline: 2px solid transparent; |
| 3560 |
} |
| 3561 |
.components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item { |
| 3562 |
border-radius: var(--wpds-border-radius-sm, 2px); |
| 3563 |
} |
| 3564 |
.components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item::after { |
| 3565 |
display: none; |
| 3566 |
} |
| 3567 |
.components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item.is-active { |
| 3568 |
background: var(--wpds-color-bg-interactive-neutral-weak-active, #ededed); |
| 3569 |
} |
| 3570 |
|
| 3571 |
.components-tab-panel__tab-content:focus { |
| 3572 |
box-shadow: none; |
| 3573 |
outline: none; |
| 3574 |
} |
| 3575 |
.components-tab-panel__tab-content:focus-visible { |
| 3576 |
box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9)); |
| 3577 |
outline: 2px solid transparent; |
| 3578 |
outline-offset: 0; |
| 3579 |
} |
| 3580 |
|
| 3581 |
.components-text-control__input, |
| 3582 |
.components-text-control__input[type=text], |
| 3583 |
.components-text-control__input[type=tel], |
| 3584 |
.components-text-control__input[type=time], |
| 3585 |
.components-text-control__input[type=url], |
| 3586 |
.components-text-control__input[type=week], |
| 3587 |
.components-text-control__input[type=password], |
| 3588 |
.components-text-control__input[type=color], |
| 3589 |
.components-text-control__input[type=date], |
| 3590 |
.components-text-control__input[type=datetime], |
| 3591 |
.components-text-control__input[type=datetime-local], |
| 3592 |
.components-text-control__input[type=email], |
| 3593 |
.components-text-control__input[type=month], |
| 3594 |
.components-text-control__input[type=number] { |
| 3595 |
width: 100%; |
| 3596 |
height: 32px; |
| 3597 |
margin: 0; |
| 3598 |
background: var(--wp-components-color-background, #fff); |
| 3599 |
color: var(--wp-components-color-foreground, #1e1e1e); |
| 3600 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3601 |
padding: 6px 8px; |
| 3602 |
/* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 3603 |
font-size: 16px; |
| 3604 |
/* Override core line-height. To be reviewed. */ |
| 3605 |
line-height: normal; |
| 3606 |
box-shadow: 0 0 0 transparent; |
| 3607 |
border-radius: 2px; |
| 3608 |
border: 1px solid #949494; |
| 3609 |
} |
| 3610 |
@media not (prefers-reduced-motion) { |
| 3611 |
.components-text-control__input, |
| 3612 |
.components-text-control__input[type=text], |
| 3613 |
.components-text-control__input[type=tel], |
| 3614 |
.components-text-control__input[type=time], |
| 3615 |
.components-text-control__input[type=url], |
| 3616 |
.components-text-control__input[type=week], |
| 3617 |
.components-text-control__input[type=password], |
| 3618 |
.components-text-control__input[type=color], |
| 3619 |
.components-text-control__input[type=date], |
| 3620 |
.components-text-control__input[type=datetime], |
| 3621 |
.components-text-control__input[type=datetime-local], |
| 3622 |
.components-text-control__input[type=email], |
| 3623 |
.components-text-control__input[type=month], |
| 3624 |
.components-text-control__input[type=number] { |
| 3625 |
transition: box-shadow 0.1s linear; |
| 3626 |
} |
| 3627 |
} |
| 3628 |
@media (min-width: 600px) { |
| 3629 |
.components-text-control__input, |
| 3630 |
.components-text-control__input[type=text], |
| 3631 |
.components-text-control__input[type=tel], |
| 3632 |
.components-text-control__input[type=time], |
| 3633 |
.components-text-control__input[type=url], |
| 3634 |
.components-text-control__input[type=week], |
| 3635 |
.components-text-control__input[type=password], |
| 3636 |
.components-text-control__input[type=color], |
| 3637 |
.components-text-control__input[type=date], |
| 3638 |
.components-text-control__input[type=datetime], |
| 3639 |
.components-text-control__input[type=datetime-local], |
| 3640 |
.components-text-control__input[type=email], |
| 3641 |
.components-text-control__input[type=month], |
| 3642 |
.components-text-control__input[type=number] { |
| 3643 |
font-size: 13px; |
| 3644 |
/* Override core line-height. To be reviewed. */ |
| 3645 |
line-height: normal; |
| 3646 |
} |
| 3647 |
} |
| 3648 |
.components-text-control__input:focus, |
| 3649 |
.components-text-control__input[type=text]:focus, |
| 3650 |
.components-text-control__input[type=tel]:focus, |
| 3651 |
.components-text-control__input[type=time]:focus, |
| 3652 |
.components-text-control__input[type=url]:focus, |
| 3653 |
.components-text-control__input[type=week]:focus, |
| 3654 |
.components-text-control__input[type=password]:focus, |
| 3655 |
.components-text-control__input[type=color]:focus, |
| 3656 |
.components-text-control__input[type=date]:focus, |
| 3657 |
.components-text-control__input[type=datetime]:focus, |
| 3658 |
.components-text-control__input[type=datetime-local]:focus, |
| 3659 |
.components-text-control__input[type=email]:focus, |
| 3660 |
.components-text-control__input[type=month]:focus, |
| 3661 |
.components-text-control__input[type=number]:focus { |
| 3662 |
border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3663 |
box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3664 |
outline: 2px solid transparent; |
| 3665 |
} |
| 3666 |
.components-text-control__input::placeholder, |
| 3667 |
.components-text-control__input[type=text]::placeholder, |
| 3668 |
.components-text-control__input[type=tel]::placeholder, |
| 3669 |
.components-text-control__input[type=time]::placeholder, |
| 3670 |
.components-text-control__input[type=url]::placeholder, |
| 3671 |
.components-text-control__input[type=week]::placeholder, |
| 3672 |
.components-text-control__input[type=password]::placeholder, |
| 3673 |
.components-text-control__input[type=color]::placeholder, |
| 3674 |
.components-text-control__input[type=date]::placeholder, |
| 3675 |
.components-text-control__input[type=datetime]::placeholder, |
| 3676 |
.components-text-control__input[type=datetime-local]::placeholder, |
| 3677 |
.components-text-control__input[type=email]::placeholder, |
| 3678 |
.components-text-control__input[type=month]::placeholder, |
| 3679 |
.components-text-control__input[type=number]::placeholder { |
| 3680 |
color: rgba(30, 30, 30, 0.62); |
| 3681 |
} |
| 3682 |
.components-text-control__input, |
| 3683 |
.components-text-control__input[type=text], |
| 3684 |
.components-text-control__input[type=tel], |
| 3685 |
.components-text-control__input[type=time], |
| 3686 |
.components-text-control__input[type=url], |
| 3687 |
.components-text-control__input[type=week], |
| 3688 |
.components-text-control__input[type=password], |
| 3689 |
.components-text-control__input[type=color], |
| 3690 |
.components-text-control__input[type=date], |
| 3691 |
.components-text-control__input[type=datetime], |
| 3692 |
.components-text-control__input[type=datetime-local], |
| 3693 |
.components-text-control__input[type=email], |
| 3694 |
.components-text-control__input[type=month], |
| 3695 |
.components-text-control__input[type=number] { |
| 3696 |
border-color: var(--wp-components-color-gray-600, #949494); |
| 3697 |
} |
| 3698 |
.components-text-control__input::placeholder, |
| 3699 |
.components-text-control__input[type=text]::placeholder, |
| 3700 |
.components-text-control__input[type=tel]::placeholder, |
| 3701 |
.components-text-control__input[type=time]::placeholder, |
| 3702 |
.components-text-control__input[type=url]::placeholder, |
| 3703 |
.components-text-control__input[type=week]::placeholder, |
| 3704 |
.components-text-control__input[type=password]::placeholder, |
| 3705 |
.components-text-control__input[type=color]::placeholder, |
| 3706 |
.components-text-control__input[type=date]::placeholder, |
| 3707 |
.components-text-control__input[type=datetime]::placeholder, |
| 3708 |
.components-text-control__input[type=datetime-local]::placeholder, |
| 3709 |
.components-text-control__input[type=email]::placeholder, |
| 3710 |
.components-text-control__input[type=month]::placeholder, |
| 3711 |
.components-text-control__input[type=number]::placeholder { |
| 3712 |
color: color-mix(in srgb, var(--wp-components-color-foreground, #1e1e1e), transparent 38%); |
| 3713 |
} |
| 3714 |
.components-text-control__input.is-next-40px-default-size, |
| 3715 |
.components-text-control__input[type=text].is-next-40px-default-size, |
| 3716 |
.components-text-control__input[type=tel].is-next-40px-default-size, |
| 3717 |
.components-text-control__input[type=time].is-next-40px-default-size, |
| 3718 |
.components-text-control__input[type=url].is-next-40px-default-size, |
| 3719 |
.components-text-control__input[type=week].is-next-40px-default-size, |
| 3720 |
.components-text-control__input[type=password].is-next-40px-default-size, |
| 3721 |
.components-text-control__input[type=color].is-next-40px-default-size, |
| 3722 |
.components-text-control__input[type=date].is-next-40px-default-size, |
| 3723 |
.components-text-control__input[type=datetime].is-next-40px-default-size, |
| 3724 |
.components-text-control__input[type=datetime-local].is-next-40px-default-size, |
| 3725 |
.components-text-control__input[type=email].is-next-40px-default-size, |
| 3726 |
.components-text-control__input[type=month].is-next-40px-default-size, |
| 3727 |
.components-text-control__input[type=number].is-next-40px-default-size { |
| 3728 |
height: 40px; |
| 3729 |
padding-left: 12px; |
| 3730 |
padding-right: 12px; |
| 3731 |
} |
| 3732 |
|
| 3733 |
.components-text-control__input[type=email], |
| 3734 |
.components-text-control__input[type=url] { |
| 3735 |
/* rtl:ignore */ |
| 3736 |
direction: ltr; |
| 3737 |
} |
| 3738 |
|
| 3739 |
.components-tip { |
| 3740 |
display: flex; |
| 3741 |
color: #757575; |
| 3742 |
} |
| 3743 |
.components-tip svg { |
| 3744 |
align-self: center; |
| 3745 |
fill: #f0b849; |
| 3746 |
flex-shrink: 0; |
| 3747 |
margin-right: 16px; |
| 3748 |
} |
| 3749 |
.components-tip p { |
| 3750 |
margin: 0; |
| 3751 |
} |
| 3752 |
|
| 3753 |
.components-toggle-control__label { |
| 3754 |
line-height: 16px; |
| 3755 |
} |
| 3756 |
.components-toggle-control__label:not(.is-disabled) { |
| 3757 |
cursor: var(--wpds-cursor-control, pointer); |
| 3758 |
} |
| 3759 |
|
| 3760 |
.components-toggle-control__help { |
| 3761 |
display: inline-block; |
| 3762 |
margin-inline-start: 40px; |
| 3763 |
} |
| 3764 |
|
| 3765 |
.components-accessible-toolbar { |
| 3766 |
display: inline-flex; |
| 3767 |
border: 1px solid var(--wp-components-color-foreground, #1e1e1e); |
| 3768 |
border-radius: 2px; |
| 3769 |
flex-shrink: 0; |
| 3770 |
} |
| 3771 |
.components-accessible-toolbar > .components-toolbar-group:last-child { |
| 3772 |
border-right: none; |
| 3773 |
} |
| 3774 |
.components-accessible-toolbar.is-unstyled { |
| 3775 |
border: none; |
| 3776 |
} |
| 3777 |
.components-accessible-toolbar.is-unstyled > .components-toolbar-group { |
| 3778 |
border-right: none; |
| 3779 |
} |
| 3780 |
|
| 3781 |
.components-accessible-toolbar[aria-orientation=vertical], |
| 3782 |
.components-toolbar[aria-orientation=vertical] { |
| 3783 |
display: flex; |
| 3784 |
flex-direction: column; |
| 3785 |
align-items: center; |
| 3786 |
} |
| 3787 |
.components-accessible-toolbar .components-button, |
| 3788 |
.components-toolbar .components-button { |
| 3789 |
position: relative; |
| 3790 |
height: 48px; |
| 3791 |
z-index: 1; |
| 3792 |
padding-left: 16px; |
| 3793 |
padding-right: 16px; |
| 3794 |
} |
| 3795 |
.components-accessible-toolbar .components-button:focus:not(:disabled), |
| 3796 |
.components-toolbar .components-button:focus:not(:disabled) { |
| 3797 |
box-shadow: none; |
| 3798 |
outline: none; |
| 3799 |
} |
| 3800 |
.components-accessible-toolbar .components-button::before, |
| 3801 |
.components-toolbar .components-button::before { |
| 3802 |
content: ""; |
| 3803 |
position: absolute; |
| 3804 |
display: block; |
| 3805 |
border-radius: 2px; |
| 3806 |
height: 32px; |
| 3807 |
left: 8px; |
| 3808 |
right: 8px; |
| 3809 |
z-index: -1; |
| 3810 |
} |
| 3811 |
@media not (prefers-reduced-motion) { |
| 3812 |
.components-accessible-toolbar .components-button::before, |
| 3813 |
.components-toolbar .components-button::before { |
| 3814 |
animation: components-button__appear-animation 0.1s ease; |
| 3815 |
animation-fill-mode: forwards; |
| 3816 |
} |
| 3817 |
} |
| 3818 |
.components-accessible-toolbar .components-button svg, |
| 3819 |
.components-toolbar .components-button svg { |
| 3820 |
position: relative; |
| 3821 |
margin-left: auto; |
| 3822 |
margin-right: auto; |
| 3823 |
} |
| 3824 |
.components-accessible-toolbar .components-button.is-pressed, |
| 3825 |
.components-toolbar .components-button.is-pressed { |
| 3826 |
background: transparent; |
| 3827 |
} |
| 3828 |
.components-accessible-toolbar .components-button.is-pressed:hover, |
| 3829 |
.components-toolbar .components-button.is-pressed:hover { |
| 3830 |
background: transparent; |
| 3831 |
} |
| 3832 |
.components-accessible-toolbar .components-button.is-pressed::before, |
| 3833 |
.components-toolbar .components-button.is-pressed::before { |
| 3834 |
background: var(--wp-components-color-foreground, #1e1e1e); |
| 3835 |
} |
| 3836 |
.components-accessible-toolbar .components-button:focus::before, |
| 3837 |
.components-toolbar .components-button:focus::before { |
| 3838 |
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
| 3839 |
outline: 2px solid transparent; |
| 3840 |
} |
| 3841 |
.components-accessible-toolbar .components-button.has-icon.has-icon, |
| 3842 |
.components-toolbar .components-button.has-icon.has-icon { |
| 3843 |
padding-left: 8px; |
| 3844 |
padding-right: 8px; |
| 3845 |
min-width: 48px; |
| 3846 |
} |
| 3847 |
|
| 3848 |
@keyframes components-button__appear-animation { |
| 3849 |
from { |
| 3850 |
transform: scaleY(0); |
| 3851 |
} |
| 3852 |
to { |
| 3853 |
transform: scaleY(1); |
| 3854 |
} |
| 3855 |
} |
| 3856 |
.components-toolbar__control.components-button { |
| 3857 |
position: relative; |
| 3858 |
} |
| 3859 |
.components-toolbar__control.components-button[data-subscript] svg { |
| 3860 |
padding: 5px 10px 5px 0; |
| 3861 |
} |
| 3862 |
.components-toolbar__control.components-button[data-subscript]::after { |
| 3863 |
content: attr(data-subscript); |
| 3864 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3865 |
font-size: 13px; |
| 3866 |
font-weight: 600; |
| 3867 |
line-height: 12px; |
| 3868 |
position: absolute; |
| 3869 |
right: 8px; |
| 3870 |
bottom: 10px; |
| 3871 |
} |
| 3872 |
.components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after { |
| 3873 |
color: #fff; |
| 3874 |
} |
| 3875 |
|
| 3876 |
.components-toolbar-group { |
| 3877 |
min-height: 48px; |
| 3878 |
border-right: 1px solid var(--wp-components-color-foreground, #1e1e1e); |
| 3879 |
background-color: var(--wp-components-color-background, #fff); |
| 3880 |
display: inline-flex; |
| 3881 |
flex-shrink: 0; |
| 3882 |
flex-wrap: wrap; |
| 3883 |
padding-left: 6px; |
| 3884 |
padding-right: 6px; |
| 3885 |
} |
| 3886 |
.components-toolbar-group .components-toolbar-group.components-toolbar-group { |
| 3887 |
border-width: 0; |
| 3888 |
margin: 0; |
| 3889 |
} |
| 3890 |
.components-toolbar-group { |
| 3891 |
line-height: 0; |
| 3892 |
} |
| 3893 |
.components-toolbar-group .components-button.components-button, |
| 3894 |
.components-toolbar-group .components-button.has-icon.has-icon { |
| 3895 |
justify-content: center; |
| 3896 |
min-width: 36px; |
| 3897 |
padding-left: 6px; |
| 3898 |
padding-right: 6px; |
| 3899 |
} |
| 3900 |
.components-toolbar-group .components-button.components-button svg, |
| 3901 |
.components-toolbar-group .components-button.has-icon.has-icon svg { |
| 3902 |
min-width: 24px; |
| 3903 |
} |
| 3904 |
.components-toolbar-group .components-button.components-button::before, |
| 3905 |
.components-toolbar-group .components-button.has-icon.has-icon::before { |
| 3906 |
left: 2px; |
| 3907 |
right: 2px; |
| 3908 |
} |
| 3909 |
|
| 3910 |
.components-toolbar { |
| 3911 |
min-height: 48px; |
| 3912 |
margin: 0; |
| 3913 |
border: 1px solid var(--wp-components-color-foreground, #1e1e1e); |
| 3914 |
background-color: var(--wp-components-color-background, #fff); |
| 3915 |
display: inline-flex; |
| 3916 |
flex-shrink: 0; |
| 3917 |
flex-wrap: wrap; |
| 3918 |
} |
| 3919 |
.components-toolbar .components-toolbar.components-toolbar { |
| 3920 |
border-width: 0; |
| 3921 |
margin: 0; |
| 3922 |
} |
| 3923 |
|
| 3924 |
div.components-toolbar > div { |
| 3925 |
display: flex; |
| 3926 |
margin: 0; |
| 3927 |
} |
| 3928 |
div.components-toolbar > div + div.has-left-divider { |
| 3929 |
margin-left: 6px; |
| 3930 |
position: relative; |
| 3931 |
overflow: visible; |
| 3932 |
} |
| 3933 |
div.components-toolbar > div + div.has-left-divider::before { |
| 3934 |
display: inline-block; |
| 3935 |
content: ""; |
| 3936 |
box-sizing: content-box; |
| 3937 |
background-color: #ddd; |
| 3938 |
position: absolute; |
| 3939 |
top: 8px; |
| 3940 |
left: -3px; |
| 3941 |
width: 1px; |
| 3942 |
height: 20px; |
| 3943 |
} |
| 3944 |
|
| 3945 |
.components-tooltip { |
| 3946 |
background: #000; |
| 3947 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3948 |
border-radius: 2px; |
| 3949 |
color: #f0f0f0; |
| 3950 |
text-align: center; |
| 3951 |
line-height: 1.4; |
| 3952 |
font-size: 12px; |
| 3953 |
padding: 4px 8px; |
| 3954 |
z-index: 1000002; |
| 3955 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.04), 0 6px 6px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.02); |
| 3956 |
} |
| 3957 |
|
| 3958 |
.components-tooltip__shortcut { |
| 3959 |
margin-left: 8px; |
| 3960 |
} |
| 3961 |
|
| 3962 |
.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop { |
| 3963 |
--wp-components-color-accent: #cc1818; |
| 3964 |
border-color: #cc1818; |
| 3965 |
} |
| 3966 |
.components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] { |
| 3967 |
--wp-admin-theme-color: #cc1818; |
| 3968 |
--wp-components-color-accent: #cc1818; |
| 3969 |
border-color: #cc1818; |
| 3970 |
} |
| 3971 |
.components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) { |
| 3972 |
--wp-components-color-accent: #cc1818; |
| 3973 |
} |
| 3974 |
|
| 3975 |
.components-validated-control__wrapper-with-error-delegate { |
| 3976 |
position: relative; |
| 3977 |
} |
| 3978 |
.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop { |
| 3979 |
--wp-components-color-accent: #cc1818; |
| 3980 |
border-color: #cc1818; |
| 3981 |
} |
| 3982 |
.components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) { |
| 3983 |
--wp-components-color-accent: #cc1818; |
| 3984 |
} |
| 3985 |
.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) { |
| 3986 |
--wp-components-color-accent: #cc1818; |
| 3987 |
border-color: #cc1818; |
| 3988 |
} |
| 3989 |
|
| 3990 |
.components-validated-control__error-delegate { |
| 3991 |
position: absolute; |
| 3992 |
top: 0; |
| 3993 |
height: 100%; |
| 3994 |
width: 100%; |
| 3995 |
opacity: 0; |
| 3996 |
pointer-events: none; |
| 3997 |
} |
| 3998 |
|
| 3999 |
.components-validated-control__indicator { |
| 4000 |
display: flex; |
| 4001 |
align-items: flex-start; |
| 4002 |
gap: 4px; |
| 4003 |
margin: 8px 0 0; |
| 4004 |
font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 4005 |
font-size: 12px; |
| 4006 |
line-height: 16px; |
| 4007 |
color: var(--wp-components-color-gray-700, #757575); |
| 4008 |
animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55); |
| 4009 |
} |
| 4010 |
.components-validated-control__indicator.is-invalid { |
| 4011 |
color: #cc1818; |
| 4012 |
} |
| 4013 |
.components-validated-control__indicator.is-valid { |
| 4014 |
color: color-mix(in srgb, #000 30%, #4ab866); |
| 4015 |
} |
| 4016 |
|
| 4017 |
.components-validated-control__indicator-icon { |
| 4018 |
flex-shrink: 0; |
| 4019 |
} |
| 4020 |
|
| 4021 |
.components-validated-control__indicator-spinner { |
| 4022 |
margin: 2px; |
| 4023 |
width: 12px; |
| 4024 |
height: 12px; |
| 4025 |
} |
| 4026 |
|
| 4027 |
@keyframes components-validated-control__indicator-jump { |
| 4028 |
0% { |
| 4029 |
transform: translateY(-4px); |
| 4030 |
opacity: 0; |
| 4031 |
} |
| 4032 |
100% { |
| 4033 |
transform: translateY(0); |
| 4034 |
opacity: 1; |
| 4035 |
} |
| 4036 |
} |
| 4037 |
:root { |
| 4038 |
--wp-admin-theme-color: #3858e9; |
| 4039 |
--wp-admin-theme-color--rgb: 56, 88, 233; |
| 4040 |
--wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615); |
| 4041 |
--wp-admin-theme-color-darker-10--rgb: 33.0384615385, 68.7307692308, 230.4615384615; |
| 4042 |
--wp-admin-theme-color-darker-20: rgb(23.6923076923, 58.1538461538, 214.3076923077); |
| 4043 |
--wp-admin-theme-color-darker-20--rgb: 23.6923076923, 58.1538461538, 214.3076923077; |
| 4044 |
--wp-admin-border-width-focus: 2px; |
| 4045 |
} |
| 4046 |
@media (min-resolution: 192dpi) { |
| 4047 |
:root { |
| 4048 |
--wp-admin-border-width-focus: 1.5px; |
| 4049 |
} |
| 4050 |
} |