changed header and hero img
This commit is contained in:
@@ -449,3 +449,358 @@
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
}
|
||||
|
||||
// ========== DEXAR REDESIGN 2026 STYLES ==========
|
||||
.dexar-header {
|
||||
background: rgba(117, 121, 124, 0.1);
|
||||
padding: 14px 0;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.dexar-header-container {
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
padding: 0 56px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 57px;
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.dexar-logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-decoration: none;
|
||||
flex-shrink: 0;
|
||||
|
||||
::ng-deep .logo-img {
|
||||
width: 148px;
|
||||
height: 48px;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
|
||||
// Navigation Buttons Group
|
||||
.dexar-nav {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dexar-nav-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.dexar-nav-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10px 48px;
|
||||
height: 49px;
|
||||
border: 1px solid #d3dad9;
|
||||
background: rgba(255, 255, 255, 0.74);
|
||||
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 22px;
|
||||
color: #1e3c38;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background 0.3s ease;
|
||||
white-space: nowrap;
|
||||
|
||||
&:hover {
|
||||
background: #a1b4b5;
|
||||
color: #1e3c38;
|
||||
}
|
||||
|
||||
&.dexar-active {
|
||||
background: #497671;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
.dexar-nav-btn-left {
|
||||
border-radius: 13px 0 0 13px;
|
||||
padding: 10px 48px;
|
||||
}
|
||||
|
||||
.dexar-nav-btn-middle {
|
||||
padding: 10px 63px;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.dexar-nav-btn-right {
|
||||
border-radius: 0 13px 13px 0;
|
||||
padding: 10px 42px;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
// Search Box
|
||||
.dexar-search-wrapper {
|
||||
flex: 1;
|
||||
max-width: 234px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.dexar-search-box {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
background: rgba(255, 255, 255, 0.74);
|
||||
border: 1px solid #d2dad9;
|
||||
border-radius: 22px;
|
||||
box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 20px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.dexar-search-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dexar-search-input {
|
||||
flex: 1;
|
||||
border: none;
|
||||
background: transparent;
|
||||
outline: none;
|
||||
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 22px;
|
||||
color: #828e8d;
|
||||
cursor: pointer;
|
||||
|
||||
&::placeholder {
|
||||
color: #828e8d;
|
||||
}
|
||||
}
|
||||
|
||||
// Actions
|
||||
.dexar-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dexar-cart-btn {
|
||||
position: relative;
|
||||
width: 48px;
|
||||
height: 32px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.3s ease;
|
||||
|
||||
svg {
|
||||
width: 48px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
&.dexar-cart-active {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.dexar-cart-badge {
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
right: -6px;
|
||||
background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.75rem;
|
||||
padding: 2px 6px;
|
||||
border-radius: 10px;
|
||||
min-width: 18px;
|
||||
text-align: center;
|
||||
box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
|
||||
border: 2px solid white;
|
||||
}
|
||||
|
||||
.dexar-lang-selector {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.dexar-menu-toggle {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 8px;
|
||||
|
||||
span {
|
||||
width: 25px;
|
||||
height: 3px;
|
||||
background: #1e3c38;
|
||||
border-radius: 2px;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
&.active {
|
||||
span:nth-child(1) {
|
||||
transform: rotate(45deg) translate(7px, 4.5px);
|
||||
}
|
||||
|
||||
span:nth-child(2) {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
span:nth-child(3) {
|
||||
transform: rotate(-45deg) translate(7px, -4.5px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive Design
|
||||
@media (max-width: 1200px) {
|
||||
.dexar-header-container {
|
||||
padding: 0 32px;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.dexar-nav-btn {
|
||||
font-size: 18px;
|
||||
padding: 8px 32px !important;
|
||||
}
|
||||
|
||||
.dexar-nav-btn-left {
|
||||
padding: 8px 32px !important;
|
||||
}
|
||||
|
||||
.dexar-nav-btn-middle {
|
||||
padding: 8px 40px !important;
|
||||
}
|
||||
|
||||
.dexar-nav-btn-right {
|
||||
padding: 8px 28px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.dexar-header-container {
|
||||
padding: 0 20px;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.dexar-logo ::ng-deep .logo-img {
|
||||
width: 120px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.dexar-nav-btn {
|
||||
font-size: 16px;
|
||||
padding: 8px 24px !important;
|
||||
}
|
||||
|
||||
.dexar-nav-btn-left {
|
||||
padding: 8px 24px !important;
|
||||
}
|
||||
|
||||
.dexar-nav-btn-middle {
|
||||
padding: 8px 28px !important;
|
||||
}
|
||||
|
||||
.dexar-nav-btn-right {
|
||||
padding: 8px 20px !important;
|
||||
}
|
||||
|
||||
.dexar-search-box {
|
||||
height: 42px;
|
||||
}
|
||||
|
||||
.dexar-search-input {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.dexar-header-container {
|
||||
gap: 12px;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.dexar-nav {
|
||||
position: fixed;
|
||||
top: 84px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: white;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.3s ease;
|
||||
|
||||
&.dexar-nav-open {
|
||||
max-height: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
.dexar-nav-group {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.dexar-nav-btn {
|
||||
width: 100%;
|
||||
border-radius: 0 !important;
|
||||
border: none;
|
||||
border-bottom: 1px solid #d3dad9;
|
||||
padding: 16px !important;
|
||||
font-size: 18px;
|
||||
|
||||
&:hover {
|
||||
background: rgba(161, 180, 181, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
.dexar-nav-btn-left,
|
||||
.dexar-nav-btn-middle,
|
||||
.dexar-nav-btn-right {
|
||||
padding: 16px !important;
|
||||
}
|
||||
|
||||
.dexar-search-wrapper {
|
||||
flex: 1;
|
||||
max-width: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.dexar-search-box {
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.dexar-search-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.dexar-search-input {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.dexar-menu-toggle {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.dexar-logo ::ng-deep .logo-img {
|
||||
width: 100px;
|
||||
height: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user