Update CSS
All checks were successful
Build and Push Docker Image / build (push) Successful in 53s

This commit is contained in:
2026-06-10 21:34:59 +02:00
parent 778d15d734
commit 373cc15e4d
4 changed files with 21 additions and 5 deletions

View File

@@ -265,9 +265,10 @@ aside {
.item-card-favorite-button { .item-card-favorite-button {
width: 16px; width: 16px;
height: 16px; height: 16px;
box-sizing: border-box;
border: 0; border: 0;
background: transparent; background: transparent;
padding: 0; padding: 2px;
color: #63768d; color: #63768d;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
@@ -283,8 +284,11 @@ aside {
} }
.item-card-favorite-button svg { .item-card-favorite-button svg {
width: 18px; width: 12px;
height: 18px; height: 12px;
max-width: 100%;
max-height: 100%;
transform: translateY(2px);
} }
.item-card-favorite-button.is-active { .item-card-favorite-button.is-active {

View File

@@ -504,6 +504,12 @@
background: #d9d9d9; background: #d9d9d9;
} }
.product-actions .bi-heart {
box-sizing: border-box;
padding: 2px;
transform: translateY(2px);
}
.product-1 { .product-1 {
grid-column: 1; grid-column: 1;
grid-row: 1 / 7; grid-row: 1 / 7;

View File

@@ -61,7 +61,7 @@
:root { :root {
--font-logo: 'BerlinType', serif; --font-logo: 'BerlinType', serif;
--font-content: 'Noah', sans-serif; --font-content: 'Inter', sans-serif;
--font-accent: 'Inter', sans-serif; --font-accent: 'Inter', sans-serif;
--dark: #36213e; --dark: #36213e;
--mid: #554971; --mid: #554971;
@@ -426,6 +426,12 @@ header {
height: 28px; height: 28px;
} }
.header-icons .bi-heart {
box-sizing: border-box;
padding: 2px;
transform: translateY(2px);
}
.nav-bar { .nav-bar {
display: flex; display: flex;
align-items: center; align-items: center;

View File

@@ -82,7 +82,7 @@
<div class="header-icons"> <div class="header-icons">
<a href="{% if request.user.is_authenticated %}{% url 'favorites:index' %}{% else %}{% url 'users:login' %}{% endif %}" <a href="{% if request.user.is_authenticated %}{% url 'favorites:index' %}{% else %}{% url 'users:login' %}{% endif %}"
aria-label="Избранное"> aria-label="Избранное">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor"
class="bi bi-heart" viewBox="0 0 16 16"> class="bi bi-heart" viewBox="0 0 16 16">
<path d="m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143q.09.083.176.171a3 3 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15"></path> <path d="m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143q.09.083.176.171a3 3 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15"></path>
</svg> </svg>