438 lines
13 KiB
CSS
438 lines
13 KiB
CSS
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/style.scss ***!
|
|
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/**
|
|
* Colors
|
|
*/
|
|
/**
|
|
* Colors
|
|
*/
|
|
/**
|
|
* SCSS Variables.
|
|
*
|
|
* Please use variables from this sheet to ensure consistency across the UI.
|
|
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
*/
|
|
/**
|
|
* Colors
|
|
*/
|
|
/**
|
|
* Fonts & basic variables.
|
|
*/
|
|
/**
|
|
* Grid System.
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
*/
|
|
/**
|
|
* Dimensions.
|
|
*/
|
|
/**
|
|
* Shadows.
|
|
*/
|
|
/**
|
|
* Editor widths.
|
|
*/
|
|
/**
|
|
* Block & Editor UI.
|
|
*/
|
|
/**
|
|
* Block paddings.
|
|
*/
|
|
/**
|
|
* React Native specific.
|
|
* These variables do not appear to be used anywhere else.
|
|
*/
|
|
/**
|
|
* Converts a hex value into the rgb equivalent.
|
|
*
|
|
* @param {string} hex - the hexadecimal value to convert
|
|
* @return {string} comma separated rgb values
|
|
*/
|
|
/**
|
|
* Breakpoint mixins
|
|
*/
|
|
/**
|
|
* Long content fade mixin
|
|
*
|
|
* Creates a fading overlay to signify that the content is longer
|
|
* than the space allows.
|
|
*/
|
|
/**
|
|
* Focus styles.
|
|
*/
|
|
/**
|
|
* Applies editor left position to the selector passed as argument
|
|
*/
|
|
/**
|
|
* Styles that are reused verbatim in a few places
|
|
*/
|
|
/**
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
*/
|
|
/**
|
|
* Reset default styles for JavaScript UI based pages.
|
|
* This is a WP-admin agnostic reset
|
|
*/
|
|
/**
|
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
*/
|
|
/**
|
|
* Breakpoints & Media Queries
|
|
*/
|
|
:root {
|
|
--wp-admin-theme-color: #007cba;
|
|
--wp-admin-theme-color--rgb: 0, 124, 186;
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
|
--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
|
|
--wp-admin-theme-color-darker-20: #005a87;
|
|
--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
|
|
--wp-admin-border-width-focus: 2px;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
:root {
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
}
|
|
}
|
|
|
|
body.admin-color-light {
|
|
--wp-admin-theme-color: #0085ba;
|
|
--wp-admin-theme-color--rgb: 0, 133, 186;
|
|
--wp-admin-theme-color-darker-10: #0073a1;
|
|
--wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
|
|
--wp-admin-theme-color-darker-20: #006187;
|
|
--wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
|
|
--wp-admin-border-width-focus: 2px;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
body.admin-color-light {
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
}
|
|
}
|
|
|
|
body.admin-color-modern {
|
|
--wp-admin-theme-color: #3858e9;
|
|
--wp-admin-theme-color--rgb: 56, 88, 233;
|
|
--wp-admin-theme-color-darker-10: #2145e6;
|
|
--wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
|
|
--wp-admin-theme-color-darker-20: #183ad6;
|
|
--wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
|
|
--wp-admin-border-width-focus: 2px;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
body.admin-color-modern {
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
}
|
|
}
|
|
|
|
body.admin-color-blue {
|
|
--wp-admin-theme-color: #096484;
|
|
--wp-admin-theme-color--rgb: 9, 100, 132;
|
|
--wp-admin-theme-color-darker-10: #07526c;
|
|
--wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
|
|
--wp-admin-theme-color-darker-20: #064054;
|
|
--wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
|
|
--wp-admin-border-width-focus: 2px;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
body.admin-color-blue {
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
}
|
|
}
|
|
|
|
body.admin-color-coffee {
|
|
--wp-admin-theme-color: #46403c;
|
|
--wp-admin-theme-color--rgb: 70, 64, 60;
|
|
--wp-admin-theme-color-darker-10: #383330;
|
|
--wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
|
|
--wp-admin-theme-color-darker-20: #2b2724;
|
|
--wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
|
|
--wp-admin-border-width-focus: 2px;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
body.admin-color-coffee {
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
}
|
|
}
|
|
|
|
body.admin-color-ectoplasm {
|
|
--wp-admin-theme-color: #523f6d;
|
|
--wp-admin-theme-color--rgb: 82, 63, 109;
|
|
--wp-admin-theme-color-darker-10: #46365d;
|
|
--wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
|
|
--wp-admin-theme-color-darker-20: #3a2c4d;
|
|
--wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
|
|
--wp-admin-border-width-focus: 2px;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
body.admin-color-ectoplasm {
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
}
|
|
}
|
|
|
|
body.admin-color-midnight {
|
|
--wp-admin-theme-color: #e14d43;
|
|
--wp-admin-theme-color--rgb: 225, 77, 67;
|
|
--wp-admin-theme-color-darker-10: #dd382d;
|
|
--wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
|
|
--wp-admin-theme-color-darker-20: #d02c21;
|
|
--wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
|
|
--wp-admin-border-width-focus: 2px;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
body.admin-color-midnight {
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
}
|
|
}
|
|
|
|
body.admin-color-ocean {
|
|
--wp-admin-theme-color: #627c83;
|
|
--wp-admin-theme-color--rgb: 98, 124, 131;
|
|
--wp-admin-theme-color-darker-10: #576e74;
|
|
--wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
|
|
--wp-admin-theme-color-darker-20: #4c6066;
|
|
--wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
|
|
--wp-admin-border-width-focus: 2px;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
body.admin-color-ocean {
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
}
|
|
}
|
|
|
|
body.admin-color-sunrise {
|
|
--wp-admin-theme-color: #dd823b;
|
|
--wp-admin-theme-color--rgb: 221, 130, 59;
|
|
--wp-admin-theme-color-darker-10: #d97426;
|
|
--wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
|
|
--wp-admin-theme-color-darker-20: #c36922;
|
|
--wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
|
|
--wp-admin-border-width-focus: 2px;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
body.admin-color-sunrise {
|
|
--wp-admin-border-width-focus: 1.5px;
|
|
}
|
|
}
|
|
|
|
/* stylelint-disable block-closing-brace-newline-after */
|
|
/* stylelint-enable */
|
|
/**
|
|
* Breakpoint mixins
|
|
*/
|
|
/* stylelint-disable block-closing-brace-newline-after */
|
|
/* stylelint-enable */
|
|
.woocommerce-task-payments .woocommerce-task-payment-wcpay .woocommerce-task-payment-wcpay__description {
|
|
font-size: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.woocommerce-task-payments .woocommerce-task-payment-wcpay .components-card__header {
|
|
margin-bottom: 12px;
|
|
justify-content: flex-start;
|
|
padding: 25px;
|
|
}
|
|
.woocommerce-task-payments .woocommerce-task-payment-wcpay .components-card__header .woocommerce-pill {
|
|
margin-left: 12px;
|
|
}
|
|
.woocommerce-task-payments .woocommerce-task-payment-wcpay .components-card__footer {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
.woocommerce-task-payments .woocommerce-task-payment-wcpay .components-card__footer .components-button {
|
|
margin-top: 16px;
|
|
margin-left: 0;
|
|
}
|
|
.woocommerce-task-payments .woocommerce-task-payment-wcpay .components-card__body h2 {
|
|
margin: 0 0 20px 0;
|
|
}
|
|
.woocommerce-task-payments .woocommerce-task-payment-wcpay .woocommerce-task-payment-wcpay__accepted {
|
|
display: flex;
|
|
margin-top: 12px;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
.woocommerce-task-payments .woocommerce-task-payment-wcpay .woocommerce-task-payment-wcpay__accepted h3 {
|
|
color: #40464d;
|
|
}
|
|
|
|
.woocommerce-recommended-payments-banner {
|
|
margin: 0 15px 10px 0;
|
|
min-width: 750px;
|
|
animation: isLoaded;
|
|
animation-duration: 250ms;
|
|
}
|
|
.woocommerce-recommended-payments-banner.components-card {
|
|
box-shadow: none;
|
|
border: 1px solid #e2e4e7;
|
|
border-radius: 2px;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments-banner__body {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-bottom: 0;
|
|
padding: 30px 0 0 0;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments__header-title {
|
|
color: #1d2327;
|
|
line-height: 32px;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments__header-heading {
|
|
color: #757575;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments-banner__image_container {
|
|
display: flex;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments-banner__text_container {
|
|
width: 46%;
|
|
margin-inline: 24px;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments-banner__text_container a {
|
|
margin-top: 0;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments-banner__text_container * {
|
|
margin-block: 1rem;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments-banner__footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px 0 30px 0;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments-banner__footer p {
|
|
color: #757575;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments-banner__footer_icon_container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.woocommerce-recommended-payments-banner .woocommerce-recommended-payments-banner__footer_icon_container > svg {
|
|
height: 28px;
|
|
width: 51px;
|
|
}
|
|
|
|
.woocommerce-wcpay-benefits {
|
|
background-color: #fff;
|
|
border-radius: 2px;
|
|
padding: 36px 24px;
|
|
width: 680px;
|
|
min-height: 200px;
|
|
}
|
|
.woocommerce-wcpay-benefits .woocommerce-wcpay-benefits-benefit {
|
|
flex-direction: column;
|
|
justify-content: start;
|
|
margin-left: 0;
|
|
width: 186px;
|
|
align-items: start;
|
|
gap: 16px;
|
|
}
|
|
.woocommerce-wcpay-benefits .woocommerce-wcpay-benefits-benefit .woocommerce-wcpay-benefits-benefit-icon-container {
|
|
width: 48px;
|
|
height: 48px;
|
|
background-color: #F2EDFF;
|
|
border-radius: 12px;
|
|
justify-content: center;
|
|
}
|
|
.woocommerce-wcpay-benefits p {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 13px;
|
|
line-height: 16px;
|
|
color: #1d2327;
|
|
}
|
|
|
|
.woocommerce-task-payment__recommended-ribbon {
|
|
position: absolute;
|
|
transform: rotate(-45deg) translate(-50%, -50%);
|
|
background: #2c3338;
|
|
color: #fff;
|
|
font-size: 11px;
|
|
line-height: 20px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
line-height: 1;
|
|
padding: 7px 40px;
|
|
transform-origin: top left;
|
|
margin-top: 32px;
|
|
margin-left: 32px;
|
|
}
|
|
.woocommerce-task-payment__recommended-ribbon span {
|
|
max-width: 70px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.woocommerce-task-payment__recommended-ribbon {
|
|
margin-top: 24px;
|
|
margin-left: 24px;
|
|
font-size: 9px;
|
|
}
|
|
}
|
|
.woocommerce-onboarding-progress-bar__container {
|
|
height: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.woocommerce-onboarding-progress-bar__filler {
|
|
height: 100%;
|
|
min-width: 8px;
|
|
}
|
|
|
|
.woocommerce-onboarding-loader {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
background-color: white;
|
|
}
|
|
@media (max-width: 782px) {
|
|
.woocommerce-onboarding-loader {
|
|
padding: 0 20px;
|
|
}
|
|
}
|
|
.woocommerce-onboarding-loader .woocommerce-onboarding-loader__title {
|
|
padding: 0;
|
|
margin: 58px 0 0 0;
|
|
font-size: 28px;
|
|
font-weight: 500;
|
|
}
|
|
@media (max-width: 782px) {
|
|
.woocommerce-onboarding-loader .woocommerce-onboarding-loader__title {
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
.woocommerce-onboarding-loader .woocommerce-onboarding-loader-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
max-width: 520px;
|
|
}
|
|
.woocommerce-onboarding-loader .woocommerce-onboarding-progress-bar {
|
|
width: 520px;
|
|
margin: 16px 0 16px 0;
|
|
}
|
|
@media (max-width: 782px) {
|
|
.woocommerce-onboarding-loader .woocommerce-onboarding-progress-bar {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.woocommerce-onboarding-loader .woocommerce-onboarding-progress-bar__container {
|
|
height: 4px;
|
|
}
|
|
.woocommerce-onboarding-loader .woocommerce-onboarding-loader__paragraph {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: #2f2f2f;
|
|
opacity: 0.8;
|
|
text-align: center;
|
|
}
|
|
@media (max-width: 782px) {
|
|
.woocommerce-onboarding-loader .woocommerce-onboarding-loader__paragraph {
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
}
|
|
}
|