Feat/controllers - refactor entire backend and new admin interface #75

Merged
KevinMidboe merged 117 commits from feat/controllers into master 2021-02-19 00:19:52 +00:00
Showing only changes of commit a37c08880c - Show all commits

View File

@@ -140,16 +140,11 @@ export default {
justify-content: space-between; justify-content: space-between;
} }
.wine-container { .requested-count {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 2rem;
.requested-count {
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: -0.5rem; margin-top: -0.5rem;
background-color: rgb(244,244,244); background-color: rgb(244, 244, 244);
border-radius: 1.1rem; border-radius: 1.1rem;
padding: 0.25rem 1rem; padding: 0.25rem 1rem;
font-size: 1.25em; font-size: 1.25em;
@@ -158,13 +153,48 @@ export default {
padding-right: 0.5rem; padding-right: 0.5rem;
line-height: 1.25em; line-height: 1.25em;
} }
.icon--heart{ .icon--heart {
font-size: 1.5rem; font-size: 1.5rem;
color: $link-color; color: var(--link-color);
}
} }
} }
// Call for help
.wines-container {
@media (max-width: 1643px) {
*:nth-child(n + 7) {
display: none;
}
}
@media (max-width: 2066px) {
*:nth-child(n + 9) {
display: none;
}
}
@media (max-width: 2490px) {
*:nth-child(n + 11) {
display: none;
}
}
@media (max-width: 2915px) {
*:nth-child(n + 13) {
display: none;
}
}
@media (max-width: 3335px) {
*:nth-child(n + 15) {
display: none;
}
}
@media (max-width: 3758px) {
*:nth-child(n + 17) {
display: none;
}
}
}
</style> </style>