.mwai-chatgpt-theme { --mwai-spacing: 15px; --mwai-fontSize: 15px; --mwai-lineHeight: 1.5; --mwai-borderRadius: 10px; --mwai-width: 460px; --mwai-maxHeight: 40vh; --mwai-iconTextColor: white; --mwai-iconTextBackgroundColor: #343541; --mwai-fontColor: #FFFFFF; --mwai-backgroundPrimaryColor: #454654; --mwai-backgroundHeaderColor: #343541; --mwai-bubbleColor: #343541; --mwai-headerButtonsColor: #FFFFFF; --mwai-conversationsBackgroundColor: #202123; --mwai-conversationsTextColor: #FFFFFF; --mwai-backgroundSecondaryColor: #343541; --mwai-errorBackgroundColor: #6d2f2a; --mwai-errorTextColor: #FFFFFF; } .mwai-chatgpt-theme * { box-sizing: border-box; } .mwai-chatgpt-theme .mwai-content { background: var(--mwai-backgroundSecondaryColor); color: var(--mwai-fontColor); font-size: var(--mwai-fontSize); overflow: hidden; display: flex; flex-direction: column; border-radius: var(--mwai-borderRadius); } .mwai-chatgpt-theme .mwai-conversation { overflow: auto; } .mwai-chatgpt-theme .mwai-reply { display: flex; padding: var(--mwai-spacing); position: relative; line-height: var(--mwai-lineHeight); transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1); } .mwai-chatgpt-theme .mwai-reply.mwai-fade-out { opacity: 0; } .mwai-chatgpt-theme .mwai-reply.mwai-user { background: var(--mwai-backgroundSecondaryColor); } .mwai-chatgpt-theme .mwai-reply.mwai-ai { background: var(--mwai-backgroundPrimaryColor); } .mwai-chatgpt-theme .mwai-reply .mwai-name { color: var(--mwai-fontColor); margin-right: 5px; } .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-name-text { opacity: 0.50; white-space: nowrap; } .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar { margin-right: 10px; display: flex; align-items: center; justify-content: center; border-radius: 5px; overflow: hidden; } .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar img { width: 32px; height: 32px; min-width: 32px; min-height: 32px; } .mwai-chatgpt-theme .mwai-reply .mwai-name .mwai-avatar.mwai-svg img { width: 28px; height: 28px; min-width: 28px; min-height: 28px; filter: brightness(0) invert(1); } .mwai-chatgpt-theme .mwai-reply .mwai-text { flex: auto; font-size: var(--mwai-fontSize); line-height: var(--mwai-lineHeight); color: var(--mwai-fontColor); } .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-image { display: block; max-width: 250px; height: auto; margin: 0 0 10px 0; border-radius: var(--mwai-borderRadius); } .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-filename { display: flex; text-decoration: none; border: 1px solid var(--mwai-backgroundPrimaryColor); border-radius: var(--mwai-borderRadius); padding: 5px 10px; margin-bottom: 10px; } .mwai-chatgpt-theme .mwai-reply .mwai-text * { font-size: var(--mwai-fontSize); } .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:first-child { margin-top: 0; } .mwai-chatgpt-theme .mwai-reply .mwai-text > span > *:last-child { margin-bottom: 0; } .mwai-chatgpt-theme .mwai-reply .mwai-text a { color: #2196f3; } .mwai-chatgpt-theme .mwai-reply .mwai-text h1, .mwai-chatgpt-theme .mwai-reply .mwai-text h2, .mwai-chatgpt-theme .mwai-reply .mwai-text h3, .mwai-chatgpt-theme .mwai-reply .mwai-text h4 { color: var(--mwai-fontColor); } .mwai-chatgpt-theme .mwai-reply .mwai-text h1 { font-size: 200%; } .mwai-chatgpt-theme .mwai-reply .mwai-text h2 { font-size: 160%; } .mwai-chatgpt-theme .mwai-reply .mwai-text h3 { font-size: 140%; } .mwai-chatgpt-theme .mwai-reply .mwai-text h4 { font-size: 120%; } .mwai-chatgpt-theme .mwai-reply .mwai-text p code { background: var(--mwai-backgroundSecondaryColor); padding: 2px 6px; border-radius: 8px; font-size: 90%; font-family: system-ui; } .mwai-chatgpt-theme .mwai-reply .mwai-text pre { color: var(--mwai-fontColor); border-radius: var(--mwai-borderRadius); padding: calc(var(--mwai-spacing) * 2 / 3) var(--mwai-spacing); break-after: auto; white-space: pre-wrap; font-size: 95%; max-width: 100%; width: 100%; font-family: system-ui; background: hsl(0 0% 0% / 30%); } .mwai-chatgpt-theme .mwai-reply .mwai-text pre code { padding: 0 !important; font-family: system-ui; } .mwai-chatgpt-theme .mwai-reply .mwai-text ul, .mwai-chatgpt-theme .mwai-reply .mwai-text ol { padding: 0; } .mwai-chatgpt-theme .mwai-reply .mwai-text ol { margin: 0 0 0 20px; } .mwai-chatgpt-theme .mwai-reply .mwai-text table { width: 100%; border: 2px solid var(--mwai-backgroundSecondaryColor); border-collapse: collapse; } .mwai-chatgpt-theme .mwai-reply .mwai-text thead { background: var(--mwai-backgroundSecondaryColor); } .mwai-chatgpt-theme .mwai-reply .mwai-text tr, .mwai-chatgpt-theme .mwai-reply .mwai-text td { padding: 2px 5px; } .mwai-chatgpt-theme .mwai-reply .mwai-text td { border: 2px solid var(--mwai-backgroundSecondaryColor); } .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter { display: inline-block; } .mwai-chatgpt-theme .mwai-reply .mwai-text .mwai-typewriter > :first-child { margin-top: 0; } .mwai-chatgpt-theme .mwai-reply .mwai-text > *:first-child { margin-top: 0; } .mwai-chatgpt-theme .mwai-reply .mwai-text > *:last-child { margin-bottom: 0; } .mwai-chatgpt-theme .mwai-reply.mwai-system { background: var(--mwai-errorBackgroundColor); color: var(--mwai-errorFontColor); } .mwai-chatgpt-theme .mwai-reply.mwai-system .mwai-name { display: none; } .mwai-chatgpt-theme .mwai-input { display: flex; padding: var(--mwai-spacing); border-top: 1px solid var(--mwai-backgroundPrimaryColor); } .mwai-chatgpt-theme .mwai-input .mwai-input-text { flex: auto; position: relative; background: var(--mwai-backgroundPrimaryColor); border-radius: var(--mwai-borderRadius); overflow: hidden; display: flex; padding: calc(var(--mwai-spacing) / 2); } .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-blocked { background: var(--mwai-errorBackgroundColor); } .mwai-chatgpt-theme .mwai-input .mwai-input-text.mwai-dragging { filter: brightness(1.2); } .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea { background: inherit; color: var(--mwai-fontColor); padding-left: calc(var(--mwai-spacing) / 2); flex: auto; border: none; font-size: var(--mwai-fontSize); line-height: var(--mwai-lineHeight); resize: none; font-family: inherit; margin: 0; overflow: hidden; min-height: inherit; } .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea:focus { outline: none; box-shadow: none; } .mwai-chatgpt-theme .mwai-input .mwai-input-text textarea::placeholder { color: var(--mwai-fontColor); opacity: 0.5; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone { width: 32px; height: 32px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone svg { width: 32px; height: 32px; fill: var(--mwai-fontColor); opacity: 0.5; filter: grayscale(100%); transition: opacity 0.3s ease-out; padding: 5px 10px; cursor: pointer; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[active=true] svg { opacity: 1; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-microphone[disabled] svg { opacity: 0; cursor: not-allowed; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon { background: url("icons/dark-icons.svg"); background-size: 500%; background-position: 0px -96px; width: 32px; height: 32px; z-index: 100; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-idle-add { background-position: -32px -96px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-add { background-position: -32px 0px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-up { background-position: -64px 0px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-del { background-position: -96px 0px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-image-ok { background-position: -128px 0px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-add { background-position: -32px -64px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-up { background-position: -64px -64px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-del { background-position: -96px -64px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon.mwai-document-ok { background-position: -128px -64px; } .mwai-chatgpt-theme .mwai-input .mwai-input-text .mwai-file-upload-icon .mwai-file-upload-progress { position: absolute; font-size: 8px; width: 21px; top: 24px; left: 23px; overflow: hidden; text-align: center; font-weight: bold; color: white; } .mwai-chatgpt-theme .mwai-input button { margin-left: var(--mwai-spacing); } .mwai-chatgpt-theme .mwai-compliance { opacity: 0.50; margin-top: calc(-1 * var(--mwai-spacing)); padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing); font-size: smaller; color: var(--mwai-fontColor); text-align: left; } .mwai-chatgpt-theme .mwai-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 5px; } .mwai-chatgpt-theme .mwai-gallery img { width: 100%; } .mwai-chatgpt-theme button { color: var(--mwai-fontColor); background: var(--mwai-backgroundSecondaryColor); border: 1px solid var(--mwai-backgroundPrimaryColor); padding: calc(var(--mwai-spacing) / 2) var(--mwai-spacing); min-width: 90px; border-radius: 5px; cursor: pointer; transition: all 0.2s ease-out; display: flex; align-items: center; justify-content: center; font-size: calc(var(--mwai-fontSize) * 0.9); position: relative; } .mwai-chatgpt-theme button .mwai-timer { margin-left: 5px; margin-right: 5px; font-size: 11px; } .mwai-chatgpt-theme button:hover { background: var(--mwai-backgroundPrimaryColor); } .mwai-chatgpt-theme button[disabled] { cursor: not-allowed; } .mwai-chatgpt-theme button[disabled] span { opacity: 0.5; } .mwai-chatgpt-theme button[disabled].mwai-busy span { display: none; } .mwai-chatgpt-theme button[disabled].mwai-busy:before { content: ''; width: 18px; height: 18px; margin: auto; border: 3px solid transparent; border-top-color: var(--mwai-fontColor); border-radius: 50%; animation: mwai-button-spinner 1s ease infinite; } .mwai-chatgpt-theme.mwai-discussions { border-radius: var(--mwai-borderRadius); background: var(--mwai-backgroundHeaderColor); overflow: hidden; } .mwai-chatgpt-theme.mwai-discussions * { box-sizing: border-box; } .mwai-chatgpt-theme.mwai-discussions .mwai-header { color: var(--mwai-headerButtonsColor); padding: var(--mwai-spacing); display: flex; justify-content: space-between; align-items: center; } .mwai-chatgpt-theme.mwai-discussions .mwai-content { background: var(--mwai-conversationsBackgroundColor); list-style: none; padding: 0; margin: 0; } .mwai-chatgpt-theme.mwai-discussions .mwai-content li { margin-left: calc(var(--mwai-spacing) / 2); margin-right: calc(var(--mwai-spacing) / 2); margin-bottom: calc(var(--mwai-spacing) / 2); color: var(--mwai-conversationsTextColor); font-size: 75%; padding: calc(var(--mwai-spacing) / 2); opacity: 0.65; } .mwai-chatgpt-theme.mwai-discussions .mwai-content li.mwai-active, .mwai-chatgpt-theme.mwai-discussions .mwai-content li:hover { background: var(--mwai-backgroundPrimaryColor); border-radius: var(--mwai-borderRadius); opacity: 1; cursor: pointer; } .mwai-chatgpt-theme.mwai-discussions .mwai-content li:first-child { margin-top: calc(var(--mwai-spacing) / 2); } .mwai-chatgpt-theme.mwai-transition, .mwai-chatgpt-theme .mwai-transition { opacity: 0; transition: opacity 350ms ease-in-out; } .mwai-chatgpt-theme.mwai-transition-visible, .mwai-chatgpt-theme .mwai-transition-visible { opacity: 1; } .mwai-chatgpt-theme .mwai-text { overflow-wrap: anywhere; } .mwai-chatgpt-theme .mwai-text img { max-width: 100%; } .mwai-chatgpt-theme .mwai-text div p:first-child { margin-top: 0; } .mwai-chatgpt-theme .mwai-text div p:last-child { margin-bottom: 0; } .mwai-chatgpt-theme .mwai-trigger { position: absolute; right: 0; bottom: 0; transition: all 0.2s ease-out; z-index: 9999; display: flex; flex-direction: column; align-items: end; } .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container { display: flex; flex-direction: column; align-items: flex-end; } .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text { background: var(--mwai-iconTextBackgroundColor); color: var(--mwai-iconTextColor); box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15); max-width: 200px; font-size: 13px; margin-bottom: 15px; padding: 10px 15px; border-radius: 8px; } .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { color: var(--mwai-iconTextColor); background: var(--mwai-iconTextBackgroundColor); padding: 5px; width: 20px; height: 20px; border-radius: 100%; display: none; justify-content: center; align-items: center; margin-bottom: 3px; } .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover { cursor: pointer; } .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close { display: flex; font-size: 12px; } .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container:hover .mwai-icon-text-close:hover { filter: brightness(1.2); } @media (max-width: 760px) { .mwai-chatgpt-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text-close { display: flex; } } .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon { filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15)); transition: all 0.2s ease-out; } .mwai-chatgpt-theme .mwai-trigger .mwai-icon-container .mwai-icon:hover { cursor: pointer; transform: scale(1.05); } .mwai-chatgpt-theme.mwai-window { position: fixed; right: 30px; bottom: 30px; width: var(--mwai-width); z-index: 9999; } .mwai-chatgpt-theme.mwai-window .mwai-header { display: none; justify-content: flex-end; align-items: center; border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0; background: var(--mwai-backgroundHeaderColor); } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons { display: flex; align-items: center; } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button { justify-content: center; height: 32px; width: 22px; cursor: pointer; display: flex; justify-content: center; align-items: center; } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before { transition: all 0.2s ease-out; content: ' '; cursor: pointer; position: absolute; height: 13px; width: 13px; border: 1px solid var(--mwai-headerButtonsColor); } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before { width: 16px; height: 16px; } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button { justify-content: center; height: 32px; width: 33px; cursor: pointer; border-radius: var(--mwai-borderRadius); } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before { transition: all 0.2s ease-out; transform: translate(16px, 5px) rotate(45deg); } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after { transition: all 0.2s ease-out; transform: translate(16px, 5px) rotate(-45deg); } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after { content: ' '; cursor: pointer; position: absolute; height: 22px; width: 1px; background-color: var(--mwai-headerButtonsColor); } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before { opacity: 1; transform: translate(16px, 5px) rotate(135deg); } .mwai-chatgpt-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after { opacity: 1; transform: translate(16px, 5px) rotate(45deg); } .mwai-chatgpt-theme.mwai-window .mwai-content { display: none; opacity: 0; max-height: var(--mwai-maxHeight); border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius); } .mwai-chatgpt-theme.mwai-window.mwai-bottom-left { bottom: 30px; right: inherit; left: 30px; } .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-open-button { right: inherit; left: 0; } .mwai-chatgpt-theme.mwai-window.mwai-top-right { top: 30px; bottom: inherit; right: 30px; } .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-open-button { top: 0; bottom: inherit; } .mwai-chatgpt-theme.mwai-window.mwai-top-left { top: 30px; bottom: inherit; right: inherit; left: 30px; } .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-open-button { top: 0; bottom: inherit; right: inherit; left: 0; } .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-open-button, .mwai-chatgpt-theme.mwai-window.mwai-bottom-left .mwai-open-button { align-items: flex-start; } .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-open-button, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-open-button { flex-direction: column-reverse; } .mwai-chatgpt-theme.mwai-window.mwai-top-right .mwai-open-button .mwai-icon-text, .mwai-chatgpt-theme.mwai-window.mwai-top-left .mwai-open-button .mwai-icon-text { margin-bottom: 0; margin-top: 15px; } .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons { margin-bottom: 0px; } .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before { width: 16px; height: 16px; } .mwai-chatgpt-theme.mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before { width: 13px; height: 13px; } .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window), .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open { position: fixed; left: 0 !important; right: 0 !important; bottom: 0 !important; top: 0 !important; width: inherit; height: inherit; max-height: inherit; max-width: inherit; display: flex; flex-direction: column; margin: 0; z-index: 999999; background-color: var(--mwai-backgroundSecondaryColor); } .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-header, .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-header { border-radius: 0; } .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-content { height: 100%; max-height: inherit; border-radius: 0; } .mwai-chatgpt-theme.mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, .mwai-chatgpt-theme.mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation { flex: auto; max-height: none; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header { display: flex; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content { display: flex; transition: opacity 200ms ease-in-out 0s; opacity: 1; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-open-button { display: none; } .mwai-chatgpt-theme .mwai-error { margin: var(--mwai-spacing); color: white; background: rgba(180, 55, 55, 0.55); padding: var(--mwai-spacing); border-radius: var(--mwai-borderRadius); } .mwai-chatgpt-theme .mwai-error:hover { cursor: pointer; background: rgba(180, 44, 44, 0.85); } .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container { background: var(--mwai-bubbleColor); width: 60px; height: 60px; border-radius: 100%; transition: all 0.2s ease-out; display: flex; justify-content: center; align-items: center; } .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container .mwai-icon { max-width: 50%; max-height: 50%; filter: none; } .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container .mwai-icon:hover { transform: none; } .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container .mwai-emoji { font-size: 30px !important; } .mwai-chatgpt-theme.mwai-bubble .mwai-icon-container:hover { cursor: pointer; filter: brightness(1.1); } @media (max-width: 760px) { .mwai-chatgpt-theme.mwai-window.mwai-open { position: fixed; left: 0 !important; right: 0 !important; bottom: 0 !important; top: 0 !important; width: inherit; height: inherit; max-height: inherit; max-width: inherit; display: flex; flex-direction: column; margin: 0; z-index: 999999; background-color: var(--mwai-backgroundSecondaryColor); } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-header { border-radius: 0; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content { height: 100%; max-height: inherit; border-radius: 0; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content .mwai-conversation { flex: auto; max-height: none; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input { flex-direction: column; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input button { font-size: 16px; margin-left: 0; width: 100%; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text { margin-bottom: var(--mwai-spacing); width: 100%; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text input, .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-input .mwai-input-text textarea { font-size: 16px; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content { display: flex; transition: opacity 200ms ease-in-out 0s; opacity: 1; height: 100%; max-height: inherit; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-content .mwai-conversation { flex: auto; max-height: none; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-resize-button { display: none !important; } .mwai-chatgpt-theme.mwai-window.mwai-open .mwai-open-button { display: none; } } @keyframes mwai-button-spinner { from { transform: rotate(0turn); } to { transform: rotate(1turn); } } .mwai-chatgpt-theme .admin-bar .mwai-fullscreen:not(.mwai-window), .mwai-chatgpt-theme .admin-bar .mwai-fullscreen.mwai-window.mwai-open { top: 32px; } .mwai-chatgpt-theme pre code.hljs { display: block; overflow-x: auto; padding: 1em; } .mwai-chatgpt-theme code.hljs { padding: 3px 5px; } .mwai-chatgpt-theme .hljs { color: #fff; } .mwai-chatgpt-theme .hljs-subst { color: #fff; } .mwai-chatgpt-theme .hljs-comment { color: #999; } .mwai-chatgpt-theme .hljs-attr, .mwai-chatgpt-theme .hljs-doctag, .mwai-chatgpt-theme .hljs-keyword, .mwai-chatgpt-theme .hljs-meta .hljs-keyword, .mwai-chatgpt-theme .hljs-section, .mwai-chatgpt-theme .hljs-selector-tag { color: #88aece; } .mwai-chatgpt-theme .hljs-attribute { color: #c59bc1; } .mwai-chatgpt-theme .hljs-name, .mwai-chatgpt-theme .hljs-number, .mwai-chatgpt-theme .hljs-quote, .mwai-chatgpt-theme .hljs-selector-id, .mwai-chatgpt-theme .hljs-template-tag, .mwai-chatgpt-theme .hljs-type { color: #f08d49; } .mwai-chatgpt-theme .hljs-selector-class { color: #88aece; } .mwai-chatgpt-theme .hljs-link, .mwai-chatgpt-theme .hljs-regexp, .mwai-chatgpt-theme .hljs-selector-attr, .mwai-chatgpt-theme .hljs-string, .mwai-chatgpt-theme .hljs-symbol, .mwai-chatgpt-theme .hljs-template-variable, .mwai-chatgpt-theme .hljs-variable { color: #b5bd68; } .mwai-chatgpt-theme .hljs-meta, .mwai-chatgpt-theme .hljs-selector-pseudo { color: #88aece; } .mwai-chatgpt-theme .hljs-built_in, .mwai-chatgpt-theme .hljs-literal, .mwai-chatgpt-theme .hljs-title { color: #f08d49; } .mwai-chatgpt-theme .hljs-bullet, .mwai-chatgpt-theme .hljs-code { color: #ccc; } .mwai-chatgpt-theme .hljs-meta .hljs-string { color: #b5bd68; } .mwai-chatgpt-theme .hljs-deletion { color: #de7176; } .mwai-chatgpt-theme .hljs-addition { color: #76c490; } .mwai-chatgpt-theme .hljs-emphasis { font-style: italic; } .mwai-chatgpt-theme .hljs-strong { font-weight: 700; } .mwai-chatgpt-theme .mwai-reply-actions { position: absolute; border-radius: 5px; top: 10px; right: 10px; display: flex; align-items: center; padding: 2px 2px; z-index: 100; background: var(--mwai-backgroundPrimaryColor); box-shadow: 0 0 8px rgba(0, 0, 0, 0.25); } .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button { fill: var(--mwai-fontColor); padding: 3px 5px; width: 24px; height: 24px; background: var(--mwai-backgroundPrimaryColor); cursor: pointer; border-radius: 5px; } .mwai-chatgpt-theme .mwai-reply-actions .mwai-copy-button:hover { filter: brightness(1.2); } .mwai-chatgpt-theme .mwai-reply-actions.mwai-hidden { opacity: 0; } @media (max-width: 760px) { .mwai-chatgpt-theme .mwai-chat .mwai-input button { margin: 15px 0 0 0; height: 40px; width: inherit; } .mwai-chatgpt-theme .mwai-chat .mwai-name { margin-right: 0; max-width: inherit; } .mwai-chatgpt-theme .mwai-chat.mwai-window { width: calc(100% - 40px); z-index: 9999999999; } .mwai-chatgpt-theme .mwai-chat .mwai-input { flex-direction: column; } }