@mixin Shadow2 { box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.35); } .btn_up { margin-right: -24px; z-index: 8; width: 48px; height: 48px; position: fixed; right: 0; bottom: 21px; background: $orange-color; //margin-right: -9px; @include Bradius(100%); cursor: pointer; overflow: hidden; @include Shadow2; &:before { position: absolute; width: 100%; height: 100%; left: 0; top: 0; content: ''; background: url("../images/ico-all/arrow-up-big.png") 50% 50% no-repeat; @include Transition(0.3); opacity: 0; } &:hover { background: $orange-color-hover; &:before { margin-top: -6px; } } &:active { background: $orange-color-active; @include Shadow; &:before { margin-top: -9px; } } &.visible { display: block !important; &:before { opacity: 1; } } } .btn_call_close { width: 46px; height: 46px; position: fixed; bottom: 0; left: 0; border-top-right-radius: 4px; background: $orange-color; z-index: 13; cursor: pointer; display: none; text-align: center; &:before { @include svgIcon; content: '\e90f'; color: #fff; line-height: 46px; font-size: 18px; } &.visible { display: block !important; } } $call-mobile-width:300; .call-mobile-wr { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 12; overflow-y: scroll; &.open { display: block !important; } } .call-mobile { width: 100%; height: 100%; display: table; } .call-mobile-td { display: table-cell; vertical-align: bottom; padding-bottom: 60px; padding-top: 15px; } .button-call-mob { height: 34px; background: #fff; border-radius: 4px; width: 300px; position: relative; text-align: center; margin: 0 auto; margin-top: 4px; &:first-child { margin-top: 0; } } .call-contact, .call-sms { text-decoration: none; position: relative; color: inherit; line-height: 34px; &:before { width: 16px; height: 100%; position: absolute; top: 0; left: -22px; content: ''; } } .button-call_ { display: block; width: 100%; height: 100%; line-height: 34px; text-decoration: none; color: inherit; font-size: 13px; div { width: 30px; height: 100%; float: left; span { width: 30px; height: 100%; display: table-cell; vertical-align: middle; text-align: center; } } p { margin-left: 35px; float: left; display: block; } span { } font-size: 18px; font-family: Helvetica; float: left; display: block; } .call-sms:before { background: url(../images/ico-call/ico-36.png) 50% 50% no-repeat; } .call-contact:before { background: url(../images/ico-call/ico-37.png) 50% 50% no-repeat; } .btn_call { z-index: 7; width: 74px; height: 74px; position: fixed; right: 15px; bottom: 10px; cursor: pointer; padding: 5px 5px; &:before { content: ''; position: absolute; width: 100%; height: 100%; left: 0; top: 0; z-index: 1; background: #64696d; opacity: 0.3; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; filter: alpha(opacity=30); -webkit-border-radius: 100%; -moz-border-radius: 100%; -ms-border-radius: 100%; border-radius: 100%; animation-name: tocall1; -webkit-animation-name: tocall1; animation-duration: 1.5s; -webkit-animation-duration: 1.5s; animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite; } div { width: 64px; height: 64px; position: relative; z-index: 2; background: #fe9901; transition: 0.05s; -webkit-transition: 0.05s; -moz-transition: 0.05s; -ms-transition: 0.05s; -o-transition: 0.05s; -webkit-border-radius: 100%; -moz-border-radius: 100%; -ms-border-radius: 100%; border-radius: 100%; font-family: 'icomoon' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; &:before { width: 64px; height: 64px; color: #fff; font-size: 24px; content: ""; background: url("../images/ico-call-big.svg") 50% 50% no-repeat; background-size: 24px 24px; display: block; text-align: center; line-height: 64px; animation-name: tocall2; -webkit-animation-name: tocall2; animation-duration: 1.5s; -webkit-animation-duration: 1.5s; animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite; } } &.close { z-index: 130; opacity: 1 !important; &:before { animation: none !important; } div { &:before { content: '\e90c'; animation: none !important; background: none; } } } } @keyframes tocall2 { 0% { transform:rotate(-8deg) } 50% { transform:rotate(8deg) } 100% { transform:rotate(-8deg) } } @-webkit-keyframes tocall2 { 0% { -webkit-transform:rotate(-8deg) } 50% { -webkit-transform:rotate(8deg) } 100% { -webkit-transform:rotate(-8deg) } } @-moz-keyframes tocall2 { 0% { -moz-transform:rotate(-8deg) } 50% { -moz-transform:rotate(8deg) } 100% { -moz-transform:rotate(-8deg) } } @keyframes tocall1 { 0% { transform:scale(0.7); @include Opacity(1); } 100% { transform:scale(1.30); @include Opacity(0); } } @-webkit-keyframes tocall1 { 0% { -webkit-transform:scale(0.7); @include Opacity(1); } 100% { -webkit-transform:scale(1.30); @include Opacity(0); } } @-moz-keyframes tocall1 { 0% { -moz-transform:scale(0.7); @include Opacity(1); } 100% { -moz-transform:scale(1.30); @include Opacity(0); } } @media (max-width: 1200px) { } @media (max-width: 992px) { .btn_up { margin-right: 16px; } } @media (max-width: 767px) { .btn_up { right: 15px !important; &.visible { display: none !important; } } .btn_call { display: block !important; } }