You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
2.1 KiB
100 lines
2.1 KiB
/*postcss-pxtransform disable*/
|
|
.shop {
|
|
position: relative;
|
|
font-size: 0;
|
|
line-height: 0;
|
|
overflow: hidden;
|
|
background: var(--brand-background);
|
|
border-radius: 6px;
|
|
.active {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(99.5deg, #f0b92b 0%, #f9d556 100%);
|
|
.avatar {
|
|
display: block;
|
|
width: 100%;
|
|
height: calc((100vw - 55px) / 4);
|
|
padding: 8px;
|
|
background: #ffffff;
|
|
box-sizing: border-box;
|
|
border-radius: 4px;
|
|
}
|
|
.r1 {
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
}
|
|
&.is-row {
|
|
position: relative;
|
|
height: 80px;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
border-radius: 12px;
|
|
.rowRight {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 0;
|
|
bottom: 0;
|
|
margin: auto;
|
|
width: 56px;
|
|
height: 44px;
|
|
background: center / cover no-repeat url(./rowRight.png);
|
|
}
|
|
.avatar {
|
|
position: absolute;
|
|
width: 64px;
|
|
height: 64px;
|
|
top: 8px;
|
|
left: 8px;
|
|
box-sizing: border-box;
|
|
border-radius: 6px;
|
|
}
|
|
.name {
|
|
position: absolute;
|
|
top: 14px;
|
|
left: 92px;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
.meta {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 49px;
|
|
left: 92px;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
line-height: 17px;
|
|
color: rgba(0, 0, 0, 0.4);
|
|
align-items: center;
|
|
.sep {
|
|
display: inline-block;
|
|
margin: 0 12px;
|
|
width: 1px;
|
|
height: 10px;
|
|
background: rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
}
|
|
.avatar {
|
|
display: block;
|
|
width: 100%;
|
|
height: calc((100vw - 55px) / 4);
|
|
padding: 8px;
|
|
background: #ffffff;
|
|
box-sizing: border-box;
|
|
border-radius: 4px;
|
|
}
|
|
.r1 {
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
line-height: 25px;
|
|
padding: 0 6px;
|
|
color: var(--brand-color, rgba(0, 0, 0, 0.8));
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
|