Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
3.7 kB
2
Indexable
Never
.eg-payment-container{
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 70px;
    background: #ffffff;
    z-index: 9;
}
html body .cart-summary .eg-payment-container .eg-payment-inr .item {
    margin-bottom: 0px !important;
    display: flex !important;
    flex-direction: column;
}
.eg-payment-container .eg-payment-inr {
    list-style: none;
    padding: 20px;
    margin-bottom: 0px;
}

@media screen  and (max-width:1024px){
    main .eg-payment-container{
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 59px;
        background: #ffffff;
        z-index: 9;
    }
    main .eg-payment-container .eg-payment-inr{
        margin: 10px 0 0;
        margin-left: -15px;
        margin-right: -15px;
        padding: 8px 15px;
        text-align: center;
    }
    main .eg-payment-container .eg-payment-inr .item {
        margin-bottom: 0px;
    }
    body main .eg-payment-container .eg-payment-inr .action.primary.checkout {
        font-size: 1.8rem;
        font-weight: 400;
        line-height: 1.2;
        height: auto;
        padding: 10px 15px;
        border-radius: 0 !important;
        width: 100%;
    }
    body main .eg-payment-container .eg-payment-inr > .item{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    body main .eg-payment-container .eg-payment-inr > .item{
        margin-bottom: 0;
    }
    body main .eg-payment-container .eg-payment-inr .afterpay-container-express-checkout {
        width: 100% !important;
        height: 45px;
        float: left;
    }
    body main .eg-payment-container .eg-payment-inr .afterpay-container-express-checkout .afterpay-express-button,  .braintree-applepay-minicart .braintree-apple-pay-button {
        padding: 0;
        width: 100%;
        height: 45px;
        line-height: 45px;
        border-radius: 0 !important;
        margin: 0;
        background-color: #000;
        border: none;
        border-radius:none;
    }
    body main .eg-payment-container .eg-payment-inr .afterpay-container-express-checkout .afterpay-express-button img {
        display: block;
        max-width: 288px;
        width: 100%;
        margin: auto;
    }
    body.checkout-cart-index main .eg-payment-container .eg-payment-inr .braintree-paypal-btn {
        width: 100%;
        height: 45px;
        margin-top: 0px;
    }
    body.checkout-cart-index main .eg-payment-container .eg-payment-inr #braintree_paypal_placeholder, 
    body.checkout-cart-index main .eg-payment-container .eg-payment-inr .braintree-paypal-btn {
        background-image: url('https://www.snakeriverfarms.com/static/version1693279691/frontend/Folio3/agribeef/en_US/images/button--paypal.svg');
        background-size: auto 22px;
        float: left;
        margin-top: 2px;
    }
    body.checkout-cart-index main .eg-payment-container .eg-payment-inr .braintree-applepay-minicart {
        order: -2;
        width: 100%;
    }
}
@media only screen and (min-width: 1025px){

    body.checkout-cart-index .eg-payment-container .eg-payment-inr .afterpay-container-express-checkout {
        margin-top: 0px !important;
        width: 100%;
    }
}

body.checkout-cart-index main .eg-payment-container .eg-payment-inr .braintree-paypal-btn {
    order: -1;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

body.checkout-cart-index main .eg-payment-container .eg-payment-inr .braintree-applepay-minicart {
    order: -2;
}

body.checkout-cart-index main .eg-payment-container .eg-payment-inr .braintree-applepay-minicart .braintree-apple-pay-button{	
    border-radius: 0 !important;	
    border: none;	
}