File: /var/www/html/video-rental/wp-content/themes/video-rentals/scss/header.scss
@import "partials";
header {
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
transition: 0.3s;
&:after {
position: absolute;
inset: 0;
background: linear-gradient(90deg, rgba(15, 8, 8, 1) 0%, rgba(0, 0, 0, 1) 100%);
opacity: 0.1;
content: "";
z-index: -1;
transition: 0.3s;
}
.navbar {
padding: 12px 15px;
transition: 0.3s;
@media ($sm-767) {
top: 0px;
padding: 15px 15px;
}
.navbar-brand {
display: inline-block;
padding: 0;
margin: 0;
img {
max-width: 81px;
transition: 0.3s;
@media ($sm-1679) {
max-width: 75px;
}
@media ($sm-1481) {
}
@media ($sm-1199) {
}
}
}
.navbar-toggler {
border: none;
outline: none;
box-shadow: none;
display: block;
@media ($lg-992) {
display: none;
}
}
}
ul {
margin: 0;
}
.nav-wrapper {
display: flex;
width: 100%;
align-items: center;
justify-content: flex-end;
@media ($sm-991) {
flex-direction: column;
}
.navbar-nav {
padding-right: 20px;
@media ($sm-1679) {
padding-rigt: 15px;
}
@media ($sm-991) {
padding-top: 20px;
flex-direction: column;
margin-left: inherit;
justify-content: unset;
}
li.nav-item {
//margin-right: 65px;
padding: 0 30px;
@media ($sm-1679) {
padding: 0 20px;
}
@media ($sm-1481) {
//margin-right: 55px;
}
@media ($sm-1199) {
//margin-right: 40px;
}
.nav-link {
font-size: 17px;
color: #fff;
padding: 0px 5px;
position: relative;
transition: 0.3s;
@media ($sm-1679) {
font-size: 15px;
}
@media ($sm-1199) {
//font-size: 14px;
}
&::before {
background-color: #f9b548;
content: "";
position: absolute;
left: 0;
display: inline-block;
width: 0;
height: 1px;
border-radius: 5px;
top: 100%;
transition: 0.5s transform ease;
transform: scale3d(0, 1, 1);
transform-origin: 100% 50%;
width: 100%;
}
&:hover,
&.active {
//color: $primary-color;
color: #f9b548;
&::before {
transform: scale3d(1, 1, 1);
transform-origin: 0 50%;
}
}
}
}
}
}
.user-wrap {
position: relative;
.link {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
text-decoration: none;
}
.img-wrap {
border: 1px solid #ffffff;
width: 38px;
height: 38px;
border-radius: 50%;
position: relative;
@media ($sm-1679) {
width: 35px;
height: 35px;
}
.status {
position: absolute;
top: 0;
right: 0;
width: 7px;
height: 7px;
background: #000;
border-radius: 50%;
&.active {
background: #06c816;
}
}
.img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
}
.arrow {
width: 12px;
@media ($sm-1679) {
width: 10px;
}
}
.user-list {
position: absolute;
right: 0;
top: calc(100% + 10px);
margin: 0;
padding: 0;
background: #000000e7;
width: 200px;
padding: 20px 15px;
border-radius: 20px;
//overflow: hidden;
//opacity: 0;
//pointer-events: none;
//transition: 0.3s;
@media ($sm-1679) { padding: 15px;}
li {
list-style: none;
margin: 0 0 5px 0;
padding: 0 0 5px 0;
border-bottom: 1px solid #ffffff31;
a {
background: none;
text-decoration: none;
font-size: 16px;
color: #fff;
@media ($sm-1679) { font-size: 14px;}
&:hover {
color: #f9b548;
}
}
&:last-child {
border: 0;
padding: 0;
margin: 0;
}
}
}
&.user-click {
.user-list {
opacity: 1 !important;
pointer-events: all;
}
}
}
}
header.shrink {
&:after {
opacity: 0.8;
z-index: -1;
}
.navbar-brand {
img {
max-width: 70px;
@media ($sm-1679) {
max-width: 65px;
}
@media ($sm-991) {
max-height: 40px;
}
}
}
}
.innerpage-banner{ height: 345px; background-size: cover; background-position: top center; display: flex; align-items: center; justify-content: center;
.title{ font-size: 50px; color: #FFFFFF; line-height: 1.2; font-weight: 600; text-align: center; margin: 0 0 -50px 0;}
}