"tchat"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html lang='en' class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/feCastro/pen/dRamLw?depth=everything&order=popularity&page=89&q=chat&show_forks=false" /> <style class="cp-pen-styles">.shoppush-popchat, .shoppush-popchat input, .shoppush-popchat button { font-family: "Verdana", sans-serif; } .shoppush-popchat #fb-root { display: none !important; } .shoppush-popchat * { transition: all 0.1s ease-out; } .shoppush-popchat .buzz { animation: buzz .6s linear; } .shoppush-popchat .sprt { background: url("https://plugins.soclminer.com.br/v3/sdk/channels/assets/img/sprt.png") no-repeat 0 0; background-size: 53px; } .shoppush-popchat .hide { display: none !important; } .shoppush-popchat .just-mobile { display: none !important; } .shoppush-popchat .brand { position: relative; width: 80px; height: 80px; border-radius: 50%; } .shoppush-popchat .brand > span, .shoppush-popchat .brand > img { position: absolute; display: block; } .shoppush-popchat .brand__al { background-color: #e60000; top: 0; right: 0; width: 20px; height: 20px; border-radius: 50%; z-index: 2; line-height: 20px; text-align: center; color: #f2f2f2; font-size: 12px; font-weight: bold; } .shoppush-popchat .brand__ty { top: -21px; left: -24px; width: 42px; height: 30px; padding-top: 20px; padding-right: 0; padding-bottom: 0; padding-left: 11px; z-index: 2; font-size: 0; animation: fakeType 0.5s ease-in-out; } .shoppush-popchat .brand__ty i { background-color: #1a1a1a !important; display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; } .shoppush-popchat .brand__ty i:nth-child(1) { animation: loadingFakeType 1s infinite; } .shoppush-popchat .brand__ty i:nth-child(2) { animation: loadingFakeType 1s infinite; animation-delay: .1s; } .shoppush-popchat .brand__ty i:nth-child(3) { animation: loadingFakeType 1s infinite; animation-delay: .2s; } .shoppush-popchat .brand__img { top: 20%; right: 20%; width: 48px; height: 48px; z-index: 1; } .shoppush-popchat .by { position: absolute; bottom: -22px; right: 25px; line-height: 20px; text-align: right; font-size: 12px; } .shoppush-popchat .by a, .shoppush-popchat .by a:hover, .shoppush-popchat .by a:visited { color: inherit; } .shoppush-popchat .btn { display: inline-block; padding: 30px; border-radius: 10px; font-size: 14px; font-weight: bold; text-decoration: none; cursor: pointer; } .shoppush-popchat > div.plg { width: 80px; height: 80px; border-radius: 50%; box-shadow: 0 0 14px rgba(0, 0, 0, 0.75); position: fixed; top: 20px; right: 10px; cursor: pointer; animation: wobble 0.8s ease-in-out; } .shoppush-popchat > div.plg.dark h1, .shoppush-popchat > div.plg.dark p { color: #1a1a1a !important; } .shoppush-popchat > div.plg.dark .close__icon:after, .shoppush-popchat > div.plg.dark .close__icon:before { background-color: #1a1a1a !important; } .shoppush-popchat > div.plg > div { position: relative; float: left; height: 80px; } .shoppush-popchat > div.plg .not { display: none; width: 310px; margin-left: 15px; } .shoppush-popchat > div.plg .not h1, .shoppush-popchat > div.plg .not p { color: #f2f2f2; } .shoppush-popchat > div.plg .not h1 { font-size: 16px; font-weight: bold; margin-bottom: 5px; } .shoppush-popchat > div.plg .not p { font-size: 14px; font-weight: regular; } .shoppush-popchat > div.plg .close { display: none; width: 45px; margin-left: 10px; } .shoppush-popchat > div.plg .close__icon { position: relative; display: block; width: 15px; height: 15px; margin: 0 auto; padding: 14px; border-radius: 50%; } .shoppush-popchat > div.plg .close__icon:hover, .shoppush-popchat > div.plg .close__icon:active { background-color: rgba(0, 0, 0, 0.07); } .shoppush-popchat > div.plg .close__icon:after, .shoppush-popchat > div.plg .close__icon:before { content: ""; position: absolute; top: 20px; right: 13px; display: block; width: 18px; height: 4px; border-radius: 2px; background-color: #fff; } .shoppush-popchat > div.plg .close__icon:after { transform: rotate(45deg); } .shoppush-popchat > div.plg .close__icon:before { transform: rotate(-45deg); } .shoppush-popchat > div.plg .by { display: none; color: #fff; text-shadow: 0 0 3px #000; } .shoppush-popchat > div.plg.open { top: 150px; width: 460px; padding: 10px; border-radius: 10px; box-shadow: 0 0 14px rgba(0, 0, 0, 0.35); } .shoppush-popchat > div.plg.open .brand { animation: textIn 0.6s ease-in-out; } .shoppush-popchat > div.plg.open .brand__al, .shoppush-popchat > div.plg.open .brand__ty { display: none; } .shoppush-popchat > div.plg.open .not, .shoppush-popchat > div.plg.open .close { display: flex; flex-wrap: wrap; align-items: center; } .shoppush-popchat > div.plg.open .not { animation: textIn 0.5s ease-out; } .shoppush-popchat > div.plg.open .by { display: block; } .shoppush-popchat > div.plg.left { right: initial; left: 10px; } .shoppush-popchat > div.plg.left > div { float: right; } .shoppush-popchat > div.plg.left .brand__ty { transform: scaleX(-1); left: initial; right: -24px; } .shoppush-popchat > div.plg.left .brand__ty i:nth-child(1) { animation-delay: .2s; } .shoppush-popchat > div.plg.left .brand__ty i:nth-child(2) { animation-delay: .1s; } .shoppush-popchat > div.plg.left .brand__ty i:nth-child(3) { animation-delay: 0s; } .shoppush-popchat > div.plg.left .close { margin-left: 0; margin-right: 10px; } .shoppush-popchat > div.plg.left .by { right: initial; left: 25px; } .shoppush-popchat { overflow: hidden; height: 100%; display: flex; flex-wrap: wrap; align-items: center; align-items: stretch; } .shoppush-popchat .btn { color: #f2f2f2 !important; } .shoppush-popchat .btn.dark { color: #1a1a1a !important; } .shoppush-popchat.dark .btn { color: #1a1a1a !important; } .shoppush-popchat > div { display: flex; flex-wrap: wrap; align-items: center; position: relative; } .shoppush-popchat .pop-box { width: 39%; } .shoppush-popchat .pop-box > img { display: block; margin: 0 auto; } .shoppush-popchat .pop-box .brand { position: absolute; top: calc(10%); right: -40px; } .shoppush-popchat .pop-text { flex: 1; } .shoppush-popchat .pop-text > div { width: 100%; padding: 0 65px; text-align: center; color: #1a1a1a; } .shoppush-popchat .pop-text > div h1 { margin-top: 15px; margin-bottom: 25px; font-size: 24px; } .shoppush-popchat .pop-text > div p { font-size: 18px; margin-bottom: 15px; } .shoppush-popchat .pop-text > div p.small { font-size: 14px; } .shoppush-popchat .pop-text > div .form { width: 100%; margin: 30px 0; font-size: 0; } .shoppush-popchat .pop-text > div .form > input, .shoppush-popchat .pop-text > div .form > label { display: inline; height: 40px; margin: 0 1%; line-height: 40px; vertical-align: middle; font-size: 15px; } .shoppush-popchat .pop-text > div .form > input { height: 40px; padding: 0 3%; line-height: 40px; border: 1px solid #1a1a1a; border-radius: 5px; } .shoppush-popchat .pop-text > div .form > input.name { width: 130px; } .shoppush-popchat .pop-text > div .form > input.email { width: 200px; } .shoppush-popchat .pop-text > div .form > button { margin-top: 20px; } .shoppush-popchat .pop-text .by { right: 0; bottom: 10px; width: 100%; font-size: 14px; text-align: center; color: #939393; } .shoppush-popchat .pop-text .by a { text-decoration: underline; } .shoppush-popchat.stp0 .pop-box .brand, .shoppush-popchat.stp0 .s1, .shoppush-popchat.stp0 .s2, .shoppush-popchat.stp0 .s3, .shoppush-popchat.stp0 .s4 { display: none; } .shoppush-popchat.stp0 .pop-box { width: 100%; height: 100%; } .shoppush-popchat.stp0 .pop-box > img { display: block; } .shoppush-popchat.stp1 .s2, .shoppush-popchat.stp1 .s3, .shoppush-popchat.stp1 .s4 { display: none; } .shoppush-popchat.stp2 .pop-box > img, .shoppush-popchat.stp2 .s1, .shoppush-popchat.stp2 .s3, .shoppush-popchat.stp2 .s4 { display: none; } .shoppush-popchat.stp3 .pop-box { width: 20%; } .shoppush-popchat.stp3 .pop-box > img, .shoppush-popchat.stp3 .s1, .shoppush-popchat.stp3 .s2, .shoppush-popchat.stp3 .s4 { display: none; } .shoppush-popchat.stp4 .pop-box { width: 25%; } .shoppush-popchat.stp4 .pop-box > img, .shoppush-popchat.stp4 .s1, .shoppush-popchat.stp4 .s2, .shoppush-popchat.stp4 .s3 { display: none; } @keyframes fakeType { 0% { opacity: 0; margin-top: 8px; } 70% { opacity: 1; margin-top: -4px; } 100% { opacity: 1; margin-top: 0; } } @keyframes loadingFakeType { 0%, 100% { opacity: 0; transform: translateY(-3px); } 50% { opacity: 1; transform: translateY(0); } } @keyframes textIn { 0% { opacity: 0; transform: translateX(-16px); } 70% { transform: translateX(4px); } 100% { opacity: 1; transform: translateX(0); } } @keyframes buzz { 10% { transform: translateX(3px) rotate(2deg); } 20% { transform: translateX(-3px) rotate(-2deg); } 30% { transform: translateX(3px) rotate(2deg); } 40% { transform: translateX(-3px) rotate(-2deg); } 50% { transform: translateX(2px) rotate(1deg); } 60% { transform: translateX(-2px) rotate(-1deg); } 70% { transform: translateX(2px) rotate(1deg); } 80% { transform: translateX(-2px) rotate(-1deg); } 90% { transform: translateX(1px) rotate(0); } 100% { transform: translateX(-1px) rotate(0); } } @keyframes wobble { 0% { transform: translateX(16px); opacity: 0; } 16.65% { transform: translateX(-8px); } 33.3% { transform: translateX(6px); } 49.95% { transform: translateX(-4px); opacity: 1; } 66.6% { transform: translateX(2px); } 83.25% { transform: translateX(-1px); } 100% { transform: translateX(0); } } @media only screen and (max-device-width: 1080px) { #sm-onsite { right: 1% !important; bottom: 10% !important; } #sm-onsite.socl-open { width: 98% !important; } #sm-onsite.socl-open iframe.socl-iframe { width: 100% !important; height: 275px !important; } #sm-onsite.socl-left { left: 1% !important; } #sm-onsite.open { width: 98% !important; } #sm-onsite.open iframe { width: 100% !important; height: 275px !important; } #sm-onsite.left { left: 1% !important; } .shoppush-popchat .sprt { background-size: 42.4px; } .shoppush-popchat .brand { width: 64px; height: 64px; } .shoppush-popchat .brand__al { width: 16px; height: 16px; line-height: 16px; font-size: 10px; } .shoppush-popchat .brand__ty { top: -16.8px; left: -19.2px; width: 33.6px; height: 21.6px; padding-top: 16px; padding-left: 8.8px; } .shoppush-popchat .brand__ty i { width: 5px; height: 5px; margin: 0 2px 0 1px; } .shoppush-popchat .brand__img { width: 38.4px; height: 38.4px; } .shoppush-popchat .btn { padding: 25px; font-size: 12px; } .shoppush-popchat > div.plg { width: 64px; height: 64px; top: 32px; } .shoppush-popchat > div.plg > div { height: 64px; } .shoppush-popchat > div.plg.open { width: calc(60%); height: inherit; padding: 10px; border-radius: 10px; } .shoppush-popchat > div.plg.open .brand { position: absolute; top: -32px; left: calc(18%); } .shoppush-popchat > div.plg.open .not, .shoppush-popchat > div.plg.open .close { margin: 28px 0 7px; } .shoppush-popchat > div.plg.open .not { width: 68%; height: initial; margin-left: 14%; text-align: center; } .shoppush-popchat > div.plg.open .close { width: 16%; margin-left: 2%; } .shoppush-popchat > div.plg.left .brand__ty { right: -19.2px; } .shoppush-popchat > div.plg.left .not { margin-left: 0; margin-right: 14%; } .shoppush-popchat > div.plg.left .close { margin-left: 0; margin-right: 2%; } .shoppush-popchat { display: block; } .shoppush-popchat .pop-box { width: 100% !important; height: 12%; margin-bottom: 55px; } .shoppush-popchat .pop-box > img { display: none; } .shoppush-popchat .pop-box .brand { top: inherit; bottom: -32px; right: calc(18%); } .shoppush-popchat .pop-text { align-items: baseline; } .shoppush-popchat .pop-text > div { width: 94%; padding: 0 3%; } .shoppush-popchat .pop-text > div h1 { font-size: 16px; font-weight: bold; } .shoppush-popchat .pop-text > div p { font-size: 14px; } .shoppush-popchat .pop-text > div .form > input { margin: 0 0 10px; } .shoppush-popchat .pop-text > div .form > input.name, .shoppush-popchat .pop-text > div .form > input.email { width: 94%; } .shoppush-popchat .pop-text .by { position: initial; margin-top: 30px; font-size: 12px; } .shoppush-popchat .just-mobile { position: absolute; bottom: 0; width: 100%; height: 25%; } .shoppush-popchat .just-mobile img { position: absolute; display: block; top: calc(17%); left: calc(27%); } .shoppush-popchat.stp1 .just-mobile { display: block !important; } .shoppush-popchat.stp3 .pop-box { width: 100%; } } div#sm-bounce[style="display: block;"] ~ div#sm-onsite { display: none !important; } .shoppush-popchat .brand { background-color: #211F20; } .shoppush-popchat .brand__ty i, .shoppush-popchat .btn, .shoppush-popchat > div.plg, .shoppush-popchat .pop-box { background-color: #000000; } </style></head><body> light<div class="shoppush-popchat"> <div class="plg right light"> <div class="brand"> <span class="brand__al hide">1</span> <span class="brand__ty sprt hide"> <i class="d1"></i> <i class="d2"></i> <i class="d3"></i> </span> <img class="brand__img" alt="" src="https://animale.soclminer.com.br/df5fb8fdb6a4452882bbe5c458e85e7d/logo.png?v=1499952474698"> </div> <div class="not"> <div> <h1>HOT NEWS!</h1> <p>Clique e saiba das novidades e promoções da e-store!</p> </div> </div> <div class="close"> <a href="javascript: void(0);" class="close__icon"></a> </div> <span class="by">by <a id="poweredBy" href="http://conteudo.socialminer.com/by-socialminer?utm_source=Animale&utm_medium=OnSiteAnimale&utm_campaign=OnSiteAnimale" target="_blank">Social Miner</a> </span> </div> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script><script src='https://plugins.soclminer.com.br/v3/sdk/all.min.js'></script><script src='https://plugins.soclminer.com.br/v3/assets/js/pajs_internal.min.js'></script> <script >setTimeout( function() { $('.brand__al').removeClass('hide'); }, 2000); setTimeout( function() { $('.brand__ty').removeClass('hide'); }, 3000); setTimeout( function() { $('.shoppush-popchat .plg').addClass('open'); }, 5000); $('.shoppush-popchat .plg').click( function() { console.log('teste'); $('.shoppush-popchat .plg').toggleClass('open'); // window.open("https://www.shopback.com.br", "_blank", "top=" + (($(window).height())) + ",left=" + (($(window).width() / 2) - 200) + ",width=400,height=400"); }); // function myFunction() { // var myWindow = window.open("", "", "width=200,height=100"); // } //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: