mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add styles for button
This commit is contained in:
parent
c5aaa96f15
commit
e452b44a3b
1 changed files with 14 additions and 16 deletions
|
@ -1,34 +1,32 @@
|
|||
#btn-appl {
|
||||
#apple-applepay-container {
|
||||
--apple-pay-button-height: 45px;
|
||||
--apple-pay-button-min-height: 40px;
|
||||
--apple-pay-button-width: 100%;
|
||||
--apple-pay-button-height: 100%;
|
||||
--apple-pay-button-border-radius: 4px;
|
||||
--apple-pay-button-overflow: hidden;
|
||||
}
|
||||
#applepay-container {
|
||||
//margin-top: 5px;
|
||||
//overflow: hidden;
|
||||
//height: 45px;
|
||||
|
||||
--apple-pay-button-margin:7px 0;
|
||||
&.ppcp-button-pill {
|
||||
//border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
&.ppcp-button-minicart {
|
||||
display: block;
|
||||
height: 40px;
|
||||
--apple-pay-button-display: block;
|
||||
--apple-pay-button-height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-checkout {
|
||||
#applepay-container {
|
||||
//margin-top: 0;
|
||||
//border-radius: 18px;
|
||||
//height: 38px;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
#apple-applepay-container {
|
||||
--apple-pay-button-border-radius: 4px;
|
||||
--apple-pay-button-height: 45px;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout {
|
||||
#applepay-container {
|
||||
margin-top: 0;
|
||||
#apple-applepay-container {
|
||||
--apple-pay-button-margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue