123movies-seo/resources/scss/_header.scss

541 lines
11 KiB
SCSS

/* header start */
.header {
position: fixed;
width: 100%;
left: 0;
top: 0;
z-index: 9;
-webkit-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
background: #bdc3c7;
background: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.002));
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.002));
}
.header.active {
background-color: #070b28;
}
.header.menu-fixed {
position: fixed;
top: 0;
left: 0;
width: 100%;
}
.header.menu-fixed .header__top {
display: none;
}
.header.menu-fixed .header__bottom {
padding: 0 30px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
background-color: #070b28;
}
@media (max-width: 1199px) {
.header.menu-fixed .header__bottom {
padding: 15px 30px;
}
}
.header__top {
padding: 15px 0;
border-bottom: 1px solid rgba(90, 75, 204, 0.3);
}
@media (max-width: 1199px) {
.header__top {
padding: 8px 0;
}
}
@media (max-width: 575px) {
.header__top .left {
justify-content: center;
}
}
.header__top .left a {
color: #ffffff;
}
@media (max-width: 1199px) {
.header__top .left a {
font-size: 14px;
}
}
.header__top .left .language {
margin-left: 30px;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
align-items: center;
}
.header__top .left .language i {
color: #ffffff;
font-size: 18px;
margin-right: 5px;
}
@media (max-width: 1199px) {
.header__top .left .language i {
font-size: 15px;
}
}
.header__top .left .language .nice-select {
width: auto;
background-color: transparent;
padding-left: 0;
padding-right: 10px;
min-height: 40px;
line-height: 47px;
border: none;
}
.header__top .left .language .nice-select::after {
right: 0;
margin-top: -2px;
}
.header__top .left .language .nice-select .list {
background-color: transparent;
background-image: -moz-linear-gradient(7deg, #ec1379 0%, #6c0092 100%);
background-image: -webkit-linear-gradient(7deg, #ec1379 0%, #6c0092 100%);
background-image: -ms-linear-gradient(7deg, #ec1379 0%, #6c0092 100%);
box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
width: 75px;
}
.header__top .left .language .nice-select .option {
background-color: transparent;
padding-left: 10px;
padding-right: 10px;
color: #ffffff;
}
.header__top .left .language .nice-select .current {
color: #ffffff;
}
.header__top .right a {
color: #ffffff;
margin: 5px 15px;
}
.header__top .right a:last-child {
margin-right: 0;
}
.header__bottom {
padding: 0 30px;
}
@media (max-width: 1199px) {
.header__bottom {
background-color: #1b1b3f;
padding: 15px 30px;
}
}
.header .site-logo img {
max-width: 150px;
}
@media (max-width: 1199px) {
.header .main-menu {
padding: 15px 0;
}
}
.header .main-menu li {
position: relative;
}
.header .main-menu li.menu_has_children {
position: relative;
}
.header .main-menu li.menu_has_children.open .sub-menu {
display: block;
}
@media (max-width: 1199px) {
.header .main-menu li.menu_has_children > a {
display: block;
}
}
.header .main-menu li.menu_has_children > a::before {
position: absolute;
content: "\f107";
font-family: "Font Awesome 5 Free";
font-weight: 900;
top: 0;
right: 0;
color: #ffffff;
-webkit-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
display: none;
}
@media (max-width: 1199px) {
.header .main-menu li.menu_has_children > a::before {
display: block;
top: 9px;
}
}
.header .main-menu li.menu_has_children:hover > a::before {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
color: #ee005f;
}
.header .main-menu li a {
padding: 20px 15px 20px 0;
text-transform: uppercase;
font-size: 14px;
color: #e7e7f4;
position: relative;
}
@media (max-width: 1199px) {
.header .main-menu li a {
padding: 8px 0;
display: block;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
}
.header .main-menu li a:hover,
.header .main-menu li a:focus {
color: #ee005f;
}
.header .main-menu li .sub-menu {
position: absolute;
width: 220px;
top: 105%;
left: -20px;
z-index: 9999;
background-color: #d50055;
padding: 10px 0;
border-top: 2px solid #ee005f;
-webkit-box-shadow: 0px 18px 54px -8px rgba(0, 0, 0, 0.15);
box-shadow: 0px 18px 54px -8px rgba(0, 0, 0, 0.15);
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
-webkit-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
opacity: 0;
visibility: hidden;
border-top: 2px solid #ffffff;
z-index: 9;
}
@media (max-width: 1199px) {
.header .main-menu li .sub-menu {
opacity: 1;
visibility: visible;
display: none;
position: static;
-webkit-transition: none;
-o-transition: none;
transition: none;
width: 100%;
}
}
.header .main-menu li .sub-menu li a {
padding: 8px 20px;
display: block;
color: #ffffff;
font-size: 14px;
}
.header .main-menu li .sub-menu li a:hover {
background-color: rgba(255, 255, 255, 0.05);
color: #ffffff;
text-decoration: underline;
}
.header .main-menu li .sub-menu li + li {
margin-left: 0;
}
.header .main-menu li:hover .sub-menu {
top: 100%;
opacity: 1;
visibility: visible;
}
.header .main-menu li + li {
margin-left: 10px;
}
@media (max-width: 1199px) {
.header .main-menu li + li {
margin-left: 0;
}
}
.header .nav-right {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
align-items: center;
}
@media (max-width: 575px) {
.header .nav-right {
justify-content: space-between;
margin-top: 20px;
}
}
.header .nav-right a {
color: #ffffff;
text-transform: uppercase;
display: inline-flex;
align-items: center;
font-size: 14px;
}
.header .nav-right a i {
font-size: 20px;
margin-right: 8px;
}
.header .nav-right a + a {
margin-left: 30px;
}
@media (max-width: 575px) {
.header .nav-right a + a {
margin-left: 0;
}
}
.header .nav-right .nice-select {
margin-left: 30px;
width: 90px;
background-color: transparent;
min-height: 40px;
line-height: 40px;
border: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 575px) {
.header .nav-right .nice-select {
margin-left: 0;
}
}
.header .nav-right .nice-select .current {
color: #ffffff;
}
.header .nav-right .nice-select .list {
background-color: #1b1b3f;
}
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
background-color: #ffffff26;
}
.header .nav-right__search-btn {
background-color: transparent;
color: #ffffff;
font-size: 18px;
color: #ffffff;
}
@media (max-width: 767px) {
.navbar-collapse {
max-height: 320px;
overflow: auto;
}
}
.navbar-toggler {
padding: 0;
border: none;
}
.navbar-toggler:focus {
outline: none;
}
.menu-toggle {
margin: 10px 0;
position: relative;
display: block;
width: 35px;
height: 20px;
cursor: pointer;
background: transparent;
border-top: 2px solid;
border-bottom: 2px solid;
color: #000000;
font-size: 0;
-webkit-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;
cursor: pointer;
}
@media (max-width: 1199px) {
.menu-toggle {
color: #ffffff;
}
}
.menu-toggle:before,
.menu-toggle:after {
content: "";
display: block;
width: 100%;
height: 2px;
position: absolute;
top: 50%;
left: 50%;
background: currentColor;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
transition: -webkit-transform 0.25s ease-in-out;
-webkit-transition: -webkit-transform 0.25s ease-in-out;
-o-transition: -webkit-transform 0.25s ease-in-out;
transition: transform 0.25s ease-in-out;
-moz-transition: -webkit-transform 0.25s ease-in-out;
-ms-transition: -webkit-transform 0.25s ease-in-out;
}
@media (max-width: 1199px) {
.menu-toggle:before,
.menu-toggle:after {
background-color: #ffffff;
}
}
span.is-active {
border-color: transparent;
}
span.is-active:before {
-webkit-transform: translate(-50%, -50%) rotate(45deg);
-ms-transform: translate(-50%, -50%) rotate(45deg);
transform: translate(-50%, -50%) rotate(45deg);
}
span.is-active:after {
-webkit-transform: translate(-50%, -50%) rotate(-45deg);
-ms-transform: translate(-50%, -50%) rotate(-45deg);
transform: translate(-50%, -50%) rotate(-45deg);
}
span.menu-toggle:hover {
color: #000000;
}
@media (max-width: 1199px) {
span.menu-toggle:hover {
color: #ffffff;
}
}
span.is-active {
border-color: transparent;
}
span.is-active:before {
-webkit-transform: translate(-50%, -50%) rotate(45deg);
-ms-transform: translate(-50%, -50%) rotate(45deg);
transform: translate(-50%, -50%) rotate(45deg);
}
span.is-active:after {
-webkit-transform: translate(-50%, -50%) rotate(-45deg);
-ms-transform: translate(-50%, -50%) rotate(-45deg);
transform: translate(-50%, -50%) rotate(-45deg);
}
/* header end */
/* header-search-area css start */
.header-search-area {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: 99;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.65);
cursor: crosshair;
-webkit-transform: scale(1, 0);
-ms-transform: scale(1, 0);
transform: scale(1, 0);
transform-origin: center;
-webkit-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
}
.header-search-area.active {
-webkit-transform: scale(1, 1);
-ms-transform: scale(1, 1);
transform: scale(1, 1);
}
.header-search-form {
position: relative;
}
.header-search-form input {
width: 100%;
min-height: 70px;
padding: 10px 20px;
background-color: #000000;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
color: #ffffff;
padding-right: 80px;
}
.header-search-form button {
position: absolute;
top: 0;
right: 0;
width: 60px;
height: 100%;
background-color: #ee005f;
color: #ffffff;
font-size: 24px;
border-radius: 0 5px 5px 0;
}
/* header-search-area css end */