Spaces:
Runtime error
Runtime error
| :root { | |
| --chatbot-color-light: #000000; | |
| --chatbot-color-dark: #FFFFFF; | |
| --chatbot-background-color-light: #F3F3F3; | |
| --chatbot-background-color-dark: #121111; | |
| --message-user-background-color-light: #2685b5; | |
| --message-user-background-color-dark: #2685b5; | |
| --message-bot-background-color-light: #F3F3F3; | |
| --message-bot-background-color-dark: #2C2C2C; | |
| --switch-checkbox-color-light: #e9e9ec; | |
| --switch-checkbox-color-dark: #515151; | |
| --switch-checkbox-marked-color: #2685b5; | |
| --cib-shadow-card: 0px 0.3px 0.9px rgba(0, 0, 0, 0.12), 0px 1.6px 3.6px rgba(0, 0, 0, 0.16); | |
| --message-font-size: 15px; | |
| --background-gradient: linear-gradient(90deg, rgb(239, 242, 247) 0%, 7.60286%, rgb(237, 240, 249) 15.2057%, 20.7513%, rgb(235, 239, 248) 26.297%, 27.6386%, rgb(235, 239, 248) 28.9803%, 38.2826%, rgb(231, 237, 249) 47.585%, 48.1216%, rgb(230, 236, 250) 48.6583%, 53.1306%, rgb(228, 236, 249) 57.6029%, 61.5385%, rgb(227, 234, 250) 65.4741%, 68.7835%, rgb(222, 234, 250) 72.093%, 75.7603%, rgb(219, 230, 248) 79.4275%, 82.8265%, rgb(216, 229, 248) 86.2254%, 87.8354%, rgb(213, 228, 249) 89.4454%, 91.8605%, rgb(210, 226, 249) 94.2755%, 95.4383%, rgb(209, 225, 248) 96.6011%, 98.3005%, rgb(208, 224, 247) 100%); | |
| --background-gradient-dark: #0b0f19; | |
| } | |
| gradio-app { | |
| background: var(--background-gradient) ; | |
| } | |
| .dark gradio-app { | |
| background: var(--background-gradient-dark) ; | |
| } | |
| #app_title { | |
| font-weight: var(--prose-header-text-weight); | |
| font-size: var(--text-xxl); | |
| line-height: 1.3; | |
| text-align: left; | |
| margin-top: 6px; | |
| white-space: nowrap; | |
| } | |
| #description { | |
| text-align: center; | |
| margin: 32px 0 4px 0; | |
| } | |
| div.form { | |
| background: none ; | |
| border: none ; | |
| } | |
| #advanced_warning { | |
| display: flex; | |
| flex-wrap: wrap; | |
| flex-direction: column; | |
| align-content: center; | |
| } | |
| /* gradio的页脚信息 */ | |
| footer { | |
| margin-top: 15px ; | |
| font-size: 85%; | |
| display: inline-block; | |
| text-align: center; | |
| opacity: 0.60; | |
| position: absolute; | |
| max-height: 30px; | |
| width: 100% ; | |
| } | |
| footer[class^="svelte-"] { | |
| display: none ; | |
| } | |
| #footer { | |
| text-align: center; | |
| } | |
| #footer div { | |
| display: inline-block; | |
| } | |
| #footer .versions { | |
| font-size: 85%; | |
| opacity: 0.60; | |
| } | |
| #float_display { | |
| position: absolute; | |
| max-height: 30px; | |
| } | |
| #toast-update { | |
| position: absolute; | |
| display: flex; | |
| top: -500px; | |
| width: 100%; | |
| justify-content: center; | |
| z-index: var(--layer-top); | |
| transition: top 0.3s ease-out; | |
| } | |
| #check-chuanhu-update { | |
| position: absolute; | |
| align-items: center; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| margin: var(--size-6) var(--size-4); | |
| box-shadow: var(--shadow-drop-lg); | |
| border: 1px solid var(--block-label-border-color); | |
| border-radius: var(--container-radius); | |
| background: var(--background-fill-primary); | |
| padding: var(--size-4) var(--size-6); | |
| min-width: 360px; | |
| max-width: 480px; | |
| overflow: hidden; | |
| pointer-events: auto; | |
| } | |
| #version-info-title { | |
| font-size: 1.2em; | |
| font-weight: bold; | |
| text-align: start; | |
| width: 100%; | |
| } | |
| #release-note-wrap { | |
| width: 100%; | |
| max-width: 400px; | |
| height: 120px; | |
| border: solid 1px var(--border-color-primary); | |
| overflow: auto; | |
| padding: 0 8px; | |
| } | |
| #release-note-wrap.hideK { | |
| display: none; | |
| } | |
| /*.chatrow {*/ | |
| /* gap: 0 !important;*/ | |
| /*}*/ | |
| .record-icon svelte-1thnwz { | |
| display: none ; | |
| } | |
| .btn, .audio-btn .sm.secondary, .mic-wrap, .audio-btn .sm.tertiary { | |
| height: 48px ; | |
| margin: 0 ; | |
| padding: 0 5px 0 ; | |
| display: inline-block; | |
| } | |
| .audio-btn { | |
| border: 0 ; | |
| position: relative; | |
| background: none ; | |
| } | |
| .mic-wrap { | |
| position: absolute; | |
| padding: 0 ; | |
| top: 0; | |
| left: 0; | |
| z-index: 1; | |
| } | |
| .audio-btn .sm.secondary, .audio-btn .sm.tertiary { | |
| color: transparent; | |
| border: none ; | |
| } | |
| .audio-btn .record-icon { | |
| display: none ; | |
| } | |
| .dark .btn-send { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" viewBox="0 0 20 20"%3E%3Cpath fill="white" d="M2.724 2.053a.5.5 0 0 0-.707.576l1.498 5.618a.5.5 0 0 0 .4.364l6.855 1.142c.279.047.279.447 0 .494l-6.854 1.142a.5.5 0 0 0-.401.364l-1.498 5.618a.5.5 0 0 0 .707.576l15-7.5a.5.5 0 0 0 0-.894l-15-7.5Z"%2F%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .dark .btn-clear { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" viewBox="0 0 16 16"%3E%3Cpath fill="white" fill-rule="evenodd" d="M15.963 7.23A8 8 0 0 1 .044 8.841a.75.75 0 0 1 1.492-.158a6.5 6.5 0 1 0 9.964-6.16V4.25a.75.75 0 0 1-1.5 0V0h4.25a.75.75 0 0 1 0 1.5h-1.586a8.001 8.001 0 0 1 3.299 5.73ZM7 2a1 1 0 1 0 0-2a1 1 0 0 0 0 2Zm-2.25.25a1 1 0 1 1-2 0a1 1 0 0 1 2 0ZM1.5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z" clip-rule="evenodd"%2F%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .dark .btn-record, .dark .audio-btn .sm.secondary { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" viewBox="0 0 20 20"%3E%3Cpath fill="white" d="M4.5 10a.5.5 0 0 0-1 0a5.5 5.5 0 0 0 5 5.478V17.5a.5.5 0 0 0 1 0v-.706A5.48 5.48 0 0 1 9 14.5A4.5 4.5 0 0 1 4.5 10ZM12 5v4.6a5.514 5.514 0 0 0-2.79 3.393A3 3 0 0 1 6 10V5a3 3 0 0 1 6 0Zm5 9.5a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Zm2 0a4.5 4.5 0 1 1-9 0a4.5 4.5 0 0 1 9 0Zm-8 0a3.5 3.5 0 1 0 7 0a3.5 3.5 0 0 0-7 0Z"%2F%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .dark .audio-btn .sm.tertiary { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" viewBox="0 0 24 24"%3E%3Cdefs%3E%3Cfilter id="svgSpinnersGooeyBalls10"%3E%3CfeGaussianBlur in="SourceGraphic" result="y" stdDeviation="1.5"%2F%3E%3CfeColorMatrix in="y" result="z" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"%2F%3E%3CfeBlend in="SourceGraphic" in2="z"%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cg fill="white" filter="url(%23svgSpinnersGooeyBalls10)"%3E%3Ccircle cx="4" cy="12" r="3"%3E%3Canimate attributeName="cx" calcMode="spline" dur="0.75s" keySplines=".56%2C.52%2C.17%2C.98%3B.56%2C.52%2C.17%2C.98" repeatCount="indefinite" values="4%3B9%3B4"%2F%3E%3Canimate attributeName="r" calcMode="spline" dur="0.75s" keySplines=".56%2C.52%2C.17%2C.98%3B.56%2C.52%2C.17%2C.98" repeatCount="indefinite" values="3%3B8%3B3"%2F%3E%3C%2Fcircle%3E%3Ccircle cx="15" cy="12" r="8"%3E%3Canimate attributeName="cx" calcMode="spline" dur="0.75s" keySplines=".56%2C.52%2C.17%2C.98%3B.56%2C.52%2C.17%2C.98" repeatCount="indefinite" values="15%3B20%3B15"%2F%3E%3Canimate attributeName="r" calcMode="spline" dur="0.75s" keySplines=".56%2C.52%2C.17%2C.98%3B.56%2C.52%2C.17%2C.98" repeatCount="indefinite" values="8%3B3%3B8"%2F%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .dark .btn-del { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="white" d="m18 9l-5-5v3q0 .825.588 1.413T15 9h3Zm0 10.425L16.6 20.8q-.275.275-.688.288T15.2 20.8q-.275-.275-.275-.7t.275-.7l1.4-1.4l-1.4-1.4q-.275-.275-.275-.7t.275-.7q.275-.275.7-.275t.7.275l1.4 1.4l1.4-1.4q.275-.275.688-.287t.712.287q.275.275.275.7t-.275.7L19.425 18l1.375 1.4q.275.275.288.688t-.288.712q-.275.275-.7.275t-.7-.275L18 19.425ZM6 22q-.825 0-1.413-.588T4 20V4q0-.825.588-1.413T6 2h7.175q.4 0 .763.15t.637.425l4.85 4.85q.275.275.425.638t.15.762v3.525q-.475-.175-.988-.263T17.976 12q-2.5 0-4.237 1.738T12 17.974q0 1.125.4 2.163T13.55 22H6Z"%2F%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .dark .btn-del-all { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cpath d="M24 0v24H0V0h24ZM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018Zm.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022Zm-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01l-.184-.092Z"%2F%3E%3Cpath fill="white" d="M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7.5a2 2 0 0 0-2-2h-7.52l-1.399-1.75A2 2 0 0 0 9.52 3H4Zm5.172 7.172a1 1 0 0 1 1.414 0L12 11.586l1.414-1.414a1 1 0 1 1 1.414 1.414L13.414 13l1.414 1.414a1 1 0 0 1-1.414 1.414L12 14.414l-1.414 1.414a1 1 0 1 1-1.414-1.414L10.586 13l-1.414-1.414a1 1 0 0 1 0-1.414Z"%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .btn-send { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" viewBox="0 0 20 20"%3E%3Cpath fill="%232685b5" d="M2.724 2.053a.5.5 0 0 0-.707.576l1.498 5.618a.5.5 0 0 0 .4.364l6.855 1.142c.279.047.279.447 0 .494l-6.854 1.142a.5.5 0 0 0-.401.364l-1.498 5.618a.5.5 0 0 0 .707.576l15-7.5a.5.5 0 0 0 0-.894l-15-7.5Z"%2F%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .btn-clear { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" viewBox="0 0 16 16"%3E%3Cpath fill="%232685b5" fill-rule="evenodd" d="M15.963 7.23A8 8 0 0 1 .044 8.841a.75.75 0 0 1 1.492-.158a6.5 6.5 0 1 0 9.964-6.16V4.25a.75.75 0 0 1-1.5 0V0h4.25a.75.75 0 0 1 0 1.5h-1.586a8.001 8.001 0 0 1 3.299 5.73ZM7 2a1 1 0 1 0 0-2a1 1 0 0 0 0 2Zm-2.25.25a1 1 0 1 1-2 0a1 1 0 0 1 2 0ZM1.5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z" clip-rule="evenodd"%2F%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .btn-record, .audio-btn .sm.secondary { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" viewBox="0 0 20 20"%3E%3Cpath fill="%232685b5" d="M4.5 10a.5.5 0 0 0-1 0a5.5 5.5 0 0 0 5 5.478V17.5a.5.5 0 0 0 1 0v-.706A5.48 5.48 0 0 1 9 14.5A4.5 4.5 0 0 1 4.5 10ZM12 5v4.6a5.514 5.514 0 0 0-2.79 3.393A3 3 0 0 1 6 10V5a3 3 0 0 1 6 0Zm5 9.5a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Zm2 0a4.5 4.5 0 1 1-9 0a4.5 4.5 0 0 1 9 0Zm-8 0a3.5 3.5 0 1 0 7 0a3.5 3.5 0 0 0-7 0Z"%2F%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .audio-btn .sm.tertiary { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cdefs%3E%3Cfilter id="svgSpinnersGooeyBalls10"%3E%3CfeGaussianBlur in="SourceGraphic" result="y" stdDeviation="1.5"%2F%3E%3CfeColorMatrix in="y" result="z" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"%2F%3E%3CfeBlend in="SourceGraphic" in2="z"%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cg fill="%232685b5" filter="url(%23svgSpinnersGooeyBalls10)"%3E%3Ccircle cx="4" cy="12" r="3"%3E%3Canimate attributeName="cx" calcMode="spline" dur="0.75s" keySplines=".56%2C.52%2C.17%2C.98%3B.56%2C.52%2C.17%2C.98" repeatCount="indefinite" values="4%3B9%3B4"%2F%3E%3Canimate attributeName="r" calcMode="spline" dur="0.75s" keySplines=".56%2C.52%2C.17%2C.98%3B.56%2C.52%2C.17%2C.98" repeatCount="indefinite" values="3%3B8%3B3"%2F%3E%3C%2Fcircle%3E%3Ccircle cx="15" cy="12" r="8"%3E%3Canimate attributeName="cx" calcMode="spline" dur="0.75s" keySplines=".56%2C.52%2C.17%2C.98%3B.56%2C.52%2C.17%2C.98" repeatCount="indefinite" values="15%3B20%3B15"%2F%3E%3Canimate attributeName="r" calcMode="spline" dur="0.75s" keySplines=".56%2C.52%2C.17%2C.98%3B.56%2C.52%2C.17%2C.98" repeatCount="indefinite" values="8%3B3%3B8"%2F%3E%3C%2Fcircle%3E%3C%2Fg%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .btn-del { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="%232685b5" d="m18 9l-5-5v3q0 .825.588 1.413T15 9h3Zm0 10.425L16.6 20.8q-.275.275-.688.288T15.2 20.8q-.275-.275-.275-.7t.275-.7l1.4-1.4l-1.4-1.4q-.275-.275-.275-.7t.275-.7q.275-.275.7-.275t.7.275l1.4 1.4l1.4-1.4q.275-.275.688-.287t.712.287q.275.275.275.7t-.275.7L19.425 18l1.375 1.4q.275.275.288.688t-.288.712q-.275.275-.7.275t-.7-.275L18 19.425ZM6 22q-.825 0-1.413-.588T4 20V4q0-.825.588-1.413T6 2h7.175q.4 0 .763.15t.637.425l4.85 4.85q.275.275.425.638t.15.762v3.525q-.475-.175-.988-.263T17.976 12q-2.5 0-4.237 1.738T12 17.974q0 1.125.4 2.163T13.55 22H6Z"%2F%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .btn-del-all { | |
| background: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cpath d="M24 0v24H0V0h24ZM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018Zm.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022Zm-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01l-.184-.092Z"%2F%3E%3Cpath fill="%232685b5" d="M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7.5a2 2 0 0 0-2-2h-7.52l-1.399-1.75A2 2 0 0 0 9.52 3H4Zm5.172 7.172a1 1 0 0 1 1.414 0L12 11.586l1.414-1.414a1 1 0 1 1 1.414 1.414L13.414 13l1.414 1.414a1 1 0 0 1-1.414 1.414L12 14.414l-1.414 1.414a1 1 0 1 1-1.414-1.414L10.586 13l-1.414-1.414a1 1 0 0 1 0-1.414Z"%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') center no-repeat ; | |
| } | |
| .tooltip-btn, .audio-btn .sm.secondary, .audio-btn .sm.tertiary { | |
| position: relative; | |
| display: inline-block; | |
| padding: 10px 20px; | |
| border: 1px solid #ddd; | |
| background-color: #f9f9f9; | |
| cursor: pointer; | |
| } | |
| .tooltip-btn::after, | |
| .tooltip-btn::before, | |
| .audio-btn .sm.secondary::after, | |
| .audio-btn .sm.secondary::before, | |
| .audio-btn .sm.tertiary::after, | |
| .audio-btn .sm.tertiary::before { | |
| content: ""; | |
| position: absolute; | |
| visibility: hidden; | |
| top: 100%; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| transition: opacity 0.3s; | |
| pointer-events: none; | |
| } | |
| .tooltip-content-send::after { | |
| content: "Send message"; | |
| } | |
| .tooltip-content-record::after, .audio-btn .sm.secondary::after { | |
| content: "Use microphone"; | |
| } | |
| .audio-btn .sm.tertiary::after { | |
| content: "Stop recording"; | |
| } | |
| .tooltip-content-clear::after { | |
| content: "New topic"; | |
| } | |
| .tooltip-del:after { | |
| content: "Remove selected files"; | |
| } | |
| .tooltip-del-all::after { | |
| content: "Remove all files"; | |
| } | |
| .tooltip-btn::after, .audio-btn .sm.secondary::after, .audio-btn .sm.tertiary::after { | |
| background-color: #000; | |
| color: #fff; | |
| text-align: center; | |
| font-size: 12px; | |
| font-weight: bold; | |
| padding: 5px; | |
| border-radius: 6px; | |
| z-index: 1; | |
| white-space: nowrap; | |
| opacity: 0; | |
| margin-top: 10px; /* Spacing between the button and the tooltip */ | |
| } | |
| .tooltip-btn::before, .audio-btn .sm.secondary::before, .audio-btn .sm.tertiary::before { | |
| border: 5px solid transparent; | |
| border-bottom-color: #000; /* Arrow color */ | |
| } | |
| .tooltip-btn:hover::after, | |
| .tooltip-btn:hover::before, | |
| .audio-btn .sm.secondary:hover::after, | |
| .audio-btn .sm.secondary:hover::before, | |
| .audio-btn .sm.tertiary:hover::after, | |
| .audio-btn .sm.tertiary:hover::before { | |
| visibility: visible; | |
| opacity: 0.8; /* Arrow and tooltip opacity */ | |
| } | |
| .btn-update-group { | |
| display: flex; | |
| justify-content: space-evenly; | |
| align-items: center; | |
| width: 100%; | |
| padding-top: 10px; | |
| } | |
| .btn-update-group.hideK { | |
| display: none; | |
| } | |
| /* user_info */ | |
| #user_info.block { | |
| white-space: nowrap; | |
| position: absolute; | |
| left: 13em; | |
| top: -1em; | |
| z-index: var(--layer-2); | |
| box-shadow: var(--block-shadow); | |
| border: none ; | |
| border-radius: 10px 10px 10px 0; | |
| background: var(--color-accent); | |
| padding: var(--block-label-padding); | |
| font-size: var(--block-label-text-size); | |
| line-height: var(--line-sm); | |
| width: auto; | |
| max-height: 30px ; | |
| opacity: 1; | |
| transition: opacity 0.3s ease-in-out; | |
| } | |
| #user_info.block .wrap { | |
| opacity: 0; | |
| } | |
| #user_info p { | |
| color: white; | |
| font-weight: var(--block-label-text-weight); | |
| } | |
| #user_info.hideK { | |
| opacity: 0; | |
| transition: opacity 1s ease-in-out; | |
| } | |
| /* status_display */ | |
| #status_display { | |
| margin-bottom: 10px; | |
| display: flex; | |
| min-height: 2em; | |
| align-items: flex-end; | |
| justify-content: flex-end; | |
| } | |
| #status_display p { | |
| font-size: .85em; | |
| font-family: ui-monospace, "SF Mono", "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", "Microsoft Yahei UI", "Microsoft Yahei", monospace; | |
| color: var(--body-text-color-subdued); | |
| } | |
| #status_display { | |
| transition: all 0.6s; | |
| } | |
| #chuanhu_chatbot { | |
| transition: height 0.3s ease; | |
| } | |
| /* usage_display */ | |
| .insert_block { | |
| position: relative; | |
| margin: 0; | |
| padding: 8px 12px; | |
| box-shadow: var(--block-shadow); | |
| border-width: var(--block-border-width); | |
| border-color: var(--block-border-color); | |
| border-radius: var(--block-radius); | |
| background: var(--block-background-fill); | |
| width: 100%; | |
| line-height: var(--line-sm); | |
| min-height: 2em; | |
| } | |
| #usage_display p, #usage_display span { | |
| margin: 0; | |
| font-size: .85em; | |
| color: var(--body-text-color-subdued); | |
| } | |
| .progress-bar { | |
| background-color: var(--input-background-fill); | |
| margin: .5em 0 ; | |
| height: 20px; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| } | |
| .progress { | |
| background-color: var(--block-title-background-fill); | |
| height: 100%; | |
| border-radius: 10px; | |
| text-align: right; | |
| transition: width 0.5s ease-in-out; | |
| } | |
| .progress-text { | |
| /* color: white; */ | |
| display: none ; | |
| /*color: var(--color-accent) !important;*/ | |
| /*font-size: 1em !important;*/ | |
| /*font-weight: bold;*/ | |
| /*padding-right: 10px;*/ | |
| /*line-height: 20px;*/ | |
| } | |
| /* 亮暗色模式切换 */ | |
| #apSwitch input[type="checkbox"] { | |
| margin: 0 ; | |
| } | |
| #apSwitch label.apSwitch { | |
| display: flex; | |
| align-items: center; | |
| cursor: pointer; | |
| color: var(--body-text-color); | |
| font-weight: var(--checkbox-label-text-weight); | |
| font-size: var(--checkbox-label-text-size); | |
| line-height: var(--line-md); | |
| margin: 2px 0 ; | |
| } | |
| input[type="checkbox"]#apSwitch_checkbox::before { | |
| background: none ; | |
| content: '🌞'; | |
| border: none ; | |
| box-shadow: none ; | |
| font-size: 22px; | |
| top: -4.4px; | |
| left: -1px; | |
| } | |
| input:checked[type="checkbox"]#apSwitch_checkbox::before { | |
| content: '🌚'; | |
| left: 16px; | |
| } | |
| /* .apSwitch { | |
| top: 2px; | |
| display: inline-block; | |
| height: 22px; | |
| position: relative; | |
| width: 40px; | |
| border-radius: 11px; | |
| box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.05), inset 0 0 2px 0 rgba(0,0,0,0.08) !important; | |
| } | |
| .apSwitch input { | |
| display: none !important; | |
| } | |
| .apSlider { | |
| background-color: var(--neutral-200); | |
| bottom: 0; | |
| cursor: pointer; | |
| left: 0; | |
| position: absolute; | |
| right: 0; | |
| top: 0; | |
| transition: .4s; | |
| font-size: 22px; | |
| border-radius: 11px; | |
| } | |
| .apSlider::before { | |
| transform: scale(0.9); | |
| position: absolute; | |
| transition: .4s; | |
| content: "🌞"; | |
| } | |
| input:checked + .apSlider { | |
| background-color: var(--primary-600); | |
| } | |
| input:checked + .apSlider::before { | |
| transform: translateX(18px); | |
| content:"🌚"; | |
| } */ | |
| .switch_checkbox label { | |
| flex-direction: row-reverse; | |
| justify-content: space-between; | |
| } | |
| .switch_checkbox input[type="checkbox"] + span { | |
| margin-left: 0 ; | |
| } | |
| .switch_checkbox input[type="checkbox"] { | |
| -moz-appearance: none; | |
| appearance: none; | |
| -webkit-appearance: none; | |
| outline: none; | |
| } | |
| .switch_checkbox input[type="checkbox"] { | |
| display: inline-block ; | |
| position: relative ; | |
| border: none ; | |
| outline: none; | |
| width: 40px ; | |
| height: 22px ; | |
| border-radius: 11px ; | |
| background-image: none ; | |
| box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 0 2px 0 rgba(0, 0, 0, 0.08) ; | |
| background-color: var(--switch-checkbox-color-light) ; | |
| transition: .2s ease background-color; | |
| } | |
| .dark .switch_checkbox input[type="checkbox"] { | |
| background-color: var(--switch-checkbox-color-light) ; | |
| } | |
| .switch_checkbox input[type="checkbox"]::before { | |
| content: ""; | |
| position: absolute; | |
| width: 22px; | |
| height: 22px; | |
| top: 0; | |
| left: 0; | |
| background: #FFFFFF; | |
| border: 0.5px solid rgba(0, 0, 0, 0.02); | |
| box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15), 0 1px 0 0 rgba(0, 0, 0, 0.05); | |
| transform: scale(0.9); | |
| border-radius: 11px ; | |
| transition: .4s ease all; | |
| box-shadow: var(--input-shadow); | |
| } | |
| .switch_checkbox input:checked[type="checkbox"] { | |
| background-color: var(--switch-checkbox-marked-color) ; | |
| } | |
| .switch_checkbox input:checked[type="checkbox"]::before { | |
| background-color: #fff; | |
| left: 18px; | |
| } | |
| /* Override Slider Styles (for webkit browsers like Safari and Chrome) | |
| * 好希望这份提案能早日实现 https://github.com/w3c/csswg-drafts/issues/4410 | |
| * 进度滑块在各个平台还是太不统一了 | |
| */ | |
| /* input[type="range"] { | |
| -webkit-appearance: none; | |
| height: 4px; | |
| background: var(--input-background-fill); | |
| border-radius: 5px; | |
| background-image: linear-gradient(var(--primary-500),var(--primary-500)); | |
| background-size: 0% 100%; | |
| background-repeat: no-repeat; | |
| } */ | |
| input[type="range"] { | |
| height: 4px; | |
| border-radius: 5px; | |
| } | |
| input[type="range"]::-webkit-slider-thumb { | |
| -webkit-appearance: none; | |
| height: 20px; | |
| width: 20px; | |
| border-radius: 50%; | |
| border: solid 0.5px #ddd; | |
| background-color: white; | |
| cursor: ew-resize; | |
| box-shadow: var(--input-shadow); | |
| transition: background-color .1s ease; | |
| } | |
| input[type="range"]::-webkit-slider-thumb:hover { | |
| background: var(--neutral-50); | |
| } | |
| input[type=range]::-webkit-slider-runnable-track { | |
| -webkit-appearance: none; | |
| box-shadow: none; | |
| border: none; | |
| background: transparent; | |
| } | |
| hr.append-display { | |
| margin: 8px 0; | |
| border: none; | |
| height: 1px; | |
| border-top-width: 0; | |
| background-image: linear-gradient(to right, rgba(50, 50, 50, 0.1), rgba(150, 150, 150, 0.8), rgba(50, 50, 50, 0.1)); | |
| } | |
| .source-a { | |
| font-size: 0.8em; | |
| max-width: 100%; | |
| margin: 0; | |
| display: flex; | |
| flex-direction: row; | |
| flex-wrap: wrap; | |
| align-items: center; | |
| /* background-color: #dddddd88; */ | |
| border-radius: 1.5rem; | |
| padding: 0.2em; | |
| } | |
| .source-a a, .source-a details { | |
| display: inline-block; | |
| background-color: #aaaaaa50; | |
| border-radius: 1rem; | |
| padding: 0.5em; | |
| text-align: center; | |
| text-overflow: ellipsis; | |
| overflow: hidden; | |
| min-width: 40%; | |
| white-space: nowrap; | |
| margin: 0.2rem 0.1rem; | |
| text-decoration: none ; | |
| flex: 1; | |
| transition: flex 0.5s; | |
| } | |
| .source-a details > p { | |
| background-color: #aaaaaa50; | |
| border-radius: 1rem; | |
| padding: 0.5em; | |
| text-overflow: ellipsis; | |
| text-align: left ; | |
| overflow: hidden; | |
| white-space: pre ; | |
| margin: 0.2rem 0.1rem; | |
| text-decoration: none ; | |
| flex: 1; | |
| transition: flex 0.5s; | |
| } | |
| .source-a a:hover, .source-a details:hover { | |
| background-color: #aaaaaa20; | |
| flex: 2; | |
| } | |
| #submit_btn, #cancel_btn { | |
| height: 42px ; | |
| } | |
| #submit_btn::before { | |
| content: url("data:image/svg+xml, %3Csvg width='21px' height='20px' viewBox='0 0 21 20' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3Cg id='page' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E %3Cg id='send' transform='translate(0.435849, 0.088463)' fill='%23FFFFFF' fill-rule='nonzero'%3E %3Cpath d='M0.579148261,0.0428666046 C0.301105539,-0.0961547561 -0.036517765,0.122307382 0.0032026237,0.420210298 L1.4927172,18.1553639 C1.5125774,18.4334066 1.79062012,18.5922882 2.04880264,18.4929872 L8.24518329,15.8913017 L11.6412765,19.7441794 C11.8597387,19.9825018 12.2370824,19.8832008 12.3165231,19.5852979 L13.9450591,13.4882182 L19.7839562,11.0255541 C20.0619989,10.8865327 20.0818591,10.4694687 19.7839562,10.3105871 L0.579148261,0.0428666046 Z M11.6138902,17.0883151 L9.85385903,14.7195502 L0.718169621,0.618812241 L12.69945,12.9346347 L11.6138902,17.0883151 Z' id='shape'%3E%3C/path%3E %3C/g%3E %3C/g%3E %3C/svg%3E"); | |
| height: 21px; | |
| } | |
| #cancel_btn::before { | |
| content: url("data:image/svg+xml,%3Csvg width='21px' height='21px' viewBox='0 0 21 21' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3Cg id='pg' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E %3Cpath d='M10.2072007,20.088463 C11.5727865,20.088463 12.8594566,19.8259823 14.067211,19.3010209 C15.2749653,18.7760595 16.3386126,18.0538087 17.2581528,17.1342685 C18.177693,16.2147282 18.8982283,15.1527965 19.4197586,13.9484733 C19.9412889,12.7441501 20.202054,11.4557644 20.202054,10.0833163 C20.202054,8.71773046 19.9395733,7.43106036 19.4146119,6.22330603 C18.8896505,5.01555169 18.1673997,3.95018885 17.2478595,3.0272175 C16.3283192,2.10424615 15.2646719,1.3837109 14.0569176,0.865611739 C12.8491633,0.34751258 11.5624932,0.088463 10.1969073,0.088463 C8.83132146,0.088463 7.54636692,0.34751258 6.34204371,0.865611739 C5.1377205,1.3837109 4.07407321,2.10424615 3.15110186,3.0272175 C2.22813051,3.95018885 1.5058797,5.01555169 0.984349419,6.22330603 C0.46281914,7.43106036 0.202054,8.71773046 0.202054,10.0833163 C0.202054,11.4557644 0.4645347,12.7441501 0.9894961,13.9484733 C1.5144575,15.1527965 2.23670831,16.2147282 3.15624854,17.1342685 C4.07578877,18.0538087 5.1377205,18.7760595 6.34204371,19.3010209 C7.54636692,19.8259823 8.83475258,20.088463 10.2072007,20.088463 Z M10.2072007,18.2562448 C9.07493099,18.2562448 8.01471483,18.0452309 7.0265522,17.6232031 C6.03838956,17.2011753 5.17031614,16.6161693 4.42233192,15.8681851 C3.6743477,15.1202009 3.09105726,14.2521274 2.67246059,13.2639648 C2.25386392,12.2758022 2.04456558,11.215586 2.04456558,10.0833163 C2.04456558,8.95104663 2.25386392,7.89083047 2.67246059,6.90266784 C3.09105726,5.9145052 3.6743477,5.04643178 4.42233192,4.29844756 C5.17031614,3.55046334 6.036674,2.9671729 7.02140552,2.54857623 C8.00613703,2.12997956 9.06463763,1.92068122 10.1969073,1.92068122 C11.329177,1.92068122 12.3911087,2.12997956 13.3827025,2.54857623 C14.3742962,2.9671729 15.2440852,3.55046334 15.9920694,4.29844756 C16.7400537,5.04643178 17.3233441,5.9145052 17.7419408,6.90266784 C18.1605374,7.89083047 18.3698358,8.95104663 18.3698358,10.0833163 C18.3698358,11.215586 18.1605374,12.2758022 17.7419408,13.2639648 C17.3233441,14.2521274 16.7400537,15.1202009 15.9920694,15.8681851 C15.2440852,16.6161693 14.3760118,17.2011753 13.3878492,17.6232031 C12.3996865,18.0452309 11.3394704,18.2562448 10.2072007,18.2562448 Z M7.65444721,13.6242324 L12.7496608,13.6242324 C13.0584616,13.6242324 13.3003556,13.5384544 13.4753427,13.3668984 C13.6503299,13.1953424 13.7378234,12.9585951 13.7378234,12.6566565 L13.7378234,7.49968276 C13.7378234,7.19774418 13.6503299,6.96099688 13.4753427,6.78944087 C13.3003556,6.61788486 13.0584616,6.53210685 12.7496608,6.53210685 L7.65444721,6.53210685 C7.33878414,6.53210685 7.09345904,6.61788486 6.91847191,6.78944087 C6.74348478,6.96099688 6.65599121,7.19774418 6.65599121,7.49968276 L6.65599121,12.6566565 C6.65599121,12.9585951 6.74348478,13.1953424 6.91847191,13.3668984 C7.09345904,13.5384544 7.33878414,13.6242324 7.65444721,13.6242324 Z' id='shape' fill='%23FF3B30' fill-rule='nonzero'%3E%3C/path%3E %3C/g%3E %3C/svg%3E"); | |
| height: 21px; | |
| } | |
| /* list */ | |
| ol:not(.options), ul:not(.options) { | |
| padding-inline-start: 2em ; | |
| } | |
| /* 亮色(默认) */ | |
| #chuanhu_chatbot { | |
| background-color: var(--chatbot-background-color-light) ; | |
| color: var(--chatbot-color-light) ; | |
| } | |
| [data-testid = "bot"] { | |
| background: var(--message-bot-background-color-light) ; | |
| box-shadow: var(--cib-shadow-card) ; | |
| outline: transparent solid 1px ; | |
| } | |
| [data-testid = "user"] { | |
| background: linear-gradient(130deg, #2685b5 20%, #135a7f 77.5%) ; | |
| color: white ; | |
| box-shadow: var(--cib-shadow-card) ; | |
| outline: transparent solid 1px ; | |
| } | |
| /* 暗色 */ | |
| .dark #chuanhu_chatbot { | |
| background-color: var(--chatbot-background-color-dark) ; | |
| color: var(--chatbot-color-dark) ; | |
| } | |
| .dark [data-testid = "bot"] { | |
| background-color: var(--message-bot-background-color-dark) ; | |
| } | |
| .dark [data-testid = "user"] { | |
| background: linear-gradient(130deg, #2685b5 20%, #135a7f 77.5%) ; | |
| } | |
| /* 屏幕宽度大于等于500px的设备 */ | |
| /* update on 2023.4.8: 高度的细致调整已写入JavaScript */ | |
| @media screen and (min-width: 500px) { | |
| #chuanhu_chatbot { | |
| height: calc(100vh - 200px); | |
| } | |
| #chuanhu_chatbot > .wrapper > .wrap { | |
| max-height: calc(100vh - 200px - var(--line-sm) * 1rem - 2 * var(--block-label-margin)); | |
| } | |
| } | |
| /* 屏幕宽度小于500px的设备 */ | |
| @media screen and (max-width: 499px) { | |
| #chuanhu_chatbot { | |
| height: calc(100vh - 140px); | |
| } | |
| #chuanhu_chatbot > .wrapper > .wrap { | |
| max-height: calc(100vh - 140px - var(--line-sm) * 1rem - 2 * var(--block-label-margin)); | |
| } | |
| [data-testid = "bot"] { | |
| max-width: 95% ; | |
| } | |
| #app_title h1 { | |
| letter-spacing: -1px; | |
| font-size: 22px; | |
| } | |
| } | |
| #chuanhu_chatbot > .wrapper > .wrap { | |
| overflow-x: hidden; | |
| } | |
| /* 对话气泡 */ | |
| .message { | |
| border-radius: var(--radius-xl) ; | |
| border: none; | |
| padding: var(--spacing-xl) ; | |
| font-size: var(--message-font-size) ; | |
| line-height: var(--line-md) ; | |
| min-height: calc(var(--text-md) * var(--line-md) + 2 * var(--spacing-xl)); | |
| min-width: calc(var(--text-md) * var(--line-md) + 2 * var(--spacing-xl)); | |
| } | |
| [data-testid = "bot"] { | |
| max-width: 85%; | |
| border-bottom-left-radius: 0 ; | |
| } | |
| [data-testid = "user"] { | |
| max-width: 85%; | |
| width: auto ; | |
| border-bottom-right-radius: 0 ; | |
| } | |
| .message.user p { | |
| white-space: pre-wrap; | |
| } | |
| .message .user-message { | |
| display: block; | |
| padding: 0 ; | |
| white-space: pre-wrap; | |
| } | |
| .message .md-message p { | |
| margin-top: 0.6em ; | |
| margin-bottom: 0.6em ; | |
| } | |
| .message .md-message p:first-child { | |
| margin-top: 0 ; | |
| } | |
| .message .md-message p:last-of-type { | |
| margin-bottom: 0 ; | |
| } | |
| .message .md-message { | |
| display: block; | |
| padding: 0 ; | |
| } | |
| .message .raw-message p { | |
| margin: 0 ; | |
| } | |
| .message .raw-message { | |
| display: block; | |
| padding: 0 ; | |
| white-space: pre-wrap; | |
| } | |
| .raw-message.hideM, .md-message.hideM { | |
| display: none; | |
| } | |
| /* custom buttons */ | |
| .chuanhu-btn { | |
| border-radius: 5px; | |
| color: rgba(120, 120, 120, 0.64) ; | |
| padding: 4px ; | |
| position: absolute; | |
| right: -22px; | |
| cursor: pointer ; | |
| transition: color .2s ease, background-color .2s ease; | |
| } | |
| .chuanhu-btn:hover { | |
| background-color: rgba(167, 167, 167, 0.25) ; | |
| color: unset ; | |
| } | |
| .chuanhu-btn:active { | |
| background-color: rgba(167, 167, 167, 0.5) ; | |
| } | |
| .chuanhu-btn:focus { | |
| outline: none; | |
| } | |
| .copy-bot-btn { | |
| /* top: 18px; */ | |
| bottom: 0; | |
| } | |
| .toggle-md-btn { | |
| /* top: 0; */ | |
| bottom: 20px; | |
| } | |
| .copy-code-btn { | |
| position: relative; | |
| float: right; | |
| font-size: 1em; | |
| cursor: pointer; | |
| } | |
| .message-wrap > div img { | |
| border-radius: 10px ; | |
| } | |
| /* history message */ | |
| .wrapper > .wrap > .history-message { | |
| padding: 10px ; | |
| } | |
| .history-message { | |
| /* padding: 0 !important; */ | |
| opacity: 80%; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .history-message > .history-message { | |
| padding: 0 ; | |
| } | |
| .history-message > .message-wrap { | |
| padding: 0 ; | |
| margin-bottom: 16px; | |
| } | |
| .history-message > .message { | |
| margin-bottom: 16px; | |
| } | |
| .wrapper > .wrap > .history-message::after { | |
| content: ""; | |
| display: block; | |
| height: 2px; | |
| background-color: var(--body-text-color-subdued); | |
| margin-bottom: 10px; | |
| margin-top: -10px; | |
| clear: both; | |
| } | |
| .wrapper > .wrap > .history-message > :last-child::after { | |
| content: "仅供查看"; | |
| display: block; | |
| text-align: center; | |
| color: var(--body-text-color-subdued); | |
| font-size: 0.8em; | |
| } | |
| /* 表格 */ | |
| table { | |
| margin: 1em 0; | |
| border-collapse: collapse; | |
| empty-cells: show; | |
| } | |
| td, th { | |
| border: 1.2px solid var(--border-color-primary) ; | |
| padding: 0.2em; | |
| } | |
| thead { | |
| background-color: rgba(175, 184, 193, 0.2); | |
| } | |
| thead th { | |
| padding: .5em .2em; | |
| } | |
| .message :not(pre) code { | |
| display: inline; | |
| white-space: break-spaces; | |
| font-family: var(--font-mono); | |
| border-radius: 6px; | |
| margin: 0 2px 0 2px; | |
| padding: .2em .4em .1em .4em; | |
| background-color: rgba(175, 184, 193, 0.2); | |
| } | |
| /* 代码块 */ | |
| .message pre, | |
| .message pre[class*=language-] { | |
| color: #fff; | |
| overflow-x: auto; | |
| overflow-y: hidden; | |
| margin: .8em 1em 1em 0em ; | |
| padding: var(--spacing-xl) 1.2em ; | |
| border-radius: var(--radius-lg) ; | |
| } | |
| .message pre code, | |
| .message pre code[class*=language-] { | |
| color: #fff; | |
| padding: 0; | |
| margin: 0; | |
| background-color: unset; | |
| text-shadow: none; | |
| font-family: var(--font-mono); | |
| } | |
| /* 覆盖 gradio 丑陋的复制按钮样式 */ | |
| pre button[title="copy"] { | |
| border-radius: 5px; | |
| transition: background-color .2s ease; | |
| } | |
| pre button[title="copy"]:hover { | |
| background-color: #333232; | |
| } | |
| pre button .check { | |
| color: #fff ; | |
| background: var(--neutral-950) ; | |
| } | |
| /* 覆盖prism.css */ | |
| .language-css .token.string, | |
| .style .token.string, | |
| .token.entity, | |
| .token.operator, | |
| .token.url { | |
| background: none ; | |
| } | |
| .label.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno { | |
| display: none; | |
| } | |
| .gallery.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno { | |
| justify-content: flex-end; | |
| } | |
| .button-group { | |
| width: 200px ; | |
| display: flex ; | |
| justify-content: space-between ; | |
| } | |
| .chatbot { | |
| background: none ; | |
| border: none ; | |
| } | |
| button[class^="svelte-"], button[class*="svelte-"].selected { | |
| width: calc(var(--size-full) / 3) ; /* number of elements */ | |
| background: none ; | |
| } | |
| /*#component-2 {*/ | |
| /* gap: 0 !important;*/ | |
| /* margin-bottom: 3px !important;*/ | |
| /*}*/ | |
| .token, .token > span { | |
| text-overflow: ellipsis; | |
| overflow: hidden; | |
| } | |
| .audio-btn > div[class^="svelte-"], .audio-btn > audio { | |
| display: none; | |
| } | |
| div.logo { | |
| background: url('https://i.ibb.co/BnmxGhz/logo.png') no-repeat left center; | |
| background-size: contain; | |
| height: 40px; | |
| align-items: flex-start; | |
| justify-content: flex-start; | |
| } | |
| .user-input { | |
| font-size: var(--message-font-size) ; | |
| box-shadow: var(--cib-shadow-card) ; | |
| outline: transparent solid 1px ; | |
| } | |
| .examples > div > button > div { | |
| background: rgba(249, 249, 249, 0.33) ; | |
| } | |
| .dark .examples > div > button > div { | |
| background: var(--chatbot-background-color-dark) ; | |
| } | |
| .message.pending { | |
| background: none ; | |
| } | |
| #component-36 > label { | |
| width: inherit; | |
| } |