init
This commit is contained in:
@@ -0,0 +1,155 @@
|
||||
.esun-interactive-cards-preview {
|
||||
padding: 14px;
|
||||
background: #f4f5f5;
|
||||
}
|
||||
|
||||
.esun-interactive-cards-preview__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin: 0 0 12px;
|
||||
color: #303030;
|
||||
}
|
||||
|
||||
.esun-interactive-cards-preview__meta span {
|
||||
color: #687078;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.esun-interactive-cards-preview__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
.esun-interactive-cards-preview__grid[data-desktop-columns="2"] {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.esun-interactive-cards-preview__grid[data-desktop-columns="4"] {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.esun-interactive-cards-preview__empty {
|
||||
padding: 28px;
|
||||
border: 1px dashed #adadad;
|
||||
color: #666;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.esun-interactive-card-preview {
|
||||
position: relative;
|
||||
min-height: 180px;
|
||||
/* overflow: hidden; */
|
||||
border-radius: 8px;
|
||||
background: #dfe3e4;
|
||||
}
|
||||
|
||||
.esun-interactive-card-preview__media {
|
||||
height: 145px;
|
||||
overflow: hidden;
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
.esun-interactive-card-preview__image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.esun-interactive-card-preview__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
padding: 10px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.esun-interactive-card-preview__body strong,
|
||||
.esun-interactive-card-preview__body span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.esun-interactive-card-preview__body small {
|
||||
color: #138d50;
|
||||
}
|
||||
|
||||
.esun-product-cards-preview {
|
||||
padding: 14px;
|
||||
background: #f4f5f5;
|
||||
}
|
||||
|
||||
.esun-product-cards-preview__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.esun-product-cards-preview__meta span {
|
||||
color: #687078;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.esun-product-cards-preview__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
.esun-product-cards-preview__grid[data-desktop-columns="2"] {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.esun-product-cards-preview__grid[data-desktop-columns="4"] {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.esun-product-cards-preview__empty {
|
||||
padding: 28px;
|
||||
border: 1px dashed #adadad;
|
||||
color: #666;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.esun-product-card-preview {
|
||||
min-width: 0;
|
||||
/* overflow: hidden; */
|
||||
border: 1px solid #d9ebe1;
|
||||
border-radius: 12px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.esun-product-card-preview__handle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
aspect-ratio: 1.4 / 1;
|
||||
padding: 12px;
|
||||
color: #7b8580;
|
||||
background: linear-gradient(135deg, #fff, #eef8f2);
|
||||
text-align: center;
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
.esun-product-card-preview__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.esun-product-card-preview__body strong,
|
||||
.esun-product-card-preview__body small {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.esun-product-card-preview__body small {
|
||||
color: #138d50;
|
||||
}
|
||||
Reference in New Issue
Block a user