@expresta/sdk
Version:
A lightweight JS SDK for embedding Expresta's order button into websites using HTML or JavaScript.
66 lines (59 loc) • 1.54 kB
CSS
/**
* ============================================
* Expresta Order Button JS SDK
* ============================================
*
* Description:
* This SDK provides a customizable JavaScript integration
* for embedding a dynamic "Order Now" button into third-party
* websites or applications.
*
* Usage:
* <script src="https://cdn.expresta.com/sdk/js/buttons.js"></script>
* <div class="expresta-order-button"></div>
*
* Initialization (auto or manual) will render the button
* and bind it to your order workflow.
*
* Author: Expresta Collective
* Copyright © 2025 Expresta s.r.o.
* All rights reserved.
* This software is proprietary and confidential.
* Unauthorized copying, modification, distribution, or misuse is strictly prohibited.
*/
.expresta-order-link {
border-radius: 5px;
padding: 10px 11px;
box-shadow: 0 0 8px 0 #00000059;
display: inline-flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: #333333;
font-family: Arial, Helvetica, sans-serif;;
font-weight: 700;
font-size: 15px;
line-height: 22px;
text-align: center;
text-transform: uppercase;
}
.expresta-order-link:hover {
color: #333333;
}
.expresta-order-link span {
display: flex;
align-items: center;
}
.expresta-order-link.dark {
background-color: #3EA600;
color: white;
}
.expresta-order-link.light {
background-color: #ffffff;
}
.expresta-order-link svg {
margin-left: 8px;
}
.expresta-order-link.dark svg path{
fill: white;
}