Files
menui_web/src/styles/DishList.scss

89 lines
1.3 KiB
SCSS

.dishlist-container {
}
h4 {
font-weight: 400;
margin-left: 1rem;
}
.carddish-container {
background-color: #303030;
border-radius: 12px;
margin: 2px auto 2px auto;
padding: 8px;
display: flex;
justify-content: space-between;
width: 95%;
cursor: pointer;
transition: all 0.2s;
h2 {
font-weight: 500;
color: $main-color;
margin-top: 1rem;
}
&:hover {
background-color: #3a3a3a;
}
}
.carddish-img {
background-color: $secondary-color;
background-size: cover;
background-position: center;
width: 120px;
height: 120px;
border-radius: 12px;
margin: 0px 14px 0px 0px;
}
.carddish-left {
display: flex;
h2 {
font-size: 16px;
font-weight: 500;
margin: auto;
}
p {
font-size: 13px;
font-weight: 500;
margin-left: auto;
color: $gray;
}
}
.carddish-left-info {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.carddish-left-middle {
margin-top: 8px;
p {
margin: auto;
margin-bottom: 3px;
}
}
.carddish-right {
display: flex;
flex-direction: column;
margin-right: 5px;
align-items: flex-end;
justify-content: space-between;
h5 {
font-weight: 500;
font-size: 14px;
margin-top: 4px;
}
}
.carddish-prices-multi {
text-align: end;
h5 {
margin-top: 0;
margin-bottom: 4px;
}
}