116 lines
1.9 KiB
CSS
116 lines
1.9 KiB
CSS
.page-title {
|
|
font-size: 17px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
text-align: center;
|
|
padding: 24px 0 20px;
|
|
}
|
|
|
|
.product-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 12px;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.product-card {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
border: 1px solid #E5E5E5;
|
|
padding: 12px;
|
|
padding-bottom: 16px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.product-card.selected {
|
|
border-color: #07C160;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.product-card .checkbox {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.product-card .checkbox img {
|
|
width: 20px;
|
|
height: 20px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.product-card .checkbox .checked {
|
|
display: none;
|
|
}
|
|
|
|
.product-card.selected .checkbox .unchecked {
|
|
display: none;
|
|
}
|
|
|
|
.product-card.selected .checkbox .checked {
|
|
display: block;
|
|
}
|
|
|
|
.product-image {
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.product-image img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.product-name {
|
|
font-size: 14px;
|
|
color: #333;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.user-avatar {
|
|
position: fixed;
|
|
right: 16px;
|
|
bottom: 100px;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
background: #fff;
|
|
}
|
|
|
|
.user-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.bottom-section {
|
|
position: fixed;
|
|
bottom: 34px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 100%;
|
|
max-width: 375px;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.bottom-section .green-btn {
|
|
border-radius: 8px;
|
|
}
|