| Server IP : 104.26.5.103 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/leapdubai/public_html/wp-content/themes/printx/assets/scss/components/ |
Upload File : |
@use '../utils' as *;
/*----------------------------------------*/
/* 2.16 Search css start
/*----------------------------------------*/
.search{
$self:&;
&__popup{
padding: 70px;
padding-top: 70px;
padding-bottom: 100px;
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
height: 45%;
background-color: rgba(0, 0, 0, 0.9);
z-index: 99999;
@include transform(translateY(calc(-100% - 80px)));
-webkit-transition: transform 0.6s ease-in-out, opacity .6s ease-in-out;
-moz-transition: transform 0.6s ease-in-out, opacity .6s ease-in-out;
transition: transform 0.6s ease-in-out, opacity .6s ease-in-out;
transition-delay: .7s;
@media #{$xl}{
height: 57%;
}
&.search-opened{
@include transform(translateY(0%));
transition-delay: 0s;
#{$self}{
&__input{
@include transform(translateY(0px));
opacity: 1;
transition-delay: .3s;
&::after{
width: 100%;
transition-delay: .5s;
}
}
}
}
&-2{
background-color: var(--tp-common-black-13);
& #{$self}{
&__input{
& .search-input-field{
& ~ .search-focus-border{
background-color: var(--tp-theme-8) ;
}
}
}
}
}
&-3{
& #{$self}{
&__input{
& .search-input-field{
& ~ .search-focus-border{
background-color: var(--tp-theme-10) ;
}
}
}
}
}
}
&__top{
margin-bottom: 80px;
}
&__input{
position: relative;
height: 80px;
transition: all 0.3s ease-out 0s;
transition-delay: .5s;
opacity: 0;
&::after{
position: absolute;
content: '';
left: 0;
bottom: 0;
width: 0%;
height: 1px;
background-color: rgba($color: #fff, $alpha: .3);
transition: all 0.3s ease-out 0s;
transition-delay: .3s;
}
& input{
width: 100%;
height: 100%;
background-color: transparent;
border: 0;
outline: 0;
font-size: 24px;
color: var(--tp-common-white);
border-bottom: 1px solid transparent;
padding: 0;
padding-right: 30px;
}
& button{
position: absolute;
top: 50%;
right: 0;
@include transform(translateY(-50%));
font-size: 18px;
color: var(--tp-common-white);
}
@at-root{
& .search-input-field{
& ~ .search-focus-border{
position: absolute;
bottom: 0;
left: auto;
right: 0;
width: 0;
height: 1px;
background-color: var(--tp-common-orange);
@include transition(.5s);
}
&:focus ~ .search-focus-border{
width: 100%;
left: 0;
right: auto;
@include transition(.5s);
}
}
}
}
&__close{
&-btn{
font-size: 25px;
color: rgba($color: #fff, $alpha: .3);
&:hover{
color: var(--tp-common-white);
}
}
}
}