mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
💄 Improve visual hint for settings-reset toggle
This commit is contained in:
parent
769234ca15
commit
f7b2f97b89
2 changed files with 9 additions and 3 deletions
|
@ -2,12 +2,18 @@
|
|||
* Modal for disconnecting the merchant from the current PayPal account.
|
||||
*/
|
||||
.ppcp--modal-disconnect {
|
||||
.ppcp--toggle-danger {
|
||||
--wp-components-color-accent: #cc1818
|
||||
.ppcp--toggle-danger .components-form-toggle {
|
||||
&.is-checked {
|
||||
--wp-components-color-accent: #cc1818;
|
||||
}
|
||||
}
|
||||
|
||||
.ppcp--action-buttons {
|
||||
text-align: right;
|
||||
margin-top: 32px;
|
||||
|
||||
.components-button {
|
||||
transition: background 0.3s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ const DisconnectButton = () => {
|
|||
</Button>
|
||||
<Button
|
||||
variant="primary"
|
||||
isDestructive={ true }
|
||||
isDestructive={ resetFlag }
|
||||
onClick={ handleConfirm }
|
||||
>
|
||||
{ __(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue