Initial version

This commit is contained in:
2018-11-18 19:59:47 +05:30
commit d0217cd938
35 changed files with 24379 additions and 0 deletions
+91
View File
@@ -0,0 +1,91 @@
.recipe-card {
height: 360px;
margin: 12px 0;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);
border-radius: 4px;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.recipe-card-top {
width: 100%;
height: 240px;
}
.recipe-card-bottom {
padding: 8px;
padding-right: 16px;
height: 120px;
}
.recipe-card-image {
width: 100%;
height: 100%;
object-fit: cover;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.recipe-card-desc {
height: 60%;
display: flex;
flex-direction: row;
align-items: center;
}
.recipe-card-tags {
height: 25%;
}
.recipe-card-logo-wrapper {
width: 25%;
height: 100%;
}
.recipe-card-logo {
width: 100%;
height: 100%;
object-fit: contain;
}
.recipe-card-title-container {
flex-grow: 1;
display: flex;
flex-direction: column;
align-content: space-between;
}
.recipe-card-title {
text-align: left;
padding-left: 8px;
font-size: 22px;
font-weight: bold;
}
.recipe-card-price {
text-align: right;
}
.recipe-card-price-number {
color: #2d96d6;
font-size: 16px;
}
.recipe-card-price-suffix {
font-size: 10px;
}
.recipe-card-tags {
display: inline-flex;
flex-direction: row;
height: 40px;
}
.recipe-card-tag {
margin: 0 16px;
margin-top: 4px;
padding: 4px 8px;
border-radius: 4px;
background-color: darkgray;
}