rebase code on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:51:46 -04:00
parent b16ad94b69
commit 8f1a2c3a66
2197 changed files with 184921 additions and 35568 deletions
@@ -2,13 +2,13 @@
* WooCommerce CSS Variables
*/
$woocommerce: #7F54B3 !default;
$woocommerce: #a46497 !default;
$green: #7ad03a !default;
$red: #a00 !default;
$orange: #ffba00 !default;
$blue: #2ea2cc !default;
$primary: #7F54B3 !default; // Primary color for buttons (alt)
$primary: #a46497 !default; // Primary color for buttons (alt)
$primarytext: desaturate(lighten($primary, 50%), 18%) !default; // Text on primary color bg
$secondary: desaturate(lighten($primary, 40%), 21%) !default; // Secondary buttons
@@ -1 +1 @@
div.woocommerce-message{overflow:hidden;position:relative}div.woocommerce-message.updated{border-right-color:var(--wp-admin-theme-color)!important}.woocommerce-message a.woocommerce-message-close,p.woocommerce-actions a.woocommerce-message-close{position:static;float:left;top:0;left:0;padding:0 28px 10px 15px;margin-top:-10px;font-size:13px;line-height:1.23076923;text-decoration:none}.woocommerce-message a.woocommerce-message-close::before,p.woocommerce-actions a.woocommerce-message-close::before{position:relative;top:18px;right:-20px;transition:all .1s ease-in-out}.woocommerce-message .button-primary,.woocommerce-message .button-secondary,p.woocommerce-actions .button-primary,p.woocommerce-actions .button-secondary{text-decoration:none!important}.woocommerce-message .twitter-share-button,p.woocommerce-actions .twitter-share-button{margin-top:-3px;margin-right:3px;vertical-align:middle}.woocommerce-about-text,p.woocommerce-actions{margin-bottom:1em!important}
div.woocommerce-message{overflow:hidden;position:relative}div.woocommerce-message.updated{border-right-color:#cc99c2!important}.woocommerce-message .button-primary,p.woocommerce-actions .button-primary{background:#bb77ae;border-color:#a36597;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #a36597;color:#fff;text-shadow:0 -1px 1px #a36597,-1px 0 1px #a36597,0 1px 1px #a36597,1px 0 1px #a36597}.woocommerce-message .button-primary:active,.woocommerce-message .button-primary:focus,.woocommerce-message .button-primary:hover,p.woocommerce-actions .button-primary:active,p.woocommerce-actions .button-primary:focus,p.woocommerce-actions .button-primary:hover{background:#a36597;border-color:#a36597;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #a36597}.woocommerce-message a.woocommerce-message-close,p.woocommerce-actions a.woocommerce-message-close{position:static;float:left;top:0;left:0;padding:0 28px 10px 15px;margin-top:-10px;font-size:13px;line-height:1.23076923;text-decoration:none}.woocommerce-message a.woocommerce-message-close::before,p.woocommerce-actions a.woocommerce-message-close::before{position:relative;top:18px;right:-20px;transition:all .1s ease-in-out}.woocommerce-message .button-primary,.woocommerce-message .button-secondary,p.woocommerce-actions .button-primary,p.woocommerce-actions .button-secondary{text-decoration:none!important}.woocommerce-message .twitter-share-button,p.woocommerce-actions .twitter-share-button{margin-top:-3px;margin-right:3px;vertical-align:middle}.woocommerce-about-text,p.woocommerce-actions{margin-bottom:1em!important}
@@ -1 +1 @@
div.woocommerce-message{overflow:hidden;position:relative}div.woocommerce-message.updated{border-left-color:var(--wp-admin-theme-color)!important}.woocommerce-message a.woocommerce-message-close,p.woocommerce-actions a.woocommerce-message-close{position:static;float:right;top:0;right:0;padding:0 15px 10px 28px;margin-top:-10px;font-size:13px;line-height:1.23076923;text-decoration:none}.woocommerce-message a.woocommerce-message-close::before,p.woocommerce-actions a.woocommerce-message-close::before{position:relative;top:18px;left:-20px;transition:all .1s ease-in-out}.woocommerce-message .button-primary,.woocommerce-message .button-secondary,p.woocommerce-actions .button-primary,p.woocommerce-actions .button-secondary{text-decoration:none!important}.woocommerce-message .twitter-share-button,p.woocommerce-actions .twitter-share-button{margin-top:-3px;margin-left:3px;vertical-align:middle}.woocommerce-about-text,p.woocommerce-actions{margin-bottom:1em!important}
div.woocommerce-message{overflow:hidden;position:relative}div.woocommerce-message.updated{border-left-color:#cc99c2!important}.woocommerce-message .button-primary,p.woocommerce-actions .button-primary{background:#bb77ae;border-color:#a36597;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #a36597;color:#fff;text-shadow:0 -1px 1px #a36597,1px 0 1px #a36597,0 1px 1px #a36597,-1px 0 1px #a36597}.woocommerce-message .button-primary:active,.woocommerce-message .button-primary:focus,.woocommerce-message .button-primary:hover,p.woocommerce-actions .button-primary:active,p.woocommerce-actions .button-primary:focus,p.woocommerce-actions .button-primary:hover{background:#a36597;border-color:#a36597;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 #a36597}.woocommerce-message a.woocommerce-message-close,p.woocommerce-actions a.woocommerce-message-close{position:static;float:right;top:0;right:0;padding:0 15px 10px 28px;margin-top:-10px;font-size:13px;line-height:1.23076923;text-decoration:none}.woocommerce-message a.woocommerce-message-close::before,p.woocommerce-actions a.woocommerce-message-close::before{position:relative;top:18px;left:-20px;transition:all .1s ease-in-out}.woocommerce-message .button-primary,.woocommerce-message .button-secondary,p.woocommerce-actions .button-primary,p.woocommerce-actions .button-secondary{text-decoration:none!important}.woocommerce-message .twitter-share-button,p.woocommerce-actions .twitter-share-button{margin-top:-3px;margin-left:3px;vertical-align:middle}.woocommerce-about-text,p.woocommerce-actions{margin-bottom:1em!important}
@@ -11,13 +11,29 @@ div.woocommerce-message {
position: relative;
&.updated {
border-left-color: var(--wp-admin-theme-color) !important;
border-left-color: #cc99c2 !important;
}
}
p.woocommerce-actions,
.woocommerce-message {
.button-primary {
background: #bb77ae;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
color: #fff;
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
&:hover,
&:focus,
&:active {
background: #a36597;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
}
}
a.woocommerce-message-close {
position: static;
float: right;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -199,7 +199,7 @@
}
.update-plugins .update-count {
background-color: var(--wp-admin-theme-color);
background-color: #d54e21;
border-radius: 10px;
color: #fff;
display: inline-block;
@@ -477,7 +477,7 @@
.addon-product-group-see-more,
.addon-product-group-see-more:visited {
color: var(--wp-admin-theme-color);
color: #007cba;
/* Primary / Blue */
display: block;
font-size: 13px;
@@ -582,7 +582,7 @@
h2,
h3 {
color: var(--wp-admin-theme-color);
color: #007cba;
font-size: 20px;
font-weight: 400;
letter-spacing: -0.32px;
@@ -620,7 +620,7 @@
}
h2 {
color: var(--wp-admin-theme-color);
color: #2c3338;
}
}
@@ -718,8 +718,8 @@
.button {
background-color: #fff;
border-color: var(--wp-admin-theme-color);
color: var(--wp-admin-theme-color);
border-color: #007cba;
color: #007cba;
float: right;
font-size: 13px;
height: 36px;
@@ -857,7 +857,7 @@
max-width: 1200px;
.update-plugins .update-count {
background-color: var(--wp-admin-theme-color);
background-color: #d54e21;
border-radius: 10px;
color: #fff;
display: inline-block;
@@ -902,7 +902,21 @@
.woocommerce-BlankState {
a.button-primary,
button.button-primary {
background: #bb77ae;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
color: #fff;
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597,
-1px 0 1px #a36597;
display: inline-block;
&:hover,
&:focus,
&:active {
background: #a36597;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
}
}
}
@@ -911,7 +925,7 @@
overflow: hidden;
&.updated {
border-left-color: var(--wp-admin-theme-color) !important;
border-left-color: #cc99c2 !important;
}
a.skip,
@@ -2856,7 +2870,7 @@ ul.wc_coupon_list_block {
}
&:hover {
border: 2px solid var(--wp-admin-theme-color);
border: 2px solid #00a0d2;
}
}
@@ -3915,9 +3929,11 @@ table.wc-shipping-classes {
td.wc-shipping-zones-blank-state,
td.wc-shipping-zone-method-blank-state {
background: #f7f1f6 !important;
overflow: hidden;
position: relative;
padding: 7.5em 7.5% !important;
border-bottom: 2px solid #eee2ec;
&.wc-shipping-zone-method-blank-state {
padding: 2em !important;
@@ -3929,16 +3945,16 @@ table.wc-shipping-classes {
p,
li {
color: var(--wc-secondary-text);
font-size: 1.2em;
line-height: 1.2em;
margin: 0 0 1.5em;
color: #a46497;
font-size: 1.5em;
line-height: 1.5em;
margin: 0 0 1em;
position: relative;
z-index: 1;
text-shadow: 1px 1px 1px white;
&.main {
font-size: 1.6em;
font-size: 2em;
}
}
@@ -3952,7 +3968,7 @@ table.wc-shipping-classes {
font-family: "WooCommerce";
text-align: center;
line-height: 1;
color: #e9e9e9;
color: #eee2ec;
display: block;
width: 1em;
font-size: 40em;
@@ -3963,9 +3979,16 @@ table.wc-shipping-classes {
}
.button-primary {
font-size: 1.2em;
padding: 0.75em 1.5em;
margin: 0 0.25em;
background-color: #804877;
border-color: #804877;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
0 1px 0 rgba(0, 0, 0, 0.15);
margin: 0;
opacity: 1;
text-shadow: 0 -1px 1px #8a4f7f, 1px 0 1px #8a4f7f,
0 1px 1px #8a4f7f, -1px 0 1px #8a4f7f;
font-size: 1.5em;
padding: 0.75em 1em;
height: auto;
position: relative;
z-index: 1;
@@ -4182,8 +4205,8 @@ table.wc-shipping-classes {
.woocommerce-input-toggle {
height: 16px;
width: 32px;
border: 2px solid var(--wp-admin-theme-color);
background-color: var(--wp-admin-theme-color);
border: 2px solid #935687;
background-color: #935687;
display: inline-block;
text-indent: -9999px;
border-radius: 10em;
@@ -4318,7 +4341,7 @@ img.help_tip {
.status-enabled::before {
@include icon("\e015");
color: var(--wp-admin-theme-color);
color: $woocommerce;
}
.status-disabled::before {
@@ -4343,7 +4366,7 @@ img.help_tip {
margin-left: 0.5em;
a {
color: var(--wp-admin-theme-color);
color: #a46497;
}
}
@@ -7358,39 +7381,51 @@ table.bar_chart {
/**
* Select2 colors for built-in admin color themes.
*/
.wp-admin {
&.wc-wp-version-gte-53 {
.select2-dropdown {
border-color: var(--wp-admin-theme-color);
}
.admin-color {
$wp_admin_colors: (
blue: #096484,
coffee: #c7a589,
ectoplasm: #a3b745,
midnight: #e14d43,
ocean: #9ebaa0,
sunrise: #dd823b,
light: #04a4cc,
);
.select2-dropdown--below {
box-shadow: 0 0 0 1px var(--wp-admin-theme-color), 0 2px 1px rgba(0, 0, 0, 0.1);
}
@each $name, $color in $wp_admin_colors {
&-#{$name}.wc-wp-version-gte-53 {
.select2-dropdown {
border-color: $color;
}
.select2-dropdown--above {
box-shadow: 0 0 0 1px var(--wp-admin-theme-color), 0 -2px 1px rgba(0, 0, 0, 0.1);
}
.select2-dropdown--below {
box-shadow: 0 0 0 1px $color, 0 2px 1px rgba(0, 0, 0, 0.1);
}
.select2-selection--single .select2-selection__rendered:hover {
color: var(--wp-admin-theme-color);
}
.select2-dropdown--above {
box-shadow: 0 0 0 1px $color, 0 -2px 1px rgba(0, 0, 0, 0.1);
}
.select2-container.select2-container--focus
.select2-selection--single,
.select2-container.select2-container--open
.select2-selection--single,
.select2-container.select2-container--open
.select2-selection--multiple {
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
}
.select2-selection--single .select2-selection__rendered:hover {
color: $color;
}
.select2-container--default
.select2-results__option--highlighted[aria-selected],
.select2-container--default
.select2-results__option--highlighted[data-selected] {
background-color: var(--wp-admin-theme-color);
.select2-container.select2-container--focus
.select2-selection--single,
.select2-container.select2-container--open
.select2-selection--single,
.select2-container.select2-container--open
.select2-selection--multiple {
border-color: $color;
box-shadow: 0 0 0 1px $color;
}
.select2-container--default
.select2-results__option--highlighted[aria-selected],
.select2-container--default
.select2-results__option--highlighted[data-selected] {
background-color: $color;
}
}
}
}
@@ -7464,21 +7499,21 @@ table.bar_chart {
}
li.active {
border-color: var(--wp-admin-theme-color);
color: var(--wp-admin-theme-color);
border-color: #a16696;
color: #a16696;
&::before {
border-color: var(--wp-admin-theme-color);
border-color: #a16696;
}
}
li.done {
border-color: var(--wp-admin-theme-color);
color: var(--wp-admin-theme-color);
border-color: #a16696;
color: #a16696;
&::before {
border-color: var(--wp-admin-theme-color);
background: var(--wp-admin-theme-color);
border-color: #a16696;
background: #a16696;
}
}
}
@@ -7487,7 +7522,29 @@ table.bar_chart {
font-size: 1.25em;
padding: 0.5em 1em !important;
line-height: 1.5em !important;
margin-right: 0.5em;
margin-bottom: 2px;
height: auto !important;
border-radius: 4px;
background-color: #bb77ae;
border-color: #a36597;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
0 1px 0 #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597,
-1px 0 1px #a36597;
margin: 0;
opacity: 1;
&:hover,
&:focus,
&:active {
background: #a36597;
border-color: #a36597;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
0 1px 0 #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
}
}
.error .button {
@@ -7644,21 +7701,24 @@ table.bar_chart {
progress::-webkit-progress-value {
border-radius: 3px;
box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
background: var(--wp-admin-theme-color);
background: #a46497;
background: linear-gradient(to bottom, #a46497, #66405f), #a46497;
transition: width 1s ease;
}
progress::-moz-progress-bar {
border-radius: 3px;
box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
background: var(--wp-admin-theme-color);
background: #a46497;
background: linear-gradient(to bottom, #a46497, #66405f), #a46497;
transition: width 1s ease;
}
progress::-ms-fill {
border-radius: 3px;
box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
background: var(--wp-admin-theme-color);
background: #a46497;
background: linear-gradient(to bottom, #a46497, #66405f), #a46497;
transition: width 1s ease;
}
@@ -7751,7 +7811,7 @@ table.bar_chart {
&::before {
@include icon("\e015");
color: var(--wp-admin-theme-color);
color: #a16696;
position: static;
font-size: 100px;
display: block;
@@ -7862,8 +7922,8 @@ table.bar_chart {
margin: 12px 12px 0 0;
&.current {
background: var(--wp-admin-theme-color);
border: 1px solid var(--wp-admin-theme-color);
background: #007cba;
border: 1px solid #007cba;
a {
color: #fff;
@@ -1 +1 @@
:root{--woocommerce:#7F54B3;--wc-green:#7ad03a;--wc-red:#a00;--wc-orange:#ffba00;--wc-blue:#2ea2cc;--wc-primary:#7F54B3;--wc-primary-text:white;--wc-secondary:#e9e6ed;--wc-secondary-text:#515151;--wc-highlight:#b3af54;--wc-highligh-text:white;--wc-content-bg:#fff;--wc-subtext:#767676}body{background:#f1f1f1;box-shadow:none;margin:100px auto 24px;padding:0}#wc-logo{border:0;margin:33px 24px;padding:0;text-align:center;font-size:0}#wc-logo img{max-width:50%}.wc-auth-content{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.13);overflow:hidden;padding:24px 24px 0;zoom:1}.wc-auth-content h1,.wc-auth-content h2,.wc-auth-content h3,.wc-auth-content table{border:0;clear:none;color:#666;margin:0 0 24px;padding:0}.wc-auth-content p,.wc-auth-content ul{color:#666;font-size:1em;line-height:1.75em;margin:0 0 24px}.wc-auth-content p{padding:0}.wc-auth-content a{color:#7f54b3}.wc-auth-content a:focus,.wc-auth-content a:hover{color:#1c1229}.wc-auth-content .wc-auth-login label{color:#999;display:block;margin-bottom:.5em}.wc-auth-content .wc-auth-login input{box-sizing:border-box;font-size:1.3em;padding:.5em;width:100%}.wc-auth-content .wc-auth-login .wc-auth-actions{padding:0}.wc-auth-content .wc-auth-login .wc-auth-actions .wc-auth-login-button{float:none;width:100%}.wc-auth-permissions{list-style:disc inside;padding:0}.wc-auth-permissions li{font-size:1em}.wc-auth-logged-in-as{background:#f5f5f5;border-bottom:2px solid #eee;line-height:70px;margin:0 0 24px;padding:0 0 0 1em}.wc-auth-logged-in-as p{margin:0;line-height:70px}.wc-auth-logged-in-as img{float:right;height:70px;margin:0 0 0 1em}.wc-auth-logged-in-as .wc-auth-logout{float:left}.wc-auth .wc-auth-actions{overflow:hidden;padding-right:24px}.wc-auth .wc-auth-actions .button{background:#f7f7f7;border-bottom-width:2px;border:1px solid #d7d7d7;box-sizing:border-box;color:#777;float:left;font-size:1.25em;height:auto;line-height:1em;padding:1em 2em;text-align:center;width:50%}.wc-auth .wc-auth-actions .button:focus,.wc-auth .wc-auth-actions .button:hover{background:#fcfcfc}.wc-auth .wc-auth-actions .button-primary{background:#7f54b3;border-color:#7f54b3;box-shadow:0 0 0;color:#fff;float:left;opacity:1;text-shadow:none}.wc-auth .wc-auth-actions .button-primary:focus,.wc-auth .wc-auth-actions .button-primary:hover{background:#8c66bb;color:#fff}.wc-auth .wc-auth-actions .wc-auth-approve{float:left}.wc-auth .wc-auth-actions .wc-auth-deny{float:right;margin-right:-24px}
body{background:#f1f1f1;box-shadow:none;margin:100px auto 24px;padding:0}#wc-logo{border:0;margin:0 0 24px;padding:0;text-align:center}#wc-logo img{max-width:50%}.wc-auth-content{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.13);overflow:hidden;padding:24px 24px 0;zoom:1}.wc-auth-content h1,.wc-auth-content h2,.wc-auth-content h3,.wc-auth-content table{border:0;clear:none;color:#666;margin:0 0 24px;padding:0}.wc-auth-content p,.wc-auth-content ul{color:#666;font-size:1em;line-height:1.75em;margin:0 0 24px}.wc-auth-content p{padding:0}.wc-auth-content a{color:#a16696}.wc-auth-content a:focus,.wc-auth-content a:hover{color:#111}.wc-auth-content .wc-auth-login label{color:#999;display:block;margin-bottom:.5em}.wc-auth-content .wc-auth-login input{box-sizing:border-box;font-size:1.3em;padding:.5em;width:100%}.wc-auth-content .wc-auth-login .wc-auth-actions{padding:0}.wc-auth-content .wc-auth-login .wc-auth-actions .wc-auth-login-button{float:none;width:100%}.wc-auth-permissions{list-style:disc inside;padding:0}.wc-auth-permissions li{font-size:1em}.wc-auth-logged-in-as{background:#f5f5f5;border-bottom:2px solid #eee;line-height:70px;margin:0 0 24px;padding:0 0 0 1em}.wc-auth-logged-in-as p{margin:0;line-height:70px}.wc-auth-logged-in-as img{float:right;height:70px;margin:0 0 0 1em}.wc-auth-logged-in-as .wc-auth-logout{float:left}.wc-auth .wc-auth-actions{overflow:hidden;padding-right:24px}.wc-auth .wc-auth-actions .button{background:#f7f7f7;border-bottom-width:2px;border:1px solid #d7d7d7;box-sizing:border-box;color:#777;float:left;font-size:1.25em;height:auto;line-height:1em;padding:1em 2em;text-align:center;width:50%}.wc-auth .wc-auth-actions .button:focus,.wc-auth .wc-auth-actions .button:hover{background:#fcfcfc}.wc-auth .wc-auth-actions .button-primary{background:#ad6ea1;border-color:#a16696;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15);color:#fff;float:left;opacity:1;text-shadow:0 -1px 1px #8a4f7f,-1px 0 1px #8a4f7f,0 1px 1px #8a4f7f,1px 0 1px #8a4f7f}.wc-auth .wc-auth-actions .button-primary:focus,.wc-auth .wc-auth-actions .button-primary:hover{background:#b472a8;color:#fff}.wc-auth .wc-auth-actions .wc-auth-approve{float:left}.wc-auth .wc-auth-actions .wc-auth-deny{float:right;margin-right:-24px}
@@ -1 +1 @@
:root{--woocommerce:#7F54B3;--wc-green:#7ad03a;--wc-red:#a00;--wc-orange:#ffba00;--wc-blue:#2ea2cc;--wc-primary:#7F54B3;--wc-primary-text:white;--wc-secondary:#e9e6ed;--wc-secondary-text:#515151;--wc-highlight:#b3af54;--wc-highligh-text:white;--wc-content-bg:#fff;--wc-subtext:#767676}body{background:#f1f1f1;box-shadow:none;margin:100px auto 24px;padding:0}#wc-logo{border:0;margin:33px 24px;padding:0;text-align:center;font-size:0}#wc-logo img{max-width:50%}.wc-auth-content{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.13);overflow:hidden;padding:24px 24px 0;zoom:1}.wc-auth-content h1,.wc-auth-content h2,.wc-auth-content h3,.wc-auth-content table{border:0;clear:none;color:#666;margin:0 0 24px;padding:0}.wc-auth-content p,.wc-auth-content ul{color:#666;font-size:1em;line-height:1.75em;margin:0 0 24px}.wc-auth-content p{padding:0}.wc-auth-content a{color:#7f54b3}.wc-auth-content a:focus,.wc-auth-content a:hover{color:#1c1229}.wc-auth-content .wc-auth-login label{color:#999;display:block;margin-bottom:.5em}.wc-auth-content .wc-auth-login input{box-sizing:border-box;font-size:1.3em;padding:.5em;width:100%}.wc-auth-content .wc-auth-login .wc-auth-actions{padding:0}.wc-auth-content .wc-auth-login .wc-auth-actions .wc-auth-login-button{float:none;width:100%}.wc-auth-permissions{list-style:disc inside;padding:0}.wc-auth-permissions li{font-size:1em}.wc-auth-logged-in-as{background:#f5f5f5;border-bottom:2px solid #eee;line-height:70px;margin:0 0 24px;padding:0 1em 0 0}.wc-auth-logged-in-as p{margin:0;line-height:70px}.wc-auth-logged-in-as img{float:left;height:70px;margin:0 1em 0 0}.wc-auth-logged-in-as .wc-auth-logout{float:right}.wc-auth .wc-auth-actions{overflow:hidden;padding-left:24px}.wc-auth .wc-auth-actions .button{background:#f7f7f7;border-bottom-width:2px;border:1px solid #d7d7d7;box-sizing:border-box;color:#777;float:right;font-size:1.25em;height:auto;line-height:1em;padding:1em 2em;text-align:center;width:50%}.wc-auth .wc-auth-actions .button:focus,.wc-auth .wc-auth-actions .button:hover{background:#fcfcfc}.wc-auth .wc-auth-actions .button-primary{background:#7f54b3;border-color:#7f54b3;box-shadow:0 0 0;color:#fff;float:right;opacity:1;text-shadow:none}.wc-auth .wc-auth-actions .button-primary:focus,.wc-auth .wc-auth-actions .button-primary:hover{background:#8c66bb;color:#fff}.wc-auth .wc-auth-actions .wc-auth-approve{float:right}.wc-auth .wc-auth-actions .wc-auth-deny{float:left;margin-left:-24px}
body{background:#f1f1f1;box-shadow:none;margin:100px auto 24px;padding:0}#wc-logo{border:0;margin:0 0 24px;padding:0;text-align:center}#wc-logo img{max-width:50%}.wc-auth-content{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.13);overflow:hidden;padding:24px 24px 0;zoom:1}.wc-auth-content h1,.wc-auth-content h2,.wc-auth-content h3,.wc-auth-content table{border:0;clear:none;color:#666;margin:0 0 24px;padding:0}.wc-auth-content p,.wc-auth-content ul{color:#666;font-size:1em;line-height:1.75em;margin:0 0 24px}.wc-auth-content p{padding:0}.wc-auth-content a{color:#a16696}.wc-auth-content a:focus,.wc-auth-content a:hover{color:#111}.wc-auth-content .wc-auth-login label{color:#999;display:block;margin-bottom:.5em}.wc-auth-content .wc-auth-login input{box-sizing:border-box;font-size:1.3em;padding:.5em;width:100%}.wc-auth-content .wc-auth-login .wc-auth-actions{padding:0}.wc-auth-content .wc-auth-login .wc-auth-actions .wc-auth-login-button{float:none;width:100%}.wc-auth-permissions{list-style:disc inside;padding:0}.wc-auth-permissions li{font-size:1em}.wc-auth-logged-in-as{background:#f5f5f5;border-bottom:2px solid #eee;line-height:70px;margin:0 0 24px;padding:0 1em 0 0}.wc-auth-logged-in-as p{margin:0;line-height:70px}.wc-auth-logged-in-as img{float:left;height:70px;margin:0 1em 0 0}.wc-auth-logged-in-as .wc-auth-logout{float:right}.wc-auth .wc-auth-actions{overflow:hidden;padding-left:24px}.wc-auth .wc-auth-actions .button{background:#f7f7f7;border-bottom-width:2px;border:1px solid #d7d7d7;box-sizing:border-box;color:#777;float:right;font-size:1.25em;height:auto;line-height:1em;padding:1em 2em;text-align:center;width:50%}.wc-auth .wc-auth-actions .button:focus,.wc-auth .wc-auth-actions .button:hover{background:#fcfcfc}.wc-auth .wc-auth-actions .button-primary{background:#ad6ea1;border-color:#a16696;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15);color:#fff;float:right;opacity:1;text-shadow:0 -1px 1px #8a4f7f,1px 0 1px #8a4f7f,0 1px 1px #8a4f7f,-1px 0 1px #8a4f7f}.wc-auth .wc-auth-actions .button-primary:focus,.wc-auth .wc-auth-actions .button-primary:hover{background:#b472a8;color:#fff}.wc-auth .wc-auth-actions .wc-auth-approve{float:right}.wc-auth .wc-auth-actions .wc-auth-deny{float:left;margin-left:-24px}
@@ -1,5 +1,3 @@
@import "variables";
body {
background: #f1f1f1;
box-shadow: none;
@@ -9,10 +7,9 @@ body {
#wc-logo {
border: 0;
margin: 33px 24px;
margin: 0 0 24px;
padding: 0;
text-align: center;
font-size: 0;
img {
max-width: 50%;
@@ -46,9 +43,9 @@ body {
}
a {
color: $primary;
color: #a16696;
&:hover, &:focus {
color: darken($primary, 40%);
color: #111;
}
}
@@ -129,16 +126,16 @@ body {
}
}
.button-primary {
background: $primary;
border-color: $primary;
box-shadow: 0 0 0;
background: #ad6ea1;
border-color: #a16696;
box-shadow: inset 0 1px 0 rgba( 255, 255, 255, 0.2 ), 0 1px 0 rgba( 0, 0, 0, 0.15 );
color: #fff;
float: right;
opacity: 1;
text-shadow: none;
text-shadow: 0 -1px 1px #8a4f7f, 1px 0 1px #8a4f7f, 0 1px 1px #8a4f7f, -1px 0 1px #8a4f7f;
&:hover, &:focus {
background: lighten($primary, 5%);
background: #b472a8;
color: #fff;
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -14,7 +14,13 @@ $gray-dark: darken($gray, 38%); //#2e4453
$gray-text: $gray-dark;
$gray-text-min: darken($gray, 18%); //#537994
$admin-theme-color: var(--wp-admin-theme-color);
$woo_pink1: #955a89;
$woo_pink2: #bb77ae;
$color_text_blue: #0073aa;
$color_button_primary: $woo_pink1;
$color_button_secondary: $woo_pink2;
/*------------------------------------------------------------------------------
Tab navigation
@@ -46,7 +52,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
.button:hover,
.button:focus,
.button:active {
background-color: $admin-theme-color;
background-color: $color_button_primary;
border-width: 0;
box-shadow: none;
border-radius: 3px;
@@ -73,6 +79,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
}
.wc-helper .subscription-filter {
color: #2e4453;
font-size: 13px;
line-height: 13px;
margin: 22px 0;
@@ -93,6 +100,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
}
li {
color: #0073aa;
display: inline-block;
padding: 0 4px 0 8px;
position: relative;
@@ -116,6 +124,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
}
a {
color: #0073aa;
text-decoration: none;
&.current {
@@ -306,6 +315,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
}
a {
color: #a26897;
cursor: pointer;
font-weight: 600;
line-height: 38px;
@@ -325,7 +335,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
}
&:hover {
background-color: $admin-theme-color;
background-color: #a26897;
color: #fff;
}
}
@@ -484,7 +494,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
}
.wp-list-table__ext-title {
color: $admin-theme-color;
color: $color_text_blue;
font-size: 18px;
font-weight: 600;
width: 60%;
@@ -787,7 +797,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
display: none;
&:hover {
color: $admin-theme-color;
color: $woo_pink1;
cursor: pointer;
}
}
@@ -846,7 +856,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
.start-container {
background-color: #fff;
border-left: 4px solid $admin-theme-color;
border-left: 4px solid #cc99c2;
padding: 45px 20px 20px 30px;
position: relative;
overflow: hidden;
@@ -858,7 +868,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
}
.start-container::before {
color: #e9e9e9;
color: #eee2ec;
content: "\e01C";
display: block;
font-family: WooCommerce;
@@ -934,7 +944,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
.form-toggle__switch {
align-self: flex-start;
background: #999;
background: lighten($gray, 20%);
border-radius: 12px;
box-sizing: border-box;
display: inline-block;
@@ -967,7 +977,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
}
.accessible-focus &:focus {
box-shadow: 0 0 0 2px $admin-theme-color;
box-shadow: 0 0 0 2px $woo_pink1;
}
@@ -978,7 +988,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
z-index: 1;
.form-toggle__label-content {
color: $gray-dark;
color: #87a6bc;
flex: 0 1 100%;
font-size: 13px;
line-height: 16px;
@@ -998,29 +1008,29 @@ $admin-theme-color: var(--wp-admin-theme-color);
.accessible-focus &:focus {
+ .form-toggle__label .form-toggle__switch {
box-shadow: 0 0 0 2px $admin-theme-color;
box-shadow: 0 0 0 2px $woo_pink1;
}
&:checked + .form-toggle__label .form-toggle__switch {
box-shadow: 0 0 0 2px $admin-theme-color;
box-shadow: 0 0 0 2px $woo_pink2;
}
}
& + .form-toggle__label .form-toggle__switch {
background: #999;
background: lighten($gray, 10%);
}
&:not(:disabled) {
+ .form-toggle__label:hover .form-toggle__switch {
background: #999;
background: lighten($gray, 20%);
}
}
&.active {
+ .form-toggle__label .form-toggle__switch {
background: $admin-theme-color;
background: $woo_pink1;
&::after {
left: 8px;
@@ -1028,7 +1038,7 @@ $admin-theme-color: var(--wp-admin-theme-color);
}
+ .form-toggle__label:hover .form-toggle__switch {
background: $admin-theme-color;
background: $woo_pink2;
}
}
@@ -1044,13 +1054,13 @@ $admin-theme-color: var(--wp-admin-theme-color);
.form-toggle.is-toggling {
+ .form-toggle__label .form-toggle__switch {
background: $admin-theme-color;
background: $woo_pink1;
}
&:checked {
+ .form-toggle__label .form-toggle__switch {
background: #999;
background: lighten($gray, 20%);
}
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -135,11 +135,12 @@ span.mce_woocommerce_shortcodes_button {
h1 {
margin: 2px 2px 0.5em;
padding: 0.75em 1.154em;
padding: 0.75em 1em;
line-height: 1.5em;
font-size: 1.6em;
font-size: 2em;
border-bottom: 1px solid #eee;
background: #e9e9e9;
color: #fff;
background: #96578a;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
text-shadow: none;
@@ -185,6 +186,25 @@ span.mce_woocommerce_shortcodes_button {
a.button-primary {
float: right;
background: #bb77ae;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
color: #fff;
text-shadow:
0 -1px 1px #a36597,
1px 0 1px #a36597,
0 1px 1px #a36597,
-1px 0 1px #a36597;
&:hover,
&:focus,
&:active {
background: #a36597;
border-color: #a36597;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.25),
0 1px 0 #a36597;
}
}
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,7 +1,5 @@
/* stylelint-disable no-descending-specificity */
@import "variables";
/* @deprecated 4.6.0 */
body {
margin: 65px auto 24px;
@@ -81,11 +79,11 @@ body {
}
a {
color: $primary;
color: #a16696;
&:hover,
&:focus {
color: darken($primary, 40%);
color: #111;
}
}
@@ -357,18 +355,18 @@ body {
a.button-primary {
color: #fff;
background-color: $primary;
border-color: $primary;
box-shadow: 0 0 0;
text-shadow: none;
background-color: #bb77ae;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
&:hover,
&:focus,
&:active {
color: #fff;
background: lighten($primary, 5%);
border-color: lighten($primary, 5%);
box-shadow: none;
background: #a36597;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
}
}
}
@@ -472,8 +470,8 @@ body {
}
input[type="checkbox"]:checked + label::before {
background: $primary;
border-color: $primary;
background: #935687;
border-color: #935687;
}
}
}
@@ -535,7 +533,7 @@ body {
line-height: 1.4;
a {
color: $primary;
color: #a16696;
text-decoration: none;
padding: 1.5em;
margin: -1.5em;
@@ -565,22 +563,22 @@ body {
}
li.active {
border-color: $primary;
color: $primary;
border-color: #a16696;
color: #a16696;
font-weight: 700;
&::before {
border-color: $primary;
border-color: #a16696;
}
}
li.done {
border-color: $primary;
color: $primary;
border-color: #a16696;
color: #a16696;
&::before {
border-color: $primary;
background: $primary;
border-color: #a16696;
background: #a16696;
}
}
}
@@ -593,19 +591,19 @@ body {
.wc-setup .wc-setup-actions .button-primary,
.woocommerce-tracker .button-primary {
background-color: $primary;
border-color: $primary;
box-shadow: 0 0 0;
text-shadow: none;
background-color: #bb77ae;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
margin: 0;
opacity: 1;
&:hover,
&:focus,
&:active {
background: lighten($primary, 5%);
border-color: lighten($primary, 5%);
box-shadow: 0 0 0;
background: #a36597;
border-color: #a36597;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
}
}
@@ -807,8 +805,8 @@ body {
.wc-wizard-service-toggle {
height: 16px;
width: 32px;
border: 2px solid $primary;
background-color: $primary;
border: 2px solid #935687;
background-color: #935687;
display: inline-block;
text-indent: -9999px;
border-radius: 10em;
@@ -1153,7 +1151,7 @@ h3.jetpack-reasons {
}
.plugin-install-source {
$background: rgba($primary, 0.15);
$background: rgba(#bb77ae, 0.15);
background: $background;
&:not(.wc-wizard-service-item) {
@@ -1491,7 +1489,7 @@ p.jetpack-terms {
margin-left: 4px;
&.recommended-item-icon-wc_admin {
background-color: $primary;
background-color: #7f54b3;
padding: 0.5em;
height: 2em;
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long