add Header for cart page

This commit is contained in:
2025-10-06 01:45:23 +03:00
parent b385d40913
commit 7dd0857ea3
9 changed files with 162 additions and 337 deletions

View File

@@ -1,3 +1,44 @@
.header-nav {
padding: 0 1rem;
background: #fff;
backdrop-filter: blur(10px);
display: flex;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 1;
gap: 4px;
transition: all 0.25s;
height: 8vh;
}
.user-icon {
font-size: 16px;
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
background: var(--primary-light);
}
.user-profile-image {
border-radius: 12px;
object-fit: cover;
border: 2px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
position: relative;
top: -20px;
}
:where(.darkApp) .user-profile-image {
border: 2px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.trigger {
padding: 0 8px;
font-size: 18px;
@@ -64,3 +105,11 @@
right: 30px !important;
width: 32px;
}
:where(.darkApp) .header-nav {
background: var(--primary-dark);
}
:where(.darkApp) .user-icon {
background: var(--primary-dark);
}