better managing

This commit is contained in:
Víctor Losada Hernández
2026-10-06 22:48:28 +02:00
parent 95f18df490
commit aa4ae35791
@@ -1,6 +1,7 @@
@import '@sharedStyles/core.less'; @import '@sharedStyles/core.less';
@import '@themes/assets/assets.less'; @import '@themes/assets/assets.less';
@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');
.brewItem { .brewItem {
--bg-clr : #EEE; --bg-clr : #EEE;
--bg-image : @backgroundImageAlt; --bg-image : @backgroundImageAlt;
@@ -201,7 +202,7 @@
opacity:1; opacity:1;
} }
.text { .text {
filter : drop-shadow(0 1px 4px white); filter : drop-shadow(0 1px 4px var(--text-shadow-clr));
h2 { font-weight : 900; } h2 { font-weight : 900; }
.description { .description {
height : 0; height : 0;
@@ -346,16 +347,13 @@
} }
} }
@media screen and (max-width : 1200px) { @media screen and (max-width : 1200px) {
.brewCollection .brewGroup { .brewCollection .brewGroup .list {
&.list {
.brewItem:not(.detailsOpen) { .brewItem:not(.detailsOpen) {
grid-template-columns : 35% 3fr 150px; grid-template-columns : 35% 3fr 150px;
.info { .info {
grid-template-areas : 'tags storage'; grid-template-areas : 'tags storage';
grid-template-columns : 1fr 20px; grid-template-columns : 1fr 20px;
} }
.brewPages,
.lastViewed,
.brewAuthors, .brewAuthors,
.lastUpdated { display : none; } .lastUpdated { display : none; }
} }
@@ -373,22 +371,16 @@
max-width : 120px; max-width : 120px;
} }
} }
}
} }
} }
@media screen and (max-width : 800px) { @media screen and (max-width : 800px) {
.brewCollection .brewGroup { .brewCollection .brewGroup .list {
&.list {
.brewItem:not(.detailsOpen) { .brewItem:not(.detailsOpen) {
.info { .info {
grid-template-areas : 'tags'; grid-template-areas : 'tags';
grid-template-columns : 1fr; grid-template-columns : 1fr;
width : clamp(200px, 100%, 650px); width : clamp(200px, 100%, 650px);
} }
.brewPages,
.lastViewed,
.brewAuthors,
.lastUpdated,
.storage { display : none; } .storage { display : none; }
} }
.brewItem { .brewItem {
@@ -432,13 +424,11 @@
a, a,
button { margin : 0; } button { margin : 0; }
} }
} }
}
} }
} }
@media screen and (max-width : 650px) { @media screen and (max-width : 650px) {
.brewCollection .brewGroup { .brewCollection .brewGroup .list {
&.list {
.brewItem:not(.detailsOpen) { .brewItem:not(.detailsOpen) {
grid-template-columns : 3fr 2fr; grid-template-columns : 3fr 2fr;
.info { display : none; } .info { display : none; }
@@ -451,6 +441,5 @@
} }
} }
} }
}
} }
} }