build/styles/components
style-rtl.css
120.2 KB
3 months ago
style-rtl.min.css
100.2 KB
3 months ago
style.css
120.4 KB
3 months ago
style.min.css
100.2 KB
3 months ago
style-rtl.css in Gutenberg 23.2.0, at build/styles/components/style-rtl.css
| 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 right; |
| 99 | } |
| 100 | .components-animate__appear.is-from-top.is-from-right { |
| 101 | transform-origin: top left; |
| 102 | } |
| 103 | .components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left { |
| 104 | transform-origin: bottom right; |
| 105 | } |
| 106 | .components-animate__appear.is-from-bottom.is-from-right { |
| 107 | transform-origin: bottom left; |
| 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: right; |
| 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-right: -1px; |
| 239 | } |
| 240 | .components-button-group .components-button:first-child { |
| 241 | border-radius: 0 2px 2px 0; |
| 242 | } |
| 243 | .components-button-group .components-button:last-child { |
| 244 | border-radius: 2px 0 0 2px; |
| 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-right: -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: right; |
| 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-left: 12px; |
| 522 | padding-right: 8px; |
| 523 | gap: 4px; |
| 524 | } |
| 525 | .components-button.has-icon.has-text.has-icon-right { |
| 526 | padding-left: 8px; |
| 527 | padding-right: 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: right 200px top 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-left: 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 -5px 0 0; |
| 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: right; |
| 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 0 0 4px; |
| 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-left: 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 | right: 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 | right: 1px; |
| 1154 | bottom: 1px; |
| 1155 | left: 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 | right: 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 | right: -1px; |
| 1202 | bottom: -1px; |
| 1203 | left: -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 | right: 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-left: 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 | 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); |
| 1360 | background-position: 0 0, 24px 24px; |
| 1361 | background-size: 48px 48px; |
| 1362 | } |
| 1363 | |
| 1364 | .components-color-palette__custom-color-text-wrapper { |
| 1365 | padding: 12px 16px; |
| 1366 | border-radius: 0 0 4px 4px; |
| 1367 | position: relative; |
| 1368 | font-size: 13px; |
| 1369 | 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); |
| 1370 | } |
| 1371 | |
| 1372 | .components-color-palette__custom-color-name { |
| 1373 | color: var(--wp-components-color-foreground, #1e1e1e); |
| 1374 | margin: 0 1px; |
| 1375 | } |
| 1376 | |
| 1377 | .components-color-palette__custom-color-value { |
| 1378 | color: #757575; |
| 1379 | } |
| 1380 | .components-color-palette__custom-color-value--is-hex { |
| 1381 | text-transform: uppercase; |
| 1382 | } |
| 1383 | .components-color-palette__custom-color-value:empty::after { |
| 1384 | content: "​"; |
| 1385 | visibility: hidden; |
| 1386 | } |
| 1387 | |
| 1388 | .components-custom-gradient-picker__gradient-bar { |
| 1389 | border-radius: 2px; |
| 1390 | width: 100%; |
| 1391 | height: 48px; |
| 1392 | position: relative; |
| 1393 | z-index: 1; |
| 1394 | } |
| 1395 | .components-custom-gradient-picker__gradient-bar.has-gradient { |
| 1396 | 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); |
| 1397 | background-position: 0 0, 12px 12px; |
| 1398 | background-size: 24px 24px; |
| 1399 | } |
| 1400 | .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__gradient-bar-background { |
| 1401 | position: absolute; |
| 1402 | inset: 0; |
| 1403 | } |
| 1404 | .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container { |
| 1405 | position: relative; |
| 1406 | width: calc(100% - 48px); |
| 1407 | margin-right: auto; |
| 1408 | margin-left: auto; |
| 1409 | } |
| 1410 | .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-dropdown { |
| 1411 | position: absolute; |
| 1412 | height: 16px; |
| 1413 | width: 16px; |
| 1414 | top: 16px; |
| 1415 | display: flex; |
| 1416 | } |
| 1417 | .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown { |
| 1418 | position: relative; |
| 1419 | height: inherit; |
| 1420 | width: inherit; |
| 1421 | min-width: 16px !important; |
| 1422 | border-radius: 50%; |
| 1423 | background: #fff; |
| 1424 | padding: 2px; |
| 1425 | color: #1e1e1e; |
| 1426 | } |
| 1427 | .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown svg { |
| 1428 | height: 100%; |
| 1429 | width: 100%; |
| 1430 | } |
| 1431 | .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button { |
| 1432 | height: inherit; |
| 1433 | width: inherit; |
| 1434 | border-radius: 50%; |
| 1435 | padding: 0; |
| 1436 | box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25); |
| 1437 | outline: 2px solid transparent; |
| 1438 | } |
| 1439 | .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 { |
| 1440 | 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); |
| 1441 | outline: 1.5px solid transparent; |
| 1442 | } |
| 1443 | |
| 1444 | .components-custom-gradient-picker__remove-control-point-wrapper { |
| 1445 | padding-bottom: 8px; |
| 1446 | } |
| 1447 | |
| 1448 | .components-custom-gradient-picker__inserter { |
| 1449 | direction: ltr; |
| 1450 | } |
| 1451 | |
| 1452 | .components-custom-gradient-picker__liner-gradient-indicator { |
| 1453 | display: inline-block; |
| 1454 | flex: 0 auto; |
| 1455 | width: 20px; |
| 1456 | height: 20px; |
| 1457 | } |
| 1458 | |
| 1459 | .components-custom-gradient-picker__ui-line { |
| 1460 | position: relative; |
| 1461 | z-index: 0; |
| 1462 | } |
| 1463 | |
| 1464 | body.is-dragging-components-draggable { |
| 1465 | cursor: move; /* Fallback for IE/Edge < 14 */ |
| 1466 | cursor: grabbing !important; |
| 1467 | } |
| 1468 | |
| 1469 | .components-draggable__invisible-drag-image { |
| 1470 | position: fixed; |
| 1471 | right: -1000px; |
| 1472 | height: 50px; |
| 1473 | width: 50px; |
| 1474 | } |
| 1475 | |
| 1476 | .components-draggable__clone { |
| 1477 | position: fixed; |
| 1478 | padding: 0; |
| 1479 | background: transparent; |
| 1480 | pointer-events: none; |
| 1481 | z-index: 1000000000; |
| 1482 | } |
| 1483 | |
| 1484 | .components-drop-zone { |
| 1485 | position: absolute; |
| 1486 | top: 0; |
| 1487 | left: 0; |
| 1488 | bottom: 0; |
| 1489 | right: 0; |
| 1490 | z-index: 40; |
| 1491 | visibility: hidden; |
| 1492 | opacity: 0; |
| 1493 | border-radius: 2px; |
| 1494 | } |
| 1495 | .components-drop-zone.is-active { |
| 1496 | opacity: 1; |
| 1497 | visibility: visible; |
| 1498 | } |
| 1499 | .components-drop-zone .components-drop-zone__content { |
| 1500 | position: absolute; |
| 1501 | top: 0; |
| 1502 | bottom: 0; |
| 1503 | right: 0; |
| 1504 | left: 0; |
| 1505 | height: 100%; |
| 1506 | width: 100%; |
| 1507 | display: flex; |
| 1508 | background-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1509 | align-items: center; |
| 1510 | justify-content: center; |
| 1511 | z-index: 50; |
| 1512 | text-align: center; |
| 1513 | color: #fff; |
| 1514 | opacity: 0; |
| 1515 | pointer-events: none; |
| 1516 | } |
| 1517 | .components-drop-zone .components-drop-zone__content-inner { |
| 1518 | opacity: 0; |
| 1519 | transform: scale(0.9); |
| 1520 | } |
| 1521 | .components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content { |
| 1522 | opacity: 1; |
| 1523 | } |
| 1524 | @media not (prefers-reduced-motion) { |
| 1525 | .components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content { |
| 1526 | transition: opacity 0.2s ease-in-out; |
| 1527 | } |
| 1528 | } |
| 1529 | .components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner { |
| 1530 | opacity: 1; |
| 1531 | transform: scale(1); |
| 1532 | } |
| 1533 | @media not (prefers-reduced-motion) { |
| 1534 | .components-drop-zone.is-active.is-dragging-over-element .components-drop-zone__content-inner { |
| 1535 | transition: opacity 0.1s ease-in-out 0.1s, transform 0.1s ease-in-out 0.1s; |
| 1536 | } |
| 1537 | } |
| 1538 | |
| 1539 | .components-drop-zone__content-icon, |
| 1540 | .components-drop-zone__content-text { |
| 1541 | display: block; |
| 1542 | } |
| 1543 | |
| 1544 | .components-drop-zone__content-icon { |
| 1545 | margin: 0 auto 8px; |
| 1546 | line-height: 0; |
| 1547 | fill: currentColor; |
| 1548 | pointer-events: none; |
| 1549 | } |
| 1550 | |
| 1551 | .components-drop-zone__content-text { |
| 1552 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 1553 | font-size: 13px; |
| 1554 | } |
| 1555 | |
| 1556 | .components-dropdown { |
| 1557 | display: inline-block; |
| 1558 | } |
| 1559 | |
| 1560 | .components-dropdown__content .components-popover__content { |
| 1561 | padding: 8px; |
| 1562 | } |
| 1563 | .components-dropdown__content .components-popover__content:has(.components-menu-group) { |
| 1564 | padding: 0; |
| 1565 | } |
| 1566 | .components-dropdown__content .components-popover__content:has(.components-menu-group) .components-dropdown-menu__menu > .components-menu-item__button, |
| 1567 | .components-dropdown__content .components-popover__content:has(.components-menu-group) > .components-menu-item__button { |
| 1568 | margin: 8px; |
| 1569 | width: auto; |
| 1570 | } |
| 1571 | .components-dropdown__content [role=menuitem] { |
| 1572 | white-space: nowrap; |
| 1573 | } |
| 1574 | .components-dropdown__content .components-menu-group { |
| 1575 | padding: 8px; |
| 1576 | } |
| 1577 | .components-dropdown__content .components-menu-group + .components-menu-group { |
| 1578 | border-top: 1px solid #ccc; |
| 1579 | padding: 8px; |
| 1580 | } |
| 1581 | .components-dropdown__content.is-alternate .components-menu-group + .components-menu-group { |
| 1582 | border-color: #1e1e1e; |
| 1583 | } |
| 1584 | |
| 1585 | .components-dropdown-menu__toggle { |
| 1586 | vertical-align: top; |
| 1587 | } |
| 1588 | |
| 1589 | .components-dropdown-menu__menu { |
| 1590 | width: 100%; |
| 1591 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 1592 | font-size: 13px; |
| 1593 | line-height: 1.4; |
| 1594 | } |
| 1595 | .components-dropdown-menu__menu .components-dropdown-menu__menu-item, |
| 1596 | .components-dropdown-menu__menu .components-menu-item { |
| 1597 | width: 100%; |
| 1598 | padding: 6px; |
| 1599 | outline: none; |
| 1600 | cursor: var(--wpds-cursor-control, pointer); |
| 1601 | white-space: nowrap; |
| 1602 | font-weight: 400; |
| 1603 | } |
| 1604 | .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator, |
| 1605 | .components-dropdown-menu__menu .components-menu-item.has-separator { |
| 1606 | margin-top: 6px; |
| 1607 | position: relative; |
| 1608 | overflow: visible; |
| 1609 | } |
| 1610 | .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator::before, |
| 1611 | .components-dropdown-menu__menu .components-menu-item.has-separator::before { |
| 1612 | display: block; |
| 1613 | content: ""; |
| 1614 | box-sizing: content-box; |
| 1615 | background-color: #ddd; |
| 1616 | position: absolute; |
| 1617 | top: -3px; |
| 1618 | right: 0; |
| 1619 | left: 0; |
| 1620 | height: 1px; |
| 1621 | } |
| 1622 | .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg, |
| 1623 | .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active .dashicon, |
| 1624 | .components-dropdown-menu__menu .components-menu-item.is-active svg, |
| 1625 | .components-dropdown-menu__menu .components-menu-item.is-active .dashicon { |
| 1626 | color: #fff; |
| 1627 | background: #1e1e1e; |
| 1628 | box-shadow: 0 0 0 1px #1e1e1e; |
| 1629 | border-radius: 1px; |
| 1630 | } |
| 1631 | .components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-icon-only, |
| 1632 | .components-dropdown-menu__menu .components-menu-item.is-icon-only { |
| 1633 | width: auto; |
| 1634 | } |
| 1635 | .components-dropdown-menu__menu .components-menu-item__button, |
| 1636 | .components-dropdown-menu__menu .components-menu-item__button.components-button { |
| 1637 | min-height: 32px; |
| 1638 | height: auto; |
| 1639 | text-align: right; |
| 1640 | padding-right: 8px; |
| 1641 | padding-left: 8px; |
| 1642 | } |
| 1643 | |
| 1644 | .components-duotone-picker__color-indicator::before { |
| 1645 | background: transparent; |
| 1646 | } |
| 1647 | |
| 1648 | .components-duotone-picker__color-indicator > .components-button { |
| 1649 | background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); |
| 1650 | color: transparent; |
| 1651 | } |
| 1652 | .components-duotone-picker__color-indicator > .components-button.is-pressed:hover:not(:disabled) { |
| 1653 | background: linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%); |
| 1654 | color: transparent; |
| 1655 | } |
| 1656 | .components-duotone-picker__color-indicator > .components-button:hover:not(:disabled):not([aria-disabled=true]) { |
| 1657 | color: transparent; |
| 1658 | } |
| 1659 | .components-duotone-picker__color-indicator > .components-button:not([aria-disabled=true]):active { |
| 1660 | color: transparent; |
| 1661 | } |
| 1662 | |
| 1663 | .components-color-list-picker, |
| 1664 | .components-color-list-picker__swatch-button { |
| 1665 | width: 100%; |
| 1666 | } |
| 1667 | |
| 1668 | .components-color-list-picker__color-picker { |
| 1669 | margin: 8px 0; |
| 1670 | } |
| 1671 | |
| 1672 | .components-color-list-picker__swatch-color { |
| 1673 | margin: 2px; |
| 1674 | } |
| 1675 | |
| 1676 | .components-external-link { |
| 1677 | color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 1678 | text-decoration: none; |
| 1679 | } |
| 1680 | @media not (prefers-reduced-motion) { |
| 1681 | .components-external-link { |
| 1682 | transition: outline 0.1s ease-out; |
| 1683 | } |
| 1684 | } |
| 1685 | .components-external-link { |
| 1686 | outline: 0 solid transparent; |
| 1687 | outline-offset: 1px; |
| 1688 | } |
| 1689 | .components-external-link:visited { |
| 1690 | color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9)); |
| 1691 | } |
| 1692 | .components-external-link:hover, .components-external-link:active { |
| 1693 | color: var(--wpds-color-fg-interactive-brand-active, var(--wp-admin-theme-color, #3858e9)); |
| 1694 | } |
| 1695 | .components-external-link:focus { |
| 1696 | 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)); |
| 1697 | box-shadow: none; |
| 1698 | border-radius: 0; |
| 1699 | } |
| 1700 | |
| 1701 | .components-external-link__contents { |
| 1702 | text-decoration: underline; |
| 1703 | text-underline-offset: 0.2em; |
| 1704 | text-decoration-thickness: from-font; |
| 1705 | } |
| 1706 | |
| 1707 | .components-external-link__icon { |
| 1708 | line-height: 1; |
| 1709 | display: inline-block; |
| 1710 | margin-inline-start: var(--wpds-dimension-padding-xs, 4px); |
| 1711 | font-weight: var(--wpds-typography-font-weight-regular, 400); |
| 1712 | } |
| 1713 | |
| 1714 | .components-form-toggle { |
| 1715 | position: relative; |
| 1716 | isolation: isolate; |
| 1717 | display: inline-block; |
| 1718 | height: 16px; |
| 1719 | } |
| 1720 | .components-form-toggle .components-form-toggle__track { |
| 1721 | position: relative; |
| 1722 | content: ""; |
| 1723 | display: inline-block; |
| 1724 | box-sizing: border-box; |
| 1725 | vertical-align: top; |
| 1726 | background-color: #fff; |
| 1727 | border: 1px solid #949494; |
| 1728 | width: 32px; |
| 1729 | height: 16px; |
| 1730 | border-radius: 8px; |
| 1731 | } |
| 1732 | @media not (prefers-reduced-motion) { |
| 1733 | .components-form-toggle .components-form-toggle__track { |
| 1734 | transition: 0.2s background-color ease, 0.2s border-color ease; |
| 1735 | } |
| 1736 | } |
| 1737 | .components-form-toggle .components-form-toggle__track { |
| 1738 | overflow: hidden; |
| 1739 | } |
| 1740 | .components-form-toggle .components-form-toggle__track::after { |
| 1741 | content: ""; |
| 1742 | position: absolute; |
| 1743 | inset: 0; |
| 1744 | box-sizing: border-box; |
| 1745 | border-top: 16px solid transparent; |
| 1746 | } |
| 1747 | @media not (prefers-reduced-motion) { |
| 1748 | .components-form-toggle .components-form-toggle__track::after { |
| 1749 | transition: 0.2s opacity ease; |
| 1750 | } |
| 1751 | } |
| 1752 | .components-form-toggle .components-form-toggle__track::after { |
| 1753 | opacity: 0; |
| 1754 | } |
| 1755 | .components-form-toggle .components-form-toggle__thumb { |
| 1756 | display: block; |
| 1757 | position: absolute; |
| 1758 | box-sizing: border-box; |
| 1759 | top: 2px; |
| 1760 | right: 2px; |
| 1761 | width: 12px; |
| 1762 | height: 12px; |
| 1763 | border-radius: 50%; |
| 1764 | } |
| 1765 | @media not (prefers-reduced-motion) { |
| 1766 | .components-form-toggle .components-form-toggle__thumb { |
| 1767 | transition: 0.2s transform ease, 0.2s background-color ease-out; |
| 1768 | } |
| 1769 | } |
| 1770 | .components-form-toggle .components-form-toggle__thumb { |
| 1771 | background-color: #1e1e1e; |
| 1772 | 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); |
| 1773 | border: 6px solid transparent; |
| 1774 | } |
| 1775 | .components-form-toggle.is-checked .components-form-toggle__track { |
| 1776 | background-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1777 | border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1778 | } |
| 1779 | .components-form-toggle.is-checked .components-form-toggle__track::after { |
| 1780 | opacity: 1; |
| 1781 | } |
| 1782 | .components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track { |
| 1783 | 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)); |
| 1784 | outline: 2px solid transparent; |
| 1785 | outline-offset: 2px; |
| 1786 | } |
| 1787 | .components-form-toggle.is-checked .components-form-toggle__thumb { |
| 1788 | background-color: #fff; |
| 1789 | border-width: 0; |
| 1790 | transform: translateX(-16px); |
| 1791 | } |
| 1792 | .components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track { |
| 1793 | background-color: var(--wp-components-color-gray-100, #f0f0f0); |
| 1794 | border-color: var(--wp-components-color-gray-300, #ddd); |
| 1795 | } |
| 1796 | @media (forced-colors: active) { |
| 1797 | .components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track { |
| 1798 | border-color: GrayText; |
| 1799 | } |
| 1800 | } |
| 1801 | .components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb { |
| 1802 | background-color: var(--wp-components-color-gray-400, #ccc); |
| 1803 | box-shadow: none; |
| 1804 | } |
| 1805 | @media (forced-colors: active) { |
| 1806 | .components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb { |
| 1807 | border-color: GrayText; |
| 1808 | } |
| 1809 | } |
| 1810 | .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track { |
| 1811 | background-color: var(--wp-components-color-gray-400, #ccc); |
| 1812 | border-color: var(--wp-components-color-gray-400, #ccc); |
| 1813 | } |
| 1814 | @media (forced-colors: active) { |
| 1815 | .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track { |
| 1816 | border-color: GrayText; |
| 1817 | } |
| 1818 | .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track::after { |
| 1819 | border-top-color: GrayText; |
| 1820 | } |
| 1821 | } |
| 1822 | .components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, .components-disabled .components-form-toggle.is-checked .components-form-toggle__thumb { |
| 1823 | background-color: #fff; |
| 1824 | } |
| 1825 | |
| 1826 | .components-form-toggle input.components-form-toggle__input[type=checkbox] { |
| 1827 | position: absolute; |
| 1828 | top: 0; |
| 1829 | right: 0; |
| 1830 | width: 100%; |
| 1831 | height: 100%; |
| 1832 | opacity: 0; |
| 1833 | margin: 0; |
| 1834 | padding: 0; |
| 1835 | z-index: 1; |
| 1836 | border: none; |
| 1837 | } |
| 1838 | .components-form-toggle input.components-form-toggle__input[type=checkbox]:checked { |
| 1839 | background: none; |
| 1840 | } |
| 1841 | .components-form-toggle input.components-form-toggle__input[type=checkbox]::before { |
| 1842 | content: ""; |
| 1843 | } |
| 1844 | .components-form-toggle input.components-form-toggle__input[type=checkbox]:not(:disabled, [aria-disabled=true]) { |
| 1845 | cursor: var(--wpds-cursor-control, pointer); |
| 1846 | } |
| 1847 | |
| 1848 | .components-form-token-field__input-container { |
| 1849 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 1850 | padding: 6px 8px; |
| 1851 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 1852 | font-size: 16px; |
| 1853 | /* Override core line-height. To be reviewed. */ |
| 1854 | line-height: normal; |
| 1855 | box-shadow: 0 0 0 transparent; |
| 1856 | border-radius: 2px; |
| 1857 | border: 1px solid #949494; |
| 1858 | } |
| 1859 | @media not (prefers-reduced-motion) { |
| 1860 | .components-form-token-field__input-container { |
| 1861 | transition: box-shadow 0.1s linear; |
| 1862 | } |
| 1863 | } |
| 1864 | @media (min-width: 600px) { |
| 1865 | .components-form-token-field__input-container { |
| 1866 | font-size: 13px; |
| 1867 | /* Override core line-height. To be reviewed. */ |
| 1868 | line-height: normal; |
| 1869 | } |
| 1870 | } |
| 1871 | .components-form-token-field__input-container:focus { |
| 1872 | border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1873 | box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1874 | outline: 2px solid transparent; |
| 1875 | } |
| 1876 | .components-form-token-field__input-container::placeholder { |
| 1877 | color: rgba(30, 30, 30, 0.62); |
| 1878 | } |
| 1879 | .components-form-token-field__input-container { |
| 1880 | width: 100%; |
| 1881 | padding: 0; |
| 1882 | cursor: text; |
| 1883 | } |
| 1884 | .components-form-token-field__input-container.is-disabled { |
| 1885 | background: var(--wp-components-color-gray-100, #f0f0f0); |
| 1886 | border-color: var(--wp-components-color-gray-400, #ccc); |
| 1887 | cursor: default; |
| 1888 | } |
| 1889 | .components-form-token-field__input-container.is-active { |
| 1890 | border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1891 | box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1892 | outline: 2px solid transparent; |
| 1893 | } |
| 1894 | .components-form-token-field__input-container input[type=text].components-form-token-field__input { |
| 1895 | display: inline-block; |
| 1896 | flex: 1; |
| 1897 | font-family: inherit; |
| 1898 | font-size: 16px; |
| 1899 | line-height: 1; |
| 1900 | width: 100%; |
| 1901 | max-width: 100%; |
| 1902 | margin-right: 4px; |
| 1903 | padding: 0; |
| 1904 | min-height: 24px; |
| 1905 | min-width: 50px; |
| 1906 | background: inherit; |
| 1907 | border: 0; |
| 1908 | color: var(--wp-components-color-foreground, #1e1e1e); |
| 1909 | box-shadow: none; |
| 1910 | } |
| 1911 | @media (min-width: 600px) { |
| 1912 | .components-form-token-field__input-container input[type=text].components-form-token-field__input { |
| 1913 | font-size: 13px; |
| 1914 | } |
| 1915 | } |
| 1916 | .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 { |
| 1917 | outline: none; |
| 1918 | box-shadow: none; |
| 1919 | } |
| 1920 | .components-form-token-field__input-container .components-form-token-field__token + input[type=text].components-form-token-field__input { |
| 1921 | width: auto; |
| 1922 | } |
| 1923 | |
| 1924 | .components-form-token-field__token { |
| 1925 | font-size: 13px; |
| 1926 | display: flex; |
| 1927 | color: #1e1e1e; |
| 1928 | max-width: 100%; |
| 1929 | } |
| 1930 | .components-form-token-field__token.is-success .components-form-token-field__token-text, |
| 1931 | .components-form-token-field__token.is-success .components-form-token-field__remove-token { |
| 1932 | background: #4ab866; |
| 1933 | } |
| 1934 | .components-form-token-field__token.is-error .components-form-token-field__token-text, |
| 1935 | .components-form-token-field__token.is-error .components-form-token-field__remove-token { |
| 1936 | background: #cc1818; |
| 1937 | } |
| 1938 | .components-form-token-field__token.is-validating .components-form-token-field__token-text, |
| 1939 | .components-form-token-field__token.is-validating .components-form-token-field__remove-token { |
| 1940 | color: #757575; |
| 1941 | } |
| 1942 | .components-form-token-field__token.is-disabled .components-form-token-field__token-text, |
| 1943 | .components-form-token-field__token.is-disabled .components-form-token-field__remove-token.components-button { |
| 1944 | background: var(--wp-components-color-gray-100, #f0f0f0); |
| 1945 | color: var(--wp-components-color-gray-600, #949494); |
| 1946 | } |
| 1947 | .components-form-token-field__token.is-borderless { |
| 1948 | position: relative; |
| 1949 | padding: 0 0 0 24px; |
| 1950 | } |
| 1951 | .components-form-token-field__token.is-borderless .components-form-token-field__token-text { |
| 1952 | background: transparent; |
| 1953 | } |
| 1954 | .components-form-token-field__token.is-borderless:not(.is-disabled) .components-form-token-field__token-text { |
| 1955 | color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 1956 | } |
| 1957 | .components-form-token-field__token.is-borderless .components-form-token-field__remove-token { |
| 1958 | background: transparent; |
| 1959 | color: #757575; |
| 1960 | position: absolute; |
| 1961 | top: 1px; |
| 1962 | left: 0; |
| 1963 | } |
| 1964 | .components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text { |
| 1965 | color: #4ab866; |
| 1966 | } |
| 1967 | .components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text { |
| 1968 | color: #cc1818; |
| 1969 | padding: 0 6px 0 4px; |
| 1970 | } |
| 1971 | .components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text { |
| 1972 | color: #1e1e1e; |
| 1973 | } |
| 1974 | |
| 1975 | .components-form-token-field__token-text, |
| 1976 | .components-form-token-field__remove-token.components-button { |
| 1977 | display: inline-block; |
| 1978 | height: auto; |
| 1979 | background: #ddd; |
| 1980 | min-width: unset; |
| 1981 | } |
| 1982 | @media not (prefers-reduced-motion) { |
| 1983 | .components-form-token-field__token-text, |
| 1984 | .components-form-token-field__remove-token.components-button { |
| 1985 | transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1); |
| 1986 | } |
| 1987 | } |
| 1988 | |
| 1989 | .components-form-token-field__token-text { |
| 1990 | border-radius: 0 1px 1px 0; |
| 1991 | padding: 0 8px 0 0; |
| 1992 | line-height: 24px; |
| 1993 | white-space: nowrap; |
| 1994 | overflow: hidden; |
| 1995 | text-overflow: ellipsis; |
| 1996 | } |
| 1997 | |
| 1998 | .components-form-token-field__remove-token.components-button { |
| 1999 | border-radius: 1px 0 0 1px; |
| 2000 | color: #1e1e1e; |
| 2001 | line-height: 10px; |
| 2002 | overflow: initial; |
| 2003 | } |
| 2004 | .components-form-token-field__remove-token.components-button:hover:not(:disabled) { |
| 2005 | color: #1e1e1e; |
| 2006 | } |
| 2007 | |
| 2008 | .components-form-token-field__suggestions-list { |
| 2009 | flex: 1 0 100%; |
| 2010 | min-width: 100%; |
| 2011 | max-height: 128px; |
| 2012 | overflow-y: auto; |
| 2013 | } |
| 2014 | @media not (prefers-reduced-motion) { |
| 2015 | .components-form-token-field__suggestions-list { |
| 2016 | transition: all 0.15s ease-in-out; |
| 2017 | } |
| 2018 | } |
| 2019 | .components-form-token-field__suggestions-list { |
| 2020 | list-style: none; |
| 2021 | box-shadow: inset 0 1px 0 0 #949494; |
| 2022 | margin: 0; |
| 2023 | padding: 0; |
| 2024 | } |
| 2025 | |
| 2026 | .components-form-token-field__suggestion { |
| 2027 | color: var(--wp-components-color-foreground, #1e1e1e); |
| 2028 | display: block; |
| 2029 | font-size: 13px; |
| 2030 | padding: 8px 12px; |
| 2031 | min-height: 32px; |
| 2032 | margin: 0; |
| 2033 | box-sizing: border-box; |
| 2034 | } |
| 2035 | .components-form-token-field__suggestion.is-selected { |
| 2036 | background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 2037 | color: var(--wp-components-color-foreground-inverted, #fff); |
| 2038 | } |
| 2039 | .components-form-token-field__suggestion[aria-disabled=true] { |
| 2040 | pointer-events: none; |
| 2041 | color: #949494; |
| 2042 | } |
| 2043 | .components-form-token-field__suggestion[aria-disabled=true].is-selected { |
| 2044 | background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent); |
| 2045 | } |
| 2046 | .components-form-token-field__suggestion:not(.is-empty) { |
| 2047 | cursor: var(--wpds-cursor-control, pointer); |
| 2048 | } |
| 2049 | |
| 2050 | @media (min-width: 600px) { |
| 2051 | .components-guide { |
| 2052 | width: 600px; |
| 2053 | } |
| 2054 | } |
| 2055 | .components-guide .components-modal__content { |
| 2056 | padding: 0; |
| 2057 | margin-top: 0; |
| 2058 | } |
| 2059 | .components-guide .components-modal__content::before { |
| 2060 | content: none; |
| 2061 | } |
| 2062 | .components-guide .components-modal__header { |
| 2063 | border-bottom: none; |
| 2064 | padding: 0; |
| 2065 | position: sticky; |
| 2066 | height: 64px; |
| 2067 | } |
| 2068 | .components-guide .components-modal__header .components-button { |
| 2069 | align-self: flex-start; |
| 2070 | margin: 8px 0 0 8px; |
| 2071 | position: static; |
| 2072 | } |
| 2073 | .components-guide .components-guide__container { |
| 2074 | display: flex; |
| 2075 | flex-direction: column; |
| 2076 | justify-content: space-between; |
| 2077 | margin-top: -64px; |
| 2078 | min-height: 100%; |
| 2079 | } |
| 2080 | .components-guide .components-guide__page { |
| 2081 | display: flex; |
| 2082 | flex-direction: column; |
| 2083 | justify-content: center; |
| 2084 | position: relative; |
| 2085 | } |
| 2086 | @media (min-width: 600px) { |
| 2087 | .components-guide .components-guide__page { |
| 2088 | min-height: 300px; |
| 2089 | } |
| 2090 | } |
| 2091 | .components-guide .components-guide__footer { |
| 2092 | align-content: center; |
| 2093 | display: flex; |
| 2094 | height: 36px; |
| 2095 | justify-content: center; |
| 2096 | margin: 0 0 24px 0; |
| 2097 | padding: 0 24px; |
| 2098 | position: relative; |
| 2099 | width: 100%; |
| 2100 | } |
| 2101 | .components-guide .components-guide__page-control { |
| 2102 | margin: 0; |
| 2103 | text-align: center; |
| 2104 | } |
| 2105 | .components-guide .components-guide__page-control li { |
| 2106 | display: inline-block; |
| 2107 | margin: 0; |
| 2108 | } |
| 2109 | .components-guide .components-guide__page-control .components-button { |
| 2110 | margin: -6px 0; |
| 2111 | color: #e0e0e0; |
| 2112 | } |
| 2113 | .components-guide .components-guide__page-control li[aria-current=step] .components-button { |
| 2114 | color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 2115 | } |
| 2116 | |
| 2117 | .components-modal__frame.components-guide { |
| 2118 | border: none; |
| 2119 | min-width: 312px; |
| 2120 | max-height: 575px; |
| 2121 | } |
| 2122 | @media (max-width: 600px) { |
| 2123 | .components-modal__frame.components-guide { |
| 2124 | margin: auto; |
| 2125 | max-width: calc(100vw - 16px * 2); |
| 2126 | } |
| 2127 | } |
| 2128 | |
| 2129 | .components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button { |
| 2130 | position: absolute; |
| 2131 | } |
| 2132 | .components-button.components-guide__back-button { |
| 2133 | right: 24px; |
| 2134 | } |
| 2135 | .components-button.components-guide__forward-button, .components-button.components-guide__finish-button { |
| 2136 | left: 24px; |
| 2137 | } |
| 2138 | |
| 2139 | [role=region] { |
| 2140 | position: relative; |
| 2141 | } |
| 2142 | [role=region].interface-interface-skeleton__content:focus-visible::after { |
| 2143 | content: ""; |
| 2144 | position: absolute; |
| 2145 | pointer-events: none; |
| 2146 | top: 0; |
| 2147 | left: 0; |
| 2148 | bottom: 0; |
| 2149 | right: 0; |
| 2150 | outline-color: var(--wp-admin-theme-color); |
| 2151 | outline-style: solid; |
| 2152 | outline-width: calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2153 | outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2154 | 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); |
| 2155 | z-index: 1000000; |
| 2156 | } |
| 2157 | |
| 2158 | .is-focusing-regions [role=region]:focus::after { |
| 2159 | content: ""; |
| 2160 | position: absolute; |
| 2161 | pointer-events: none; |
| 2162 | top: 0; |
| 2163 | left: 0; |
| 2164 | bottom: 0; |
| 2165 | right: 0; |
| 2166 | outline-color: var(--wp-admin-theme-color); |
| 2167 | outline-style: solid; |
| 2168 | outline-width: calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2169 | outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2170 | 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); |
| 2171 | z-index: 1000000; |
| 2172 | } |
| 2173 | .is-focusing-regions.is-distraction-free .interface-interface-skeleton__header .edit-post-header, |
| 2174 | .is-focusing-regions .interface-interface-skeleton__sidebar .editor-layout__toggle-sidebar-panel, |
| 2175 | .is-focusing-regions .interface-interface-skeleton__actions .editor-layout__toggle-publish-panel, |
| 2176 | .is-focusing-regions .interface-interface-skeleton__actions .editor-layout__toggle-entities-saved-states-panel, |
| 2177 | .is-focusing-regions .editor-post-publish-panel { |
| 2178 | outline-color: var(--wp-admin-theme-color); |
| 2179 | outline-style: solid; |
| 2180 | outline-width: calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2181 | outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1)); |
| 2182 | 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); |
| 2183 | } |
| 2184 | |
| 2185 | .components-menu-group + .components-menu-group { |
| 2186 | padding-top: 8px; |
| 2187 | border-top: 1px solid #1e1e1e; |
| 2188 | } |
| 2189 | .components-menu-group + .components-menu-group.has-hidden-separator { |
| 2190 | border-top: none; |
| 2191 | margin-top: 0; |
| 2192 | padding-top: 0; |
| 2193 | } |
| 2194 | |
| 2195 | .components-menu-group:has(> div:empty) { |
| 2196 | display: none; |
| 2197 | } |
| 2198 | |
| 2199 | .components-menu-group__label { |
| 2200 | padding: 0 8px; |
| 2201 | margin-top: 4px; |
| 2202 | margin-bottom: 12px; |
| 2203 | color: #757575; |
| 2204 | text-transform: uppercase; |
| 2205 | font-size: 11px; |
| 2206 | font-weight: 499; |
| 2207 | white-space: nowrap; |
| 2208 | } |
| 2209 | |
| 2210 | .components-menu-item__button, |
| 2211 | .components-menu-item__button.components-button { |
| 2212 | width: 100%; |
| 2213 | font-weight: 400; |
| 2214 | } |
| 2215 | .components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child, |
| 2216 | .components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child, |
| 2217 | .components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child { |
| 2218 | padding-left: 48px; |
| 2219 | box-sizing: initial; |
| 2220 | } |
| 2221 | .components-menu-item__button .components-menu-items__item-icon, |
| 2222 | .components-menu-item__button.components-button .components-menu-items__item-icon { |
| 2223 | display: inline-block; |
| 2224 | flex: 0 0 auto; |
| 2225 | } |
| 2226 | .components-menu-item__button .components-menu-items__item-icon.has-icon-right, |
| 2227 | .components-menu-item__button.components-button .components-menu-items__item-icon.has-icon-right { |
| 2228 | margin-left: -2px; |
| 2229 | margin-right: 24px; |
| 2230 | } |
| 2231 | .components-menu-item__button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right, |
| 2232 | .components-menu-item__button.components-button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right { |
| 2233 | margin-right: 8px; |
| 2234 | } |
| 2235 | .components-menu-item__button .block-editor-block-icon, |
| 2236 | .components-menu-item__button.components-button .block-editor-block-icon { |
| 2237 | margin-right: -2px; |
| 2238 | margin-left: 8px; |
| 2239 | } |
| 2240 | .components-menu-item__button.is-primary, |
| 2241 | .components-menu-item__button.components-button.is-primary { |
| 2242 | justify-content: center; |
| 2243 | } |
| 2244 | .components-menu-item__button.is-primary .components-menu-item__item, |
| 2245 | .components-menu-item__button.components-button.is-primary .components-menu-item__item { |
| 2246 | margin-left: 0; |
| 2247 | } |
| 2248 | .components-menu-item__button:disabled.is-tertiary, .components-menu-item__button[aria-disabled=true].is-tertiary, |
| 2249 | .components-menu-item__button.components-button:disabled.is-tertiary, |
| 2250 | .components-menu-item__button.components-button[aria-disabled=true].is-tertiary { |
| 2251 | background: none; |
| 2252 | color: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6)); |
| 2253 | opacity: 0.3; |
| 2254 | } |
| 2255 | |
| 2256 | .components-menu-item__info-wrapper { |
| 2257 | display: flex; |
| 2258 | flex-direction: column; |
| 2259 | margin-left: auto; |
| 2260 | } |
| 2261 | |
| 2262 | .components-menu-item__info { |
| 2263 | margin-top: 4px; |
| 2264 | font-size: 12px; |
| 2265 | color: #757575; |
| 2266 | white-space: normal; |
| 2267 | } |
| 2268 | |
| 2269 | .components-menu-item__item { |
| 2270 | white-space: nowrap; |
| 2271 | min-width: 160px; |
| 2272 | margin-left: auto; |
| 2273 | display: inline-flex; |
| 2274 | align-items: center; |
| 2275 | } |
| 2276 | |
| 2277 | .components-menu-item__shortcut { |
| 2278 | align-self: center; |
| 2279 | margin-left: 0; |
| 2280 | margin-right: auto; |
| 2281 | padding-right: 24px; |
| 2282 | color: currentColor; |
| 2283 | display: none; |
| 2284 | } |
| 2285 | @media (min-width: 480px) { |
| 2286 | .components-menu-item__shortcut { |
| 2287 | display: inline; |
| 2288 | } |
| 2289 | } |
| 2290 | |
| 2291 | .components-menu-items-choice, |
| 2292 | .components-menu-items-choice.components-button { |
| 2293 | min-height: 40px; |
| 2294 | height: auto; |
| 2295 | } |
| 2296 | .components-menu-items-choice svg, |
| 2297 | .components-menu-items-choice.components-button svg { |
| 2298 | margin-left: 12px; |
| 2299 | } |
| 2300 | .components-menu-items-choice.has-icon, |
| 2301 | .components-menu-items-choice.components-button.has-icon { |
| 2302 | padding-right: 12px; |
| 2303 | } |
| 2304 | |
| 2305 | .components-modal__screen-overlay { |
| 2306 | position: fixed; |
| 2307 | top: 0; |
| 2308 | left: 0; |
| 2309 | bottom: 0; |
| 2310 | right: 0; |
| 2311 | background-color: rgba(0, 0, 0, 0.35); |
| 2312 | z-index: 100000; |
| 2313 | display: flex; |
| 2314 | } |
| 2315 | @keyframes __wp-base-styles-fade-in { |
| 2316 | from { |
| 2317 | opacity: 0; |
| 2318 | } |
| 2319 | to { |
| 2320 | opacity: 1; |
| 2321 | } |
| 2322 | } |
| 2323 | @media not (prefers-reduced-motion) { |
| 2324 | .components-modal__screen-overlay { |
| 2325 | 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; |
| 2326 | animation-fill-mode: forwards; |
| 2327 | } |
| 2328 | } |
| 2329 | @keyframes __wp-base-styles-fade-out { |
| 2330 | from { |
| 2331 | opacity: 1; |
| 2332 | } |
| 2333 | to { |
| 2334 | opacity: 0; |
| 2335 | } |
| 2336 | } |
| 2337 | @media not (prefers-reduced-motion) { |
| 2338 | .components-modal__screen-overlay.is-animating-out { |
| 2339 | 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); |
| 2340 | animation-fill-mode: forwards; |
| 2341 | } |
| 2342 | } |
| 2343 | |
| 2344 | .components-modal__frame { |
| 2345 | box-sizing: border-box; |
| 2346 | } |
| 2347 | .components-modal__frame *, |
| 2348 | .components-modal__frame *::before, |
| 2349 | .components-modal__frame *::after { |
| 2350 | box-sizing: inherit; |
| 2351 | } |
| 2352 | .components-modal__frame { |
| 2353 | align-self: flex-end; |
| 2354 | margin: 0; |
| 2355 | width: 100%; |
| 2356 | max-height: calc(100% - 40px); |
| 2357 | background: #fff; |
| 2358 | 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); |
| 2359 | border-radius: 8px 8px 0 0; |
| 2360 | overflow: hidden; |
| 2361 | display: flex; |
| 2362 | color: #1e1e1e; |
| 2363 | animation-name: components-modal__appear-animation; |
| 2364 | animation-fill-mode: forwards; |
| 2365 | animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1)); |
| 2366 | } |
| 2367 | .components-modal__frame h1, |
| 2368 | .components-modal__frame h2, |
| 2369 | .components-modal__frame h3 { |
| 2370 | color: #1e1e1e; |
| 2371 | } |
| 2372 | @media not (prefers-reduced-motion) { |
| 2373 | .components-modal__frame { |
| 2374 | animation-duration: var(--wpds-motion-duration-md, 200ms); |
| 2375 | } |
| 2376 | } |
| 2377 | .components-modal__screen-overlay.is-animating-out .components-modal__frame { |
| 2378 | animation-name: components-modal__disappear-animation; |
| 2379 | animation-timing-function: var(--wpds-motion-easing-expressive, cubic-bezier(0.25, 0, 0, 1)); |
| 2380 | } |
| 2381 | @media (min-width: 600px) { |
| 2382 | .components-modal__frame { |
| 2383 | align-self: auto; |
| 2384 | border-radius: 8px; |
| 2385 | margin: auto; |
| 2386 | width: auto; |
| 2387 | min-width: var(--wpds-dimension-surface-width-sm, 320px); |
| 2388 | max-width: calc(100% - 32px); |
| 2389 | max-height: calc(100% - 128px); |
| 2390 | } |
| 2391 | .components-modal__frame.has-size-small, .components-modal__frame.has-size-medium, .components-modal__frame.has-size-large { |
| 2392 | width: 100%; |
| 2393 | } |
| 2394 | .components-modal__frame.has-size-small { |
| 2395 | max-width: var(--wpds-dimension-surface-width-md, 400px); |
| 2396 | } |
| 2397 | .components-modal__frame.has-size-medium { |
| 2398 | max-width: var(--wpds-dimension-surface-width-lg, 560px); |
| 2399 | } |
| 2400 | .components-modal__frame.has-size-large { |
| 2401 | max-width: var(--wpds-dimension-surface-width-2xl, 960px); |
| 2402 | } |
| 2403 | } |
| 2404 | @media (min-width: 960px) { |
| 2405 | .components-modal__frame { |
| 2406 | max-height: 70%; |
| 2407 | } |
| 2408 | } |
| 2409 | .components-modal__frame.is-full-screen { |
| 2410 | margin: 0; |
| 2411 | width: 100%; |
| 2412 | height: 100%; |
| 2413 | max-height: none; |
| 2414 | border-radius: 0; |
| 2415 | } |
| 2416 | .components-modal__frame.is-full-screen :where(.components-modal__content) { |
| 2417 | display: flex; |
| 2418 | margin-bottom: 24px; |
| 2419 | padding-bottom: 0; |
| 2420 | } |
| 2421 | .components-modal__frame.is-full-screen :where(.components-modal__content) > :last-child { |
| 2422 | flex: 1; |
| 2423 | } |
| 2424 | @media (min-width: 600px) { |
| 2425 | .components-modal__frame.is-full-screen { |
| 2426 | margin: auto; |
| 2427 | border-radius: 8px; |
| 2428 | width: calc(100% - 32px); |
| 2429 | height: calc(100% - 32px); |
| 2430 | } |
| 2431 | } |
| 2432 | @media (min-width: 782px) { |
| 2433 | .components-modal__frame.is-full-screen { |
| 2434 | width: calc(100% - 80px); |
| 2435 | height: calc(100% - 80px); |
| 2436 | max-width: none; |
| 2437 | } |
| 2438 | } |
| 2439 | |
| 2440 | @keyframes components-modal__appear-animation { |
| 2441 | from { |
| 2442 | opacity: 0; |
| 2443 | transform: translateY(100%); |
| 2444 | } |
| 2445 | to { |
| 2446 | opacity: 1; |
| 2447 | transform: translateY(0); |
| 2448 | } |
| 2449 | } |
| 2450 | @keyframes components-modal__disappear-animation { |
| 2451 | from { |
| 2452 | opacity: 1; |
| 2453 | transform: translateY(0); |
| 2454 | } |
| 2455 | to { |
| 2456 | opacity: 0; |
| 2457 | transform: translateY(100%); |
| 2458 | } |
| 2459 | } |
| 2460 | @media (min-width: 600px) { |
| 2461 | @keyframes components-modal__appear-animation { |
| 2462 | from { |
| 2463 | opacity: 0; |
| 2464 | transform: scale(0.9); |
| 2465 | } |
| 2466 | to { |
| 2467 | opacity: 1; |
| 2468 | transform: scale(1); |
| 2469 | } |
| 2470 | } |
| 2471 | @keyframes components-modal__disappear-animation { |
| 2472 | from { |
| 2473 | opacity: 1; |
| 2474 | transform: scale(1); |
| 2475 | } |
| 2476 | to { |
| 2477 | opacity: 0; |
| 2478 | transform: scale(0.9); |
| 2479 | } |
| 2480 | } |
| 2481 | } |
| 2482 | .components-modal__header { |
| 2483 | box-sizing: border-box; |
| 2484 | border-bottom: 1px solid transparent; |
| 2485 | padding: 24px; |
| 2486 | display: flex; |
| 2487 | flex-direction: row; |
| 2488 | justify-content: space-between; |
| 2489 | align-items: center; |
| 2490 | height: 72px; |
| 2491 | width: 100%; |
| 2492 | z-index: 10; |
| 2493 | position: absolute; |
| 2494 | top: 0; |
| 2495 | right: 0; |
| 2496 | } |
| 2497 | .components-modal__header .components-modal__header-heading { |
| 2498 | font-size: 20px; |
| 2499 | font-weight: 600; |
| 2500 | } |
| 2501 | .components-modal__header h1 { |
| 2502 | line-height: 1; |
| 2503 | margin: 0; |
| 2504 | } |
| 2505 | .components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header { |
| 2506 | border-bottom-color: #ddd; |
| 2507 | } |
| 2508 | .components-modal__header + p { |
| 2509 | margin-top: 0; |
| 2510 | } |
| 2511 | |
| 2512 | .components-modal__header-heading-container { |
| 2513 | align-items: center; |
| 2514 | flex-grow: 1; |
| 2515 | display: flex; |
| 2516 | flex-direction: row; |
| 2517 | justify-content: flex-start; |
| 2518 | } |
| 2519 | |
| 2520 | .components-modal__header-icon-container { |
| 2521 | display: inline-block; |
| 2522 | } |
| 2523 | .components-modal__header-icon-container svg { |
| 2524 | max-width: 36px; |
| 2525 | max-height: 36px; |
| 2526 | padding: 8px; |
| 2527 | } |
| 2528 | |
| 2529 | .components-modal__content { |
| 2530 | flex: 1; |
| 2531 | margin-top: 72px; |
| 2532 | padding: 4px 24px 24px; |
| 2533 | overflow: auto; |
| 2534 | } |
| 2535 | .components-modal__content.hide-header { |
| 2536 | margin-top: 0; |
| 2537 | padding-top: 24px; |
| 2538 | } |
| 2539 | .components-modal__content.is-scrollable:focus-visible { |
| 2540 | box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 2541 | outline: 2px solid transparent; |
| 2542 | outline-offset: -2px; |
| 2543 | } |
| 2544 | |
| 2545 | .components-notice { |
| 2546 | display: flex; |
| 2547 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 2548 | font-size: 13px; |
| 2549 | background-color: #fff; |
| 2550 | border-right: 4px solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 2551 | padding: 8px 12px; |
| 2552 | align-items: center; |
| 2553 | color: #1e1e1e; |
| 2554 | } |
| 2555 | .components-notice.is-dismissible { |
| 2556 | position: relative; |
| 2557 | } |
| 2558 | .components-notice.is-dismissible .components-notice__content { |
| 2559 | margin-left: 25px; |
| 2560 | } |
| 2561 | .components-notice.is-success { |
| 2562 | border-right-color: #4ab866; |
| 2563 | background-color: rgb(238.8392857143, 248.6607142857, 241.3392857143); |
| 2564 | } |
| 2565 | .components-notice.is-warning { |
| 2566 | border-right-color: #f0b849; |
| 2567 | background-color: rgb(253.5913705584, 248.3324873096, 237.9086294416); |
| 2568 | } |
| 2569 | .components-notice.is-error { |
| 2570 | border-right-color: #cc1818; |
| 2571 | background-color: rgb(244.1052631579, 162.3947368421, 162.3947368421); |
| 2572 | } |
| 2573 | |
| 2574 | .components-notice__content { |
| 2575 | flex-grow: 1; |
| 2576 | margin-top: 4px; |
| 2577 | margin-bottom: 4px; |
| 2578 | } |
| 2579 | |
| 2580 | .components-notice__actions { |
| 2581 | display: flex; |
| 2582 | flex-wrap: wrap; |
| 2583 | align-items: center; |
| 2584 | gap: 12px; |
| 2585 | margin-top: 12px; |
| 2586 | } |
| 2587 | |
| 2588 | .components-notice__dismiss { |
| 2589 | color: #757575; |
| 2590 | align-self: flex-start; |
| 2591 | flex-shrink: 0; |
| 2592 | } |
| 2593 | .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 { |
| 2594 | color: #1e1e1e; |
| 2595 | background-color: transparent; |
| 2596 | } |
| 2597 | .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover { |
| 2598 | box-shadow: none; |
| 2599 | } |
| 2600 | |
| 2601 | .components-notice-list { |
| 2602 | max-width: 100vw; |
| 2603 | box-sizing: border-box; |
| 2604 | } |
| 2605 | .components-notice-list .components-notice__content { |
| 2606 | margin-top: 12px; |
| 2607 | margin-bottom: 12px; |
| 2608 | line-height: 2; |
| 2609 | } |
| 2610 | |
| 2611 | .components-panel { |
| 2612 | background: #fff; |
| 2613 | border: 1px solid #e0e0e0; |
| 2614 | } |
| 2615 | .components-panel > .components-panel__header:first-child, |
| 2616 | .components-panel > .components-panel__body:first-child { |
| 2617 | margin-top: -1px; |
| 2618 | } |
| 2619 | .components-panel > .components-panel__header:last-child, |
| 2620 | .components-panel > .components-panel__body:last-child { |
| 2621 | border-bottom-width: 0; |
| 2622 | } |
| 2623 | |
| 2624 | .components-panel + .components-panel { |
| 2625 | margin-top: -1px; |
| 2626 | } |
| 2627 | |
| 2628 | .components-panel__body { |
| 2629 | border-top: 1px solid #e0e0e0; |
| 2630 | border-bottom: 1px solid #e0e0e0; |
| 2631 | } |
| 2632 | .components-panel__body h3 { |
| 2633 | margin: 0 0 0.5em; |
| 2634 | } |
| 2635 | .components-panel__body.is-opened { |
| 2636 | padding: 16px; |
| 2637 | } |
| 2638 | |
| 2639 | .components-panel__header { |
| 2640 | display: flex; |
| 2641 | flex-shrink: 0; |
| 2642 | justify-content: space-between; |
| 2643 | align-items: center; |
| 2644 | padding: 0 16px; |
| 2645 | border-bottom: 1px solid #ddd; |
| 2646 | box-sizing: content-box; |
| 2647 | height: 47px; |
| 2648 | } |
| 2649 | .components-panel__header h2 { |
| 2650 | margin: 0; |
| 2651 | font-size: inherit; |
| 2652 | color: inherit; |
| 2653 | } |
| 2654 | |
| 2655 | .components-panel__body + .components-panel__body, |
| 2656 | .components-panel__body + .components-panel__header, |
| 2657 | .components-panel__header + .components-panel__body, |
| 2658 | .components-panel__header + .components-panel__header { |
| 2659 | margin-top: -1px; |
| 2660 | } |
| 2661 | |
| 2662 | .components-panel__body > .components-panel__body-title { |
| 2663 | display: block; |
| 2664 | padding: 0; |
| 2665 | font-size: inherit; |
| 2666 | margin-top: 0; |
| 2667 | margin-bottom: 0; |
| 2668 | } |
| 2669 | @media not (prefers-reduced-motion) { |
| 2670 | .components-panel__body > .components-panel__body-title { |
| 2671 | transition: 0.1s background ease-in-out; |
| 2672 | } |
| 2673 | } |
| 2674 | |
| 2675 | .components-panel__body.is-opened > .components-panel__body-title { |
| 2676 | margin: -16px; |
| 2677 | margin-bottom: 5px; |
| 2678 | } |
| 2679 | |
| 2680 | .components-panel__body > .components-panel__body-title:hover { |
| 2681 | background: #f0f0f0; |
| 2682 | border: none; |
| 2683 | } |
| 2684 | |
| 2685 | .components-panel__body-toggle.components-button { |
| 2686 | position: relative; |
| 2687 | padding: 16px 16px 16px 48px; |
| 2688 | outline: none; |
| 2689 | width: 100%; |
| 2690 | font-weight: 499; |
| 2691 | text-align: right; |
| 2692 | color: #1e1e1e; |
| 2693 | border: none; |
| 2694 | box-shadow: none; |
| 2695 | } |
| 2696 | @media not (prefers-reduced-motion) { |
| 2697 | .components-panel__body-toggle.components-button { |
| 2698 | transition: 0.1s background ease-in-out; |
| 2699 | } |
| 2700 | } |
| 2701 | .components-panel__body-toggle.components-button { |
| 2702 | height: auto; |
| 2703 | } |
| 2704 | .components-panel__body-toggle.components-button:focus { |
| 2705 | box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 2706 | border-radius: 0; |
| 2707 | } |
| 2708 | .components-panel__body-toggle.components-button .components-panel__arrow { |
| 2709 | position: absolute; |
| 2710 | left: 16px; |
| 2711 | top: 50%; |
| 2712 | transform: translateY(-50%); |
| 2713 | color: #1e1e1e; |
| 2714 | fill: currentColor; |
| 2715 | } |
| 2716 | @media not (prefers-reduced-motion) { |
| 2717 | .components-panel__body-toggle.components-button .components-panel__arrow { |
| 2718 | transition: 0.1s color ease-in-out; |
| 2719 | } |
| 2720 | } |
| 2721 | .components-panel__body-toggle.components-button { |
| 2722 | } |
| 2723 | body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right { |
| 2724 | transform: scaleX(-1); |
| 2725 | margin-top: -10px; |
| 2726 | } |
| 2727 | .components-panel__body-toggle.components-button { |
| 2728 | } |
| 2729 | |
| 2730 | .components-panel__icon { |
| 2731 | color: #757575; |
| 2732 | margin: -2px 6px -2px 0; |
| 2733 | } |
| 2734 | |
| 2735 | .components-panel__body-toggle-icon { |
| 2736 | margin-left: -5px; |
| 2737 | } |
| 2738 | |
| 2739 | .components-panel__color-title { |
| 2740 | float: right; |
| 2741 | height: 19px; |
| 2742 | } |
| 2743 | |
| 2744 | .components-panel__row { |
| 2745 | display: flex; |
| 2746 | justify-content: space-between; |
| 2747 | align-items: center; |
| 2748 | margin-top: 8px; |
| 2749 | min-height: 36px; |
| 2750 | } |
| 2751 | .components-panel__row select { |
| 2752 | min-width: 0; |
| 2753 | } |
| 2754 | .components-panel__row label { |
| 2755 | margin-left: 12px; |
| 2756 | flex-shrink: 0; |
| 2757 | max-width: 75%; |
| 2758 | } |
| 2759 | .components-panel__row:empty, .components-panel__row:first-of-type { |
| 2760 | margin-top: 0; |
| 2761 | } |
| 2762 | |
| 2763 | .components-panel .circle-picker { |
| 2764 | padding-bottom: 20px; |
| 2765 | } |
| 2766 | |
| 2767 | .components-placeholder.components-placeholder { |
| 2768 | font-size: 13px; |
| 2769 | box-sizing: border-box; |
| 2770 | position: relative; |
| 2771 | padding: 24px; |
| 2772 | width: 100%; |
| 2773 | text-align: right; |
| 2774 | margin: 0; |
| 2775 | color: #1e1e1e; |
| 2776 | display: flex; |
| 2777 | flex-direction: column; |
| 2778 | align-items: flex-start; |
| 2779 | gap: 16px; |
| 2780 | -webkit-font-smoothing: subpixel-antialiased; |
| 2781 | border-radius: 2px; |
| 2782 | background-color: #fff; |
| 2783 | box-shadow: inset 0 0 0 1px #1e1e1e; |
| 2784 | outline: 1px solid transparent; |
| 2785 | } |
| 2786 | |
| 2787 | .components-placeholder__error, |
| 2788 | .components-placeholder__instructions, |
| 2789 | .components-placeholder__label, |
| 2790 | .components-placeholder__fieldset { |
| 2791 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 2792 | font-size: 13px; |
| 2793 | letter-spacing: initial; |
| 2794 | line-height: initial; |
| 2795 | text-transform: none; |
| 2796 | font-weight: normal; |
| 2797 | } |
| 2798 | |
| 2799 | .components-placeholder__label { |
| 2800 | font-weight: 600; |
| 2801 | align-items: center; |
| 2802 | display: flex; |
| 2803 | } |
| 2804 | .components-placeholder__label > svg, |
| 2805 | .components-placeholder__label .dashicon, |
| 2806 | .components-placeholder__label .block-editor-block-icon { |
| 2807 | margin-left: 4px; |
| 2808 | fill: currentColor; |
| 2809 | } |
| 2810 | @media (forced-colors: active) { |
| 2811 | .components-placeholder__label > svg, |
| 2812 | .components-placeholder__label .dashicon, |
| 2813 | .components-placeholder__label .block-editor-block-icon { |
| 2814 | fill: CanvasText; |
| 2815 | } |
| 2816 | } |
| 2817 | .components-placeholder__label:empty { |
| 2818 | display: none; |
| 2819 | } |
| 2820 | |
| 2821 | .components-placeholder__fieldset, |
| 2822 | .components-placeholder__fieldset form { |
| 2823 | display: flex; |
| 2824 | flex-direction: row; |
| 2825 | width: 100%; |
| 2826 | flex-wrap: wrap; |
| 2827 | gap: 16px; |
| 2828 | justify-content: flex-start; |
| 2829 | } |
| 2830 | .components-placeholder__fieldset p, |
| 2831 | .components-placeholder__fieldset form p { |
| 2832 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 2833 | font-size: 13px; |
| 2834 | } |
| 2835 | |
| 2836 | .components-placeholder__fieldset.is-column-layout, |
| 2837 | .components-placeholder__fieldset.is-column-layout form { |
| 2838 | flex-direction: column; |
| 2839 | } |
| 2840 | |
| 2841 | .components-placeholder__input[type=url] { |
| 2842 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 2843 | padding: 6px 8px; |
| 2844 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 2845 | font-size: 16px; |
| 2846 | /* Override core line-height. To be reviewed. */ |
| 2847 | line-height: normal; |
| 2848 | box-shadow: 0 0 0 transparent; |
| 2849 | border-radius: 2px; |
| 2850 | border: 1px solid #949494; |
| 2851 | } |
| 2852 | @media not (prefers-reduced-motion) { |
| 2853 | .components-placeholder__input[type=url] { |
| 2854 | transition: box-shadow 0.1s linear; |
| 2855 | } |
| 2856 | } |
| 2857 | @media (min-width: 600px) { |
| 2858 | .components-placeholder__input[type=url] { |
| 2859 | font-size: 13px; |
| 2860 | /* Override core line-height. To be reviewed. */ |
| 2861 | line-height: normal; |
| 2862 | } |
| 2863 | } |
| 2864 | .components-placeholder__input[type=url]:focus { |
| 2865 | border-color: var(--wp-admin-theme-color); |
| 2866 | box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color); |
| 2867 | outline: 2px solid transparent; |
| 2868 | } |
| 2869 | .components-placeholder__input[type=url]::placeholder { |
| 2870 | color: rgba(30, 30, 30, 0.62); |
| 2871 | } |
| 2872 | .components-placeholder__input[type=url] { |
| 2873 | flex: 1 1 auto; |
| 2874 | } |
| 2875 | |
| 2876 | .components-placeholder__error { |
| 2877 | width: 100%; |
| 2878 | gap: 8px; |
| 2879 | } |
| 2880 | |
| 2881 | .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link { |
| 2882 | margin-right: 10px; |
| 2883 | margin-left: 10px; |
| 2884 | } |
| 2885 | .components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child { |
| 2886 | margin-left: 0; |
| 2887 | } |
| 2888 | |
| 2889 | .components-placeholder.is-medium .components-placeholder__instructions, .components-placeholder.is-small .components-placeholder__instructions { |
| 2890 | display: none; |
| 2891 | } |
| 2892 | .components-placeholder.is-medium .components-placeholder__fieldset, |
| 2893 | .components-placeholder.is-medium .components-placeholder__fieldset form, .components-placeholder.is-small .components-placeholder__fieldset, |
| 2894 | .components-placeholder.is-small .components-placeholder__fieldset form { |
| 2895 | flex-direction: column; |
| 2896 | } |
| 2897 | .components-placeholder.is-medium .components-placeholder__fieldset > *, |
| 2898 | .components-placeholder.is-medium .components-button, .components-placeholder.is-small .components-placeholder__fieldset > *, |
| 2899 | .components-placeholder.is-small .components-button { |
| 2900 | width: 100%; |
| 2901 | justify-content: center; |
| 2902 | } |
| 2903 | .components-placeholder.is-small { |
| 2904 | padding: 16px; |
| 2905 | } |
| 2906 | |
| 2907 | /** |
| 2908 | * Dashed style placeholders |
| 2909 | */ |
| 2910 | .components-placeholder.has-illustration { |
| 2911 | color: inherit; |
| 2912 | display: flex; |
| 2913 | box-shadow: none; |
| 2914 | border-radius: 0; |
| 2915 | backdrop-filter: blur(100px); |
| 2916 | background-color: transparent; |
| 2917 | backface-visibility: hidden; |
| 2918 | } |
| 2919 | .is-dark-theme .components-placeholder.has-illustration { |
| 2920 | background-color: rgba(0, 0, 0, 0.1); |
| 2921 | } |
| 2922 | .components-placeholder.has-illustration .components-placeholder__fieldset { |
| 2923 | margin-right: 0; |
| 2924 | margin-left: 0; |
| 2925 | } |
| 2926 | .components-placeholder.has-illustration .components-placeholder__label, |
| 2927 | .components-placeholder.has-illustration .components-placeholder__instructions, |
| 2928 | .components-placeholder.has-illustration .components-button { |
| 2929 | opacity: 0; |
| 2930 | pointer-events: none; |
| 2931 | } |
| 2932 | @media not (prefers-reduced-motion) { |
| 2933 | .components-placeholder.has-illustration .components-placeholder__label, |
| 2934 | .components-placeholder.has-illustration .components-placeholder__instructions, |
| 2935 | .components-placeholder.has-illustration .components-button { |
| 2936 | transition: opacity 0.1s linear; |
| 2937 | } |
| 2938 | } |
| 2939 | .is-selected > .components-placeholder.has-illustration .components-placeholder__label, |
| 2940 | .is-selected > .components-placeholder.has-illustration .components-placeholder__instructions, |
| 2941 | .is-selected > .components-placeholder.has-illustration .components-button { |
| 2942 | opacity: 1; |
| 2943 | pointer-events: auto; |
| 2944 | } |
| 2945 | .components-placeholder.has-illustration::before { |
| 2946 | content: ""; |
| 2947 | position: absolute; |
| 2948 | top: 0; |
| 2949 | left: 0; |
| 2950 | bottom: 0; |
| 2951 | right: 0; |
| 2952 | pointer-events: none; |
| 2953 | background: currentColor; |
| 2954 | opacity: 0.1; |
| 2955 | } |
| 2956 | .components-placeholder.has-illustration { |
| 2957 | overflow: hidden; |
| 2958 | } |
| 2959 | .is-selected .components-placeholder.has-illustration { |
| 2960 | overflow: auto; |
| 2961 | } |
| 2962 | |
| 2963 | .components-placeholder__preview { |
| 2964 | display: flex; |
| 2965 | justify-content: center; |
| 2966 | } |
| 2967 | |
| 2968 | .components-placeholder__illustration { |
| 2969 | box-sizing: content-box; |
| 2970 | position: absolute; |
| 2971 | top: 50%; |
| 2972 | right: 50%; |
| 2973 | transform: translate(50%, -50%); |
| 2974 | width: 100%; |
| 2975 | height: 100%; |
| 2976 | stroke: currentColor; |
| 2977 | opacity: 0.25; |
| 2978 | } |
| 2979 | |
| 2980 | .components-popover { |
| 2981 | box-sizing: border-box; |
| 2982 | } |
| 2983 | .components-popover *, |
| 2984 | .components-popover *::before, |
| 2985 | .components-popover *::after { |
| 2986 | box-sizing: inherit; |
| 2987 | } |
| 2988 | .components-popover { |
| 2989 | z-index: 1000000; |
| 2990 | will-change: transform; |
| 2991 | } |
| 2992 | .components-popover.is-expanded { |
| 2993 | position: fixed; |
| 2994 | top: 0; |
| 2995 | right: 0; |
| 2996 | left: 0; |
| 2997 | bottom: 0; |
| 2998 | z-index: 1000000 !important; |
| 2999 | } |
| 3000 | |
| 3001 | .components-popover__content { |
| 3002 | background: #fff; |
| 3003 | 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); |
| 3004 | border-radius: 4px; |
| 3005 | box-sizing: border-box; |
| 3006 | width: min-content; |
| 3007 | } |
| 3008 | .is-alternate .components-popover__content { |
| 3009 | box-shadow: 0 0 0 1px #1e1e1e; |
| 3010 | border-radius: 2px; |
| 3011 | } |
| 3012 | .is-unstyled .components-popover__content { |
| 3013 | background: none; |
| 3014 | border-radius: 0; |
| 3015 | box-shadow: none; |
| 3016 | } |
| 3017 | .components-popover.is-expanded .components-popover__content { |
| 3018 | position: static; |
| 3019 | height: calc(100% - 48px); |
| 3020 | overflow-y: visible; |
| 3021 | width: auto; |
| 3022 | box-shadow: 0 -1px 0 0 #ccc; |
| 3023 | } |
| 3024 | .components-popover.is-expanded.is-alternate .components-popover__content { |
| 3025 | box-shadow: 0 -1px 0 #1e1e1e; |
| 3026 | } |
| 3027 | |
| 3028 | .components-popover__header { |
| 3029 | align-items: center; |
| 3030 | background: #fff; |
| 3031 | display: flex; |
| 3032 | height: 48px; |
| 3033 | justify-content: space-between; |
| 3034 | padding: 0 16px 0 8px; |
| 3035 | } |
| 3036 | |
| 3037 | .components-popover__header-title { |
| 3038 | overflow: hidden; |
| 3039 | text-overflow: ellipsis; |
| 3040 | white-space: nowrap; |
| 3041 | width: 100%; |
| 3042 | } |
| 3043 | |
| 3044 | .components-popover__arrow { |
| 3045 | position: absolute; |
| 3046 | width: 14px; |
| 3047 | height: 14px; |
| 3048 | pointer-events: none; |
| 3049 | display: flex; |
| 3050 | } |
| 3051 | .components-popover__arrow::before { |
| 3052 | content: ""; |
| 3053 | position: absolute; |
| 3054 | top: -1px; |
| 3055 | right: 1px; |
| 3056 | height: 2px; |
| 3057 | left: 1px; |
| 3058 | background-color: #fff; |
| 3059 | } |
| 3060 | .components-popover__arrow.is-top { |
| 3061 | bottom: -14px !important; |
| 3062 | transform: rotate(0); |
| 3063 | } |
| 3064 | .components-popover__arrow.is-right { |
| 3065 | left: -14px !important; |
| 3066 | transform: rotate(90deg); |
| 3067 | } |
| 3068 | .components-popover__arrow.is-bottom { |
| 3069 | top: -14px !important; |
| 3070 | transform: rotate(180deg); |
| 3071 | } |
| 3072 | .components-popover__arrow.is-left { |
| 3073 | /*rtl:begin:ignore*/ |
| 3074 | right: -14px !important; |
| 3075 | transform: rotate(-90deg); |
| 3076 | } |
| 3077 | |
| 3078 | .components-popover__triangle { |
| 3079 | display: block; |
| 3080 | flex: 1; |
| 3081 | } |
| 3082 | |
| 3083 | .components-popover__triangle-bg { |
| 3084 | fill: #fff; |
| 3085 | } |
| 3086 | |
| 3087 | .components-popover__triangle-border { |
| 3088 | fill: transparent; |
| 3089 | stroke-width: 1px; |
| 3090 | stroke: #ccc; |
| 3091 | } |
| 3092 | .is-alternate .components-popover__triangle-border { |
| 3093 | stroke: #1e1e1e; |
| 3094 | } |
| 3095 | |
| 3096 | .components-radio-control { |
| 3097 | border: 0; |
| 3098 | margin: 0; |
| 3099 | padding: 0; |
| 3100 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3101 | font-size: 13px; |
| 3102 | } |
| 3103 | |
| 3104 | .components-radio-control__group-wrapper.has-help { |
| 3105 | margin-block-end: 12px; |
| 3106 | } |
| 3107 | |
| 3108 | .components-radio-control__option { |
| 3109 | display: grid; |
| 3110 | grid-template-columns: auto 1fr; |
| 3111 | grid-template-rows: auto minmax(0, max-content); |
| 3112 | column-gap: 8px; |
| 3113 | align-items: center; |
| 3114 | } |
| 3115 | |
| 3116 | .components-radio-control__input[type=radio] { |
| 3117 | grid-column: 1; |
| 3118 | grid-row: 1; |
| 3119 | border: 1px solid #1e1e1e; |
| 3120 | margin-left: 12px; |
| 3121 | transition: none; |
| 3122 | border-radius: 50%; |
| 3123 | width: 24px; |
| 3124 | height: 24px; |
| 3125 | min-width: 24px; |
| 3126 | max-width: 24px; |
| 3127 | position: relative; |
| 3128 | } |
| 3129 | @media not (prefers-reduced-motion) { |
| 3130 | .components-radio-control__input[type=radio] { |
| 3131 | transition: box-shadow 0.1s linear; |
| 3132 | } |
| 3133 | } |
| 3134 | @media (min-width: 600px) { |
| 3135 | .components-radio-control__input[type=radio] { |
| 3136 | height: 16px; |
| 3137 | width: 16px; |
| 3138 | min-width: 16px; |
| 3139 | max-width: 16px; |
| 3140 | } |
| 3141 | } |
| 3142 | .components-radio-control__input[type=radio]:checked::before { |
| 3143 | box-sizing: inherit; |
| 3144 | width: 12px; |
| 3145 | height: 12px; |
| 3146 | position: absolute; |
| 3147 | top: 50%; |
| 3148 | right: 50%; |
| 3149 | transform: translate(50%, -50%); |
| 3150 | margin: 0; |
| 3151 | background-color: #fff; |
| 3152 | border: 4px solid #fff; |
| 3153 | } |
| 3154 | @media (min-width: 600px) { |
| 3155 | .components-radio-control__input[type=radio]:checked::before { |
| 3156 | width: 8px; |
| 3157 | height: 8px; |
| 3158 | } |
| 3159 | } |
| 3160 | .components-radio-control__input[type=radio]:focus { |
| 3161 | box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color); |
| 3162 | outline: 2px solid transparent; |
| 3163 | } |
| 3164 | .components-radio-control__input[type=radio]:checked { |
| 3165 | background: var(--wp-admin-theme-color); |
| 3166 | border: none; |
| 3167 | } |
| 3168 | .components-radio-control__input[type=radio] { |
| 3169 | display: inline-flex; |
| 3170 | margin: 0; |
| 3171 | padding: 0; |
| 3172 | appearance: none; |
| 3173 | } |
| 3174 | .components-radio-control__input[type=radio]:not(:disabled) { |
| 3175 | cursor: var(--wpds-cursor-control, pointer); |
| 3176 | } |
| 3177 | .components-radio-control__input[type=radio]:focus { |
| 3178 | 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); |
| 3179 | outline: 2px solid transparent; |
| 3180 | outline-offset: 2px; |
| 3181 | } |
| 3182 | .components-radio-control__input[type=radio]:checked { |
| 3183 | background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3184 | border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3185 | } |
| 3186 | .components-radio-control__input[type=radio]:checked::before { |
| 3187 | content: ""; |
| 3188 | border-radius: 50%; |
| 3189 | } |
| 3190 | .components-radio-control__input[type=radio]:disabled { |
| 3191 | background: var(--wp-components-color-gray-100, #f0f0f0); |
| 3192 | border: 1px solid var(--wp-components-color-gray-300, #ddd); |
| 3193 | opacity: 1; |
| 3194 | } |
| 3195 | .components-radio-control__input[type=radio]:disabled:checked::before { |
| 3196 | border-color: var(--wp-components-color-gray-400, #ccc); |
| 3197 | opacity: 1; |
| 3198 | } |
| 3199 | |
| 3200 | .components-radio-control__label { |
| 3201 | grid-column: 2; |
| 3202 | grid-row: 1; |
| 3203 | } |
| 3204 | .components-radio-control:not(:disabled) .components-radio-control__label { |
| 3205 | cursor: var(--wpds-cursor-control, pointer); |
| 3206 | } |
| 3207 | .components-radio-control__label { |
| 3208 | line-height: 24px; |
| 3209 | } |
| 3210 | @media (min-width: 600px) { |
| 3211 | .components-radio-control__label { |
| 3212 | line-height: 16px; |
| 3213 | } |
| 3214 | } |
| 3215 | |
| 3216 | .components-radio-control__option-description { |
| 3217 | grid-column: 2; |
| 3218 | grid-row: 2; |
| 3219 | padding-block-start: 4px; |
| 3220 | } |
| 3221 | .components-radio-control__option-description.components-radio-control__option-description { |
| 3222 | margin-top: 0; |
| 3223 | } |
| 3224 | |
| 3225 | .components-resizable-box__handle { |
| 3226 | display: none; |
| 3227 | width: 23px; |
| 3228 | height: 23px; |
| 3229 | z-index: 2; |
| 3230 | } |
| 3231 | .components-resizable-box__container.has-show-handle .components-resizable-box__handle { |
| 3232 | display: block; |
| 3233 | } |
| 3234 | .components-resizable-box__handle > div { |
| 3235 | position: relative; |
| 3236 | width: 100%; |
| 3237 | height: 100%; |
| 3238 | z-index: 2; |
| 3239 | outline: none; |
| 3240 | } |
| 3241 | |
| 3242 | .components-resizable-box__container > img { |
| 3243 | width: inherit; |
| 3244 | } |
| 3245 | |
| 3246 | .components-resizable-box__handle::after { |
| 3247 | display: block; |
| 3248 | content: ""; |
| 3249 | width: 15px; |
| 3250 | height: 15px; |
| 3251 | border-radius: 50%; |
| 3252 | background: #fff; |
| 3253 | cursor: inherit; |
| 3254 | position: absolute; |
| 3255 | top: calc(50% - 8px); |
| 3256 | left: calc(50% - 8px); |
| 3257 | 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); |
| 3258 | outline: 2px solid transparent; |
| 3259 | } |
| 3260 | |
| 3261 | .components-resizable-box__side-handle::before { |
| 3262 | display: block; |
| 3263 | border-radius: 9999px; |
| 3264 | content: ""; |
| 3265 | width: 3px; |
| 3266 | height: 3px; |
| 3267 | background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3268 | cursor: inherit; |
| 3269 | position: absolute; |
| 3270 | top: calc(50% - 1px); |
| 3271 | left: calc(50% - 1px); |
| 3272 | } |
| 3273 | @media not (prefers-reduced-motion) { |
| 3274 | .components-resizable-box__side-handle::before { |
| 3275 | transition: transform 0.1s ease-in; |
| 3276 | will-change: transform; |
| 3277 | } |
| 3278 | } |
| 3279 | .components-resizable-box__side-handle::before { |
| 3280 | opacity: 0; |
| 3281 | } |
| 3282 | |
| 3283 | .components-resizable-box__side-handle { |
| 3284 | z-index: 2; |
| 3285 | } |
| 3286 | |
| 3287 | .components-resizable-box__corner-handle { |
| 3288 | z-index: 2; |
| 3289 | } |
| 3290 | |
| 3291 | .components-resizable-box__side-handle.components-resizable-box__handle-top, |
| 3292 | .components-resizable-box__side-handle.components-resizable-box__handle-bottom, |
| 3293 | .components-resizable-box__side-handle.components-resizable-box__handle-top::before, |
| 3294 | .components-resizable-box__side-handle.components-resizable-box__handle-bottom::before { |
| 3295 | width: 100%; |
| 3296 | right: 0; |
| 3297 | border-right: 0; |
| 3298 | border-left: 0; |
| 3299 | } |
| 3300 | |
| 3301 | .components-resizable-box__side-handle.components-resizable-box__handle-left, |
| 3302 | .components-resizable-box__side-handle.components-resizable-box__handle-right, |
| 3303 | .components-resizable-box__side-handle.components-resizable-box__handle-left::before, |
| 3304 | .components-resizable-box__side-handle.components-resizable-box__handle-right::before { |
| 3305 | height: 100%; |
| 3306 | top: 0; |
| 3307 | border-top: 0; |
| 3308 | border-bottom: 0; |
| 3309 | } |
| 3310 | |
| 3311 | @media not (prefers-reduced-motion) { |
| 3312 | .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before, |
| 3313 | .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before, |
| 3314 | .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before, |
| 3315 | .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before { |
| 3316 | animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s; |
| 3317 | animation-fill-mode: forwards; |
| 3318 | } |
| 3319 | } |
| 3320 | |
| 3321 | @media not (prefers-reduced-motion) { |
| 3322 | .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before, |
| 3323 | .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before, |
| 3324 | .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before, |
| 3325 | .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before { |
| 3326 | animation: components-resizable-box__left-right-animation 0.1s ease-out 0s; |
| 3327 | animation-fill-mode: forwards; |
| 3328 | } |
| 3329 | } |
| 3330 | |
| 3331 | /* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy. |
| 3332 | See https://bugs.webkit.org/show_bug.cgi?id=187903. */ |
| 3333 | @media not all and (min-resolution: 0.001dpcm) { |
| 3334 | @supports (-webkit-appearance: none) { |
| 3335 | .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before, |
| 3336 | .components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before, |
| 3337 | .components-resizable-box__side-handle.components-resizable-box__handle-top:active::before, |
| 3338 | .components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before { |
| 3339 | animation: none; |
| 3340 | } |
| 3341 | .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before, |
| 3342 | .components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before, |
| 3343 | .components-resizable-box__side-handle.components-resizable-box__handle-left:active::before, |
| 3344 | .components-resizable-box__side-handle.components-resizable-box__handle-right:active::before { |
| 3345 | animation: none; |
| 3346 | } |
| 3347 | } |
| 3348 | } |
| 3349 | @keyframes components-resizable-box__top-bottom-animation { |
| 3350 | from { |
| 3351 | transform: scaleX(0); |
| 3352 | opacity: 0; |
| 3353 | } |
| 3354 | to { |
| 3355 | transform: scaleX(1); |
| 3356 | opacity: 1; |
| 3357 | } |
| 3358 | } |
| 3359 | @keyframes components-resizable-box__left-right-animation { |
| 3360 | from { |
| 3361 | transform: scaleY(0); |
| 3362 | opacity: 0; |
| 3363 | } |
| 3364 | to { |
| 3365 | transform: scaleY(1); |
| 3366 | opacity: 1; |
| 3367 | } |
| 3368 | } |
| 3369 | .components-resizable-box__handle-right { |
| 3370 | right: calc(11.5px * -1); |
| 3371 | } |
| 3372 | |
| 3373 | .components-resizable-box__handle-left { |
| 3374 | left: calc(11.5px * -1); |
| 3375 | } |
| 3376 | |
| 3377 | .components-resizable-box__handle-top { |
| 3378 | top: calc(11.5px * -1); |
| 3379 | } |
| 3380 | |
| 3381 | .components-resizable-box__handle-bottom { |
| 3382 | bottom: calc(11.5px * -1); |
| 3383 | } |
| 3384 | .components-responsive-wrapper { |
| 3385 | position: relative; |
| 3386 | max-width: 100%; |
| 3387 | display: flex; |
| 3388 | align-items: center; |
| 3389 | justify-content: center; |
| 3390 | } |
| 3391 | |
| 3392 | .components-responsive-wrapper__content { |
| 3393 | display: block; |
| 3394 | max-width: 100%; |
| 3395 | width: 100%; |
| 3396 | } |
| 3397 | |
| 3398 | .components-sandbox { |
| 3399 | overflow: hidden; |
| 3400 | } |
| 3401 | |
| 3402 | iframe.components-sandbox { |
| 3403 | width: 100%; |
| 3404 | } |
| 3405 | |
| 3406 | html.lockscroll, |
| 3407 | body.lockscroll { |
| 3408 | overflow: hidden; |
| 3409 | } |
| 3410 | |
| 3411 | .components-select-control__input { |
| 3412 | outline: 0; |
| 3413 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; |
| 3414 | } |
| 3415 | |
| 3416 | .components-snackbar { |
| 3417 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3418 | font-size: 13px; |
| 3419 | background: rgba(0, 0, 0, 0.85); |
| 3420 | backdrop-filter: blur(16px) saturate(180%); |
| 3421 | border-radius: 4px; |
| 3422 | 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); |
| 3423 | color: #fff; |
| 3424 | padding: 12px 20px; |
| 3425 | width: 100%; |
| 3426 | max-width: var(--wpds-dimension-surface-width-lg, 560px); |
| 3427 | box-sizing: border-box; |
| 3428 | cursor: var(--wpds-cursor-control, pointer); |
| 3429 | pointer-events: auto; |
| 3430 | } |
| 3431 | @media (min-width: 600px) { |
| 3432 | .components-snackbar { |
| 3433 | width: fit-content; |
| 3434 | } |
| 3435 | } |
| 3436 | .components-snackbar:focus { |
| 3437 | 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)); |
| 3438 | } |
| 3439 | .components-snackbar.components-snackbar-explicit-dismiss { |
| 3440 | cursor: default; |
| 3441 | } |
| 3442 | .components-snackbar .components-snackbar__content-with-icon { |
| 3443 | position: relative; |
| 3444 | padding-right: 24px; |
| 3445 | } |
| 3446 | .components-snackbar .components-snackbar__icon { |
| 3447 | position: absolute; |
| 3448 | right: -8px; |
| 3449 | top: calc((5.8px) / -2); |
| 3450 | } |
| 3451 | .components-snackbar .components-snackbar__dismiss-button { |
| 3452 | margin-right: 24px; |
| 3453 | cursor: var(--wpds-cursor-control, pointer); |
| 3454 | } |
| 3455 | |
| 3456 | .components-snackbar__action.components-button, |
| 3457 | .components-snackbar__action.components-external-link { |
| 3458 | margin-right: 32px; |
| 3459 | color: #fff; |
| 3460 | flex-shrink: 0; |
| 3461 | } |
| 3462 | .components-snackbar__action.components-button:focus, |
| 3463 | .components-snackbar__action.components-external-link:focus { |
| 3464 | box-shadow: none; |
| 3465 | outline: 1px dotted #fff; |
| 3466 | } |
| 3467 | .components-snackbar__action.components-button:hover, |
| 3468 | .components-snackbar__action.components-external-link:hover { |
| 3469 | text-decoration: none; |
| 3470 | color: currentColor; |
| 3471 | } |
| 3472 | |
| 3473 | .components-snackbar__content { |
| 3474 | display: flex; |
| 3475 | align-items: baseline; |
| 3476 | justify-content: space-between; |
| 3477 | line-height: 1.4; |
| 3478 | } |
| 3479 | |
| 3480 | .components-snackbar-list { |
| 3481 | position: absolute; |
| 3482 | z-index: 100000; |
| 3483 | width: 100%; |
| 3484 | box-sizing: border-box; |
| 3485 | pointer-events: none; |
| 3486 | } |
| 3487 | |
| 3488 | .components-snackbar-list__notice-container { |
| 3489 | position: relative; |
| 3490 | padding-top: 8px; |
| 3491 | } |
| 3492 | |
| 3493 | .components-tab-panel__tabs { |
| 3494 | display: flex; |
| 3495 | align-items: stretch; |
| 3496 | flex-direction: row; |
| 3497 | } |
| 3498 | .components-tab-panel__tabs[aria-orientation=vertical] { |
| 3499 | flex-direction: column; |
| 3500 | } |
| 3501 | |
| 3502 | .components-tab-panel__tabs-item { |
| 3503 | position: relative; |
| 3504 | border-radius: 0; |
| 3505 | height: 48px !important; |
| 3506 | background: transparent; |
| 3507 | border: none; |
| 3508 | box-shadow: none; |
| 3509 | cursor: var(--wpds-cursor-control, pointer); |
| 3510 | padding: 3px 16px; |
| 3511 | margin-right: 0; |
| 3512 | font-weight: 400; |
| 3513 | } |
| 3514 | .components-tab-panel__tabs-item:focus:not(:disabled) { |
| 3515 | position: relative; |
| 3516 | box-shadow: none; |
| 3517 | outline: none; |
| 3518 | } |
| 3519 | .components-tab-panel__tabs-item::after { |
| 3520 | content: ""; |
| 3521 | position: absolute; |
| 3522 | left: 0; |
| 3523 | bottom: 0; |
| 3524 | right: 0; |
| 3525 | pointer-events: none; |
| 3526 | background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3527 | height: calc(0 * var(--wp-admin-border-width-focus)); |
| 3528 | border-radius: 0; |
| 3529 | } |
| 3530 | @media not (prefers-reduced-motion) { |
| 3531 | .components-tab-panel__tabs-item::after { |
| 3532 | transition: height 0.1s linear; |
| 3533 | } |
| 3534 | } |
| 3535 | .components-tab-panel__tabs-item.is-active::after { |
| 3536 | height: calc(1 * var(--wp-admin-border-width-focus)); |
| 3537 | outline: 2px solid transparent; |
| 3538 | outline-offset: -1px; |
| 3539 | } |
| 3540 | .components-tab-panel__tabs-item::before { |
| 3541 | content: ""; |
| 3542 | position: absolute; |
| 3543 | top: 12px; |
| 3544 | left: 12px; |
| 3545 | bottom: 12px; |
| 3546 | right: 12px; |
| 3547 | pointer-events: none; |
| 3548 | box-shadow: 0 0 0 0 transparent; |
| 3549 | border-radius: 2px; |
| 3550 | } |
| 3551 | @media not (prefers-reduced-motion) { |
| 3552 | .components-tab-panel__tabs-item::before { |
| 3553 | transition: box-shadow 0.1s linear; |
| 3554 | } |
| 3555 | } |
| 3556 | .components-tab-panel__tabs-item:focus-visible::before { |
| 3557 | box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3558 | outline: 2px solid transparent; |
| 3559 | } |
| 3560 | |
| 3561 | .components-tab-panel__tab-content:focus { |
| 3562 | box-shadow: none; |
| 3563 | outline: none; |
| 3564 | } |
| 3565 | .components-tab-panel__tab-content:focus-visible { |
| 3566 | box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3567 | outline: 2px solid transparent; |
| 3568 | outline-offset: 0; |
| 3569 | } |
| 3570 | |
| 3571 | .components-text-control__input, |
| 3572 | .components-text-control__input[type=text], |
| 3573 | .components-text-control__input[type=tel], |
| 3574 | .components-text-control__input[type=time], |
| 3575 | .components-text-control__input[type=url], |
| 3576 | .components-text-control__input[type=week], |
| 3577 | .components-text-control__input[type=password], |
| 3578 | .components-text-control__input[type=color], |
| 3579 | .components-text-control__input[type=date], |
| 3580 | .components-text-control__input[type=datetime], |
| 3581 | .components-text-control__input[type=datetime-local], |
| 3582 | .components-text-control__input[type=email], |
| 3583 | .components-text-control__input[type=month], |
| 3584 | .components-text-control__input[type=number] { |
| 3585 | width: 100%; |
| 3586 | height: 32px; |
| 3587 | margin: 0; |
| 3588 | background: var(--wp-components-color-background, #fff); |
| 3589 | color: var(--wp-components-color-foreground, #1e1e1e); |
| 3590 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3591 | padding: 6px 8px; |
| 3592 | /* Fonts smaller than 16px causes mobile safari to zoom. */ |
| 3593 | font-size: 16px; |
| 3594 | /* Override core line-height. To be reviewed. */ |
| 3595 | line-height: normal; |
| 3596 | box-shadow: 0 0 0 transparent; |
| 3597 | border-radius: 2px; |
| 3598 | border: 1px solid #949494; |
| 3599 | } |
| 3600 | @media not (prefers-reduced-motion) { |
| 3601 | .components-text-control__input, |
| 3602 | .components-text-control__input[type=text], |
| 3603 | .components-text-control__input[type=tel], |
| 3604 | .components-text-control__input[type=time], |
| 3605 | .components-text-control__input[type=url], |
| 3606 | .components-text-control__input[type=week], |
| 3607 | .components-text-control__input[type=password], |
| 3608 | .components-text-control__input[type=color], |
| 3609 | .components-text-control__input[type=date], |
| 3610 | .components-text-control__input[type=datetime], |
| 3611 | .components-text-control__input[type=datetime-local], |
| 3612 | .components-text-control__input[type=email], |
| 3613 | .components-text-control__input[type=month], |
| 3614 | .components-text-control__input[type=number] { |
| 3615 | transition: box-shadow 0.1s linear; |
| 3616 | } |
| 3617 | } |
| 3618 | @media (min-width: 600px) { |
| 3619 | .components-text-control__input, |
| 3620 | .components-text-control__input[type=text], |
| 3621 | .components-text-control__input[type=tel], |
| 3622 | .components-text-control__input[type=time], |
| 3623 | .components-text-control__input[type=url], |
| 3624 | .components-text-control__input[type=week], |
| 3625 | .components-text-control__input[type=password], |
| 3626 | .components-text-control__input[type=color], |
| 3627 | .components-text-control__input[type=date], |
| 3628 | .components-text-control__input[type=datetime], |
| 3629 | .components-text-control__input[type=datetime-local], |
| 3630 | .components-text-control__input[type=email], |
| 3631 | .components-text-control__input[type=month], |
| 3632 | .components-text-control__input[type=number] { |
| 3633 | font-size: 13px; |
| 3634 | /* Override core line-height. To be reviewed. */ |
| 3635 | line-height: normal; |
| 3636 | } |
| 3637 | } |
| 3638 | .components-text-control__input:focus, |
| 3639 | .components-text-control__input[type=text]:focus, |
| 3640 | .components-text-control__input[type=tel]:focus, |
| 3641 | .components-text-control__input[type=time]:focus, |
| 3642 | .components-text-control__input[type=url]:focus, |
| 3643 | .components-text-control__input[type=week]:focus, |
| 3644 | .components-text-control__input[type=password]:focus, |
| 3645 | .components-text-control__input[type=color]:focus, |
| 3646 | .components-text-control__input[type=date]:focus, |
| 3647 | .components-text-control__input[type=datetime]:focus, |
| 3648 | .components-text-control__input[type=datetime-local]:focus, |
| 3649 | .components-text-control__input[type=email]:focus, |
| 3650 | .components-text-control__input[type=month]:focus, |
| 3651 | .components-text-control__input[type=number]:focus { |
| 3652 | border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3653 | box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 3654 | outline: 2px solid transparent; |
| 3655 | } |
| 3656 | .components-text-control__input::placeholder, |
| 3657 | .components-text-control__input[type=text]::placeholder, |
| 3658 | .components-text-control__input[type=tel]::placeholder, |
| 3659 | .components-text-control__input[type=time]::placeholder, |
| 3660 | .components-text-control__input[type=url]::placeholder, |
| 3661 | .components-text-control__input[type=week]::placeholder, |
| 3662 | .components-text-control__input[type=password]::placeholder, |
| 3663 | .components-text-control__input[type=color]::placeholder, |
| 3664 | .components-text-control__input[type=date]::placeholder, |
| 3665 | .components-text-control__input[type=datetime]::placeholder, |
| 3666 | .components-text-control__input[type=datetime-local]::placeholder, |
| 3667 | .components-text-control__input[type=email]::placeholder, |
| 3668 | .components-text-control__input[type=month]::placeholder, |
| 3669 | .components-text-control__input[type=number]::placeholder { |
| 3670 | color: rgba(30, 30, 30, 0.62); |
| 3671 | } |
| 3672 | .components-text-control__input, |
| 3673 | .components-text-control__input[type=text], |
| 3674 | .components-text-control__input[type=tel], |
| 3675 | .components-text-control__input[type=time], |
| 3676 | .components-text-control__input[type=url], |
| 3677 | .components-text-control__input[type=week], |
| 3678 | .components-text-control__input[type=password], |
| 3679 | .components-text-control__input[type=color], |
| 3680 | .components-text-control__input[type=date], |
| 3681 | .components-text-control__input[type=datetime], |
| 3682 | .components-text-control__input[type=datetime-local], |
| 3683 | .components-text-control__input[type=email], |
| 3684 | .components-text-control__input[type=month], |
| 3685 | .components-text-control__input[type=number] { |
| 3686 | border-color: var(--wp-components-color-gray-600, #949494); |
| 3687 | } |
| 3688 | .components-text-control__input::placeholder, |
| 3689 | .components-text-control__input[type=text]::placeholder, |
| 3690 | .components-text-control__input[type=tel]::placeholder, |
| 3691 | .components-text-control__input[type=time]::placeholder, |
| 3692 | .components-text-control__input[type=url]::placeholder, |
| 3693 | .components-text-control__input[type=week]::placeholder, |
| 3694 | .components-text-control__input[type=password]::placeholder, |
| 3695 | .components-text-control__input[type=color]::placeholder, |
| 3696 | .components-text-control__input[type=date]::placeholder, |
| 3697 | .components-text-control__input[type=datetime]::placeholder, |
| 3698 | .components-text-control__input[type=datetime-local]::placeholder, |
| 3699 | .components-text-control__input[type=email]::placeholder, |
| 3700 | .components-text-control__input[type=month]::placeholder, |
| 3701 | .components-text-control__input[type=number]::placeholder { |
| 3702 | color: color-mix(in srgb, var(--wp-components-color-foreground, #1e1e1e), transparent 38%); |
| 3703 | } |
| 3704 | .components-text-control__input.is-next-40px-default-size, |
| 3705 | .components-text-control__input[type=text].is-next-40px-default-size, |
| 3706 | .components-text-control__input[type=tel].is-next-40px-default-size, |
| 3707 | .components-text-control__input[type=time].is-next-40px-default-size, |
| 3708 | .components-text-control__input[type=url].is-next-40px-default-size, |
| 3709 | .components-text-control__input[type=week].is-next-40px-default-size, |
| 3710 | .components-text-control__input[type=password].is-next-40px-default-size, |
| 3711 | .components-text-control__input[type=color].is-next-40px-default-size, |
| 3712 | .components-text-control__input[type=date].is-next-40px-default-size, |
| 3713 | .components-text-control__input[type=datetime].is-next-40px-default-size, |
| 3714 | .components-text-control__input[type=datetime-local].is-next-40px-default-size, |
| 3715 | .components-text-control__input[type=email].is-next-40px-default-size, |
| 3716 | .components-text-control__input[type=month].is-next-40px-default-size, |
| 3717 | .components-text-control__input[type=number].is-next-40px-default-size { |
| 3718 | height: 40px; |
| 3719 | padding-right: 12px; |
| 3720 | padding-left: 12px; |
| 3721 | } |
| 3722 | |
| 3723 | .components-text-control__input[type=email], |
| 3724 | .components-text-control__input[type=url] { |
| 3725 | direction: ltr; |
| 3726 | } |
| 3727 | |
| 3728 | .components-tip { |
| 3729 | display: flex; |
| 3730 | color: #757575; |
| 3731 | } |
| 3732 | .components-tip svg { |
| 3733 | align-self: center; |
| 3734 | fill: #f0b849; |
| 3735 | flex-shrink: 0; |
| 3736 | margin-left: 16px; |
| 3737 | } |
| 3738 | .components-tip p { |
| 3739 | margin: 0; |
| 3740 | } |
| 3741 | |
| 3742 | .components-toggle-control__label { |
| 3743 | line-height: 16px; |
| 3744 | } |
| 3745 | .components-toggle-control__label:not(.is-disabled) { |
| 3746 | cursor: var(--wpds-cursor-control, pointer); |
| 3747 | } |
| 3748 | |
| 3749 | .components-toggle-control__help { |
| 3750 | display: inline-block; |
| 3751 | margin-inline-start: 40px; |
| 3752 | } |
| 3753 | |
| 3754 | .components-accessible-toolbar { |
| 3755 | display: inline-flex; |
| 3756 | border: 1px solid var(--wp-components-color-foreground, #1e1e1e); |
| 3757 | border-radius: 2px; |
| 3758 | flex-shrink: 0; |
| 3759 | } |
| 3760 | .components-accessible-toolbar > .components-toolbar-group:last-child { |
| 3761 | border-left: none; |
| 3762 | } |
| 3763 | .components-accessible-toolbar.is-unstyled { |
| 3764 | border: none; |
| 3765 | } |
| 3766 | .components-accessible-toolbar.is-unstyled > .components-toolbar-group { |
| 3767 | border-left: none; |
| 3768 | } |
| 3769 | |
| 3770 | .components-accessible-toolbar[aria-orientation=vertical], |
| 3771 | .components-toolbar[aria-orientation=vertical] { |
| 3772 | display: flex; |
| 3773 | flex-direction: column; |
| 3774 | align-items: center; |
| 3775 | } |
| 3776 | .components-accessible-toolbar .components-button, |
| 3777 | .components-toolbar .components-button { |
| 3778 | position: relative; |
| 3779 | height: 48px; |
| 3780 | z-index: 1; |
| 3781 | padding-right: 16px; |
| 3782 | padding-left: 16px; |
| 3783 | } |
| 3784 | .components-accessible-toolbar .components-button:focus:not(:disabled), |
| 3785 | .components-toolbar .components-button:focus:not(:disabled) { |
| 3786 | box-shadow: none; |
| 3787 | outline: none; |
| 3788 | } |
| 3789 | .components-accessible-toolbar .components-button::before, |
| 3790 | .components-toolbar .components-button::before { |
| 3791 | content: ""; |
| 3792 | position: absolute; |
| 3793 | display: block; |
| 3794 | border-radius: 2px; |
| 3795 | height: 32px; |
| 3796 | right: 8px; |
| 3797 | left: 8px; |
| 3798 | z-index: -1; |
| 3799 | } |
| 3800 | @media not (prefers-reduced-motion) { |
| 3801 | .components-accessible-toolbar .components-button::before, |
| 3802 | .components-toolbar .components-button::before { |
| 3803 | animation: components-button__appear-animation 0.1s ease; |
| 3804 | animation-fill-mode: forwards; |
| 3805 | } |
| 3806 | } |
| 3807 | .components-accessible-toolbar .components-button svg, |
| 3808 | .components-toolbar .components-button svg { |
| 3809 | position: relative; |
| 3810 | margin-right: auto; |
| 3811 | margin-left: auto; |
| 3812 | } |
| 3813 | .components-accessible-toolbar .components-button.is-pressed, |
| 3814 | .components-toolbar .components-button.is-pressed { |
| 3815 | background: transparent; |
| 3816 | } |
| 3817 | .components-accessible-toolbar .components-button.is-pressed:hover, |
| 3818 | .components-toolbar .components-button.is-pressed:hover { |
| 3819 | background: transparent; |
| 3820 | } |
| 3821 | .components-accessible-toolbar .components-button.is-pressed::before, |
| 3822 | .components-toolbar .components-button.is-pressed::before { |
| 3823 | background: var(--wp-components-color-foreground, #1e1e1e); |
| 3824 | } |
| 3825 | .components-accessible-toolbar .components-button:focus::before, |
| 3826 | .components-toolbar .components-button:focus::before { |
| 3827 | box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
| 3828 | outline: 2px solid transparent; |
| 3829 | } |
| 3830 | .components-accessible-toolbar .components-button.has-icon.has-icon, |
| 3831 | .components-toolbar .components-button.has-icon.has-icon { |
| 3832 | padding-right: 8px; |
| 3833 | padding-left: 8px; |
| 3834 | min-width: 48px; |
| 3835 | } |
| 3836 | |
| 3837 | @keyframes components-button__appear-animation { |
| 3838 | from { |
| 3839 | transform: scaleY(0); |
| 3840 | } |
| 3841 | to { |
| 3842 | transform: scaleY(1); |
| 3843 | } |
| 3844 | } |
| 3845 | .components-toolbar__control.components-button { |
| 3846 | position: relative; |
| 3847 | } |
| 3848 | .components-toolbar__control.components-button[data-subscript] svg { |
| 3849 | padding: 5px 0 5px 10px; |
| 3850 | } |
| 3851 | .components-toolbar__control.components-button[data-subscript]::after { |
| 3852 | content: attr(data-subscript); |
| 3853 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3854 | font-size: 13px; |
| 3855 | font-weight: 600; |
| 3856 | line-height: 12px; |
| 3857 | position: absolute; |
| 3858 | left: 8px; |
| 3859 | bottom: 10px; |
| 3860 | } |
| 3861 | .components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after { |
| 3862 | color: #fff; |
| 3863 | } |
| 3864 | |
| 3865 | .components-toolbar-group { |
| 3866 | min-height: 48px; |
| 3867 | border-left: 1px solid var(--wp-components-color-foreground, #1e1e1e); |
| 3868 | background-color: var(--wp-components-color-background, #fff); |
| 3869 | display: inline-flex; |
| 3870 | flex-shrink: 0; |
| 3871 | flex-wrap: wrap; |
| 3872 | padding-right: 6px; |
| 3873 | padding-left: 6px; |
| 3874 | } |
| 3875 | .components-toolbar-group .components-toolbar-group.components-toolbar-group { |
| 3876 | border-width: 0; |
| 3877 | margin: 0; |
| 3878 | } |
| 3879 | .components-toolbar-group { |
| 3880 | line-height: 0; |
| 3881 | } |
| 3882 | .components-toolbar-group .components-button.components-button, |
| 3883 | .components-toolbar-group .components-button.has-icon.has-icon { |
| 3884 | justify-content: center; |
| 3885 | min-width: 36px; |
| 3886 | padding-right: 6px; |
| 3887 | padding-left: 6px; |
| 3888 | } |
| 3889 | .components-toolbar-group .components-button.components-button svg, |
| 3890 | .components-toolbar-group .components-button.has-icon.has-icon svg { |
| 3891 | min-width: 24px; |
| 3892 | } |
| 3893 | .components-toolbar-group .components-button.components-button::before, |
| 3894 | .components-toolbar-group .components-button.has-icon.has-icon::before { |
| 3895 | right: 2px; |
| 3896 | left: 2px; |
| 3897 | } |
| 3898 | |
| 3899 | .components-toolbar { |
| 3900 | min-height: 48px; |
| 3901 | margin: 0; |
| 3902 | border: 1px solid var(--wp-components-color-foreground, #1e1e1e); |
| 3903 | background-color: var(--wp-components-color-background, #fff); |
| 3904 | display: inline-flex; |
| 3905 | flex-shrink: 0; |
| 3906 | flex-wrap: wrap; |
| 3907 | } |
| 3908 | .components-toolbar .components-toolbar.components-toolbar { |
| 3909 | border-width: 0; |
| 3910 | margin: 0; |
| 3911 | } |
| 3912 | |
| 3913 | div.components-toolbar > div { |
| 3914 | display: flex; |
| 3915 | margin: 0; |
| 3916 | } |
| 3917 | div.components-toolbar > div + div.has-left-divider { |
| 3918 | margin-right: 6px; |
| 3919 | position: relative; |
| 3920 | overflow: visible; |
| 3921 | } |
| 3922 | div.components-toolbar > div + div.has-left-divider::before { |
| 3923 | display: inline-block; |
| 3924 | content: ""; |
| 3925 | box-sizing: content-box; |
| 3926 | background-color: #ddd; |
| 3927 | position: absolute; |
| 3928 | top: 8px; |
| 3929 | right: -3px; |
| 3930 | width: 1px; |
| 3931 | height: 20px; |
| 3932 | } |
| 3933 | |
| 3934 | .components-tooltip { |
| 3935 | background: #000; |
| 3936 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3937 | border-radius: 2px; |
| 3938 | color: #f0f0f0; |
| 3939 | text-align: center; |
| 3940 | line-height: 1.4; |
| 3941 | font-size: 12px; |
| 3942 | padding: 4px 8px; |
| 3943 | z-index: 1000002; |
| 3944 | 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); |
| 3945 | } |
| 3946 | |
| 3947 | .components-tooltip__shortcut { |
| 3948 | margin-right: 8px; |
| 3949 | } |
| 3950 | |
| 3951 | .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop { |
| 3952 | --wp-components-color-accent: #cc1818; |
| 3953 | border-color: #cc1818; |
| 3954 | } |
| 3955 | .components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] { |
| 3956 | --wp-admin-theme-color: #cc1818; |
| 3957 | --wp-components-color-accent: #cc1818; |
| 3958 | border-color: #cc1818; |
| 3959 | } |
| 3960 | .components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) { |
| 3961 | --wp-components-color-accent: #cc1818; |
| 3962 | } |
| 3963 | |
| 3964 | .components-validated-control__wrapper-with-error-delegate { |
| 3965 | position: relative; |
| 3966 | } |
| 3967 | .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop { |
| 3968 | --wp-components-color-accent: #cc1818; |
| 3969 | border-color: #cc1818; |
| 3970 | } |
| 3971 | .components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) { |
| 3972 | --wp-components-color-accent: #cc1818; |
| 3973 | } |
| 3974 | .components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) { |
| 3975 | --wp-components-color-accent: #cc1818; |
| 3976 | border-color: #cc1818; |
| 3977 | } |
| 3978 | |
| 3979 | .components-validated-control__error-delegate { |
| 3980 | position: absolute; |
| 3981 | top: 0; |
| 3982 | height: 100%; |
| 3983 | width: 100%; |
| 3984 | opacity: 0; |
| 3985 | pointer-events: none; |
| 3986 | } |
| 3987 | |
| 3988 | .components-validated-control__indicator { |
| 3989 | display: flex; |
| 3990 | align-items: flex-start; |
| 3991 | gap: 4px; |
| 3992 | margin: 8px 0 0; |
| 3993 | font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 3994 | font-size: 12px; |
| 3995 | line-height: 16px; |
| 3996 | color: var(--wp-components-color-gray-700, #757575); |
| 3997 | animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55); |
| 3998 | } |
| 3999 | .components-validated-control__indicator.is-invalid { |
| 4000 | color: #cc1818; |
| 4001 | } |
| 4002 | .components-validated-control__indicator.is-valid { |
| 4003 | color: color-mix(in srgb, #000 30%, #4ab866); |
| 4004 | } |
| 4005 | |
| 4006 | .components-validated-control__indicator-icon { |
| 4007 | flex-shrink: 0; |
| 4008 | } |
| 4009 | |
| 4010 | .components-validated-control__indicator-spinner { |
| 4011 | margin: 2px; |
| 4012 | width: 12px; |
| 4013 | height: 12px; |
| 4014 | } |
| 4015 | |
| 4016 | @keyframes components-validated-control__indicator-jump { |
| 4017 | 0% { |
| 4018 | transform: translateY(-4px); |
| 4019 | opacity: 0; |
| 4020 | } |
| 4021 | 100% { |
| 4022 | transform: translateY(0); |
| 4023 | opacity: 1; |
| 4024 | } |
| 4025 | } |
| 4026 | :root { |
| 4027 | --wp-admin-theme-color: #3858e9; |
| 4028 | --wp-admin-theme-color--rgb: 56, 88, 233; |
| 4029 | --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615); |
| 4030 | --wp-admin-theme-color-darker-10--rgb: 33.0384615385, 68.7307692308, 230.4615384615; |
| 4031 | --wp-admin-theme-color-darker-20: rgb(23.6923076923, 58.1538461538, 214.3076923077); |
| 4032 | --wp-admin-theme-color-darker-20--rgb: 23.6923076923, 58.1538461538, 214.3076923077; |
| 4033 | --wp-admin-border-width-focus: 2px; |
| 4034 | } |
| 4035 | @media (min-resolution: 192dpi) { |
| 4036 | :root { |
| 4037 | --wp-admin-border-width-focus: 1.5px; |
| 4038 | } |
| 4039 | } |