index.php
11 months ago
style-rtl.css
3 months ago
style.asset.php
3 months ago
style.css
3 months ago
style.css
551 lines
| 1 | /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| 2 | !*** css ../../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1_@swc+core@1.15.24_/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.9_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.5.2_sass@1.6_bcbc65e1419097bc6dbd5c442aa21238/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/style.scss ***! |
| 3 | \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| 4 | /** |
| 5 | * Converts a hex value into the rgb equivalent. |
| 6 | * |
| 7 | * @param {string} hex - the hexadecimal value to convert |
| 8 | * @return {string} comma separated rgb values |
| 9 | */ |
| 10 | /** |
| 11 | * Colors |
| 12 | */ |
| 13 | /** |
| 14 | * Converts a hex value into the rgb equivalent. |
| 15 | * |
| 16 | * @param {string} hex - the hexadecimal value to convert |
| 17 | * @return {string} comma separated rgb values |
| 18 | */ |
| 19 | /** |
| 20 | * Colors |
| 21 | */ |
| 22 | /** |
| 23 | * SCSS Variables. |
| 24 | * |
| 25 | * Please use variables from this sheet to ensure consistency across the UI. |
| 26 | * Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 27 | * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 28 | */ |
| 29 | /** |
| 30 | * Converts a hex value into the rgb equivalent. |
| 31 | * |
| 32 | * @param {string} hex - the hexadecimal value to convert |
| 33 | * @return {string} comma separated rgb values |
| 34 | */ |
| 35 | /** |
| 36 | * Colors |
| 37 | */ |
| 38 | /** |
| 39 | * Fonts & basic variables. |
| 40 | */ |
| 41 | /** |
| 42 | * Typography |
| 43 | */ |
| 44 | /** |
| 45 | * Grid System. |
| 46 | * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 47 | */ |
| 48 | /** |
| 49 | * Radius scale. |
| 50 | */ |
| 51 | /** |
| 52 | * Elevation scale. |
| 53 | */ |
| 54 | /** |
| 55 | * Dimensions. |
| 56 | */ |
| 57 | /** |
| 58 | * Mobile specific styles |
| 59 | */ |
| 60 | /** |
| 61 | * Editor styles. |
| 62 | */ |
| 63 | /** |
| 64 | * Block & Editor UI. |
| 65 | */ |
| 66 | /** |
| 67 | * Block paddings. |
| 68 | */ |
| 69 | /** |
| 70 | * React Native specific. |
| 71 | * These variables do not appear to be used anywhere else. |
| 72 | */ |
| 73 | /** |
| 74 | * Converts a hex value into the rgb equivalent. |
| 75 | * |
| 76 | * @param {string} hex - the hexadecimal value to convert |
| 77 | * @return {string} comma separated rgb values |
| 78 | */ |
| 79 | /** |
| 80 | * Long content fade mixin |
| 81 | * |
| 82 | * Creates a fading overlay to signify that the content is longer |
| 83 | * than the space allows. |
| 84 | */ |
| 85 | /** |
| 86 | * Typography |
| 87 | */ |
| 88 | /** |
| 89 | * Breakpoint mixins |
| 90 | */ |
| 91 | /** |
| 92 | * Focus styles. |
| 93 | */ |
| 94 | /** |
| 95 | * Applies editor left position to the selector passed as argument |
| 96 | */ |
| 97 | /** |
| 98 | * Styles that are reused verbatim in a few places |
| 99 | */ |
| 100 | /** |
| 101 | * Allows users to opt-out of animations via OS-level preferences. |
| 102 | */ |
| 103 | /** |
| 104 | * Reset default styles for JavaScript UI based pages. |
| 105 | * This is a WP-admin agnostic reset |
| 106 | */ |
| 107 | /** |
| 108 | * Reset the WP Admin page styles for Gutenberg-like pages. |
| 109 | */ |
| 110 | /** |
| 111 | * Breakpoints & Media Queries |
| 112 | */ |
| 113 | :root { |
| 114 | --wp-admin-theme-color: #007cba; |
| 115 | --wp-admin-theme-color--rgb: 0, 124, 186; |
| 116 | --wp-admin-theme-color-darker-10: #006ba1; |
| 117 | --wp-admin-theme-color-darker-10--rgb: 0, 107, 161; |
| 118 | --wp-admin-theme-color-darker-20: #005a87; |
| 119 | --wp-admin-theme-color-darker-20--rgb: 0, 90, 135; |
| 120 | --wp-admin-border-width-focus: 2px; |
| 121 | --wp-block-synced-color: #7a00df; |
| 122 | --wp-block-synced-color--rgb: 122, 0, 223; |
| 123 | --wp-bound-block-color: var(--wp-block-synced-color); |
| 124 | } |
| 125 | @media (min-resolution: 192dpi) { |
| 126 | :root { |
| 127 | --wp-admin-border-width-focus: 1.5px; |
| 128 | } |
| 129 | } |
| 130 | /* stylelint-disable block-closing-brace-newline-after */ |
| 131 | /* stylelint-enable */ |
| 132 | /** |
| 133 | * Breakpoint mixins |
| 134 | */ |
| 135 | /* stylelint-disable block-closing-brace-newline-after */ |
| 136 | /* stylelint-enable */ |
| 137 | /** |
| 138 | * Converts a hex value into the rgb equivalent. |
| 139 | * |
| 140 | * @param {string} hex - the hexadecimal value to convert |
| 141 | * @return {string} comma separated rgb values |
| 142 | */ |
| 143 | /** |
| 144 | * Colors |
| 145 | */ |
| 146 | .spinner-container { |
| 147 | align-items: center; |
| 148 | display: flex; |
| 149 | height: 100%; |
| 150 | justify-content: center; |
| 151 | width: 100%; |
| 152 | } |
| 153 | [data-rich-text-comment], |
| 154 | [data-rich-text-format-boundary] { |
| 155 | border-radius: 2px; |
| 156 | } |
| 157 | [data-rich-text-comment] { |
| 158 | background-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)); |
| 159 | } |
| 160 | [data-rich-text-comment] span { |
| 161 | color: var(--wp-components-color-accent-inverted, #fff); |
| 162 | filter: none; |
| 163 | padding: 0 2px; |
| 164 | } |
| 165 | .woocommerce-settings-panel-preheader-text { |
| 166 | margin-top: 9px; |
| 167 | } |
| 168 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-richtext { |
| 169 | border: 1px solid var(--wp-components-color-gray-600, #949494); |
| 170 | border-radius: 2px; |
| 171 | box-shadow: transparent 0 0 0; |
| 172 | display: block; |
| 173 | min-height: 80px; |
| 174 | padding: 9px 11px; |
| 175 | width: 100%; |
| 176 | } |
| 177 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-personalization-tags-button.components-button.has-icon { |
| 178 | display: inline-block; |
| 179 | float: right; |
| 180 | height: 14px; |
| 181 | line-height: 14px; |
| 182 | padding: 0 5px; |
| 183 | } |
| 184 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-personalization-tags-button.components-button.has-icon span { |
| 185 | height: 11px; |
| 186 | } |
| 187 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-subject .components-base-control__label { |
| 188 | width: 100%; |
| 189 | } |
| 190 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-subject .components-base-control__label .components-external-link { |
| 191 | float: right; |
| 192 | } |
| 193 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-help { |
| 194 | margin-bottom: 20px; |
| 195 | } |
| 196 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-help .components-text { |
| 197 | color: #757575; |
| 198 | } |
| 199 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-preview-text .components-base-control__label { |
| 200 | width: 100%; |
| 201 | } |
| 202 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-preview-text-length { |
| 203 | color: #000; |
| 204 | display: inline-block; |
| 205 | float: right; |
| 206 | padding: 3px; |
| 207 | } |
| 208 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-preview-text-length-warning { |
| 209 | color: #f0b849; |
| 210 | } |
| 211 | .woocommerce-email-editor__settings-panel .woocommerce-settings-panel-preview-text-length-error { |
| 212 | color: #cc1818; |
| 213 | } |
| 214 | .block-editor-block-inspector__advanced { |
| 215 | display: none; |
| 216 | } |
| 217 | .force-hidden { |
| 218 | display: none !important; |
| 219 | } |
| 220 | /* Align Site Logo right in flow layouts (uses float + physical margins) */ |
| 221 | .is-layout-flow .wp-block-site-logo.alignright, |
| 222 | .block-editor-block-list__layout .wp-block-site-logo.alignright, |
| 223 | .is-layout-constrained .wp-block-site-logo.alignright, |
| 224 | .wp-block-group .wp-block-site-logo.alignright { |
| 225 | float: right; |
| 226 | margin-left: auto; |
| 227 | margin-right: 0; |
| 228 | } |
| 229 | .components-dropdown-menu__menu .editor-preview-dropdown__button-external { |
| 230 | padding-right: 6px; |
| 231 | } |
| 232 | .more-menu-dropdown__content .components-menu-group:last-child { |
| 233 | display: none; |
| 234 | } |
| 235 | .woocommerce-email-editor__view-mode-toggle { |
| 236 | /* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */ |
| 237 | view-transition-name: toggle; |
| 238 | /* stylelint-enable */ |
| 239 | top: 0; |
| 240 | left: 0; |
| 241 | z-index: 100; |
| 242 | } |
| 243 | .woocommerce-email-editor__view-mode-toggle .components-button { |
| 244 | color: #fff; |
| 245 | height: 100%; |
| 246 | width: 100%; |
| 247 | border-radius: 0; |
| 248 | overflow: hidden; |
| 249 | padding: 0; |
| 250 | display: flex; |
| 251 | align-items: center; |
| 252 | justify-content: center; |
| 253 | } |
| 254 | .woocommerce-email-editor__view-mode-toggle .components-button:hover, .woocommerce-email-editor__view-mode-toggle .components-button:active { |
| 255 | color: #fff; |
| 256 | } |
| 257 | .woocommerce-email-editor__view-mode-toggle .components-button:focus { |
| 258 | box-shadow: none; |
| 259 | } |
| 260 | .woocommerce-email-editor__view-mode-toggle .woocommerce-email-editor__view-mode-toggle-icon svg, |
| 261 | .woocommerce-email-editor__view-mode-toggle .woocommerce-email-editor__view-mode-toggle-icon img { |
| 262 | background: #1e1e1e; |
| 263 | display: block; |
| 264 | } |
| 265 | .woocommerce-email-editor-icon { |
| 266 | position: absolute; |
| 267 | top: 0; |
| 268 | left: 0; |
| 269 | width: 64px; |
| 270 | height: 64px; |
| 271 | display: flex; |
| 272 | align-items: center; |
| 273 | justify-content: center; |
| 274 | pointer-events: none; |
| 275 | background-color: hsla(0, 0%, 100%, 0.6); |
| 276 | backdrop-filter: saturate(180%) blur(15px); |
| 277 | } |
| 278 | .woocommerce-email-editor-icon svg { |
| 279 | fill: currentColor; |
| 280 | } |
| 281 | .woocommerce-email-editor-icon__icon { |
| 282 | fill: currentColor; |
| 283 | width: 100%; |
| 284 | height: 100%; |
| 285 | padding: 12px; |
| 286 | } |
| 287 | .woocommerce-email-editor__view-mode-toggle button:focus { |
| 288 | position: relative; |
| 289 | } |
| 290 | .woocommerce-email-editor__view-mode-toggle button:focus::before { |
| 291 | content: ""; |
| 292 | display: block; |
| 293 | position: absolute; |
| 294 | z-index: 1; |
| 295 | top: 0; |
| 296 | right: 0; |
| 297 | bottom: 0; |
| 298 | left: 0; |
| 299 | } |
| 300 | .components-button[aria-controls="edit-site:global-styles"] { |
| 301 | display: none !important; |
| 302 | } |
| 303 | .components-notice.woocommerce-email-editor-validation-errors { |
| 304 | margin: 0; |
| 305 | } |
| 306 | .components-notice.woocommerce-email-editor-validation-errors ul { |
| 307 | list-style: disc outside; |
| 308 | margin: 0 0 0 20px; |
| 309 | } |
| 310 | .components-notice.woocommerce-email-editor-validation-errors li { |
| 311 | margin: 8px 0; |
| 312 | padding: 0; |
| 313 | } |
| 314 | .components-notice.woocommerce-email-editor-validation-errors li:last-child { |
| 315 | margin-bottom: 0; |
| 316 | } |
| 317 | .components-notice.woocommerce-email-editor-validation-errors button.components-button.is-link { |
| 318 | color: #1e1e1e; |
| 319 | margin: 0 4px; |
| 320 | } |
| 321 | .components-modal__frame.woocommerce-send-preview-email { |
| 322 | max-width: 456px; |
| 323 | } |
| 324 | .woocommerce-send-preview-modal-footer { |
| 325 | display: flex; |
| 326 | gap: 12px; |
| 327 | justify-content: flex-end; |
| 328 | padding-top: 16px; |
| 329 | } |
| 330 | .woocommerce-send-preview-modal-notice-error { |
| 331 | background-color: #fcf0f1; |
| 332 | gap: 12px; |
| 333 | padding: 12px 16px; |
| 334 | } |
| 335 | .woocommerce-send-preview-modal-notice-error ul { |
| 336 | list-style: disc; |
| 337 | margin: 0; |
| 338 | padding: 5px 0 0 20px; |
| 339 | } |
| 340 | .woocommerce-send-preview-modal-notice-success { |
| 341 | align-items: center; |
| 342 | display: flex; |
| 343 | padding-top: 2px; |
| 344 | } |
| 345 | .woocommerce-send-preview-email__send-to-field { |
| 346 | margin-bottom: 8px; |
| 347 | } |
| 348 | /** |
| 349 | * Converts a hex value into the rgb equivalent. |
| 350 | * |
| 351 | * @param {string} hex - the hexadecimal value to convert |
| 352 | * @return {string} comma separated rgb values |
| 353 | */ |
| 354 | /** |
| 355 | * Colors |
| 356 | */ |
| 357 | .background-block-support-panel .woocommerce-grid-full-width, |
| 358 | .border-block-support-panel .woocommerce-grid-full-width { |
| 359 | grid-column: 1/3; |
| 360 | margin: 0; |
| 361 | } |
| 362 | .woocommerce-email-editor-styles-panel { |
| 363 | display: flex; |
| 364 | flex-direction: column; |
| 365 | height: 100%; |
| 366 | } |
| 367 | .woocommerce-email-editor-styles-panel .components-panel, |
| 368 | .woocommerce-email-editor-styles-panel .components-navigator, |
| 369 | .woocommerce-email-editor-styles-panel .components-navigator-provider, |
| 370 | .woocommerce-email-editor-styles-panel .components-navigator-screen { |
| 371 | height: 100%; |
| 372 | padding: 0; |
| 373 | } |
| 374 | .woocommerce-email-editor-styles-panel .components-navigator-screen { |
| 375 | overflow: hidden auto; |
| 376 | } |
| 377 | .woocommerce-email-editor-styles-panel .components-navigator-button { |
| 378 | width: 100%; |
| 379 | } |
| 380 | .woocommerce-email-editor-styles-panel .woocommerce-email-editor-styles-header { |
| 381 | margin-bottom: 0; |
| 382 | } |
| 383 | .woocommerce-email-editor-styles-panel .woocommerce-email-editor-styles-header-description { |
| 384 | padding: 0 16px; |
| 385 | } |
| 386 | .woocommerce-email-editor-styles-panel h3.edit-site-global-styles-subtitle { |
| 387 | margin-bottom: 0; |
| 388 | } |
| 389 | .woocommerce-email-editor-styles-panel .single-column { |
| 390 | grid-column: span 1; |
| 391 | } |
| 392 | .woocommerce-email-editor-styles-panel .edit-site-global-styles-screen-typography__indicator { |
| 393 | border-radius: 3px; |
| 394 | height: 2em; |
| 395 | line-height: 2; |
| 396 | padding: 0; |
| 397 | width: 2em; |
| 398 | } |
| 399 | .woocommerce-email-editor-styles-panel .edit-site-typography-preview { |
| 400 | align-items: center; |
| 401 | background: #f0f0f0; |
| 402 | border-radius: 2px; |
| 403 | display: flex; |
| 404 | justify-content: center; |
| 405 | margin-bottom: 16px; |
| 406 | min-height: 100px; |
| 407 | overflow: hidden; |
| 408 | } |
| 409 | .woocommerce-email-editor-styles-panel .interface-complementary-area-header__small { |
| 410 | display: none; |
| 411 | } |
| 412 | .woocommerce-email-editor-styles-panel .edit-site-global-styles-screen-root { |
| 413 | box-shadow: none; |
| 414 | } |
| 415 | /* Move the less specific selector before the more specific one */ |
| 416 | .block-editor-block-patterns-list__item .block-editor-block-preview__container { |
| 417 | align-items: flex-start !important; |
| 418 | } |
| 419 | .block-editor-block-patterns-explorer .block-editor-block-patterns-list .block-editor-block-preview__container { |
| 420 | max-height: 300px !important; |
| 421 | } |
| 422 | .block-editor-block-patterns-list__list-item { |
| 423 | overflow: hidden; |
| 424 | } |
| 425 | .email-editor-recent-templates-info { |
| 426 | background-color: #f0f6fc; |
| 427 | margin-bottom: 1.5rem; |
| 428 | padding: 0.5rem; |
| 429 | } |
| 430 | .email-editor-recent-templates-info path { |
| 431 | fill: #007cba; |
| 432 | } |
| 433 | .email-editor-pattern__list-item { |
| 434 | border: 1px solid #ddd; |
| 435 | border-radius: 4px; |
| 436 | } |
| 437 | .email-editor-pattern__list-item .block-editor-block-preview__container::after { |
| 438 | outline: unset !important; |
| 439 | outline-offset: unset !important; |
| 440 | } |
| 441 | .email-editor-pattern__list-item .block-editor-block-patterns-list__item-title { |
| 442 | font-size: unset !important; |
| 443 | padding-left: 1rem; |
| 444 | } |
| 445 | .block-editor-block-patterns-explorer.no-sidebar .block-editor-block-patterns-explorer__list { |
| 446 | margin-left: 0; |
| 447 | padding-left: 2rem; |
| 448 | } |
| 449 | .email-editor-modal-footer { |
| 450 | background-color: #fff; |
| 451 | bottom: 0; |
| 452 | padding: 1rem 2rem; |
| 453 | position: absolute; |
| 454 | right: 0; |
| 455 | } |
| 456 | /** |
| 457 | * Converts a hex value into the rgb equivalent. |
| 458 | * |
| 459 | * @param {string} hex - the hexadecimal value to convert |
| 460 | * @return {string} comma separated rgb values |
| 461 | */ |
| 462 | /** |
| 463 | * Colors |
| 464 | */ |
| 465 | .woocommerce-personalization-tags-modal p:first-child { |
| 466 | margin-top: 0; |
| 467 | } |
| 468 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-category { |
| 469 | display: inline-block; |
| 470 | font-size: 11px; |
| 471 | line-height: 16px; |
| 472 | padding-bottom: 8px; |
| 473 | padding-top: 16px; |
| 474 | text-transform: uppercase; |
| 475 | } |
| 476 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-category-group { |
| 477 | display: flex; |
| 478 | flex-direction: column; |
| 479 | gap: 10px; |
| 480 | } |
| 481 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-category-group .woocommerce-personalization-tags-modal-category-group-item { |
| 482 | align-items: stretch; |
| 483 | border-bottom: 1px solid var(--wp-components-color-gray-300, #ddd); |
| 484 | display: flex; |
| 485 | padding: 16px 0; |
| 486 | } |
| 487 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-category-group .woocommerce-personalization-tags-modal-category-group-item .woocommerce-personalization-tags-modal-item-text { |
| 488 | display: flex; |
| 489 | flex: 1; |
| 490 | flex-direction: column; |
| 491 | font-size: 12px; |
| 492 | gap: 5px; |
| 493 | justify-content: center; |
| 494 | line-height: 18px; |
| 495 | } |
| 496 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-category-group .woocommerce-personalization-tags-modal-category-group-item button.is-link { |
| 497 | flex: 0 0 auto; |
| 498 | font-size: 14px; |
| 499 | height: auto; |
| 500 | line-height: 2; |
| 501 | } |
| 502 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-menu div[role=group] { |
| 503 | display: flex; |
| 504 | } |
| 505 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-menu .woocommerce-personalization-tags-modal-menu-item-active { |
| 506 | color: #000; |
| 507 | font-weight: 700; |
| 508 | } |
| 509 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-menu button { |
| 510 | align-items: center; |
| 511 | color: #0a7aff; |
| 512 | display: flex; |
| 513 | gap: 8px; |
| 514 | padding: 6px; |
| 515 | width: auto; |
| 516 | } |
| 517 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-menu button span { |
| 518 | min-width: auto; |
| 519 | } |
| 520 | .woocommerce-personalization-tags-modal .woocommerce-personalization-tags-modal-menu .woocommerce-personalization-tags-modal-menu-separator { |
| 521 | background-color: var(--wp-components-color-gray-700, #757575); |
| 522 | height: 16px; |
| 523 | margin: 10px 4px; |
| 524 | width: 1px; |
| 525 | } |
| 526 | .woocommerce-personalization-tag-popover { |
| 527 | align-items: center; |
| 528 | display: flex; |
| 529 | justify-content: center; |
| 530 | } |
| 531 | .woocommerce-personalization-tag-popover .woocommerce-personalization-tag-popover-content { |
| 532 | max-width: 350px; |
| 533 | min-width: auto; |
| 534 | width: 90vw; |
| 535 | } |
| 536 | .woocommerce-personalization-tag-popover .woocommerce-personalization-tag-popover-content .components-base-control { |
| 537 | margin: 16px; |
| 538 | } |
| 539 | .woocommerce-personalization-tag-popover .woocommerce-personalization-tag-popover-content-buttons { |
| 540 | margin: 16px; |
| 541 | text-align: right; |
| 542 | } |
| 543 | .woocommerce-personalization-tag-popover .woocommerce-personalization-tag-popover-content-buttons .components-button { |
| 544 | margin-left: 8px; |
| 545 | } |
| 546 | a.woocommerce-email-editor-personalization-tags-link { |
| 547 | color: linktext; |
| 548 | cursor: pointer; |
| 549 | text-decoration: underline; |
| 550 | } |
| 551 |