Shipping Settings: Handle theme colors (#41054)
* Fix primary btns colors * go back to var(--wp-admin-theme-color) * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
8329991262
commit
6021e78cdc
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
Comment: Fixes unreleased issue with theme colors
|
||||
|
|
@ -4036,23 +4036,6 @@ table.wc_shipping {
|
|||
line-height: 16px;
|
||||
color: #1e1e1e;
|
||||
|
||||
.button-primary,
|
||||
.button-primary:hover,
|
||||
.button-primary:focus {
|
||||
background-color: #3858E9;
|
||||
border-radius: 2px;
|
||||
color: #FFFFFF;
|
||||
border-color: #3858e9
|
||||
}
|
||||
.button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858E9;
|
||||
}
|
||||
.button-primary.disabled {
|
||||
background-color: #3858E9 !important;
|
||||
border-color: #3858E9 !important;
|
||||
color: #8494EC !important;
|
||||
}
|
||||
|
||||
&.wc-backbone-modal .wc-backbone-modal-content {
|
||||
border-radius: 8px;
|
||||
border-top: 8px solid transparent;
|
||||
|
@ -4143,7 +4126,7 @@ table.wc_shipping {
|
|||
width: 1px;
|
||||
|
||||
&:checked + label {
|
||||
outline: 2px solid #3858E9;
|
||||
outline: 2px solid var(--wp-admin-theme-color);
|
||||
|
||||
.dashicons-yes {
|
||||
display: block;
|
||||
|
@ -4346,8 +4329,9 @@ table {
|
|||
|
||||
.wc-shipping-zones-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.page-title-action {
|
||||
.button-primary {
|
||||
display: inline-block;
|
||||
margin: 0 12px;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
|
||||
<h2 class="wc-shipping-zones-heading">
|
||||
<span><?php esc_html_e( 'Shipping classes', 'woocommerce' ); ?></span>
|
||||
<a class="button button-primary wc-shipping-class-add-new page-title-action" href="#"><?php esc_html_e( 'Add shipping class', 'woocommerce' ); ?></a>
|
||||
<a class="button button-primary wc-shipping-class-add-new" href="#"><?php esc_html_e( 'Add shipping class', 'woocommerce' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<p class="wc-shipping-zone-help-text">
|
||||
|
|
|
@ -6,7 +6,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
|
||||
<h2 class="wc-shipping-zones-heading">
|
||||
<span><?php esc_html_e( 'Shipping zones', 'woocommerce' ); ?></span>
|
||||
<a href="<?php echo esc_url( admin_url( 'admin.php?page=wc-settings&tab=shipping&zone_id=new' ) ); ?>" class="page-title-action button-primary"><?php esc_html_e( 'Add zone', 'woocommerce' ); ?></a>
|
||||
<a href="<?php echo esc_url( admin_url( 'admin.php?page=wc-settings&tab=shipping&zone_id=new' ) ); ?>" class="button-primary"><?php esc_html_e( 'Add zone', 'woocommerce' ); ?></a>
|
||||
</h2>
|
||||
<p class="wc-shipping-zone-heading-help-text"><?php echo esc_html_e( 'A shipping zone consists of one or more regions you\'d like to ship to and the shipping method(s) offered. We\'ll use your customer\'s shipping address to show them available shipping methods in their area.', 'woocommerce' ) . ' ' . esc_html_e( 'WooCommerce will match a customer to a single zone using their shipping address and present the shipping methods within that zone to them.', 'woocommerce' ); ?></p>
|
||||
<table class="wc-shipping-zones widefat">
|
||||
|
|
Loading…
Reference in New Issue