Skip to content

Instantly share code, notes, and snippets.

@angelwong
Created July 26, 2018 20:00
Show Gist options
  • Save angelwong/509f279e6c606e69edf4a685b519f54f to your computer and use it in GitHub Desktop.
Save angelwong/509f279e6c606e69edf4a685b519f54f to your computer and use it in GitHub Desktop.
Veolia / Dexter bot embed
<style>
.DexterWidget--3Gs4e .WebWidget-toggle--3orU9 {
background-color: #2c2c2c !important;
}
.DexterWidget--3Gs4e {
font-family: 'TheSans-OT', arial, sans-serif !important;
}
.DexterWidget--3Gs4e .MessagePanel-header--3At-q {
background-color: #2c2c2c !important;
}
.DexterWidget--3Gs4e .MessagePanel-header--3At-q h1 {
color: #fff !important;
font-family: 'TheSans-OT', arial, sans-serif !important;
font-weight: bold;
margin-left: -30px !important;
}
.DexterWidget--3Gs4e .MessagePanel-header--3At-q p {
font-family: 'TheSans-OT', arial, sans-serif !important;
display: none !important;
}
.DexterWidget--3Gs4e .MessagePanel-message--2JiPQ p {
font-family: 'TheSans-OT', arial, sans-serif !important;
}
.DexterWidget--3Gs4e span {
font-family: 'TheSans-OT', arial, sans-serif !important;
}
.DexterWidget--3Gs4e .ActionBar--3bZQA ul li {
font-family: 'TheSans-OT', arial, sans-serif !important;
border: 1px solid #ff0000 !important;
color: #ff0000 !important;
}
.DexterWidget--3Gs4e .ActionBar--3bZQA ul li:active {
font-family: 'TheSans-OT', arial, sans-serif !important;
background-color: #ff0000 !important;
}
.DexterWidget--3Gs4e .ActionBar--3bZQA ul li:active p {
font-family: 'TheSans-OT', arial, sans-serif !important;
color: #fff !important;
}
.DexterWidget--3Gs4e .ActionBar--3bZQA ul li p {
font-family: 'TheSans-OT', arial, sans-serif !important;
color: #ff0000 !important;
}
.DexterWidget--3Gs4e .MessagePanel-message--user--2BTCu {
font-family: 'TheSans-OT', arial, sans-serif !important;
background-color: #ff0000 !important;
}
.DexterWidget--3Gs4e .MessagePanel-body--3iZmt a, .DexterWidget--3Gs4e .MessagePanel-body--3iZmt a:visited {
color: #ff0000 !important;
}
.DexterWidget--3Gs4e .MessagePanel-send--valid--3bRPS {
color: #ff0000 !important;
}
.DexterWidget--3Gs4e .WebWidget-toggle--3orU9 img {
max-width: 24px !important;
max-height: 24px !important;
}
.DexterWidget--3Gs4e .MessagePanel-footer--19ian {
border-top: 1px solid #ddd !important;
}
.DexterWidget--3Gs4e .MessagePanel-send--Wdr5H {
color: #ddd !important;
}
</style>
<script>
window.dexterSettings = {
openIcon: 'https://www.veolia.com/sites/all/themes/veo/images/logo-PB-veolia-sticky.png'
, logoIcon: 'https://www.veolia.com/sites/all/themes/veo/icon/64x64.png'
, closeIcon: 'https://d3vv6lp55qjaqc.cloudfront.net/items/2K0y1508282Q0M3c3a2t/close.png'
, onLoad: function (api) {
api.replyTo("start");
}
}
</script>
<script>var i=document.createElement('iframe');i.style.width=0;i.style.height=0;i.style.display='none';i.src='javascript:false',i.botId='f9568826-199b-44de-8191-2fb44276ea40',i.botTitle='Veolia v0.2',i.baseUrl='https://bots.rundexter.com';var d=document.getElementsByTagName('script');d=d[d.length-1],d.parentNode.insertBefore(i,d);var o=i.contentWindow.document;o.open()._l=function(){var e=this.createElement('script');e.src='https://rundexter.com/webwidget',this.body.appendChild(e)},o.write('<body onload="document._l();">'),o.close();</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment