mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Merge pull request #3078 from woocommerce/PCP-4138-confirmation-message-after-saving-settings
Confirmation message after saving settings (4138)
This commit is contained in:
commit
b1adebdfe6
13 changed files with 239 additions and 101 deletions
|
@ -132,4 +132,33 @@ $margin_bottom: 48px;
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ppcp-r-navbar-notice {
|
||||
// Theming.
|
||||
background: var(--navbar-notice-background);
|
||||
color: var(--navbar-notice-color);
|
||||
|
||||
// Animation.
|
||||
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
|
||||
opacity: 0;
|
||||
transform: translateY(-10px);
|
||||
|
||||
&.ppcp--animating {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
// Styling.
|
||||
position: absolute;
|
||||
top: 48px;
|
||||
right: 0;
|
||||
white-space: nowrap;
|
||||
padding: 6px 12px;
|
||||
border-radius: 3px;
|
||||
|
||||
&.ppcp--success {
|
||||
--navbar-notice-background: var(--color-success-background);
|
||||
--navbar-notice-color: var(--color-success-text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue