File: /home/u435929562/domains/srisuprabhathambuilder.com/public_html/public/front/scss/_helpers.scss
// color
.text-primary {
color: $primary !important;
}
.text-white {
color: $white;
}
.text-dark {
color: $gray-8 !important;
}
.text-light {
color: $gray-3 !important;
}
// background
.bg-primary {
background: $primary !important;
}
.bg-dark {
background: $gray-9 !important;
}
// Page section margin padding
.space-ptb {
padding: 90px 0;
}
.space-pt {
padding: 90px 0 0;
}
.space-pb {
padding: 0 0 90px;
}
.h-100vh {
height: 100vh !important;
}
// img holder
.bg-holder {
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
width: 100%;
}
.bg-holder-bottom {
background-size: contain;
background-position: center bottom;
background-repeat: no-repeat;
width: 100%;
}
.building-space {
padding-bottom: 160px;
}
// Background overlay
.bg-overlay-black-10 {
&:before {
background: rgba($gray-9, 0.1);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-black-20 {
&:before {
background: rgba($gray-9, 0.2);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-black-30 {
&:before {
background: rgba($gray-9, 0.3);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-black-40 {
&:before {
background: rgba($gray-9, 0.4);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-black-50 {
&:before {
background: rgba($gray-9, 0.5);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-black-60 {
&:before {
background: rgba($gray-9, 0.6);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-black-70 {
&:before {
background: rgba($gray-9, 0.7);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-black-80 {
&:before {
background: rgba($gray-9, 0.8);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-black-90 {
&:before {
background: rgba($gray-9, 0.9);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-white-10 {
&:before {
background: rgba($white, 0.1);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-white-20 {
&:before {
background: rgba($white, 0.2);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-white-30 {
&:before {
background: rgba($white, 0.3);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-white-40 {
&:before {
background: rgba($white, 0.4);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-white-50 {
&:before {
background: rgba($white, 0.5);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-white-60 {
&:before {
background: rgba($white, 0.6);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-white-70 {
&:before {
background: rgba($white, 0.7);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-white-80 {
&:before {
background: rgba($white, 0.8);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-white-90 {
&:before {
background: rgba($white, 0.9);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-theme-20 {
&:before {
background: rgba($primary, 0.2);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-theme-50 {
&:before {
background: rgba($primary, 0.5);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-theme-70 {
&:before {
background: rgba($primary, 0.7);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-theme-90 {
&:before {
background: rgba($primary, 0.9);
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
position: relative;
z-index: 1;
}
.bg-overlay-gradient {
position: relative;
&:before {
z-index: 0;
position: absolute;
width: 100%;
left: 0;
right: 0;
bottom: 0;
content: "";
background: -moz-linear-gradient(top, rgba($black, 0) 0, rgba($black, 0.6) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba($black, 0)), color-stop(100%, rgba($black, 0.6)));
background: -webkit-linear-gradient(top, rgba($black, 0) 0, rgba($black, 0.6) 100%);
background: -o-linear-gradient(top, rgba($black, 0) 0, rgba($black, 0.6) 100%);
background: -ms-linear-gradient(top, rgba($black, 0) 0, rgba($black, 0.6) 100%);
background: linear-gradient(to bottom, rgba($black, 0) 0, rgba($black, 0.6) 100%);
top: auto;
height: 75%;
transition: all .35s;
}
}
.bg-overlay-gradient-02 {
position: relative;
&:before {
z-index: 0;
position: absolute;
width: 100%;
left: 0;
right: 0;
top: 0;
content: "";
background: -moz-linear-gradient(bottom, rgba($black, 0) 0, rgba($black, 0.6) 100%);
background: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgba($black, 0)), color-stop(100%, rgba($black, 0.6)));
background: -webkit-linear-gradient(bottom, rgba($black, 0) 0, rgba($black, 0.6) 100%);
background: -o-linear-gradient(bottom, rgba($black, 0) 0, rgba($black, 0.6) 100%);
background: -ms-linear-gradient(bottom, rgba($black, 0) 0, rgba($black, 0.6) 100%);
background: linear-gradient(to top, rgba($black, 0) 0, rgba($black, 0.6) 100%);
bottom: auto;
height: 70%;
transition: all .35s;
}
}
.bg-overlay-gradient-03 {
position: relative;
&:before {
z-index: 0;
position: absolute;
width: 100%;
left: 0;
right: 0;
bottom: 0;
content: "";
background: linear-gradient(to bottom, rgba($white, 0) 0, rgba($white, 1) 100%), linear-gradient(to bottom, rgba($white, 0) 0, rgba($white, 1) 100%);
top: auto;
height: 100%;
transition: all .35s;
}
}
.bg-overlay-gradient-04 {
position: relative;
&:before {
z-index: 0;
position: absolute;
width: 100%;
left: 0;
right: 0;
bottom: 0;
content: "";
background: -moz-linear-gradient(bottom, rgba($black, 0) 0, rgba($black, 0.4) 100%);
background: -webkit-gradient(linear, left bottom, left bottom, color-stop(0, rgba($black, 0)), color-stop(100%, rgba($black, 0.4)));
background: -webkit-linear-gradient(top, rgba($black, 0) 0, rgba($black, 0.4) 100%);
background: -o-linear-gradient(bottom, rgba($black, 0) 0, rgba($black, 0.4) 100%);
background: -ms-linear-gradient(bottom, rgba($black, 0) 0, rgba($black, 0.4) 100%);
background: linear-gradient(to bottom, rgba($black, 0) 0, rgba($black, 0.4) 100%);
top: auto;
height: 40%;
transition: all .35s;
}
}
// avatar
.avatar {
width: 50px;
height: 50px;
display: inline-block;
}
.avatar.avatar-sm {
width: 20px;
height: 20px;
}
.avatar.avatar-md {
width: 40px;
height: 40px;
}
.avatar.avatar-lg {
width: 60px;
height: 60px;
}
.avatar.avatar-xl {
width: 80px;
height: 80px;
}
.avatar.avatar-xll {
width: 100px;
height: 100px;
}
.avatar.avatar-xlll {
width: 120px;
height: 120px;
}
.avatar.avatar-xllll {
width: 180px;
height: 180px;
}
// font size
.font-sm {
font-size: 13px;
}
.font-md {
font-size: 15px;
}
.font-lg {
font-size: 17px;
}
.font-xl {
font-size: 21px;
}
.font-xll {
font-size: 30px;
}
.font-xlll {
font-size: 40px;
line-height: 40px;
}
// border-radius
.b-radius-none {
border-radius: 0 !important;
}
.b-radius-left-none {
border-radius: 0 3px 3px 0 !important;
}
.b-radius-right-none {
border-radius: 3px 0 0 3px !important;
}
.sticky-top {
z-index: 8;
}
// z index
.z-index-1 {
z-index: 1;
}
.z-index-9 {
z-index: 9;
}
.z-index-99 {
z-index: 99;
}
.z-index-999 {
z-index: 999;
}