mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
✨ Add scroll-effect (shadow) to header bar
This commit is contained in:
parent
0f992dbe3b
commit
841a98e009
3 changed files with 57 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
box-shadow: 0 -1px 0 0 $color-gray-300 inset;
|
||||
background: var(--ppcp-color-app-bg);
|
||||
transition: box-shadow 0.3s;
|
||||
|
||||
--wp-components-color-accent: #{$color-blueberry};
|
||||
--color-text: #{$color-gray-900};
|
||||
|
@ -78,6 +79,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.is-scrolled {
|
||||
box-shadow: 0 -1px 0 0 $color-gray-300 inset, 0 8px 8px 0 rgba(85,93,102,.3);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
padding: 24px 35px;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue