Files
menui_web/src/styles/DishList.scss
2020-10-25 14:12:53 +01:00

70 lines
1.1 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: 1rem;
margin: auto;
}
p {
margin-left: auto;
color: $gray;
}
}
.carddish-left-info {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.carddish-right {
display: flex;
flex-direction: column;
margin-right: 1rem;
align-items: flex-end;
justify-content: space-between;
h5 {
font-weight: 500;
font-size: 1rem;
margin-top: 4px;
}
}