You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/sass/client-custom/_lives.scss

105 lines
2.3 KiB
SCSS

@keyframes rotate-z {
from {
transform: rotateZ(0deg);
}
to {
transform: rotateZ(360deg);
}
}
#live-card-modal {
display: none;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: #ffffff11;
backdrop-filter: blur(7px);
z-index: 9999;
#live-card-container {
background: var(--xshop-background);
width: 300px;
padding: 1rem;
height: 100vh;
overflow-y: auto;
max-width: 85%;
#live-card-list {
margin: 0;
list-style: none;
padding: 1rem 0;
li {
border-radius: var(--xshop-border-radius);
border: 1px solid var(--xshop-text);
margin-bottom: .5rem;
.product-card-item {
padding: 5px;
display: grid;
grid-template-columns: 4fr 8fr;
grid-gap: 5px;
img {
width: 100%;
height: 75px;
object-fit: cover;
border-radius: var(--xshop-border-radius);
}
h3 {
font-size: 18px;
margin: .5rem 0;
}
}
}
}
}
}
#live-search-content {
display: none;
background: var(--xshop-background);
padding: 1rem ;
position: absolute;
z-index: 9999;
top: 50px;
left: 0;
border-radius: var(--xshop-border-radius);
li {
list-style: none;
border-radius: var(--xshop-border-radius);
border: 1px solid var(--xshop-text);
margin-bottom: .5rem;
.product-search-item {
padding: 5px;
display: grid;
grid-template-columns: 4fr 8fr;
grid-gap: 5px;
img {
width: 100%;
height: 75px;
object-fit: cover;
border-radius: var(--xshop-border-radius);
}
h3 {
font-size: 18px;
margin: .5rem 0;
}
}
}
#search-ajax-loader{
animation: rotate-z 1s linear infinite;
display: none;
font-size: 45px;
}
}