PATH:
home
/
lab2454c
/
.trash
/
assets
/
templates
/
basic
/
frontend
/
sass
/
_components
//scroll top button .scrollToTop { width: 40px; height: 40px; line-height: 40px; color: $white-color; z-index: 9; bottom: 30px; right: 30px; font-size: 18px; position: fixed; border-radius: 5px; @include transform(translateY(150px)); display: block; text-align: center; background: $base-color; border: 1px solid rgba($color:$white-color, $alpha:.2); &:hover { color: $white-color; } &.active { @include transform(translateY(0)); animation: bounceInDown 2s; -webkit-animation: bounceInDown 2s; -moz-animation: bounceInDown 2s; } img { width: 100%; } } .video__btn { width: 70px; height: 70px; z-index: 1; @include border-radius(50%); @include transform(translate(-50%, -50%)); background: $base-color; line-height: 75px; text-align: center; img { width: 100%; } i { font-size: 24px; color: $white-color; } &::before, &::after { position: absolute; content: ""; width: 100%; height: 100%; left: 0; top: 0; border-radius: 74px; background: $base-color; opacity: 0.15; z-index: -10; } &::before { z-index: -10; -webkit-animation: inner-ripple 2000ms linear infinite; -moz-animation: inner-ripple 2000ms linear infinite; animation: inner-ripple 2000ms linear infinite; } &::after { z-index: -10; -webkit-animation: outer-ripple 2000ms linear infinite; -moz-animation: outer-ripple 2000ms linear infinite; animation: outer-ripple 2000ms linear infinite; } &-center { position: absolute; top: 50%; left: 50%; @include transform(translate(-50%, -50%)); } } .cmn--btn { color: $white-color; border-radius: 5px; line-height: 24px; font-weight: 500; padding: 14px 30px 12px; background: $base-color; border: 1px solid rgba($color:$base-color, $alpha:.2); text-transform: uppercase; font-size: 16px; overflow: hidden; position: relative; display: inline-flex; align-items: center; font-family: $heading; &:hover { background: transparent; color: $title-color; } &.btn--sm { padding: 7px 20px; } &.btn--md { padding: 10px 25px; } &.btn--lg { padding: 13px 35px; } &.btn--block { padding: 10px 25px; display: block; } } .message__chatbox__header { .cmn--btn { &:hover { color: $white-color; } } } .btn.fz--16 { font-size: 16px; } .button-area { margin: -5px; a { margin: 5px; } } button.cmn--btn { &:hover { background: $base-color; color: $white-color; } } .btn__grp { margin: -5px; .cmn--btn { margin: 5px; &:nth-of-type(2n) { background: transparent; color: $base-color; border: none; text-decoration: underline;font-size: 20px; text-transform: capitalize; padding: 0; } } } @keyframes outer-ripple { 0% { transform: scale(1); filter: alpha(opacity=50); opacity: 0.5; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); } 80% { transform: scale(2.5); filter: alpha(opacity=0); opacity: 0; -webkit-transform: scale(2.5); -moz-transform: scale(2.5); -ms-transform: scale(2.5); -o-transform: scale(2.5); } 100% { transform: scale(3.5); filter: alpha(opacity=0); opacity: 0; -webkit-transform: scale(3.5); -moz-transform: scale(3.5); -ms-transform: scale(3.5); -o-transform: scale(3.5); } } @keyframes inner-ripple { 0% { transform: scale(1); filter: alpha(opacity=50); opacity: 0.5; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); } 30% { transform: scale(1); filter: alpha(opacity=50); opacity: 0.5; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); } 100% { transform: scale(1.5); filter: alpha(opacity=0); opacity: 0; -webkit-transform: scale(1.5); -moz-transform: scale(1.5); -ms-transform: scale(1.5); -o-transform: scale(1.5); } }
[+]
..
[-] _buttons.scss
[edit]