80 lines
1.2 KiB
SCSS
80 lines
1.2 KiB
SCSS
@use '../../../styles/variables' as *;
|
|
|
|
.cart-drawer {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
max-height: 75%;
|
|
background: $card;
|
|
border-radius: 28px 28px 0 0;
|
|
z-index: 210;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.10);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cart-drawer__handle {
|
|
width: 36px;
|
|
height: 4px;
|
|
border-radius: 2px;
|
|
background: $text-5;
|
|
margin: 10px auto 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.cart-drawer__scroll {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
max-height: 60vh;
|
|
}
|
|
|
|
.cart-drawer__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 4px 20px 14px;
|
|
}
|
|
|
|
.cart-drawer__header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.cart-drawer__header-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 8px;
|
|
background: $primary-light;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.cart-drawer__icon-text {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.cart-drawer__title {
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
color: $text-1;
|
|
}
|
|
|
|
.cart-drawer__count {
|
|
font-size: 12px;
|
|
color: $text-4;
|
|
font-weight: 500;
|
|
background: $border;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.cart-drawer__clear {
|
|
font-size: 13px;
|
|
color: $text-4;
|
|
padding: 8px 0;
|
|
}
|