351 lines
11 KiB
CSS
351 lines
11 KiB
CSS
.vera-overflow-hidden {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#vera-container {
|
|
bottom: 10px;
|
|
box-sizing: border-box;
|
|
font-family: sans-serif;
|
|
height: 70%;
|
|
max-height: 100%;
|
|
max-width: 100%;
|
|
position: fixed;
|
|
right: -410px;
|
|
transition: all 0.8s;
|
|
width: 400px;
|
|
z-index: 10001;
|
|
}
|
|
@media (max-width: 991px) {
|
|
#vera-container {
|
|
bottom: 0;
|
|
box-shadow: none;
|
|
height: 100%;
|
|
right: -100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
@media print {
|
|
#vera-container {
|
|
display: none;
|
|
}
|
|
}
|
|
#vera-container div {
|
|
box-sizing: border-box;
|
|
}
|
|
@media (max-width: 991px) {
|
|
#vera-container .vera-chat-hidden-sm {
|
|
display: none !important;
|
|
}
|
|
}
|
|
#vera-container #vera-chat {
|
|
background-color: #f5f5f5;
|
|
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
|
|
height: 100%;
|
|
margin: 0 auto;
|
|
max-width: 1140px;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-controls {
|
|
color: #fff;
|
|
display: flex;
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 15px;
|
|
z-index: 2;
|
|
}
|
|
@media (max-width: 991px) {
|
|
#vera-container #vera-chat .vera-chat-controls {
|
|
top: 26px;
|
|
}
|
|
}
|
|
#vera-container #vera-chat .vera-chat-controls .vera-chat-control-btn {
|
|
background: transparent;
|
|
border: none;
|
|
box-shadow: none;
|
|
color: #fff;
|
|
display: inline-block;
|
|
font-size: 22px;
|
|
outline: none;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-controls #vera-chat-big-screen-btn {
|
|
display: inline-block;
|
|
transition: all 0.8s;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-controls #vera-chat-small-screen-btn {
|
|
display: none;
|
|
transition: all 0.8s;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-controls #vera-chat-close-btn {
|
|
box-sizing: content-box;
|
|
height: 25px;
|
|
left: -2px;
|
|
padding: 0;
|
|
position: relative;
|
|
top: 2px;
|
|
width: 32px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-controls #vera-chat-close-btn:before, #vera-container #vera-chat .vera-chat-controls #vera-chat-close-btn:after {
|
|
background-color: #fff;
|
|
border-radius: 2px;
|
|
content: " ";
|
|
left: 15px;
|
|
height: 28px;
|
|
position: absolute;
|
|
top: 0;
|
|
width: 4px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-controls #vera-chat-close-btn:before {
|
|
transform: rotate(45deg);
|
|
}
|
|
#vera-container #vera-chat .vera-chat-controls #vera-chat-close-btn:after {
|
|
transform: rotate(-45deg);
|
|
}
|
|
#vera-container #vera-chat .vera-chat-header {
|
|
background-color: #304c59;
|
|
box-sizing: border-box;
|
|
color: #fff;
|
|
display: flex;
|
|
height: 62px;
|
|
padding: 10px 20px 10px 10px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
@media (max-width: 991px) {
|
|
#vera-container #vera-chat .vera-chat-header {
|
|
height: 82px;
|
|
padding: 23px 20px 20px 10px;
|
|
}
|
|
}
|
|
#vera-container #vera-chat .vera-chat-header .vera-avatar-img {
|
|
position: relative;
|
|
top: -35px;
|
|
}
|
|
@media (max-width: 991px) {
|
|
#vera-container #vera-chat .vera-chat-header .vera-avatar-img {
|
|
top: -25px;
|
|
}
|
|
}
|
|
#vera-container #vera-chat .vera-chat-header .vera-chat-title {
|
|
font-weight: bold;
|
|
line-height: 42px;
|
|
margin-left: 10px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body {
|
|
color: #777777;
|
|
height: calc(100% - 138px);
|
|
overflow-y: scroll;
|
|
padding: 10px 25px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry {
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
padding-bottom: 10px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message {
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
line-height: 1.5em;
|
|
position: relative;
|
|
padding: 10px 15px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message p {
|
|
margin: 0;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message p a {
|
|
color: #E20613;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message strong, #vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message b {
|
|
font-weight: bold !important;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message iframe {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message hr {
|
|
margin: 10px 0;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message span.hint, #vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message span.warning {
|
|
border-radius: 5px;
|
|
color: #777777;
|
|
display: block;
|
|
padding: 10px 10px 10px 45px;
|
|
margin-bottom: 10px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message span.hint strong, #vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message span.warning strong {
|
|
font-weight: bold !important;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message span.hint a, #vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message span.warning a {
|
|
color: #777777;
|
|
text-decoration: underline;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message span.hint {
|
|
background: url("../img/icons/hint_icon.png") no-repeat 5px center #f8d534;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message span.warning {
|
|
background: url("../img/icons/warning_icon.png") no-repeat 5px center #f8d534;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message .btn-primary {
|
|
background: #fff;
|
|
border: 1px solid #E20613;
|
|
border-radius: 10px;
|
|
box-shadow: none;
|
|
color: #E20613;
|
|
display: inline-block;
|
|
font-weight: normal;
|
|
font-size: 1em;
|
|
line-height: 1.2em;
|
|
margin: 5px 5px 0 0;
|
|
outline: none;
|
|
padding: 8px;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
white-space: inherit;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message .btn-primary:hover {
|
|
background: #E20613;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry .vera-chat-history-entry-message:after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
width: 0;
|
|
height: 0;
|
|
border: 10px solid transparent;
|
|
margin-top: -10px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-bot-entry .vera-chat-history-entry-message {
|
|
background-color: #fff;
|
|
color: #304c59;
|
|
width: 90%;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-bot-entry .vera-chat-history-entry-message:after {
|
|
border-left: 0;
|
|
border-right-color: #fff;
|
|
left: 0;
|
|
margin-left: -10px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-bot-entry .vera-chat-history-entry-message .vera-answer-list .btn.btn-primary,
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-bot-entry .vera-chat-history-entry-message .vera-answer-list .btn.btn-primary:hover {
|
|
background-color: #fff;
|
|
border: none;
|
|
border-bottom: 1px solid #ccc;
|
|
border-radius: 0;
|
|
color: #E20613;
|
|
display: block;
|
|
padding: 5px 0 5px 18px;
|
|
position: relative;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-bot-entry .vera-chat-history-entry-message .vera-answer-list .btn.btn-primary:before,
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-bot-entry .vera-chat-history-entry-message .vera-answer-list .btn.btn-primary:hover:before {
|
|
border: solid #E20613;
|
|
border-width: 0 3px 3px 0;
|
|
content: "";
|
|
display: inline-block;
|
|
padding: 3px;
|
|
transform: rotate(-45deg);
|
|
-webkit-transform: rotate(-45deg);
|
|
position: absolute;
|
|
left: 0;
|
|
top: 10px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-bot-entry .vera-chat-history-entry-message .vera-answer-list :last-child {
|
|
border: none !important;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-user-entry {
|
|
margin-left: 10%;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-user-entry .vera-chat-history-entry-message {
|
|
background-color: #304c59;
|
|
color: #fff;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-body .vera-chat-history .vera-chat-history-entry.vera-chat-history-user-entry .vera-chat-history-entry-message:after {
|
|
border-right: 0;
|
|
border-left-color: #304c59;
|
|
right: 0;
|
|
margin-right: -10px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-footer {
|
|
box-sizing: border-box;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: 15px;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-footer .vera-chat-input-group {
|
|
align-items: stretch;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-footer .vera-chat-input-group .vera-chat-form-control {
|
|
flex: 1 1 auto;
|
|
margin-bottom: 0;
|
|
position: relative;
|
|
width: 1%;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-footer .vera-chat-input-group #vera-chat-submit-btn {
|
|
background-color: #304c59;
|
|
border: 1px solid #304c59;
|
|
border-radius: 0;
|
|
color: #ffffff;
|
|
font-size: 1.5em;
|
|
height: 46px;
|
|
opacity: 0.8;
|
|
padding: 0 15px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-footer .vera-chat-input-group #vera-chat-submit-btn:hover {
|
|
opacity: 1;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-form-control {
|
|
border: 1px solid #e4eaec;
|
|
color: #76838f;
|
|
display: block;
|
|
font-size: 16px;
|
|
outline: none;
|
|
padding: 10px 15px;
|
|
}
|
|
#vera-container #vera-chat .vera-chat-form-control:focus {
|
|
border-color: #304c59;
|
|
}
|
|
#vera-container.vera-mode-fullscreen {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
bottom: 0;
|
|
height: 100%;
|
|
padding: 50px;
|
|
right: 0;
|
|
width: 100%;
|
|
}
|
|
#vera-container.vera-mode-fullscreen #vera-chat .vera-chat-controls #vera-chat-small-screen-btn {
|
|
display: inline-block;
|
|
}
|
|
#vera-container.vera-mode-fullscreen #vera-chat .vera-chat-controls #vera-chat-big-screen-btn {
|
|
display: none;
|
|
}
|
|
|
|
#vera-launch-btn {
|
|
bottom: 10px;
|
|
cursor: pointer;
|
|
position: fixed;
|
|
right: 10px;
|
|
z-index: 10000;
|
|
}
|
|
@media print {
|
|
#vera-launch-btn {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
#vera-css-ready {
|
|
color: #bada55 !important;
|
|
}
|