File: /mnt/data/smarthr-co-in/demo/react/assets/scss/pages/_home.scss
.main-header {
position: absolute;
top: 0;
left: 0;
right: 0;
}
.hero-section {
position: relative;
background: #061D29;
z-index: 2;
.banner-head {
margin-bottom: 70px;
@media (max-width: 991px) {
margin-bottom: 50px;
}
}
.hero-content {
padding: 160px 0 0;
p {
width: 100%;
}
h1 {
margin-bottom: 20px;
}
@media (max-width: 991px) {
padding: 120px 0 0;
}
@media (max-width: 767px) {
padding: 120px 0 0;
}
.btn {
margin-right: 16px;
@include respond-below(lg) {
margin-right: 10px;
}
}
}
.banner-img {
.banner-icon-1 {
position: absolute;
right: -20px;
top: -20px;
}
.banner-main-img {
margin-bottom: -200px;
}
}
}
.demobtn{
img{
margin: auto;
width: 100px;
height: 100px;
}
}
.banner-tag-info {
border: 1px solid $gray-200;
border-radius: 30px;
padding: 8px 10px;
span {
background: $primary;
padding: 5px 10px;
color: $white;
border-radius: 30px;
font-size: $font-size-13;
}
p {
color: $gray-800;
font-size: $font-size-14;
}
}
.ripple-effect {
position: relative;
&::before,&::after {
position: absolute;
left: 50%;
top: 50%;
width: 33px;
height: 33px;
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
border-radius: 50%;
box-shadow: 0 0 0 0 $dark-transparent;
animation: ripple 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;
}
}
@keyframes ripple {
70% {
-webkit-box-shadow: 0 0 0 20px rgba(244, 68, 56, 0);
box-shadow: 0 0 0 20px rgba(244, 68, 56, 0);
}
100% {
-webkit-box-shadow: 0 0 0 0 rgba(244, 68, 56, 0);
box-shadow: 0 0 0 0 rgba(244, 68, 56, 0);
}
}
.round-animate {
animation: round 5s linear infinite;
}
@keyframes round {
50% {
transform: rotate(10deg);
}
}
.floating-x {
-webkit-animation-name: floating-x;
animation-name: floating-x;
-webkit-animation-duration: 3s;
animation-duration: 3s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
}
@keyframes floating-x {
0% {
-webkit-transform: translateX(30px);
transform: translateX(30px);
}
50% {
-webkit-transform: translateX(10px);
transform: translateX(10px);
}
100% {
-webkit-transform: translateX(30px);
transform: translateX(30px);
}
}
.floating-y {
-webkit-animation-name: floating-y;
animation-name: floating-y;
-webkit-animation-duration: 3s;
animation-duration: 3s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
}
@keyframes floating-y {
0% {
-webkit-transform: translateY(-30px);
transform: translateY(-30px);
}
50% {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
100% {
-webkit-transform: translateY(-30px);
transform: translateY(-30px);
}
}
.section {
padding: 60px 0;
@media (max-width: 991px) {
padding: 50px 0;
}
@media (max-width: 767px) {
padding: 40px 0;
}
&.custom-padding {
padding-bottom: 36px;
@media (max-width: 991px) {
padding-bottom: 26px;
}
@media (max-width: 767px) {
padding-bottom: 16px;
}
}
}
.banner-img {
position: relative;
z-index: 1;
}
.banner-content-head {
position: relative;
z-index: 1;
}
.banner-bg {
img {
position: absolute;
z-index: -1;
}
.banner-bg-01 {
left: -150px;
top: 20px;
@include respond-below(lg) {
display: none;
}
}
.banner-bg-02 {
right: -150px;
top: 20px;
@include respond-below(lg) {
display: none;
}
}
.banner-bg-03 {
right: -150px;
bottom: 0;
@include respond-below(lg) {
right: 0;
}
}
.banner-bg-04 {
left: -150px;
bottom: 0;
@include respond-below(lg) {
left: 0;
}
}
}
.section-header {
margin-bottom: 40px;
h2 {
font-size: $font-size-24;
@include respond-below(md) {
font-size: $font-size-22;
}
}
.title-bar {
position: relative;
display: inline-block;
i {
&:first-child {
content: "";
width: 30%;
height: 2px;
border-radius: 10px;
background: $dark;
position: absolute;
left: -1px;
bottom: -2px;
}
&:last-child {
content: "";
width: 70%;
height: 2px;
border-radius: 10px;
background: $secondary;
position: absolute;
right: -1px;
bottom: -2px;
}
}
}
}
.text-truncate {
white-space: normal;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
display: -webkit-box;
&.line-clamb-3 {
-webkit-line-clamp: 3;
}
&.line-clamb-2 {
-webkit-line-clamp: 2;
}
}
.card-hover {
transition: 0.5s all;
&:hover {
transform: translateY(-10px);
transition: 0.5s all;
}
}
.overview-sec {
position: relative;
padding: 260px 0 36px;
z-index: 1;
@include respond-below(lg) {
padding: 250px 0 26px;
}
@include respond-below(sm) {
padding: 230px 0 26px;
}
.sec-bg-1 {
position: absolute;
right: 0;
top: 15%;
z-index: -1;
}
.sec-bg-2 {
position: absolute;
left: 0;
bottom: 0;
z-index: -1;
}
}
.usecase-card {
.usecase-icon {
width: 80px;
height: 80px;
background: $light;
border-radius: 10px;
margin-bottom: 20px;
}
}
.nav-pills {
--bs-nav-pills-link-active-bg: $primary;
}
.key-steps {
margin-bottom: 40px;
span {
width: 30px;
height: 40px;
border-radius: 30px;
background: $primary;
color: $white;
}
}
.key-sec-img {
border-radius: 10px;
padding: 40px 0 0 30px;
position: relative;
z-index: 1;
overflow: hidden;
.key-bg-02 {
position: absolute;
right: 0;
bottom: 0;
}
.key-bg-03 {
position: absolute;
right: 20px;
top: 0;
z-index: -1;
}
.key-bg-04 {
position: absolute;
left: 20px;
bottom: 0;
z-index: -1;
}
}
.template-inner-tab {
ul {
li {
button {
border: 1px solid $gray-200;
color: $gray-900;
font-weight: 500;
transition: 0.5s all;
background: $white;
&.active {
background: $primary-gradient;
color: $white;
}
&:hover {
background: $primary-gradient;
color: $white;
transition: 0.5s all;
}
}
}
}
}
.dashboard-img {
padding: 20px;
background: $primary-transparent;
}
.demo-sec {
position: relative;
z-index: 1;
background: $dark;
.sec-bg-1 {
position: absolute;
left: 0;
bottom: 0;
z-index: -1;
}
.sec-bg-2 {
position: absolute;
right: 0;
top: 5%;
z-index: -1;
}
}
.horizontal-slide {
overflow: hidden;
&[data-direction="right"] {
--_animation-direction: reverse;
}
&[data-direction="left"] {
--_animation-direction: forwards;
}
&[data-speed="fast"] {
--_animation-duration: 30s;
}
&[data-speed="slow"] {
--_animation-duration: 120s;
}
.slide-list {
width: max-content;
flex-wrap: nowrap;
animation: scroll var(--_animation-duration, 60s) var(--_animation-direction, forwards) linear infinite;
&:hover {
animation-play-state: paused;
}
}
}
@keyframes scroll {
to {
transform: translate(calc(-50% - .5rem))
}
}
.support-section {
.horizontal-slide {
transform: skewY(-1.5deg);
transform-origin: center;
}
}
.framework-features span {
display: flex;
align-items: center;
justify-content: center;
height: 72px;
}
.counter-sec {
background: $dark;
padding: 40px 0;
position: relative;
z-index: 1;
.sec-bg-1 {
position: absolute;
left: 50px;
top: 0;
z-index: -1;
}
.sec-bg-2 {
position: absolute;
right: 0;
bottom: 0;
z-index: -1;
}
}
.feature-pages {
.section-btn {
margin-bottom: 30px;
}
.features-padding {
padding-bottom: 60px;
}
}
.img-bg-box {
border-radius: 10px;
padding: 0 20px;
background: $primary-transparent;
margin-bottom: 30px;
span {
display: block;
position: relative;
bottom: -30px;
}
}
.inner-img-bg {
background: $secondary-transparent;
border-radius: 10px;
padding: 20px;
img {
border-radius: 10px;
}
}
.inner-pages-sec {
position: relative;
z-index: 1;
.sec-bg-1 {
position: absolute;
right: 0;
top: 20%;
z-index: -1;
}
}
.layouts-sec {
position: relative;
z-index: 1;
.sec-bg-1 {
position: absolute;
right: 0;
top: 20px;
z-index: -1;
}
.sec-bg-2 {
position: absolute;
left: 30px;
bottom: 0;
z-index: -1;
}
}
.price-section {
position: relative;
z-index: 1;
background: $dark;
.sec-bg-1 {
position: absolute;
top: 12%;
right: 0;
z-index: -1;
}
.sec-bg-2 {
position: absolute;
left: 0;
top: 125px;
z-index: -1;
}
.sec-bg-3 {
position: absolute;
left: 5%;
bottom: 0;
z-index: -1;
}
}
.pricing-card {
position: relative;
.pricing-head {
h4 {
font-size: 48px;
@include respond-below(lg) {
font-size: $font-size-36;
}
@include respond-below(md) {
font-size: $font-size-30;
}
}
}
.pricing-list {
li {
color: $gray-500;
margin-bottom: 8px;
&:last-child {
margin-bottom: 0;
}
}
}
.recommend-text {
border: 1px solid $primary;
background: $primary-transparent;
color: $primary;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: -15px;
}
}
.faq-sec {
.faq-cards {
.accordion-item {
box-shadow: none;
}
}
}
.custom-design-sec {
background: $dark;
padding: 40px 0 16px;
}
.subscribe form {
background: $white;
border-radius: 30px;
margin: auto;
padding: 10px 10px 10px 20px;
}
.subscribe .input-group-addon button {
background: #F9531D;
border: transparent;
border-radius: 50px;
color: $white;
padding: 10px 15px;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
}
.subscribe .input-group > .form-control {
color: #212529;
background-color: transparent !important;
border-color: transparent !important;
outline: 0;
box-shadow: none;
padding: 0;
}
.layout-card {
background: $primary-transparent;
img {
width: 100%;
}
}
.other-product a{
background: #e74c3c;
color: $white;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 15px;
font-size: 18px;
border-radius: 10px 10px 0 0;
transform: translateY(-100%);
-ms-transform: rotate(-90deg) translateY(-100%);
transform: rotate(-90deg) translateY(-100%);
-webkit-transform-origin: 100% 0 0;
-ms-transform-origin: 100% 0 0;
transform-origin: 100% 0 0;
position: fixed;
right: 0;
top: 25%;
z-index: 100;
@include respond-below(lg) {
font-size: $font-size-16;
padding: 12px;
}
}
.offcanvas {
transition: 1.0s all;
}
.btn-close:focus {
box-shadow: none;
}
.offcanvas .custom-btn-close {
background-image: none;
font-size: 20px;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
border-radius: 50%;
background: #FD3A55;
opacity: 1;
color: #fff !important;
}
.product-more {
padding: 25px 0 25px;
}
.product-more h3 {
font-weight: 700;
font-size: 24px;
color: #030A16;
margin-bottom: 0;
}
.more-product .purchase-now {
padding: 15px 30px !important;
}
.other-product h3 {
font-weight: 700;
font-size: 24px;
color: #030A16;
margin-bottom: 0;
}
.submenu-head {
text-align: center;
margin-bottom: 25px;
}
.submenu-head .product-content img {
margin-bottom: 10px;
}
.submenu-head .product-content {
padding: 10px;
background: $white;
box-shadow: 0px 4px 24px rgb(179 179 179 / 25%);
border-radius: 10px;
}
.submenu-head .product-content p {
font-weight: 600;
font-size: 16px;
color: #666666;
margin-bottom: 0;
-webkit-transition: 0.7s;
-moz-transition: 0.7s;
-o-transition: 0.7s;
transition: 0.7s;
}
.submenu-head .product-content h4 {
font-weight: 700;
font-size: 18px;
color: #030A16;
-webkit-transition: 0.7s;
-moz-transition: 0.7s;
-o-transition: 0.7s;
transition: 0.7s;
}
.product-content {
transition: 0.5s all;
}
.product-content:hover {
transform: translateY(-10px);
transition: 0.5s all;
h4 {
color: $primary;
}
}
.testimonial-section {
position: relative;
z-index: 1;
.testimonial-bg {
.testimonial-bg-01 {
position: absolute;
top: 40px;
left: 2%;
z-index: -1;
}
.testimonial-bg-02 {
position: absolute;
right: 0;
bottom: -100px;
z-index: -1;
}
}
}