File: /mnt/data/smarthr-co-in/demo/react/assets/scss/layout/_footer.scss
footer {
background: $dark;
.footer-top {
padding: 40px 0;
position: relative;
h2 {
margin: 16px 0 40px;
@include respond-below(md) {
margin: 6px 0 30px;
}
}
.footer-icon {
position: absolute;
top: 50%;
left: 20px;
@include transform(translateY(-50%));
}
}
.footer-bottom {
p {
margin-bottom: 20px;
}
.footer-logo {
height: 34px;
margin-bottom: 20px;
}
.menu-links {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
margin-bottom: 10px;
li {
margin-bottom: 8px;
a {
position: relative;
padding-right: 10px;
margin-right: 8px;
color: $white;
&:hover {
color: $primary;
}
}
&:last-child {
a {
padding-right: 0;
margin-right: 0;
&::after {
content: none;
}
}
}
}
}
}
}
.social-icon {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-bottom: 20px;
li {
margin-right: 4px;
a {
width: 40px;
height: 40px;
@include rounded(50%);
background: $dark;
color: $white;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
justify-content: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
font-size: $font-size-20;
&:hover {
background: $primary;
}
}
&:last-child {
margin-right: 0;
}
}
}
.media-icons {
position: fixed;
right: 15px;
bottom: 150px;
z-index: 100;
background: $white;
padding: 10px;
@include rounded(110px);
box-shadow: $box-shadow;
a {
width: 36px;
height: 36px;
@include rounded(50%);
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
justify-content: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
@include transition(all 0.5s ease);
color: $white;
margin-bottom: 5px;
&:last-child {
margin-bottom: 0;
}
&.whatsap-icon {
background: $success;
&:hover {
background: $success-hover;
}
}
&.mail-icon {
background: $gray-900;
&:hover {
background: darken($gray-900, 10%);
}
}
&.skype-icon {
background: $skyblue;
&:hover {
background: darken($skyblue, 10%);
}
}
}
@include respond-below(lg) {
display: none;
}
}
.back-to-top-icon.show {
opacity: 1;
@include transition(all 0.5s ease);
}
.back-to-top-icon {
position: fixed;
left: 15px;
bottom: 30px;
z-index: 100;
width: 36px;
height: 36px;
text-align: center;
border-radius: 50%;
background: $primary;
color: $white;
cursor: pointer;
border: 0;
text-decoration: none;
transition: opacity 0.2s ease-out;
opacity: 0;
@include transition(all 0.5s ease);
&:hover {
color: $white;
background: $primary;
}
}