2025-07-14 14:03:36 +05:30

421 lines
7.4 KiB
SCSS

//page scroll bar add
::-webkit-scrollbar {
width: 4px;
height: 4px;
}
/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px $theme-color;
border-radius: 5px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: $theme-color;
border-radius: 10px;
}
//page scroll bar add
//Basic Code Start
.fix {
overflow: hidden;
}
.ralt{
position: relative;
}
.ml-50 {
margin-left: 50px;
@include breakpoint (max-xl){
margin-left: 0;
}
}
//Basic Code End
//Video Css Start
.ripple {
position: relative;
&::before,&::after {
position: absolute;
left: 50%;
top: 50%;
width: 60px;
height: 60px;
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
border-radius: 50%;
box-shadow: 0 0 0 0 rgba(56, 75, 255, 0.5);
-webkit-animation: rippleOne 3s infinite;
animation: rippleOne 3s infinite;
}
&::before {
-webkit-animation-delay: 0.9s;
animation-delay: 0.9s;
content: "";
position: absolute;
right: 0;
bottom: 0;
}
&::after {
-webkit-animation-delay: 0.6s;
animation-delay: 0.6s;
content: "";
position: absolute;
right: 0;
bottom: 0;
}
}
//Video Css End
//pagination default
//pagination default
.swiper-dot {
text-align: center;
.swiper-pagination-bullet {
width: 10px;
height: 10px;
transition: 0.6s;
background-color: $white;
opacity: 1;
border-radius: 10px;
&:not(:last-child){
margin-right: 10px;
}
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
background-color: $theme-color;
transition: 0.6s;
position: relative;
&::before{
position: absolute;
width: 22px;
height: 22px;
line-height: 22px;
top: -6px;
left: -6px;
border-radius: 50%;
background-color: transparent;
border: 2px solid $theme-color;
content: "";
}
}
}
.mega-hover {
position: relative;
overflow: hidden;
z-index: 2
}
.mega-hover:after,.mega-hover:before {
content: "";
position: absolute;
pointer-events: none;
opacity: 1;
z-index: -1
}
.mega-hover:before {
top: 0;
right: 51%;
bottom: 0;
left: 50%;
background: rgba(255,255,255,0.2)
}
.mega-hover:after {
top: 50%;
right: 0;
bottom: 50%;
left: 0;
background: rgba(245,255,255,0.3)
}
.mega-hover:hover:before {
left: 0;
right: 0;
opacity: 0;
-webkit-transition: all 900ms linear;
transition: all 900ms linear
}
.mega-hover:hover:after {
top: 0;
bottom: 0;
opacity: 0;
-webkit-transition: all 900ms linear;
transition: all 900ms linear
}
.array-button {
.array-prev {
width: 56px;
height: 56px;
line-height: 56px;
text-align: center;
background-color: transparent;
color: $white;
border-radius: 50%;
@include transition;
border: 1px solid $white;
&:hover {
background-color: $white;
color: $header-color;
}
}
.array-next {
width: 56px;
height: 56px;
line-height: 56px;
text-align: center;
background-color: $theme-color-2;
color: $white;
border-radius: 50%;
border: 1px solid transparent;
@include transition;
&:hover {
background-color: $white;
color: $header-color;
}
}
}
//pagination default
.mt-10 {
margin-top: 10px;
}
br {
@include breakpoint(max-md){
display: none;
}
}
.mt-60 {
margin-top: 55px;
}
.mb-40 {
margin-bottom: 40px;
}
/* background */
.bg-cover {
background-repeat: no-repeat;
background-size: cover;
position: relative;
background-position: center;
}
.bg-cover-2 {
background-repeat: no-repeat;
background-size: cover;
position: relative;
background-position: center;
width: 100%;
height: 100%;
}
//>>>>> Nice Select Css Start <<<<<//
.nice-select {
background-color: transparent;
border: transparent;
float: initial;
overflow: initial;
height: initial;
padding: 0;
display: inline-flex;
align-items: center;
line-height: 150%;
width: 100%;
border: none;
&:focus, &:hover {
border-color: transparent;
}
&::after {
height: 8px;
width: 8px;
right: -25px;
top: 15px;
border-color: $header-color;
border-bottom: 2px solid $header-color;
border-right: 2px solid $header-color;
}
.list {
width: initial;
background-color: $theme-color;
box-shadow: none;
overflow: initial;
box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
width: 100%;
top: 100%;
padding: 0;
max-height: 50vh;
overflow-x: auto;
right: -50px;
&::-webkit-scrollbar{
width: 2px;
opacity: 1;
display: block;
}
&::-webkit-scrollbar-button,
&::-webkit-scrollbar-thumb{
background: $header-color;
}
}
.option {
background-color: transparent;
font-size: 16px;
line-height: 150%;
padding: 4px 5px;
min-height: initial;
font-weight: 500;
&:hover,
&:focus,
&.selected.focus {
background-color: transparent;
}
}
.current{
font-weight: 500;
color: $header-color;
}
}
//>>>>> Nice Select Css End <<<<<//
.page-nav-wrap {
ul {
li {
display: inline-block;
text-align: center;
.page-numbers {
&.current {
background-color: $theme-color;
color: $white;
}
display: inline-block;
width: 50px;
height: 50px;
line-height: 50px;
background: transparent;
font-weight: 600;
transition: all 0.3s ease-in-out;
margin: 0 2px;
border: 1px solid #E3E3E3;
color: $header-color;
@media (max-width: 767px) {
margin-top: 10px;
width: 50px;
height: 50px;
line-height: 50px;
font-size: 14px;
}
i {
margin-top: 2px;
}
&.icon {
border: none;
background-color: transparent;
color: $theme-color;
&:hover {
border: none;
background-color: transparent;
color: $theme-color;
}
}
&:hover {
background-color: $theme-color;
color: $white;
border: 1px solid transparent;
}
}
}
}
}
.bor-bottom {
border-bottom: 1px solid $border-color-2;
}
.pt-100 {
padding-top: 100px;
@include breakpoint (max-lg){
padding-top: 80px;
}
}
.pb-100 {
padding-bottom: 100px;
@include breakpoint (max-lg){
padding-bottom: 80px;
}
}
.margin-top-10 {
margin-top: -10px;
}
.margin-top-5 {
margin-top: -5px;
}
.margin-top-60 {
margin-top: -65px;
@include breakpoint (max-xxl){
margin-top: -25px;
}
@include breakpoint (max-xl){
margin-top: -27px;
}
@include breakpoint (max-lg){
margin-top: -75px;
}
@include breakpoint (max-md){
margin-top: -65px;
}
}
.margin-top-8 {
margin-top: -10px;
}
.custom-container {
max-width: 1328px;
margin: 0 auto;
}
.box-shadow {
box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.06);
}