Skip to content

Commit

Permalink
UPD: JetChat fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MjHead committed Dec 18, 2017
1 parent e5ffb03 commit c4ec244
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 14 deletions.
10 changes: 5 additions & 5 deletions assets/js/theme-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
var $sticky = $('.primary-sidebar-area');
var $stickyrStopper = $('.footer-area-wrap');
if ( !!$sticky.offset() ) {
if ( !!$sticky.offset() ) {
var generalSidebarHeight = $sticky.outerHeight();
var stickyTop = $sticky.offset().top;
Expand All @@ -52,7 +52,7 @@
}
});
}
},*/

cherrySearchInputIconHide: function( self ) {
Expand All @@ -79,7 +79,7 @@
$("footer#colophon").css("position","fixed").css("bottom",0).css("width", '100%');
$(".site-content_wrap").css( 'margin-bottom', '425px');
$(".footer-area-wrap").css("position","fixed").css("bottom", footerHeight).css("width", '100%');

}
},

Expand Down Expand Up @@ -118,11 +118,11 @@

},
to_top_init: function ( self ) {
if ( $.isFunction( jQuery.fn.UItoTop ) ) {
/*if ( $.isFunction( jQuery.fn.UItoTop ) ) {
$().UItoTop({
scrollSpeed: 600
});
}
}*/
},

}
Expand Down
22 changes: 17 additions & 5 deletions assets/sass/plugins/_jet-chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,31 @@
position: fixed;
right: 40px;
bottom: 55px;
z-index: 999;
}

.jet-chat {
border-radius: 6px;
background: #fff;
box-shadow: 0 18px 60px rgba( 80, 106, 72, .15 );
margin-bottom: 100px;
position: relative;
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: all 400ms cubic-bezier(.21,1.13,.81,.99);
transition-property: opacity, transform, visibility;
transform: translateY(30px);
overflow: hidden;
height: 0;

&.chat-active {
pointer-events: auto;
visibility: visible;
opacity: 1;
transform: translateY(0);
margin-bottom: 100px;
height: auto;
overflow: visible;
}

&:after {
Expand Down Expand Up @@ -62,9 +68,15 @@
}
&-field {
&.jet-chat-error {
border-color: red;
background: #fef4f5;
border-color: #ffcbcd;
}
}
&-error {
color: #fc3448;
font-size: 12px;
line-height: 18px;
}
}
&__heading {
background: $color__hover-jet-themes;
Expand Down Expand Up @@ -209,7 +221,7 @@
&:not(.chat-active):hover {
box-shadow: 0 0 0 20px rgba( 29, 230, 286, .2 ), 0 0 0 10px rgba( 29, 230, 286, .5 );
&:before {
animation: bounce 200ms 4 linear alternate;
animation: bounceRotate 200ms 4 linear alternate;
}
span {
top: -70px;
Expand Down Expand Up @@ -241,7 +253,7 @@
}
}

@-webkit-keyframes bounce {
@-webkit-keyframes bounceRotate {
0% {
-webkit-transform: rotate( 0deg );
}
Expand All @@ -252,7 +264,7 @@
-webkit-transform: rotate( -5deg );
}
}
@keyframes bounce {
@keyframes bounceRotate {
0% {
transform: rotate( 0deg );
}
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/site/primary/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
width: auto;
position: relative;
//padding: 21px 24px 19px;
padding: 0 25px 0 0;
padding: 8px 25px 0 0;
display: flex;
@include media-breakpoint-down(xs) {
padding: 15px 24px;
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://underscores.me/
Author: Wapuula team
Author URI: http://wapuula.com
Description: wapuula.com theme
Version: 2.1.4.2
Version: 2.1.4.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wapu
Expand Down
4 changes: 2 additions & 2 deletions style.css

Large diffs are not rendered by default.

0 comments on commit c4ec244

Please sign in to comment.