.allioc-container { width: auto; min-width: 500px; /* min screen size */ display: inline-block; } .allioc-conversation-area { width: auto; max-width: 100%; max-height: 320px; height: 320px; overflow: auto; padding-right: 20px; /* FIXME only add padding if vertical scrollbar is added*/ padding-left: 20px; /* FIXME only add padding if vertical scrollbar is added*/ } .allioc-conversation-bubble-container + .allioc-conversation-bubble-container { margin-top: 10px; } .allioc-conversation-bubble { padding: 6px 9px; display: inline-block; border-radius: 3px; box-shadow: 0 1px 1px rgba(0,0,0,0.2); max-width: 80%; } .allioc-conversation-response { background-color: #e8e8e8; color: #323232; position: relative; } .allioc-conversation-response:after { position: absolute; right: -5px; background-color: #e8e8e8; content: ' '; display: block; top: 30%; height: 10px; width: 10px; transform: rotate(45deg); -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); } .allioc-conversation-request:before { position: absolute; left: -5px; background-color: #1f4c73; content: ' '; display: block; top: 30%; height: 10px; width: 10px; transform: rotate(45deg); -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); } .allioc-image-response { padding: 9px 6px 6px 6px; } .allioc-quick-reply { display: block; margin-top: 6px; } .allioc-image-response img { max-width: 300px; max-height: 200px; display: inline-block; } .allioc-conversation-request { background-color: #1f4c73; color: #fff; position: relative; } #allioc-input-area { margin-top: 10px; clear: both; display: block; position: relative; overflow: hidden; } #allioc-input-area .allioc-send-button { position: absolute; display: inline-block; cursor: pointer; opacity: 0.8; height: 51px; margin-top: 2px; width: 15px; padding-left: 8px; padding-right: 8px; top: 1px; transition: opacity 200ms ease 0s; font-size: 100%; font-style: normal; letter-spacing: normal; font-stretch: normal; font-weight: normal; text-align: left; text-align-last: initial; text-indent: 0px; text-shadow: none; text-transform: none; background-color: transparent; background-image: none; box-sizing: content-box; line-height: inherit; color: inherit; min-width: 0px; font-variant: normal; text-decoration: none; margin: 0px; padding: 0px; border-width: initial; border-style: none; border-color: initial; border-image: initial; border-radius: 0px; right: 20px; top: 11px; } .allioc-text { width: calc(100% - 20px); padding: 15px!important; border: 0 !important; } .allioc-debug { margin-top: 10px; } #allioc-debug-data { max-width: 100%; } .allioc-conversation-bubble-container-response { text-align: right; } .allioc-datetime { margin-top: 2px; font-style: italic; } /* Overlay */ .allioc-content-overlay { position: fixed; bottom: 0%; right: 5%; width: 350px; display: block; box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px; z-index: 999; background-color: #fff; text-align: left; border-radius: 8px; overflow: hidden; } .allioc-content-overlay-header { font-weight: 600; line-height: 50px; font-size: 22px; padding: 15px 40px 5px; } .allioc-content-overlay-powered-by { background-color: fff; color: #333; font-size: 80%; padding: 5px; text-align: right; } .allioc-content-overlay-header .allioc-icon-toggle-down, .allioc-content-overlay-header .allioc-icon-toggle-up { line-height: 50px; float: right; } .allioc-content-overlay-header { cursor: pointer; align-items: center; border-top-left-radius: 5px; border-top-right-radius: 5px; } .allioc-content-overlay-header .allioc-header-logo { overflow: hidden; } .allioc-content-overlay-header .allioc-header-logo img { width: auto; height: 50px; display: block; max-width: auto!important; } .allioc-content-overlay-container { display: block; } .allioc-content-overlay-container .allioc-container { width: 100% !important; min-width: auto !important; display: block; } .allioc-content-overlay-container .allioc-container .allioc-conversation-area { max-height: inherit; display: block; height: 350px; padding-top: 10px; padding-bottom: 10px; } .allioc-content-overlay-container .allioc-image-response img { max-width: 100%; } .allioc-content-overlay-container #allioc-input-area { border-top: 1px solid #e6e6e6; padding: 10px; margin-top: 0px; } .allioc-icon-toggle-down { margin-left: auto; display: none; } /* Smartphones (portrait and landscape) ----------- */ @media only screen and (min-width : 320px) and (max-width : 480px) { .allioc-content-overlay-powered-by { display: none; } .allioc-container { min-width: 100%; width: 100%; max-height: 320px; } .allioc-image-response img { max-width: 100%; } .allioc-content-overlay { min-width: 100%; width: 100%; max-height: 100%; right: auto; right: 0!important; bottom: 0!important; left: 0!important; top: 0!important; } .allioc-content-overlay-container { font-size: 100%; position: relative; } .allioc-toggle-open { min-height: 100%; } .allioc-content-overlay-container .allioc-container { display: block; max-height: 100%; position: absolute; } .allioc-content-overlay-container .allioc-container .allioc-conversation-area { position: relative; max-height: 80%; } .allioc-content-overlay-container .allioc-container #allioc-input-area { width: 100%; } .allioc-icon-toggle-down { display: block; } } @media only screen and (min-width : 320px) and (max-width : 480px) and (orientation: landscape) { .allioc-content-overlay-container .allioc-container .allioc-conversation-area { } } @media only screen and (min-width : 320px) and (max-width : 480px) and (orientation: portrait) { .allioc-content-overlay-container .allioc-container .allioc-conversation-area { } } /* Loader */ @keyframes blink { 50% { color: transparent; } } .allioc-conversation-area .allioc-loading { display: block; padding: 6px 9px; margin-top: 10px; text-align: center; vertical-align: center; } .allioc-conversation-area .allioc-icon-loading-dot { animation: 1s blink infinite; font-size: 1em; display: clear; margin-left: 2px; margin-right: 2px; } .allioc-conversation-area .allioc-icon-loading-dot:nth-child(2) { animation-delay: 750ms; } .allioc-conversation-area .allioc-icon-loading-dot:nth-child(3) { animation-delay: 1500ms; } @font-face { font-family: 'allioc-icons'; src: url('../fonts/icons.eot?6tk1sz'); src: url('../fonts/icons.eot?6tk1sz#iefix') format('embedded-opentype'), url('../fonts/icons.ttf?6tk1sz') format('truetype'), url('../fonts/icons.woff?6tk1sz') format('woff'), url('../fonts/icons.svg?6tk1sz#icomoon') format('svg'); font-weight: normal; font-style: normal; } [class^="allioc-icon-"], [class*=" allioc-icon-"] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'allioc-icons' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .allioc-icon-toggle-up:before { content: "\f077"; } .allioc-icon-toggle-down:before { content: "\f078"; } .allioc-icon-loading-dot:before { content: "\f111"; } .allioc-content-overlay-header-text { margin-left: 10px; font-size: 16px; } .allioc-content-logo { position: fixed; z-index: 999; width: 60px; height: 60px; display: block; border-radius: 50%; overflow: hidden; outline: none; cursor: pointer; box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 6px 0px, rgba(0, 0, 0, 0.16) 0px 2px 32px 0px; } .allioc-content-logo:hover { cursor: pointer; } .allioc-content-logo.opend:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #0086c2; z-index: 1; } .allioc-content-logo.opend:after { content: 'X'; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; line-height: 60px; color: #fff; text-align: center; font-weight: 700; font-size: 20px; } .allioc-content-logo img { object-fit: cover; object-position: center; width: 100%; height: 100%; display: block; } .allioc-content-logo + .allioc-content-overlay{ opacity: 0; pointer-events: none; } .allioc-content-logo.opend + .allioc-content-overlay { opacity: 1; pointer-events: all; } .allioc-content-top { padding: 15px 0; } .allioc-content-top > h2 { font-size: 32px; font-family: 'Work Sans', serif; font-weight: 400; } .allioc-content-top > p { color: rgba(0, 0, 0, 0.7); font-weight: 100; font-size: 16px; line-height: 21px; font-family: 'Work Sans', serif; } .allioc-content-top .allioc-greeting { background-image: url('../images/hand.png'); background-size: cover; background-repeat: no-repeat; position: relative; top: 0px; display: inline-block; height: 37px; width: 37px; margin-left: 8px; } .chat-user-icon { display: inline-block; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; margin-right: 15px; } .allioc-conversation-bubble-container-response-wrapper { display: flex; align-items: center; justify-content: flex-end; } .allioc-container { background-color: #fff; -webkit-box-shadow: inset 0 21px 4px -20px rgba(0,0,0,.2); box-shadow: inset 0 21px 4px -20px rgba(0,0,0,.2); } .allioc-conversation-bubble.allioc-conversation-response.allioc-text-response { -webkit-box-shadow: 0 4px 15px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.1), inset 0 2px 0 0 rgba(30, 212, 252, 0.5); box-shadow: 0 4px 15px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.1), inset 0 2px 0 0 rgba(30, 212, 252, 0.5); border-radius: 3px; padding: 10px; }