shopar-plugin
Version:
Plugin for the Web that seamlessly integrates into your webpage to create embedded virtual try-on and 3D preview capabilities.
82 lines • 1.61 kB
CSS
.shopar-btn-container {
position: absolute;
width: 100%;
bottom: 0;
padding-bottom: 2rem;
display: flex;
justify-content: center;
gap: 0.5rem;
}
.shopar-btn {
padding: 0.5rem 0.75rem;
display: flex;
justify-content: center;
align-items: center;
gap: 0.25rem;
background-color: #ffffff;
border: 1px solid #dddddd;
border-radius: 9999px;
cursor: pointer;
}
.shopar-btn:hover {
background-color: #f5f5f5;
}
.shopar-loading-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
background-color: #ffffff;
}
.shopar-loading-text {
text-align: center;
}
.shopar-loading-bar-bg {
width: 80%;
height: 0.5rem;
background-color: #e5e7eb;
border-radius: 9999px;
}
.shopar-loading-bar-fg {
background-color: #1434f7;
border-radius: 9999px;
transition: none;
transform: translateX(-100%);
will-change: transform;
}
.shopar-loading-bar-fg.active {
transition: transform 5000ms cubic-bezier(0,0,.2,1);
transform: none;
}
.shopar-qr {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #ffffff;
}
.shopar-ar-prompt {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
background-color: #1e293bb2;
transition: 0.3s ease-in-out opacity;
}
.shopar-ar-prompt-text {
text-align: center;
color: white;
}
.shopar-ar-prompt-img {
max-width: 80%;
max-height: 50%;
object-fit: contain;
}
.shopar-3d {
background-color: #ffffff;
}
.shopar-3d-poster {
background-color: #ffffff;
}