Sindbad~EG File Manager
.header {
padding: 20px 0;
box-shadow: 0px 1px 2px 0px #0c041b0d;
border-bottom: 1px solid var(--neutre50);
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 10;
background: var(--white);
.header-container {
z-index: 5;
position: relative;
}
.header-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
.header_image {
width: 100%;
max-width: 64px;
img {
width: 100%;
object-fit: cover;
}
}
.header_title {
font-size: 26px;
font-weight: 700;
font-family: var(--fontRedHat);
color: var(--purple800);
line-height: 31.2px;
}
.header_subtitle {
font-size: 12px;
font-weight: 400;
font-family: var(--fontRedHat);
color: var(--purple800);
line-height: 14.4px;
text-transform: uppercase;
}
.header_nav {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 20px;
@media (max-width: 768px) {
display: none;
}
.header_link {
list-style: none;
a {
text-decoration: none;
color: var(--purple200);
&.active {
color: var(--purple600);
}
}
}
}
.header_desktop-cta {
@media (max-width: 768px) {
display: none;
}
}
.header_burger {
display: none;
@media (max-width: 768px) {
display: block;
}
span {
display: block;
width: 24px;
height: 2px;
background: var(--purple800);
margin: 4px 0;
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
&.active {
span {
&:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
&:nth-child(2) {
opacity: 0;
}
&:nth-child(3) {
transform: rotate(-45deg) translate(4px, -3px);
}
}
}
}
.header_mobile {
height: 50vh;
position: fixed;
top: 0;
left: 0;
width: 100%;
transform: translateX(-100%);
// opacity: 0;
pointer-events: none;
visibility: hidden;
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out,
visibility 0.3s ease-in-out;
@media (max-width: 768px) {
// opacity: 1;
pointer-events: all;
visibility: visible;
}
// background: rgba(255, 255, 255, 0.6);
// backdrop-filter: blur(6px);
background: var(--white);
&.active {
transform: translateX(0);
}
.header_mobile-container {
padding-top: 100px;
height: 100vh;
.header_mobile-links-list {
padding: 0;
.header_mobile-link {
list-style: none;
margin: 24px 0;
transition: opacity 0.3s ease-in-out;
a {
opacity: 0.4;
&.active {
opacity: 1;
}
}
}
}
}
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists