style changes for novo
This commit is contained in:
@@ -76,9 +76,8 @@
|
|||||||
<div class="novo-category-info">
|
<div class="novo-category-info">
|
||||||
<h3>{{ categoryName(category) }}</h3>
|
<h3>{{ categoryName(category) }}</h3>
|
||||||
@if (getItemCount(category.categoryID)) {
|
@if (getItemCount(category.categoryID)) {
|
||||||
<span class="novo-category-count">{{ getItemCount(category.categoryID) }}</span>
|
<p class="novo-category-count">{{ 'home.itemsCount' | translate:{ count: getItemCount(category.categoryID) } }}</p>
|
||||||
}
|
}
|
||||||
<span class="novo-category-arrow">→</span>
|
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -298,8 +298,8 @@
|
|||||||
.novo-category-info {
|
.novo-category-info {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: flex-start;
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
@@ -309,16 +309,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.novo-category-count {
|
.novo-category-count {
|
||||||
font-size: 0.85rem;
|
font-weight: 600;
|
||||||
color: var(--text-secondary, #888);
|
font-size: clamp(11px, 1vw, 13px);
|
||||||
margin-left: auto;
|
color: var(--text-secondary);
|
||||||
margin-right: 0.75rem;
|
margin: 4px 0 0;
|
||||||
}
|
line-height: 1.2;
|
||||||
|
|
||||||
.novo-category-arrow {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
color: var(--primary-color);
|
|
||||||
transition: transform 0.3s;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user