1247 lines
28 KiB
CSS
1247 lines
28 KiB
CSS
.chaty *, .chaty-chat-view *, .chaty-outer-forms * {
|
|
box-sizing: border-box
|
|
}
|
|
|
|
.chaty-agent-data, .chaty-whatsapp-field input[type=text], .chaty-whatsapp-message, .chaty-whatsapp-message p {
|
|
font-family: Segoe UI, Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu, Cantarell, Fira Sans, sans-serif
|
|
}
|
|
|
|
.chaty-agent-header, .chaty-channel, .chaty-channels, .chaty-form-body, .chaty-tooltip {
|
|
position: relative
|
|
}
|
|
|
|
.chaty-tooltip .on-hover-text, .chaty-tooltip .on-hover-text:before, .chaty-tooltip:after, .chaty-tooltip:before {
|
|
text-transform: none;
|
|
font-size: .9em;
|
|
line-height: 1;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
display: none;
|
|
opacity: 0
|
|
}
|
|
|
|
.on-hover-text {
|
|
display: none;
|
|
white-space: pre
|
|
}
|
|
|
|
.chaty-tooltip .on-hover-text:before, .chaty-tooltip:before {
|
|
content: "";
|
|
border: 5px solid transparent;
|
|
z-index: 1001
|
|
}
|
|
|
|
.chaty-tooltip:after {
|
|
content: attr(data-hover)
|
|
}
|
|
|
|
.chaty-tooltip .on-hover-text, .chaty-tooltip:after {
|
|
text-align: center;
|
|
min-width: 1em;
|
|
max-width: 21em;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding: 5px 15px;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
color: #333;
|
|
z-index: 1000;
|
|
box-shadow: 0 1.93465px 7.73859px rgb(0 0 0 / 15%);
|
|
font-size: 17px;
|
|
line-height: 21px
|
|
}
|
|
|
|
.chaty-animation-shockwave:after, .chaty-animation-shockwave:before {
|
|
content: "";
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0
|
|
}
|
|
|
|
.chaty-tooltip .on-hover-text {
|
|
overflow: visible;
|
|
white-space: pre
|
|
}
|
|
|
|
.chaty-tooltip.active .on-hover-text, .chaty-tooltip.active .on-hover-text:before, .chaty-tooltip.active:after, .chaty-tooltip.active:before, .chaty-tooltip:hover .on-hover-text, .chaty-tooltip:hover .on-hover-text:before, .chaty-tooltip:hover:after, .chaty-tooltip:hover:before {
|
|
display: block;
|
|
opacity: 1
|
|
}
|
|
|
|
.chaty-tooltip.active .on-hover-text, .chaty-tooltip.active .on-hover-text:before, .chaty-tooltip.active:after, .chaty-tooltip.active:before, .chaty-tooltip.pos-left:hover .on-hover-text, .chaty-tooltip.pos-left:hover .on-hover-text:before, .chaty-tooltip.pos-left:hover:after, .chaty-tooltip.pos-left:hover:before, .chaty-tooltip.pos-right:hover .on-hover-text, .chaty-tooltip.pos-right:hover .on-hover-text:before, .chaty-tooltip.pos-right:hover:after, .chaty-tooltip.pos-right:hover:before {
|
|
animation: ease-out forwards tooltips-horz
|
|
}
|
|
|
|
.chaty-tooltip.has-on-hover:after, .chaty-tooltip.has-on-hover:before, .chaty-widget .chaty-i-trigger .chaty-cta-close.chaty-tooltip.chaty-tooltip:hover:after, .chaty-widget .chaty-i-trigger .chaty-cta-close.chaty-tooltip:hover:before, .chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip:after, .chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip:before, .chaty-widget.cssas-no-close-button.default-open .chaty-i-trigger, .on-hover-text:empty, [data-hover=""]:after, [data-hover=""]:before {
|
|
display: none !important
|
|
}
|
|
|
|
.chaty-tooltip.pos-top:before {
|
|
border-bottom-width: 0;
|
|
border-top-color: #fff;
|
|
bottom: calc(100% + 5px)
|
|
}
|
|
|
|
.chaty-tooltip.pos-top:after {
|
|
bottom: calc(100% + 10px)
|
|
}
|
|
|
|
.chaty-tooltip.pos-top:after, .chaty-tooltip.pos-top:before {
|
|
left: 50%;
|
|
transform: translate(-50%, -.5em)
|
|
}
|
|
|
|
.chaty-tooltip.pos-down:before {
|
|
top: 100%;
|
|
border-top-width: 0;
|
|
border-bottom-color: #fff
|
|
}
|
|
|
|
.chaty-tooltip.pos-down:after {
|
|
top: calc(100% + 5px)
|
|
}
|
|
|
|
.chaty-tooltip.pos-down:after, .chaty-tooltip.pos-down:before {
|
|
left: 50%;
|
|
transform: translate(-50%, .5em)
|
|
}
|
|
|
|
.chaty-tooltip.pos-left .on-hover-text:before, .chaty-tooltip.pos-left:before {
|
|
top: 50%;
|
|
border-right-width: 0;
|
|
border-left-color: #fff;
|
|
left: calc(0em - 10px);
|
|
transform: translate(-.5em, -50%)
|
|
}
|
|
|
|
.chaty-tooltip.pos-left .on-hover-text:before {
|
|
left: auto;
|
|
right: calc(0em - 5px)
|
|
}
|
|
|
|
.chaty-tooltip.pos-left .on-hover-text, .chaty-tooltip.pos-left:after {
|
|
top: 50%;
|
|
right: calc(100% + 10px);
|
|
transform: translate(-.5em, -50%)
|
|
}
|
|
|
|
.chaty-tooltip.pos-right .on-hover-text:before, .chaty-tooltip.pos-right:before {
|
|
top: 50%;
|
|
border-left-width: 0;
|
|
border-right-color: #fff;
|
|
right: calc(0em - 10px);
|
|
transform: translate(.5em, -50%)
|
|
}
|
|
|
|
.chaty-tooltip.pos-right .on-hover-text:before {
|
|
left: calc(0em - 5px);
|
|
right: auto
|
|
}
|
|
|
|
.chaty-tooltip.pos-right .on-hover-text, .chaty-tooltip.pos-right:after {
|
|
top: 50%;
|
|
left: calc(100% + 10px);
|
|
transform: translate(.5em, -50%)
|
|
}
|
|
|
|
@keyframes tooltips-vert {
|
|
to {
|
|
opacity: 1;
|
|
transform: translate(-50%, 0)
|
|
}
|
|
}
|
|
|
|
@keyframes tooltips-horz {
|
|
to {
|
|
opacity: 1;
|
|
transform: translate(0, -50%)
|
|
}
|
|
}
|
|
|
|
.chaty-tooltip.pos-down:hover:after, .chaty-tooltip.pos-down:hover:before, .chaty-tooltip.pos-top:hover:after, .chaty-tooltip.pos-top:hover:before {
|
|
animation: ease-out forwards tooltips-vert
|
|
}
|
|
|
|
@-webkit-keyframes chaty-animation-shockwave {
|
|
0% {
|
|
transform: scale(1);
|
|
box-shadow: 0 0 2px rgba(0, 0, 0, .3), inset 0 0 1px rgba(0, 0, 0, .3)
|
|
}
|
|
95% {
|
|
box-shadow: 0 0 50px transparent, inset 0 0 30px transparent
|
|
}
|
|
100% {
|
|
transform: scale(2.25)
|
|
}
|
|
}
|
|
|
|
@keyframes chaty-animation-shockwave {
|
|
0% {
|
|
transform: scale(1);
|
|
box-shadow: 0 0 2px rgba(0, 0, 0, .3), inset 0 0 1px rgba(0, 0, 0, .3)
|
|
}
|
|
95% {
|
|
box-shadow: 0 0 50px transparent, inset 0 0 30px transparent
|
|
}
|
|
100% {
|
|
transform: scale(2.25)
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes chaty-animation-blink {
|
|
0%, 100% {
|
|
opacity: 1
|
|
}
|
|
20% {
|
|
opacity: .5
|
|
}
|
|
}
|
|
|
|
@keyframes chaty-animation-blink {
|
|
0%, 100% {
|
|
opacity: 1
|
|
}
|
|
20% {
|
|
opacity: .5
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes chaty-animation-pulse {
|
|
0% {
|
|
transform: scale(1);
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
|
|
border-radius: 50%
|
|
}
|
|
100% {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
|
|
border-radius: 45%
|
|
}
|
|
}
|
|
|
|
@keyframes chaty-animation-pulse {
|
|
0% {
|
|
transform: scale(1);
|
|
border-radius: 50%
|
|
}
|
|
100% {
|
|
transform: scale(1.1);
|
|
border-radius: 45%
|
|
}
|
|
}
|
|
|
|
.chaty-animation-shockwave:after {
|
|
left: 0;
|
|
-webkit-animation: 2s ease-out 1.3s infinite chaty-animation-shockwave;
|
|
animation: 2s ease-out 1.3s infinite chaty-animation-shockwave
|
|
}
|
|
|
|
.chaty-animation-shockwave:before {
|
|
left: 0;
|
|
-webkit-animation: 2s ease-out .8s infinite chaty-animation-shockwave;
|
|
animation: 2s ease-out .8s infinite chaty-animation-shockwave
|
|
}
|
|
|
|
.chaty-animation-blink {
|
|
-webkit-animation: 1.33s ease-out infinite chaty-animation-blink;
|
|
animation: 1.33s ease-out infinite chaty-animation-blink
|
|
}
|
|
|
|
.chaty-animation-pulse, .chaty-animation-pulse-icon {
|
|
-webkit-animation: .4s infinite alternate chaty-animation-pulse;
|
|
animation: .4s infinite alternate chaty-animation-pulse
|
|
}
|
|
|
|
.chaty-animation-sheen {
|
|
position: relative;
|
|
overflow: hidden
|
|
}
|
|
|
|
.chaty-animation-sheen:after {
|
|
animation: 5s infinite chaty-animation-sheen;
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .5) 50%, transparent);
|
|
transform: rotateZ(60deg) translate(0, 5em)
|
|
}
|
|
|
|
@keyframes chaty-animation-sheen {
|
|
100%, 20% {
|
|
transform: rotateZ(60deg) translate(0, -80px)
|
|
}
|
|
}
|
|
|
|
.chaty-animation-fade {
|
|
animation: 5s infinite chaty-animation-fade
|
|
}
|
|
|
|
.chaty-animation-spin {
|
|
animation: 5s cubic-bezier(.56, -.35, .22, 1.5) infinite chaty-animation-spin
|
|
}
|
|
|
|
@keyframes chaty-animation-fade {
|
|
15%, 5% {
|
|
opacity: .25
|
|
}
|
|
10%, 100%, 20% {
|
|
opacity: 1
|
|
}
|
|
}
|
|
|
|
@keyframes chaty-animation-spin {
|
|
10% {
|
|
transform: rotateZ(-20deg);
|
|
animation-timing-function: ease
|
|
}
|
|
100%, 20% {
|
|
transform: rotateZ(360deg)
|
|
}
|
|
}
|
|
|
|
.chaty-animation-bounce, .chaty-animation-jump {
|
|
animation: 5s cubic-bezier(.84, -.54, .31, 1.19) infinite chaty-animation-bounce
|
|
}
|
|
|
|
@keyframes chaty-animation-bounce {
|
|
0%, 100%, 20% {
|
|
transform: none
|
|
}
|
|
10% {
|
|
transform: translateY(-1em)
|
|
}
|
|
}
|
|
|
|
@keyframes chaty-animation-waggle {
|
|
0% {
|
|
transform: none
|
|
}
|
|
10% {
|
|
transform: rotateZ(-20deg) scale(1.2)
|
|
}
|
|
13% {
|
|
transform: rotateZ(25deg) scale(1.2)
|
|
}
|
|
15% {
|
|
transform: rotateZ(-15deg) scale(1.2)
|
|
}
|
|
17% {
|
|
transform: rotateZ(15deg) scale(1.2)
|
|
}
|
|
20% {
|
|
transform: rotateZ(-12deg) scale(1.2)
|
|
}
|
|
22% {
|
|
transform: rotateZ(0) scale(1.2)
|
|
}
|
|
100%, 24% {
|
|
transform: rotateZ(0) scale(1)
|
|
}
|
|
}
|
|
|
|
.chaty-animation-waggle {
|
|
animation: 5s infinite chaty-animation-waggle
|
|
}
|
|
|
|
.chaty {
|
|
display: none;
|
|
z-index: 99999
|
|
}
|
|
|
|
.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-close.chaty-tooltip.chaty-tooltip:hover:after, .chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-close.chaty-tooltip:hover:before, .chaty.active, .chaty.form-open .chaty-widget.cssas-no-close-button.default-open .chaty-i-trigger {
|
|
display: block !important
|
|
}
|
|
|
|
.chaty * {
|
|
margin: 0;
|
|
padding: 0
|
|
}
|
|
|
|
.chaty .sr-only {
|
|
position: absolute !important;
|
|
width: 1px !important;
|
|
height: 1px !important;
|
|
padding: 0 !important;
|
|
margin: -1px !important;
|
|
overflow: hidden !important;
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
border: 0 !important
|
|
}
|
|
|
|
.chaty a, .chaty a:focus, .chaty a:hover, .chaty button {
|
|
border: none;
|
|
text-decoration: none;
|
|
outline: 0;
|
|
box-shadow: none
|
|
}
|
|
|
|
.chaty-widget {
|
|
position: fixed;
|
|
bottom: 25px;
|
|
right: 25px;
|
|
z-index: 10001
|
|
}
|
|
|
|
.chaty-widget.left-position {
|
|
left: 25px;
|
|
right: auto
|
|
}
|
|
|
|
.chaty-channel-list {
|
|
display: flex;
|
|
width: 62px;
|
|
height: 124px;
|
|
position: absolute;
|
|
bottom: -4px;
|
|
right: 0;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
pointer-events: none
|
|
}
|
|
|
|
.chaty-widget.left-position .chaty-channel-list {
|
|
left: 0;
|
|
right: auto
|
|
}
|
|
|
|
.chaty-widget.chaty-open .chaty-channel-list, .chaty-widget.has-single .chaty-i-trigger .Phone-channel:after, .chaty-widget.has-single .chaty-i-trigger .Phone-channel:before {
|
|
pointer-events: auto
|
|
}
|
|
|
|
.chaty-channel-list .chaty-channel, .chaty-channel.single .chaty-svg {
|
|
display: inline-block;
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 50%;
|
|
margin: 4px;
|
|
cursor: pointer;
|
|
box-shadow: 0 3px 6px rgb(0 0 0 / 25%)
|
|
}
|
|
|
|
.chaty-channel-list .chaty-channel {
|
|
position: absolute;
|
|
bottom: 0;
|
|
opacity: 0;
|
|
transition: .5s;
|
|
-webkit-transition: .5s
|
|
}
|
|
|
|
.chaty-channel.single .chaty-svg {
|
|
margin: 0
|
|
}
|
|
|
|
.chaty-widget.chaty-open .chaty-channel-list .chaty-channel {
|
|
opacity: 1
|
|
}
|
|
|
|
.chaty-channel a, .chaty-channel button, .chaty-svg {
|
|
display: block;
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
position: relative;
|
|
outline: 0
|
|
}
|
|
|
|
.chaty-channel button {
|
|
background: 0 0;
|
|
border-radius: 50%
|
|
}
|
|
|
|
.chaty-channel a .chaty-custom-icon, .chaty-channel button .chaty-custom-icon, .chaty-svg .chaty-custom-icon {
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
font-size: 27px;
|
|
line-height: 54px;
|
|
color: #fff
|
|
}
|
|
|
|
.chaty-channel a:focus, .chaty-channel button:focus, .chaty-contact-form-box button.chaty-submit-button {
|
|
outline: 0
|
|
}
|
|
|
|
.chaty-agent-icon svg, .chaty-channel svg, .chaty-view-channels .chaty-channel span svg {
|
|
width: 100%;
|
|
height: 100%
|
|
}
|
|
|
|
.chaty-channel img {
|
|
width: 54px;
|
|
height: 54px;
|
|
object-fit: cover;
|
|
border-radius: 50%
|
|
}
|
|
|
|
.chaty-i-trigger .chaty-channel {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 4px;
|
|
transition: .5s;
|
|
border-radius: 50%;
|
|
cursor: pointer
|
|
}
|
|
|
|
.chaty-cta-button {
|
|
transition: .5s;
|
|
box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
|
|
border-radius: 50%
|
|
}
|
|
|
|
.chaty-widget.left-position .chaty-i-trigger .chaty-channel {
|
|
left: 4px;
|
|
right: auto
|
|
}
|
|
|
|
.chaty-widget .chaty-cta-main .chaty-cta-button {
|
|
z-index: 1099;
|
|
opacity: 1;
|
|
position: relative
|
|
}
|
|
|
|
.chaty-widget.chaty-open .chaty-cta-main .chaty-cta-button {
|
|
z-index: 999;
|
|
opacity: 0;
|
|
transform: rotate(540deg);
|
|
visibility: hidden
|
|
}
|
|
|
|
.chaty-widget .chaty-i-trigger .chaty-cta-close {
|
|
pointer-events: none
|
|
}
|
|
|
|
.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-close {
|
|
pointer-events: auto;
|
|
z-index: 101
|
|
}
|
|
|
|
.chaty-widget .chaty-i-trigger .chaty-cta-close .chaty-cta-button {
|
|
z-index: 999;
|
|
opacity: 0;
|
|
visibility: hidden
|
|
}
|
|
|
|
.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-close .chaty-cta-button {
|
|
z-index: 1099;
|
|
opacity: 1;
|
|
transform: rotate(180deg);
|
|
visibility: visible
|
|
}
|
|
|
|
.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip {
|
|
z-index: 91
|
|
}
|
|
|
|
.chaty-channel button.open-chaty-channel, .chaty-widget.chaty-no-close-button:not(.has-single) .chaty-i-trigger:not(.single-channel), .chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip .on-hover-text, .chaty.form-open .chaty-channel button.open-chaty, .chaty.form-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip .on-hover-text, .chaty.form-open .chaty-i-trigger .chaty-tooltip:after, .chaty.form-open .chaty-i-trigger .chaty-tooltip:before, .chaty.form-open .chaty-widget.has-single .chaty-i-trigger .on-hover-text {
|
|
display: none
|
|
}
|
|
|
|
.chaty-widget .ch-pending-msg {
|
|
position: absolute;
|
|
right: -4px;
|
|
top: -4px;
|
|
width: 16px;
|
|
height: 16px;
|
|
text-align: center;
|
|
background: red;
|
|
color: #fff;
|
|
font-size: 10px;
|
|
line-height: 16px;
|
|
border-radius: 50%;
|
|
z-index: 1101
|
|
}
|
|
|
|
.chaty-widget.left-position.hor-mode .chaty-channel-list {
|
|
width: 136px;
|
|
height: 62px;
|
|
left: 0;
|
|
bottom: 0
|
|
}
|
|
|
|
.chaty-widget.right-position.hor-mode .chaty-channel-list {
|
|
width: 136px;
|
|
height: 62px;
|
|
right: 0;
|
|
left: auto;
|
|
bottom: 0
|
|
}
|
|
|
|
.chaty-widget.hor-mode .chaty-channel-list .chaty-channel {
|
|
margin-top: 0;
|
|
margin-bottom: 0
|
|
}
|
|
|
|
.chaty-widget.hor-mode.left-position .chaty-channel-list .chaty-channel {
|
|
left: 0
|
|
}
|
|
|
|
.chaty-widget.hor-mode.right-position .chaty-channel-list .chaty-channel {
|
|
right: 0;
|
|
left: auto
|
|
}
|
|
|
|
.chaty-chat-view, .chaty-outer-forms {
|
|
vertical-align: bottom;
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px;
|
|
position: fixed !important;
|
|
bottom: -25px;
|
|
left: 25px;
|
|
padding: 0;
|
|
width: 320px;
|
|
max-width: 90%;
|
|
-moz-transition: .5s linear;
|
|
box-shadow: rgba(0, 0, 0, .16) 0 5px 40px;
|
|
-webkit-box-shadow: rgba(0, 0, 0, .16) 0 5px 40px;
|
|
-moz-box-shadow: rgba(0, 0, 0, .16) 0 5px 40px;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
transition: .5s;
|
|
-webkit-transition: .5s;
|
|
animation-delay: -2s;
|
|
-webkit-animation-delay: -2s
|
|
}
|
|
|
|
.chaty-chat-view.pos-left, .chaty-outer-forms.pos-left {
|
|
left: 25px
|
|
}
|
|
|
|
.chaty-chat-view.pos-right, .chaty-outer-forms.pos-right {
|
|
right: 25px;
|
|
left: auto
|
|
}
|
|
|
|
.chaty-outer-forms.active, .chaty:not(.form-open) .chaty-widget.chaty-open + .chaty-chat-view {
|
|
-webkit-transform: translateY(-93px);
|
|
transform: translateY(-93px);
|
|
opacity: 1;
|
|
z-index: 999999;
|
|
visibility: visible;
|
|
bottom: 0;
|
|
pointer-events: auto
|
|
}
|
|
|
|
.chaty-whatsapp-body {
|
|
background: #e6ddd4;
|
|
padding: 0;
|
|
min-height: 260px;
|
|
position: relative;
|
|
z-index: 2;
|
|
-webkit-border-top-left-radius: 6px;
|
|
-webkit-border-top-right-radius: 6px;
|
|
-moz-border-radius-topleft: 6px;
|
|
-moz-border-radius-topright: 6px;
|
|
border-top-left-radius: 6px;
|
|
border-top-right-radius: 6px
|
|
}
|
|
|
|
.chaty-whatsapp-content {
|
|
padding: 20px 20px 20px 10px
|
|
}
|
|
|
|
.chaty-form-body {
|
|
background: #fff;
|
|
z-index: 99999;
|
|
min-height: 75px;
|
|
border-radius: 10px
|
|
}
|
|
|
|
.chaty-form-body form {
|
|
margin: 0;
|
|
padding: 0
|
|
}
|
|
|
|
.qr-code-image {
|
|
padding: 10px;
|
|
text-align: center
|
|
}
|
|
|
|
.qr-code-image img {
|
|
max-width: 100%;
|
|
max-height: 360px;
|
|
margin: 0 auto;
|
|
display: block;
|
|
width: 100%;
|
|
height: auto
|
|
}
|
|
|
|
.chaty-whatsapp-body:before {
|
|
display: block;
|
|
position: absolute;
|
|
content: "";
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
z-index: 0;
|
|
opacity: .08;
|
|
background-image: url("../images/whatsapp.png")
|
|
}
|
|
|
|
.chaty-whatsapp-message {
|
|
padding: 7px 14px 6px;
|
|
background-color: #fff;
|
|
border-radius: 0 8px 8px;
|
|
position: relative;
|
|
transform-origin: center top;
|
|
z-index: 2;
|
|
box-shadow: rgba(0, 0, 0, .13) 0 1px .5px;
|
|
margin-top: 4px;
|
|
margin-left: 15px;
|
|
max-width: calc(100% - 40px);
|
|
font-size: 14px
|
|
}
|
|
|
|
.chaty-whatsapp-message:before {
|
|
position: absolute;
|
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAMAAADp2asXAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACQUExURUxpccPDw9ra2m9vbwAAAAAAADExMf///wAAABoaGk9PT7q6uqurqwsLCycnJz4+PtDQ0JycnIyMjPf3915eXvz8/E9PT/39/RMTE4CAgAAAAJqamv////////r6+u/v7yUlJeXl5f///5ycnOXl5XNzc/Hx8f///xUVFf///+zs7P///+bm5gAAAM7Ozv///2fVensAAAAvdFJOUwCow1cBCCnqAhNAnY0WIDW2f2/hSeo99g1lBYT87vDXG8/6d8oL4sgM5szrkgl660OiZwAAAHRJREFUKM/ty7cSggAABNFVUQFzwizmjPz/39k4YuFWtm55bw7eHR6ny63+alnswT3/rIDzUSC7CrAziPYCJCsB+gbVkgDtVIDh+DsE9OTBpCtAbSBAZSEQNgWIygJ0RgJMDWYNAdYbAeKtAHODlkHIv997AkLqIVOXVU84AAAAAElFTkSuQmCC");
|
|
background-position: 50% 50%;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
content: "";
|
|
top: 0;
|
|
left: -12px;
|
|
width: 12px;
|
|
height: 19px
|
|
}
|
|
|
|
.chaty-whatsapp-message p {
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #111b21;
|
|
font-weight: 400
|
|
}
|
|
|
|
.chaty-whatsapp-footer {
|
|
position: relative;
|
|
padding: 12px 15px;
|
|
background: #f0f0f0;
|
|
-webkit-border-bottom-right-radius: 6px;
|
|
-webkit-border-bottom-left-radius: 6px;
|
|
-moz-border-radius-bottomright: 6px;
|
|
-moz-border-radius-bottomleft: 6px;
|
|
border-bottom-right-radius: 6px;
|
|
border-bottom-left-radius: 6px
|
|
}
|
|
|
|
.whatsapp-chaty-form {
|
|
display: flex;
|
|
margin: 0;
|
|
padding: 0
|
|
}
|
|
|
|
.chaty-whatsapp-button button, .chaty-whatsapp-button button:focus, .chaty-whatsapp-button button:hover {
|
|
line-height: 48px;
|
|
text-align: center;
|
|
float: right;
|
|
height: 48px;
|
|
width: 48px;
|
|
padding: 8px 10px 8px 15px;
|
|
background: #25d366 !important;
|
|
border-radius: 24px;
|
|
outline: 0;
|
|
box-shadow: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
margin: 0;
|
|
text-decoration: none
|
|
}
|
|
|
|
.chaty-whatsapp-data {
|
|
display: flex;
|
|
flex: 1
|
|
}
|
|
|
|
.chaty-whatsapp-field {
|
|
padding-right: 12px;
|
|
flex: 1
|
|
}
|
|
|
|
.chaty-whatsapp-button {
|
|
flex: 0 0 48px
|
|
}
|
|
|
|
.chaty-whatsapp-button svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0
|
|
}
|
|
|
|
.chaty-whatsapp-field input[type=text] {
|
|
height: 48px !important;
|
|
line-height: 32px;
|
|
padding: 0 10px 0 15px;
|
|
font-size: 16px;
|
|
resize: none;
|
|
width: 100%;
|
|
border: none !important;
|
|
border-radius: 24px;
|
|
outline: 0;
|
|
box-shadow: none !important;
|
|
background: #fff !important;
|
|
margin: 0;
|
|
color: #111b21
|
|
}
|
|
|
|
.chaty-whatsapp-field input[type=text]:focus {
|
|
outline: 0;
|
|
border: none;
|
|
margin: 0;
|
|
color: #111b21
|
|
}
|
|
|
|
.chaty-whatsapp-button button:focus, .chaty-whatsapp-button button:hover {
|
|
background: #22bf5b !important
|
|
}
|
|
|
|
.close-chaty-form {
|
|
position: absolute;
|
|
right: 5px;
|
|
top: 5px;
|
|
background: #30534b;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 15px;
|
|
padding: 3px;
|
|
cursor: pointer;
|
|
transition: .4s;
|
|
-webkit-transition: .4s;
|
|
-moz-transition: .4s
|
|
}
|
|
|
|
.close-chaty-form:hover {
|
|
transform: rotate(180deg);
|
|
-webkit-transform: rotate(180deg);
|
|
-moz-transform: rotate(180deg)
|
|
}
|
|
|
|
.chaty-close-button {
|
|
position: relative;
|
|
width: 16px;
|
|
height: 16px;
|
|
transition: .4s;
|
|
cursor: pointer
|
|
}
|
|
|
|
.chaty-close-button:after, .chaty-close-button:before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 12px;
|
|
height: 2px;
|
|
background-color: #fff;
|
|
display: block;
|
|
border-radius: 2px;
|
|
transform: rotate(45deg);
|
|
top: 7px;
|
|
left: 2px
|
|
}
|
|
|
|
.chaty-close-button:after {
|
|
transform: rotate(-45deg)
|
|
}
|
|
|
|
.chaty.form-open .chaty-channel button.open-chaty-channel, .chaty.form-open .chaty-no-close-button.has-single .chaty-i-trigger {
|
|
display: block
|
|
}
|
|
|
|
.chaty-agent-data {
|
|
font-size: 16px
|
|
}
|
|
|
|
.chaty-agent-header {
|
|
font-size: 18px;
|
|
padding: 20px 15px;
|
|
background: #22bf5b;
|
|
color: #fff;
|
|
-webkit-border-top-left-radius: 10px;
|
|
-webkit-border-top-right-radius: 10px;
|
|
-moz-border-radius-topleft: 10px;
|
|
-moz-border-radius-topright: 10px;
|
|
border-top-left-radius: 10px;
|
|
border-top-right-radius: 10px
|
|
}
|
|
|
|
.chaty-agent-data .close-chaty-form {
|
|
right: 10px;
|
|
top: 12px
|
|
}
|
|
|
|
.chaty-agent-data .chaty-agent {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 15px
|
|
}
|
|
|
|
.chaty-agent-data .chaty-agent a {
|
|
color: #49687e;
|
|
font-size: 16px;
|
|
text-decoration: none;
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
outline: 0;
|
|
font-weight: 400
|
|
}
|
|
|
|
.chaty-contact-input input[type=email].chaty-input-field, .chaty-contact-input input[type=text].chaty-input-field, .chaty-contact-input textarea.chaty-textarea-field {
|
|
color: #28303d;
|
|
font-family: BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-sans;
|
|
margin: 0;
|
|
background: #fff;
|
|
outline: 0
|
|
}
|
|
|
|
.chaty-agent-data .chaty-agent + .chaty-agent {
|
|
border-top: 2px solid #f6f8f9
|
|
}
|
|
|
|
.chaty-agent-img {
|
|
width: 36px;
|
|
height: 36px;
|
|
object-fit: cover;
|
|
border-radius: 50%
|
|
}
|
|
|
|
.chaty-agent-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
margin: 0 15px 0 0
|
|
}
|
|
|
|
.chaty-agent-data .chaty-custom-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
text-align: center;
|
|
display: block;
|
|
line-height: 48px;
|
|
background: silver;
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
font-size: 28px
|
|
}
|
|
|
|
.chaty-close-agent-list {
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 10px;
|
|
width: 26px;
|
|
height: 26px;
|
|
cursor: pointer;
|
|
z-index: 10;
|
|
padding: 0 0 10px 10px
|
|
}
|
|
|
|
.chaty-agent-icon img {
|
|
width: 48px;
|
|
height: 48px;
|
|
object-fit: cover
|
|
}
|
|
|
|
.chaty-close-agent-list svg {
|
|
fill: #ffffff
|
|
}
|
|
|
|
.agent-sub-header {
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
font-weight: 400
|
|
}
|
|
|
|
.agent-main-header {
|
|
font-size: 20px;
|
|
line-height: 32px;
|
|
font-weight: 700;
|
|
position: relative
|
|
}
|
|
|
|
.chaty-agent-header:before, .chaty-view-header:before {
|
|
content: "";
|
|
background: url(../images/header-top.png) no-repeat;
|
|
width: 215px;
|
|
height: 41px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1
|
|
}
|
|
|
|
.chaty-agent-header:after, .chaty-view-header:after {
|
|
content: "";
|
|
background: url(../images/header-bottom.png) no-repeat;
|
|
width: 44px;
|
|
height: 41px;
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
z-index: 1
|
|
}
|
|
|
|
.chaty-custom-channel-icon {
|
|
display: block;
|
|
border-radius: 50%;
|
|
color: #fff;
|
|
text-align: center;
|
|
line-height: 54px
|
|
}
|
|
|
|
.chaty-contact-form-title {
|
|
padding: 10px 15px;
|
|
text-align: left;
|
|
font-size: 18px;
|
|
border-bottom: 1px solid #acacac
|
|
}
|
|
|
|
.chaty-contact-inputs {
|
|
padding: 15px 15px 0
|
|
}
|
|
|
|
.chaty-contact-input {
|
|
display: flex
|
|
}
|
|
|
|
.chaty-contact-input + .chaty-contact-input {
|
|
margin: 12px 0 0
|
|
}
|
|
|
|
.chaty-contact-input input[type=email].chaty-input-field, .chaty-contact-input input[type=text].chaty-input-field {
|
|
width: 100%;
|
|
height: 36px;
|
|
line-height: 36px;
|
|
font-size: 16px;
|
|
padding: 0 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px
|
|
}
|
|
|
|
.chaty-contact-input input[type=email].chaty-input-field:focus, .chaty-contact-input input[type=text].chaty-input-field:focus, .chaty-contact-input textarea.chaty-textarea-field:focus {
|
|
outline: 0;
|
|
box-shadow: none;
|
|
border-color: #898989
|
|
}
|
|
|
|
.chaty-contact-input textarea.chaty-textarea-field {
|
|
width: 100%;
|
|
height: 100px;
|
|
line-height: 20px;
|
|
font-size: 16px;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px
|
|
}
|
|
|
|
.chaty-contact-form-box .close-chaty-form {
|
|
right: 9px;
|
|
top: 9px
|
|
}
|
|
|
|
.chaty-contact-form-box button.chaty-submit-button[type=submit], button#chaty-submit-button-0 {
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
background: #a886cd;
|
|
width: 100%;
|
|
height: 36px;
|
|
line-height: 36px;
|
|
font-size: 18px;
|
|
padding: 0;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
display: block
|
|
}
|
|
|
|
.chaty-contact-input input.chaty-input-field.has-chaty-error, .chaty-contact-input textarea.chaty-textarea-field.has-chaty-error {
|
|
border: 1px solid #d20000
|
|
}
|
|
|
|
.chaty-contact-form-button {
|
|
padding: 15px
|
|
}
|
|
|
|
.chaty-ajax-error-message, .chaty-ajax-success-message {
|
|
color: #00a700;
|
|
padding: 10px 0 0;
|
|
text-align: center;
|
|
font-size: 16px
|
|
}
|
|
|
|
.chaty-ajax-error-message {
|
|
color: #da0000
|
|
}
|
|
|
|
.chaty-view-header, .chaty-view-header a, .chaty-view-header a:focus, .chaty-view-header a:hover {
|
|
font-weight: 500;
|
|
color: #fff;
|
|
font-size: 24px
|
|
}
|
|
|
|
.chaty-exit-intent {
|
|
position: fixed;
|
|
z-index: -1
|
|
}
|
|
|
|
.chaty-exit-intent:before {
|
|
display: block;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
content: '';
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: rgba(0, 0, 0, .8);
|
|
visibility: hidden;
|
|
z-index: 100;
|
|
transition: .5s ease-in-out;
|
|
-webkit-transition: .5s ease-in-out;
|
|
-moz-transition: .5s ease-in-out
|
|
}
|
|
|
|
.chaty .chaty-widget.left-position .chaty-exit-intent:before {
|
|
clip-path: circle(15px at 60px calc(100% - 60px))
|
|
}
|
|
|
|
.chaty .chaty-widget.right-position .chaty-exit-intent:before {
|
|
clip-path: circle(15px at calc(100% - 60px) calc(100% - 60px))
|
|
}
|
|
|
|
.chaty .chaty-widget .chaty-exit-intent.animate:before {
|
|
visibility: visible;
|
|
clip-path: circle(100%)
|
|
}
|
|
|
|
.chaty-widget.has-single .chaty-i-trigger .chaty-channel:not(.chaty-agent-button).Phone-channel .chaty-tooltip:after, .chaty-widget.has-single .chaty-i-trigger .chaty-channel:not(.chaty-agent-button).Phone-channel .chaty-tooltip:before {
|
|
pointer-events: inherit
|
|
}
|
|
|
|
body.cht-in-mobile .chaty-outer-forms.chaty-agent-data.custom-cht-pos, body.cht-in-mobile .chaty-outer-forms.chaty-contact-form-box.custom-cht-pos, body.cht-in-mobile .chaty-outer-forms.chaty-wechat-form.custom-cht-pos, body.cht-in-mobile .chaty-outer-forms.chaty-whatsapp-form.custom-cht-pos {
|
|
top: 50%;
|
|
left: 0;
|
|
right: 0;
|
|
margin: 0 auto;
|
|
transform: translate(0, -50%);
|
|
bottom: auto
|
|
}
|
|
|
|
body.cht-in-mobile .chaty-outer-forms.chaty-agent-data.custom-cht-pos .chaty-agent-body {
|
|
max-height: calc(100vh - 164px) !important
|
|
}
|
|
|
|
.chaty-whatsapp-message p + p {
|
|
margin-top: 5px
|
|
}
|
|
|
|
body.cht-in-mobile .chaty-outer-forms.chaty-whatsapp-form.custom-cht-pos .chaty-whatsapp-content {
|
|
max-height: calc(100vh - 122px) !important;
|
|
overflow-y: auto
|
|
}
|
|
|
|
body.cht-in-mobile .chaty-outer-forms.chaty-whatsapp-form:not(.custom-cht-pos) .chaty-whatsapp-content {
|
|
overflow-y: auto
|
|
}
|
|
|
|
.chaty.has-custom-pos.form-open .chaty-i-trigger {
|
|
opacity: 0;
|
|
visibility: hidden
|
|
}
|
|
|
|
body.cht-in-mobile .chaty-outer-forms.chaty-contact-form-box.custom-cht-pos .chaty-contact-inputs {
|
|
max-height: calc(100vh - 150px) !important;
|
|
overflow-y: auto
|
|
}
|
|
|
|
body.cht-in-mobile .chaty-outer-forms {
|
|
max-width: calc(100vw - 50px) !important
|
|
}
|
|
|
|
.chaty-view-body {
|
|
background: #fff;
|
|
border-radius: 8px
|
|
}
|
|
|
|
.chaty-view-header {
|
|
background: #b78deb;
|
|
border-radius: 7px 7px 0 0;
|
|
padding: 10px 15px;
|
|
position: relative;
|
|
word-break: break-word
|
|
}
|
|
|
|
.chaty-top-content {
|
|
padding: 15px 15px 0;
|
|
font-size: 16px
|
|
}
|
|
|
|
.chaty-view-content p, .chaty-view-content p a, .chaty-view-content p a:focus, .chaty-view-content p a:hover {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 16px;
|
|
line-height: 150%;
|
|
color: #49687e;
|
|
word-break: break-word
|
|
}
|
|
|
|
.chaty-view-content p a {
|
|
display: inline-block
|
|
}
|
|
|
|
.chaty-view-content p a:focus, .chaty-view-content p a:hover, .chaty-view-header a:focus, .chaty-view-header a:hover {
|
|
outline: 0;
|
|
text-decoration: none
|
|
}
|
|
|
|
.chaty-view-content p + p {
|
|
margin-top: 10px
|
|
}
|
|
|
|
.chaty-close-view-list {
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 10px;
|
|
width: 12px;
|
|
cursor: pointer;
|
|
z-index: 11
|
|
}
|
|
|
|
.chaty-close-view-list svg {
|
|
fill: #ffffff;
|
|
display: inline-block;
|
|
width: 100%
|
|
}
|
|
|
|
.chaty-view-channels .chaty-channel {
|
|
height: 48px;
|
|
display: inline-block;
|
|
margin: 6px 0;
|
|
width: 20%;
|
|
text-align: center;
|
|
vertical-align: top
|
|
}
|
|
|
|
.chaty-view-channels .chaty-channel a, .chaty-view-channels .chaty-channel img, .chaty-view-channels .chaty-channel span:not(.on-hover-text) {
|
|
display: block;
|
|
width: 48px;
|
|
height: 48px;
|
|
margin: 0 auto
|
|
}
|
|
|
|
.chaty-view-channels {
|
|
padding: 10px 8px
|
|
}
|
|
|
|
.chaty-view-channels .chaty-custom-channel-icon {
|
|
font-size: 24px
|
|
}
|