Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.shinegis.mu
/
htdocs
/
assets
/
css
/
elems
/
/srv/data/web/vhosts/www.shinegis.mu/htdocs/assets/css/elems/navbar.scss
.navbar { position: absolute; bottom: 20px; right: 0; display: flex; justify-content: space-between; align-items: center; width: 100%; height: fit-content; padding: 10px 30px; font-family: "Manrope"; z-index: 2; transition: all $transition ease-in-out; z-index: 999; .desktop { width: 100%; position: relative; display: flex; justify-content: space-between; align-items: center; .logo-navbar { position: relative; width: 15%; img { width: 40px; object-fit: contain; } } .links { display: flex; justify-content: center; align-items: center; align-self: center; width: 60%; a { position: relative; color: $white; font-size: 16px; font-weight: 500; margin: 0 17.5px; &::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; transform: scaleX(0); background-color: $secondary; transition: all $transition ease-in-out; } &.active { &::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; transform: scaleX(1); background-color: $secondary; transition: all $transition ease-in-out; } } &:hover::before { transform: scaleX(1); } } .translate-wrapper { display: flex; justify-content: center; align-items: center; padding: 0; margin: 0; li { list-style-type: none; margin-left: 10px; img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; } } } } .contact-navbar { display: flex; justify-content: flex-end; align-items: center; color: $white; width: 15%; a { position: relative; color: $white; &::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; transform: scaleX(0); background-color: $secondary; transition: all $transition ease-in-out; } &.active { &::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; transform: scaleX(1); background-color: $secondary; transition: all $transition ease-in-out; } } &:hover::before { transform: scaleX(1); } } i { color: $secondary; font-size: 24px; margin-right: 20px; } } } .mobile { display: none; .menu-hamburger { display: flex; flex-direction: column; justify-content: center; align-items: center; margin: 0; } } @media(max-width: $tablette) { .desktop { display: none; } .mobile { width: 100%; position: relative; display: flex; justify-content: space-between; align-items: center; .logo-navbar { position: relative; width: 15%; img { width: 40px; object-fit: contain; } } .menu-hamburger { position: relative; width: 40px; height: 30px; flex-direction: column; justify-content: space-around; align-items: center; .hamburger-wrapper { display: flex; position: relative; width: 40px; height: 40px; flex-direction: column; justify-content: space-around; align-items: center; .hamburger { position: relative; width: 80%; height: 3px; background-color: $white; transition: all $transition ease-in-out; } } } } } } .navbar-mobile { position: fixed; background-color: $black; width: 100%; height: 100vh; top: 0; left: 0; display: none; flex-direction: column; justify-content: center; align-items: center; z-index: 999; div.cross { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: absolute; top: 10px; right: 10px; z-index: 1000; .cross1, .cross2 { width: 100%; height: 3px; background-color: $white; } .cross1 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotateZ(-45deg); } .cross2 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotateZ(45deg); } } .links-mobile { position: fixed; background-color: $black; width: 100%; height: 100vh; top: 0; left: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; z-index: 999; a { position: relative; color: $white; font-size: 25px; font-weight: 500; margin: 0 17.5px; &::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; transform: scaleX(0); background-color: $secondary; transition: all $transition ease-in-out; } &.active { &::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; transform: scaleX(1); background-color: $secondary; transition: all $transition ease-in-out; } } &:hover::before { transform: scaleX(1); } } .translate-wrapper { display: flex; justify-content: center; align-items: center; padding: 0; margin: 0; li { list-style-type: none; margin-left: 10px; img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; } } } } } .fixed-navbar { position: fixed; top: 0 !important; background-color: $black; }