PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/live2news.com/wp-content/plugins/zeus-gpt/static/scss/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/live2news.com/wp-content/plugins/zeus-gpt/static/scss/_chat.scss |
.gfx-zeus-chat-container { --main-background-color: var(--main-bg); --personal-background-color: var(--zeus-brand-color); --personal-text-color: var(--main-bg); --response-background-color: var(--color-grey); --response-text-color: var(--zeus-brand-color); --input-background-color: var(--main-bg); --input-border-color: var(--zeus-brand-color); --input-text-color: var(--color-white); --input-shadow-color: rgba(00, 00, 00, 0.15); --button-background-color: var(--zeus-brand-color); --button-background-color-hover: var(--color-white); --button-text-color: var(--main-bg); --button-text-color-hover: var(--main-bg); --welcome-message-color: var(--color-grey-1); --welcome-icon-color: var(--zeus-brand-color); --welcome-icon-bg-color: var(--color-grey); --call-to-action-bg-color: var(--color-grey); --call-to-action-bg-color-hover: var(--zeus-brand-color); --call-to-action-icon-color: var(--zeus-brand-color); --call-to-action-icon-color-hover: var(--main-bg); background-color: var(--main-background-color); padding: 25px; border-radius: 25px; position: relative; * { box-sizing: border-box; } @media only screen and (max-width: 500px) { padding: 10px; } } .gfx-zeus-chat-container-fixed { position: fixed; bottom: 25px; right: 25px; // width: 500px; width: 0; // setting width to 0 will the elements behind the container to be clickable. max-width: 100%; display: flex; gap: 30px; flex-direction: column; align-items: flex-end; z-index: 99999; --fixed-icon-color: var(--main-bg); --fixed-icon-color-hover: var(--zeus-brand-color); --fixed-icon-bg-color: var(--zeus-brand-color); --fixed-icon-bg-color-hover: var(--main-bg); .gfx-zeus-chat-container { width: 500px; max-width: calc(100vw - 50px); opacity: 0; visibility: hidden; transform: translateY(50px); transition: all 0.5s ease; box-shadow: 0px 10px 10px 5px rgba(0, 0, 0, 0.25); } .gfx-zeus-fixed-icon { width: 70px; height: 70px; border-radius: 50%; background-color: var(--fixed-icon-bg-color); display: flex; justify-content: center; align-items: center; position: relative; cursor: pointer; overflow: hidden; box-shadow: 0px 10px 10px 5px rgba(0, 0, 0, 0.1); transition: all 0.5s ease; i { font-size: 26px; color: var(--fixed-icon-color); } svg { fill: var(--fixed-icon-color); max-height: 50%; transition: all 0.5s ease; } > div { display: flex; justify-content: center; align-items: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: all 0.5s ease; } .sub-icon { transform: translateY(100%); } &:hover { background-color: var(--fixed-icon-bg-color-hover); svg { fill: var(--fixed-icon-color-hover); } } } &.gfx-zeus-visible { .gfx-zeus-chat-container { opacity: 1; visibility: visible; transform: translateY(0); } } &.gfx-zeus-chat-container-fixed-left { right: unset; left: 25px; align-items: flex-start; } .gfx-zeus-chat-empty { margin-top: -40px; .icon { width: 70px; height: 70px; } h1 { font-size: 20px; } } .gfx-zeus-chat-form { .gfx-zeus-chat-prompt { min-height: 50px; font-size: 20px; } .submit, .cta-btn { width: 58px; height: 58px; } } .gfx-zeus-chat-conversation .chat-element { max-width: 80%; } &.gfx-zeus-visible { .gfx-zeus-fixed-icon { .main-icon { transform: translateY(-100%); } .sub-icon { transform: translateY(0); } } } } .gfx-zeus-chat-form { width: 100%; // height: 50px; display: flex; align-items: flex-end; gap: 10px; .gfx-zeus-chat-prompt { box-shadow: none; box-shadow: 0px -10px 30px 0px var(--input-shadow-color); z-index: 10; font-size: 28px; line-height: 1.3; // padding: 5px 10px; padding: 20px 30px; font-size: 24px; padding: 12px 30px; width: calc(100% - 75px); color: var(--input-text-color) !important; background-color: var(--input-background-color); border: 4px solid var(--input-border-color); border-radius: 50px; min-height: 67px; max-height: 150px; overflow-y: auto; position: relative; &:focus-visible { outline: none; } &:empty::before { content: attr(placeholder); color: rgba(255, 255, 255, 0.3); position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; } &:empty:focus::before { content: ''; } @extend %scrollbar; @media only screen and (max-width: 500px) { font-size: 20px; line-height: 32.5px; } @media only screen and (max-width: 300px) { padding: 0 10px; } } .submit, .cta-btn { width: 65px; height: 65px; aspect-ratio: 1 / 1; border-radius: 50% !important; background-color: var(--button-background-color) !important; display: inline-flex; justify-content: center; align-items: center; padding: 0 !important; margin: 0; border: none; cursor: pointer; transition: all 0.5s ease; i { font-size: 26px; color: var(--button-text-color); } svg { height: 30px; fill: var(--button-text-color); } &:hover { background-color: var(--button-background-color-hover) !important; svg { fill: var(--button-text-color-hover); } } } .cta-btn { width: 65px; height: 65px; background-color: var(--call-to-action-bg-color) !important; i { color: var(--call-to-action-icon-color); } svg { fill: var(--call-to-action-icon-color); } &:hover { background-color: var(--call-to-action-bg-color-hover) !important; i { color: var(--call-to-action-icon-color-hover); } svg { fill: var(--call-to-action-icon-color-hover); } } } @media only screen and (max-width: 500px) { flex-wrap: wrap; .gfx-zeus-chat-prompt { width: 100%; } &.has-cta { .submit { order: 3; width: calc(50% - 5px); border-radius: 50px !important; } .cta-btn { order: 2; width: calc(50% - 5px); border-radius: 50px !important; } } &:not(.has-cta) { .submit { width: 100%; border-radius: 50px !important; } } } } .gfx-zeus-chat-empty { width: 100%; height: 100%; position: absolute; top: 0; left: 0; // top: 50%; // left: 50%; // transform: translate(-50%, -50%); padding: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; pointer-events: none; transition: all 0.5s ease; .icon { width: 100px; height: 100px; // padding: 30px; background-color: var(--welcome-icon-bg-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; aspect-ratio: 1 / 1; i { font-size: 40px; color: var(--welcome-icon-color); } svg { fill: var(--welcome-icon-color); width: 100%; max-height: 40%; } } .message { font-size: 24px; line-height: 40px; color: var(--welcome-message-color); font-weight: 400; display: block; margin: 24px 0; text-transform: none; } &.empty-hide { opacity: 0; visibility: hidden; } @media only screen and (max-width: 500px) { h1 { font-size: 20px; line-height: 30px; } .icon { width: 80px; height: 80px; i { font-size: 30px; } } } } .editor-styles-wrapper { .gfx-zeus-chat-empty h1 { font-size: 24px !important; line-height: 40px !important; } } .gfx-zeus-chat-conversation { width: 100%; height: 500px; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; padding: 25px; transition: height 1s ease; scroll-behavior: smooth; @extend %scrollbar; @media only screen and (max-width: 500px) { padding: 10px; } &-container { width: 100%; height: 500px; display: flex; align-items: flex-end; } .chat-element { display: inline-block; padding: 20px; background-color: var(--personal-background-color); font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--personal-text-color); // white-space: pre-line; * { font-size: inherit; line-height: inherit; margin: 0; } p:nth-child(n + 2) { margin-top: 10px; } ul, ol { padding-left: 30px; margin: 10px; } ul { list-style: circle; } max-width: 70%; border-radius: 20px; word-break: break-word; .chat-loading-icon { width: 10px; height: 10px; background-color: rgba(0, 0, 0, 0.5); border-radius: 50%; // animation: .25s ease 1s infinite forwards chatloadinganim; animation-name: chatloadinganim; animation-duration: 2s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; &:nth-child(2) { animation-delay: 50ms; } &:nth-child(3) { animation-delay: 150ms; } } code { display: block; background-color: var(--main-bg); color: var(--zeus-brand-color); border-radius: 10px; padding: 10px 25px; margin: 10px 0; white-space: break-spaces; } &--personal { background-color: var(--response-background-color); color: var(--response-text-color); position: relative; order: 2; white-space: pre-wrap; // &::before { // content: ''; // display: block; // width: 20px; // height: 100%; // background-image: url('../images/loading.gif'); // background-repeat: no-repeat; // background-size: contain; // background-position: center; // position: absolute; // top: 50%; // transform: translateY(-50%); // left: -30px; // } } &-wrapper { position: relative; display: flex; margin: 5px 0; gap: 10px; animation: 1s ease 0s 1 forwards chatshow; // &.loaded .chat-element::before { // display: none; // } } &-wrapper--personal { justify-content: flex-end; } @media only screen and (max-width: 500px) { font-size: 15px; max-width: 100%; padding: 14px; } } .loading-wrapper .chat-element { display: flex; gap: 5px; } .chat-error { // position: absolute; // top: 50%; // transform: translateY(-50%); // left: -30px; order: 1; display: flex; align-items: flex-end; gap: 10px; height: 100%; svg { fill: var(--color-white); width: 100%; height: 25px; } .error-icon { margin-bottom: 18px; } .reload-icon { cursor: pointer; } } } .gfxzp-chat-preview { .chat .conversation { width: 50%; margin: 0 auto; } } body.toplevel_page_gfx-zeus-gpt { .gfx-zeus-chat-conversation { width: 90%; height: auto; height: calc(100vh - 250px); margin: 0 auto; @media (max-width: 757px) { width: 100%; } } .gfx-zeus-chat-form { width: 90%; margin: 0 auto; @media (max-width: 757px) { width: 100%; } } .gfx-zeus-chat { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; } .chat-container { height: calc(100vh - 156px); } .gfx-zeus-chat-container { height: 100%; background-color: transparent; padding: 10px; } .gfx-zeus-chat-empty { margin-top: -50px; } } @keyframes chatshow { 0% { transform: translateY(50%); opacity: 0; visibility: hidden; } 100% { transform: translateY(0); opacity: 1; visibility: visible; } } @keyframes chatloadinganim { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }