updateweb
This commit is contained in:
@@ -391,136 +391,10 @@ p {
|
||||
}
|
||||
|
||||
/* ====================================
|
||||
Navigation Bar
|
||||
Navigation Bar - See navbar.css for modern navbar styles
|
||||
==================================== */
|
||||
.navbar {
|
||||
background-color: var(--bg-color);
|
||||
box-shadow: var(--shadow-sm);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.navbar-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 1rem 2rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-brand {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.nav-brand a {
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.logo-image {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.nav-brand h1 {
|
||||
font-size: 1.8rem;
|
||||
color: var(--primary-color);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.nav-center {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
display: flex;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.nav-center .nav-menu {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.nav-menu {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
align-items: center;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nav-menu li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nav-menu a {
|
||||
color: var(--text-color);
|
||||
font-weight: 500;
|
||||
transition: var(--transition);
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
text-decoration: none;
|
||||
padding: 0.5rem 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.nav-menu a:hover,
|
||||
.nav-menu a.active {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.nav-menu a.active::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.nav-icons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
position: relative;
|
||||
color: var(--text-color);
|
||||
font-size: 1.5rem;
|
||||
transition: var(--transition);
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.nav-icon:hover {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.nav-icon .badge {
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
right: -8px;
|
||||
background-color: var(--primary-color);
|
||||
color: white;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 600;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
min-width: 18px;
|
||||
text-align: center;
|
||||
line-height: 1;
|
||||
display: none;
|
||||
}
|
||||
/* Old navbar styles removed to prevent conflicts with modern-navbar */
|
||||
/* All navbar styling is now in navbar.css */
|
||||
|
||||
/* Cart and Wishlist Dropdown */
|
||||
.dropdown-container {
|
||||
@@ -708,27 +582,7 @@ p {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.nav-toggle {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 10px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.nav-toggle span {
|
||||
width: 25px;
|
||||
height: 3px;
|
||||
background-color: var(--text-color);
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.nav-toggle:hover span {
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
/* Old nav-toggle styles removed - now in navbar.css */
|
||||
|
||||
.nav-dropdown {
|
||||
display: none;
|
||||
@@ -785,8 +639,10 @@ p {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--spacing-lg);
|
||||
align-items: center;
|
||||
padding: var(--spacing-xl) 0;
|
||||
background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
|
||||
padding: var(--spacing-xl) 4rem;
|
||||
background: #FFEBEB;
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
@@ -833,7 +689,7 @@ p {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
padding-right: 2rem;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.hero-image img {
|
||||
@@ -1056,21 +912,25 @@ section {
|
||||
background-color: white;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow-sm);
|
||||
box-shadow: 0 2px 8px rgba(252, 177, 216, 0.15);
|
||||
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
border: 1px solid var(--border-color);
|
||||
border: 1px solid #FFD0D0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.product-card:hover {
|
||||
box-shadow: var(--shadow-hover);
|
||||
box-shadow: 0 4px 16px rgba(252, 177, 216, 0.25);
|
||||
transform: translateY(-8px);
|
||||
border-color: var(--primary-color);
|
||||
border-color: #FCB1D8;
|
||||
}
|
||||
|
||||
.product-image {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
height: 180px;
|
||||
width: 100%;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
|
||||
.product-image img {
|
||||
@@ -1084,30 +944,47 @@ section {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.product-info {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 16px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.product-card h3 {
|
||||
padding: var(--spacing-sm);
|
||||
margin: 0;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
color: #202023;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.product-color-badge {
|
||||
display: inline-block;
|
||||
margin: 0 var(--spacing-sm) var(--spacing-xs);
|
||||
margin: 8px 0;
|
||||
padding: 0.25rem 0.75rem;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
background: var(--primary-color);
|
||||
color: white;
|
||||
background: #FCB1D8;
|
||||
color: #202023;
|
||||
border-radius: 12px;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.product-description {
|
||||
padding: 0 var(--spacing-sm);
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-light);
|
||||
margin-bottom: var(--spacing-xs);
|
||||
color: #202023;
|
||||
opacity: 0.7;
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
/* Product Description Rich Text Styles */
|
||||
@@ -1141,14 +1018,47 @@ section {
|
||||
}
|
||||
|
||||
.price {
|
||||
padding: 0 var(--spacing-sm);
|
||||
font-size: 1.3rem;
|
||||
font-weight: 700;
|
||||
color: var(--primary-color);
|
||||
margin-bottom: var(--spacing-sm);
|
||||
color: #FCB1D8;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.product-card .btn {
|
||||
.product-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding: 0 16px 16px 16px;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.product-actions .btn {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 12px 16px;
|
||||
background: #FCB1D8;
|
||||
color: #202023;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
margin: 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.product-actions .btn:hover {
|
||||
background: #F6CCDE;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.product-actions .btn i {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.product-card .btn:not(.product-actions .btn) {
|
||||
width: calc(100% - var(--spacing-md));
|
||||
margin: 0 var(--spacing-sm) var(--spacing-sm);
|
||||
}
|
||||
@@ -1858,6 +1768,7 @@ section {
|
||||
|
||||
.hero {
|
||||
grid-template-columns: 1fr;
|
||||
padding: var(--spacing-xl) 2rem;
|
||||
}
|
||||
|
||||
.hero-content h2 {
|
||||
@@ -3189,6 +3100,32 @@ section {
|
||||
}
|
||||
|
||||
.product-card .product-link:hover h3 {
|
||||
color: var(--primary-color);
|
||||
color: #FCB1D8;
|
||||
}
|
||||
|
||||
/* Product Title Link - Make entire title clickable */
|
||||
.product-title-link {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.product-title-link:hover {
|
||||
color: #FCB1D8;
|
||||
}
|
||||
|
||||
.product-title-link h3 {
|
||||
margin: 0;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
color: inherit;
|
||||
line-height: 1.4;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.product-title-link:hover h3 {
|
||||
color: #FCB1D8;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user