383 lines
6.1 KiB
CSS
383 lines
6.1 KiB
CSS
/* views\components\header\header.css */
|
|
/* Top ribbon */
|
|
.top-ribbon {
|
|
background-color: #e84e0f;
|
|
padding: 5px 0;
|
|
color: white;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.ribbon-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.ribbon-logo {
|
|
width: 30px;
|
|
height: auto;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.ribbon-company-info {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.ribbon-company-name {
|
|
font-weight: bold;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
/* Custom colors and styling */
|
|
.header {
|
|
background-color: #fff;
|
|
border-bottom: 1px solid #ffffff;
|
|
margin: 0 40px; /* Add margins to shorten the nav */
|
|
}
|
|
|
|
.company-name {
|
|
color: #006241;
|
|
font-size: 1.4rem;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.company-name:hover {
|
|
color: #006241;
|
|
}
|
|
|
|
.company-slogan {
|
|
color: #e84e0f;
|
|
font-style: italic;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.company-year {
|
|
color: #006241;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.contact-icon2 {
|
|
background-color: #f8f9fa;
|
|
border-radius: 50%;
|
|
width: 50px;
|
|
height: 50px;
|
|
color: #e84e0f;
|
|
font-size: 1.3rem;
|
|
border: 2px solid #e9ecef;
|
|
}
|
|
|
|
.contact-icon {
|
|
background-color: red;
|
|
border-radius: 50%;
|
|
width: 50px;
|
|
height: 50px;
|
|
color: white;
|
|
font-size: 1.3rem;
|
|
border: 2px solid #e9ecef;
|
|
}
|
|
|
|
.contact-text {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.contact-text a {
|
|
color: #006241;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.contact-text a:hover {
|
|
color: #e84e0f;
|
|
}
|
|
|
|
.nav-container {
|
|
background-color: #30875f;
|
|
margin: 0 40px; /* Add margins to shorten the nav */
|
|
border-radius: 25px; /* Add rounded corners */
|
|
box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2); /* Add subtle shadow */
|
|
}
|
|
|
|
.nav-container .container-fluid {
|
|
padding: 0 30px; /* Adjust internal padding */
|
|
}
|
|
|
|
.navbar-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-link {
|
|
color: white !important;
|
|
font-weight: 600;
|
|
font-size: 15px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
padding: 15px 30px !important; /* Increased horizontal padding for better centering */
|
|
transition: all var(--transition-speed);
|
|
text-decoration: none;
|
|
position: relative;
|
|
text-align: center; /* Center the text within the link */
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: #e84e0f !important;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: #e84e0f !important;
|
|
background-color: rgba(255, 255, 255, 0.15);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Separators - positioned to create equal spacing */
|
|
.navbar-nav .separator {
|
|
display: inline-block;
|
|
width: 4px;
|
|
height: 4px;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
border-radius: 50%;
|
|
margin: 0 15px; /* space around separator */
|
|
|
|
/* stacked dots */
|
|
box-shadow:
|
|
0 6px 0 rgba(255, 255, 255, 0.6),
|
|
0 -6px 0 rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.logo {
|
|
width: 80px;
|
|
height: auto;
|
|
}
|
|
|
|
/* Floating Menu Button Styles */
|
|
.floating-menu-btn {
|
|
display: none;
|
|
position: fixed;
|
|
bottom: 25px;
|
|
right: 25px;
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
background-color: #e84e0f;
|
|
color: white;
|
|
border: none;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
z-index: 1030;
|
|
cursor: pointer;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.floating-menu-btn:hover {
|
|
background-color: #c93d0a;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.floating-menu-btn i {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
/* Mobile Sidebar Styles */
|
|
.mobile-menu-btn {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.8rem;
|
|
color: #006241;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sidebar-overlay {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
z-index: 1040;
|
|
}
|
|
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: -300px;
|
|
width: 300px;
|
|
height: 100%;
|
|
background-color: #30875f;
|
|
z-index: 1050;
|
|
overflow-y: auto;
|
|
transition: left 0.3s ease;
|
|
padding: 20px;
|
|
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.sidebar.open {
|
|
left: 0;
|
|
}
|
|
|
|
.sidebar-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.sidebar-logo {
|
|
width: 60px;
|
|
height: auto;
|
|
}
|
|
|
|
.close-sidebar {
|
|
background: none;
|
|
border: none;
|
|
color: white;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar-nav .nav-link {
|
|
padding: 15px 10px !important;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.sidebar-contact {
|
|
margin-top: 20px;
|
|
color: white;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.sidebar-contact div {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Media Queries */
|
|
@media (max-width: 1200px) {
|
|
.header,
|
|
.nav-container {
|
|
margin: 0 20px;
|
|
}
|
|
|
|
.nav-link {
|
|
padding: 15px 20px !important;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.header,
|
|
.nav-container {
|
|
margin: 0 15px;
|
|
}
|
|
|
|
.company-name {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.nav-link {
|
|
padding: 12px 15px !important;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.separator {
|
|
margin: 0 10px !important;
|
|
}
|
|
|
|
.banner-container {
|
|
height: 350px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.top-ribbon {
|
|
display: none; /* Hide ribbon on mobile */
|
|
}
|
|
|
|
.header,
|
|
.nav-container {
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.nav-container {
|
|
display: none; /* Hide desktop nav on mobile */
|
|
}
|
|
|
|
.mobile-menu-btn {
|
|
display: block;
|
|
}
|
|
|
|
.header .col-lg-6:first-child {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.company-info {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.header-contact-section {
|
|
display: none; /* Hide contact info on mobile - it will be in sidebar */
|
|
}
|
|
|
|
.logo {
|
|
width: 60px;
|
|
}
|
|
|
|
.company-name {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.company-slogan,
|
|
.company-year {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.banner-container {
|
|
height: 300px;
|
|
}
|
|
|
|
/* Show floating menu button on mobile */
|
|
.floating-menu-btn {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.company-name {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 250px;
|
|
}
|
|
|
|
.banner-container {
|
|
height: 250px;
|
|
}
|
|
|
|
.banner-indicator {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
.floating-menu-btn {
|
|
width: 50px;
|
|
height: 50px;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
}
|
|
}
|