2023-03-15 11:33:26 -04:00
|
|
|
.tabs.svelte-710i53 {
|
|
|
|
margin-top: 0
|
|
|
|
}
|
2023-03-16 20:31:39 -04:00
|
|
|
|
2023-03-15 11:33:26 -04:00
|
|
|
.py-6 {
|
|
|
|
padding-top: 2.5rem
|
|
|
|
}
|
2023-03-16 20:31:39 -04:00
|
|
|
|
2023-07-03 23:03:30 -04:00
|
|
|
.small-button {
|
2023-08-13 21:45:13 -04:00
|
|
|
min-width: 0 !important;
|
2023-07-03 23:03:30 -04:00
|
|
|
max-width: 171px;
|
|
|
|
height: 39.594px;
|
|
|
|
align-self: end;
|
|
|
|
}
|
|
|
|
|
2023-06-11 13:20:16 -04:00
|
|
|
.refresh-button {
|
|
|
|
max-width: 4.4em;
|
|
|
|
min-width: 2.2em !important;
|
|
|
|
height: 39.594px;
|
|
|
|
align-self: end;
|
|
|
|
line-height: 1em;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
flex: none;
|
2023-03-15 11:33:26 -04:00
|
|
|
}
|
2023-03-16 20:31:39 -04:00
|
|
|
|
2023-06-11 13:20:16 -04:00
|
|
|
.refresh-button-small {
|
|
|
|
max-width: 2.2em;
|
|
|
|
}
|
|
|
|
|
2023-08-02 11:45:14 -04:00
|
|
|
.button_nowrap {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2023-06-11 13:20:16 -04:00
|
|
|
#slim-column {
|
|
|
|
flex: none !important;
|
|
|
|
min-width: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slim-dropdown {
|
|
|
|
background-color: transparent !important;
|
|
|
|
border: none !important;
|
|
|
|
padding: 0 !important;
|
2023-03-15 11:33:26 -04:00
|
|
|
}
|
2023-03-16 20:31:39 -04:00
|
|
|
|
2023-03-15 11:33:26 -04:00
|
|
|
#download-label, #upload-label {
|
2023-05-25 12:12:34 -04:00
|
|
|
min-height: 0
|
2023-03-15 11:33:26 -04:00
|
|
|
}
|
2023-03-16 20:31:39 -04:00
|
|
|
|
2023-03-15 11:33:26 -04:00
|
|
|
.dark svg {
|
2023-05-25 12:12:34 -04:00
|
|
|
fill: white;
|
2023-03-15 11:33:26 -04:00
|
|
|
}
|
2023-03-16 20:31:39 -04:00
|
|
|
|
2023-03-17 19:19:04 -04:00
|
|
|
.dark a {
|
2023-05-25 12:12:34 -04:00
|
|
|
color: white !important;
|
2023-03-17 19:19:04 -04:00
|
|
|
}
|
|
|
|
|
2023-03-15 11:33:26 -04:00
|
|
|
ol li p, ul li p {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2023-03-16 20:31:39 -04:00
|
|
|
|
2023-08-13 00:12:15 -04:00
|
|
|
#chat-tab, #default-tab, #notebook-tab, #parameters, #chat-settings, #lora, #training-tab, #model-tab, #session-tab {
|
2023-05-25 12:12:34 -04:00
|
|
|
border: 0;
|
2023-03-15 11:33:26 -04:00
|
|
|
}
|
2023-03-22 23:13:34 -04:00
|
|
|
|
|
|
|
.gradio-container-3-18-0 .prose * h1, h2, h3, h4 {
|
2023-05-25 12:12:34 -04:00
|
|
|
color: white;
|
2023-03-22 23:13:34 -04:00
|
|
|
}
|
2023-03-26 21:20:30 -04:00
|
|
|
|
|
|
|
.gradio-container {
|
2023-05-25 12:12:34 -04:00
|
|
|
max-width: 100% !important;
|
|
|
|
padding-top: 0 !important;
|
2023-03-26 21:20:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#extensions {
|
2023-08-29 19:15:12 -04:00
|
|
|
margin-top: 5px;
|
2023-05-25 12:12:34 -04:00
|
|
|
margin-bottom: 35px;
|
2023-03-26 21:20:30 -04:00
|
|
|
}
|
2023-03-27 11:59:07 -04:00
|
|
|
|
2023-05-17 00:25:01 -04:00
|
|
|
.extension-tab {
|
2023-05-25 12:12:34 -04:00
|
|
|
border: 0 !important;
|
2023-05-17 00:25:01 -04:00
|
|
|
}
|
|
|
|
|
2023-03-27 11:59:07 -04:00
|
|
|
span.math.inline {
|
2023-05-25 12:12:34 -04:00
|
|
|
font-size: 27px;
|
|
|
|
vertical-align: baseline !important;
|
2023-03-27 11:59:07 -04:00
|
|
|
}
|
2023-04-04 17:07:34 -04:00
|
|
|
|
2023-04-04 17:30:34 -04:00
|
|
|
div.svelte-15lo0d8 > *, div.svelte-15lo0d8 > .form > * {
|
2023-05-25 12:12:34 -04:00
|
|
|
flex-wrap: nowrap;
|
2023-04-04 17:07:34 -04:00
|
|
|
}
|
2023-04-10 15:15:16 -04:00
|
|
|
|
|
|
|
.header_bar {
|
2023-05-25 12:12:34 -04:00
|
|
|
background-color: #f7f7f7;
|
2023-09-13 14:48:42 -04:00
|
|
|
margin-bottom: 19px;
|
2023-08-02 11:45:14 -04:00
|
|
|
display: inline !important;
|
|
|
|
overflow-x: scroll;
|
2023-09-15 11:06:17 -04:00
|
|
|
margin-left: calc(-1 * var(--size-4));
|
|
|
|
margin-right: calc(-1 * var(--size-4));
|
2023-04-10 15:15:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark .header_bar {
|
2023-05-25 12:12:34 -04:00
|
|
|
border: none !important;
|
|
|
|
background-color: #8080802b;
|
2023-04-10 15:15:16 -04:00
|
|
|
}
|
2023-04-18 22:36:23 -04:00
|
|
|
|
2023-08-17 14:06:18 -04:00
|
|
|
.header_bar button.selected {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2023-04-18 22:36:23 -04:00
|
|
|
.textbox_default textarea {
|
2023-09-15 12:10:57 -04:00
|
|
|
height: calc(100dvh - 271px);
|
2023-04-18 22:36:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.textbox_default_output textarea {
|
2023-09-15 22:41:53 -04:00
|
|
|
height: calc(100dvh - 185px);
|
2023-04-18 22:36:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.textbox textarea {
|
2023-08-16 01:39:58 -04:00
|
|
|
height: calc(100dvh - 241px);
|
2023-04-18 22:36:23 -04:00
|
|
|
}
|
|
|
|
|
2023-08-20 19:49:21 -04:00
|
|
|
.textbox_logits textarea {
|
2023-09-15 22:41:53 -04:00
|
|
|
height: calc(100dvh - 236px);
|
2023-08-20 19:49:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.textbox_logits_notebook textarea {
|
|
|
|
height: calc(100dvh - 292px);
|
|
|
|
}
|
|
|
|
|
2023-09-24 17:11:22 -04:00
|
|
|
.monospace textarea {
|
2023-09-15 22:30:44 -04:00
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
2023-08-20 19:49:21 -04:00
|
|
|
.textbox_default textarea,
|
|
|
|
.textbox_default_output textarea,
|
|
|
|
.textbox_logits textarea,
|
|
|
|
.textbox_logits_notebook textarea,
|
2023-09-15 21:51:55 -04:00
|
|
|
.textbox textarea {
|
2023-05-25 12:12:34 -04:00
|
|
|
font-size: 16px !important;
|
|
|
|
color: #46464A !important;
|
2023-04-18 22:36:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark textarea {
|
2023-05-25 12:12:34 -04:00
|
|
|
color: #efefef !important;
|
2023-04-18 22:36:23 -04:00
|
|
|
}
|
|
|
|
|
2023-08-13 00:12:15 -04:00
|
|
|
@media screen and (max-width: 711px) {
|
|
|
|
.textbox_default textarea {
|
2023-09-15 12:10:57 -04:00
|
|
|
height: calc(100dvh - 259px);
|
2023-08-20 22:13:01 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
div .default-token-counter {
|
2023-09-15 12:10:57 -04:00
|
|
|
top: calc( 0.5 * (100dvh - 236px) ) !important;
|
2023-08-13 00:12:15 -04:00
|
|
|
}
|
2023-09-14 06:17:15 -04:00
|
|
|
|
|
|
|
.transparent-substring {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hover-menu {
|
|
|
|
min-width: 250px !important;
|
|
|
|
}
|
2023-08-13 00:12:15 -04:00
|
|
|
}
|
|
|
|
|
2023-04-18 22:36:23 -04:00
|
|
|
/* Hide the gradio footer*/
|
|
|
|
footer {
|
2023-05-25 12:12:34 -04:00
|
|
|
display: none !important;
|
2023-04-18 22:36:23 -04:00
|
|
|
}
|
|
|
|
|
2023-04-18 23:56:24 -04:00
|
|
|
button {
|
2023-05-25 12:12:34 -04:00
|
|
|
font-size: 14px !important;
|
2023-04-18 23:56:24 -04:00
|
|
|
}
|
2023-04-21 01:35:28 -04:00
|
|
|
|
2023-06-11 11:19:18 -04:00
|
|
|
.file-saver {
|
|
|
|
position: fixed !important;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%); /* center horizontally */
|
|
|
|
max-width: 500px;
|
|
|
|
background-color: var(--input-background-fill);
|
|
|
|
border: 2px solid black !important;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .file-saver {
|
|
|
|
border: 2px solid white !important;
|
2023-06-11 14:29:45 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.checkboxgroup-table label {
|
|
|
|
background: none !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkboxgroup-table div {
|
|
|
|
display: grid !important;
|
2023-07-04 01:39:01 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown ul ol {
|
|
|
|
font-size: 100% !important;
|
2023-08-02 11:02:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.pretty_scrollbar::-webkit-scrollbar {
|
2023-08-17 14:06:18 -04:00
|
|
|
width: 5px;
|
2023-08-02 11:02:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.pretty_scrollbar::-webkit-scrollbar-track {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pretty_scrollbar::-webkit-scrollbar-thumb,
|
|
|
|
.pretty_scrollbar::-webkit-scrollbar-thumb:hover {
|
|
|
|
background: #c5c5d2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .pretty_scrollbar::-webkit-scrollbar-thumb,
|
|
|
|
.dark .pretty_scrollbar::-webkit-scrollbar-thumb:hover {
|
|
|
|
background: #374151;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pretty_scrollbar::-webkit-resizer {
|
|
|
|
background: #c5c5d2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .pretty_scrollbar::-webkit-resizer {
|
|
|
|
background: #374151;
|
|
|
|
}
|
2023-08-13 00:12:15 -04:00
|
|
|
|
2023-08-16 12:35:10 -04:00
|
|
|
audio {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-08-20 22:13:01 -04:00
|
|
|
/* Copied from https://github.com/AUTOMATIC1111/stable-diffusion-webui */
|
|
|
|
.token-counter {
|
|
|
|
position: absolute !important;
|
2023-09-15 11:50:59 -04:00
|
|
|
top: calc( 0.5 * (100dvh - 218px) ) !important;
|
2023-08-20 22:13:01 -04:00
|
|
|
right: 2px;
|
|
|
|
z-index: 100;
|
|
|
|
background: var(--input-background-fill) !important;
|
|
|
|
min-height: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.default-token-counter {
|
2023-09-15 12:10:57 -04:00
|
|
|
top: calc( 0.5 * (100dvh - 248px) ) !important;
|
2023-08-20 22:13:01 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.token-counter span {
|
|
|
|
padding: 1px;
|
|
|
|
box-shadow: 0 0 0 0.3em rgba(192,192,192,0.15), inset 0 0 0.6em rgba(192,192,192,0.075);
|
|
|
|
border: 2px solid rgba(192,192,192,0.4) !important;
|
|
|
|
border-radius: 0.4em;
|
|
|
|
}
|
|
|
|
|
2023-08-22 23:18:16 -04:00
|
|
|
.no-background {
|
|
|
|
background: var(--background-fill-primary) !important;
|
|
|
|
padding: 0px !important;
|
|
|
|
}
|
|
|
|
|
2023-09-23 10:50:24 -04:00
|
|
|
/*----------------------------------------------
|
|
|
|
Chat tab
|
|
|
|
----------------------------------------------*/
|
2023-08-13 00:12:15 -04:00
|
|
|
.h-\[40vh\], .wrap.svelte-byatnx.svelte-byatnx.svelte-byatnx {
|
|
|
|
height: 66.67vh
|
|
|
|
}
|
|
|
|
|
|
|
|
.gradio-container {
|
|
|
|
margin-left: auto !important;
|
|
|
|
margin-right: auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.w-screen {
|
|
|
|
width: unset
|
|
|
|
}
|
|
|
|
|
|
|
|
div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|
|
|
flex-wrap: nowrap
|
|
|
|
}
|
|
|
|
|
|
|
|
.pending.svelte-1ed2p3z {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap.svelte-6roggh.svelte-6roggh {
|
|
|
|
max-height: 92.5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* This is for the microphone button in the whisper extension */
|
|
|
|
.sm.svelte-1ipelgc {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-09-14 08:16:44 -04:00
|
|
|
#chat-tab button#Generate, #chat-tab button#stop {
|
|
|
|
width: 89.3438px !important;
|
|
|
|
}
|
|
|
|
|
2023-08-13 00:12:15 -04:00
|
|
|
#chat-tab button, #notebook-tab button, #default-tab button {
|
|
|
|
min-width: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-tab > :first-child, #extensions {
|
2023-09-12 13:26:43 -04:00
|
|
|
max-width: 880px;
|
2023-08-13 00:12:15 -04:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 688px) {
|
|
|
|
#chat-tab {
|
2023-09-13 12:08:28 -04:00
|
|
|
padding-left: 0px;
|
|
|
|
padding-right: 0px;
|
2023-08-13 00:12:15 -04:00
|
|
|
}
|
|
|
|
|
2023-08-28 15:03:20 -04:00
|
|
|
.chat-parent {
|
2023-09-14 11:38:26 -04:00
|
|
|
height: calc(100dvh - 179px) !important;
|
2023-08-13 00:12:15 -04:00
|
|
|
}
|
2023-09-17 21:33:00 -04:00
|
|
|
|
|
|
|
.old-ui .chat-parent {
|
|
|
|
height: calc(100dvh - 310px) !important;
|
|
|
|
}
|
2023-08-13 00:12:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2023-09-12 13:26:43 -04:00
|
|
|
max-width: 880px;
|
2023-08-16 01:39:58 -04:00
|
|
|
height: 100%;
|
2023-08-13 00:12:15 -04:00
|
|
|
overflow-y: auto;
|
2023-08-17 14:06:18 -04:00
|
|
|
padding-right: 15px;
|
2023-08-13 00:12:15 -04:00
|
|
|
display: flex;
|
2023-08-17 00:03:40 -04:00
|
|
|
flex-direction: column;
|
2023-08-13 00:12:15 -04:00
|
|
|
word-break: break-word;
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
|
|
|
|
2023-08-28 15:03:20 -04:00
|
|
|
.chat-parent {
|
2023-09-13 14:48:42 -04:00
|
|
|
height: calc(100dvh - 181px);
|
2023-08-28 15:03:20 -04:00
|
|
|
overflow: auto !important;
|
2023-08-16 01:39:58 -04:00
|
|
|
}
|
|
|
|
|
2023-09-17 21:33:00 -04:00
|
|
|
.old-ui .chat-parent {
|
2023-09-16 00:21:24 -04:00
|
|
|
height: calc(100dvh - 270px);
|
2023-09-15 23:39:37 -04:00
|
|
|
}
|
|
|
|
|
2023-09-17 21:33:00 -04:00
|
|
|
.chat-parent.bigchat {
|
2023-09-15 23:39:37 -04:00
|
|
|
height: calc(100dvh - 181px) !important;
|
|
|
|
}
|
|
|
|
|
2023-08-13 00:12:15 -04:00
|
|
|
.chat > .messages {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2023-08-17 14:06:18 -04:00
|
|
|
.chat .message:last-child {
|
|
|
|
margin-bottom: 0px !important;
|
|
|
|
padding-bottom: 0px !important;
|
|
|
|
}
|
|
|
|
|
2023-08-13 00:12:15 -04:00
|
|
|
.message-body li {
|
2023-08-28 23:14:02 -04:00
|
|
|
margin-top: 0 !important;
|
|
|
|
margin-bottom: 0 !important;
|
2023-08-13 00:12:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-body li > p {
|
|
|
|
display: inline !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body ul, .message-body ol {
|
|
|
|
font-size: 15px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body ul {
|
|
|
|
list-style-type: disc !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body pre {
|
|
|
|
margin-bottom: 1.25em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body code {
|
|
|
|
white-space: pre-wrap !important;
|
|
|
|
word-wrap: break-word !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body :not(pre) > code {
|
|
|
|
white-space: normal !important;
|
|
|
|
}
|
|
|
|
|
2023-08-17 14:06:18 -04:00
|
|
|
#chat-input {
|
|
|
|
padding: 0;
|
|
|
|
padding-top: 18px;
|
2023-09-14 06:06:42 -04:00
|
|
|
background: transparent;
|
2023-08-17 14:06:18 -04:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-input textarea:focus {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
2023-08-13 00:12:15 -04:00
|
|
|
@media print {
|
|
|
|
body {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat {
|
|
|
|
visibility: visible;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2023-08-18 00:44:22 -04:00
|
|
|
max-width: unset;
|
|
|
|
max-height: unset;
|
2023-08-13 00:12:15 -04:00
|
|
|
width: 100%;
|
2023-08-18 00:44:22 -04:00
|
|
|
overflow-y: visible;
|
2023-08-13 00:12:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.message {
|
|
|
|
break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gradio-container {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-nav {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2023-08-18 00:44:22 -04:00
|
|
|
|
|
|
|
#chat-tab > :first-child {
|
|
|
|
max-width: unset;
|
|
|
|
}
|
2023-08-13 00:12:15 -04:00
|
|
|
}
|
2023-08-28 16:50:36 -04:00
|
|
|
|
|
|
|
#show-controls {
|
|
|
|
position: absolute;
|
2023-09-14 08:32:44 -04:00
|
|
|
height: 100%;
|
|
|
|
background-color: var(--background-fill-primary);
|
2023-09-13 13:02:25 -04:00
|
|
|
border: 0px;
|
2023-09-15 01:03:59 -04:00
|
|
|
border-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#show-controls label {
|
2023-09-15 01:07:28 -04:00
|
|
|
z-index: 1000;
|
2023-09-15 01:03:59 -04:00
|
|
|
position: absolute;
|
2023-09-15 01:11:28 -04:00
|
|
|
left: calc(100% - 168px);
|
2023-08-28 16:50:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#typing-container {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
background-color: transparent;
|
|
|
|
left: -2px;
|
|
|
|
padding: var(--block-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.typing {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.visible-dots #typing-container {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.typing span {
|
|
|
|
content: '';
|
|
|
|
animation: blink 1.5s infinite;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
background: #3b5998;;
|
|
|
|
position: absolute;
|
|
|
|
left:0;
|
|
|
|
top:0;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.typing .dot1 {
|
|
|
|
animation-delay: .2s;
|
|
|
|
margin-left: calc(10px * 1.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.typing .dot2 {
|
|
|
|
animation-delay: .4s;
|
|
|
|
margin-left: calc(10px * 3);
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes blink {
|
|
|
|
0% {
|
|
|
|
opacity: .1;
|
|
|
|
}
|
|
|
|
20% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: .1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-tab .generating {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2023-09-13 01:36:12 -04:00
|
|
|
|
|
|
|
.hover-element {
|
|
|
|
position: relative;
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hover-menu {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 80%;
|
|
|
|
left: 0;
|
|
|
|
background-color: var(--background-fill-secondary);
|
2023-09-14 10:09:06 -04:00
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
2023-09-13 14:10:46 -04:00
|
|
|
z-index: 10000;
|
2023-09-14 05:33:06 -04:00
|
|
|
min-width: 330px;
|
2023-09-13 01:36:12 -04:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hover-menu button {
|
|
|
|
width: 100%;
|
|
|
|
background: transparent !important;
|
|
|
|
border-radius: 0px !important;
|
2023-09-17 21:33:00 -04:00
|
|
|
justify-content: space-between;
|
2023-09-14 10:09:06 -04:00
|
|
|
margin: 0 !important;
|
2023-09-15 09:44:21 -04:00
|
|
|
height: 36px;
|
2023-09-14 10:20:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hover-menu button:not(#clear-history-confirm) {
|
2023-09-14 10:09:06 -04:00
|
|
|
border-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
|
2023-09-14 10:20:36 -04:00
|
|
|
.hover-menu button:not(#clear-history-confirm):last-child {
|
2023-09-14 10:09:06 -04:00
|
|
|
border-bottom: var(--button-border-width) solid var(--button-secondary-border-color) !important;
|
2023-09-13 01:36:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hover-menu button:hover {
|
|
|
|
background: var(--button-secondary-background-fill-hover) !important;
|
|
|
|
}
|
2023-09-13 22:21:39 -04:00
|
|
|
|
|
|
|
.transparent-substring {
|
|
|
|
opacity: 0.333;
|
|
|
|
}
|
2023-09-15 23:39:37 -04:00
|
|
|
|
2023-09-17 21:33:00 -04:00
|
|
|
#chat-tab:not(.old-ui) #chat-buttons {
|
2023-09-15 23:39:37 -04:00
|
|
|
display: none !important;
|
2023-09-17 21:33:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#gr-hover-container {
|
|
|
|
min-width: 0 !important;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
padding-right: 20px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
flex-grow: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#generate-stop-container {
|
|
|
|
min-width: 0 !important;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
flex: 0 auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-input-container {
|
|
|
|
min-width: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-input-container > .form {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-input-row {
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.old-ui #chat-input-row, #chat-input-row.bigchat {
|
|
|
|
padding-bottom: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-col {
|
|
|
|
padding-bottom: 115px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.old-ui #chat-col, #chat-col.bigchat {
|
|
|
|
padding-bottom: 95px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.old-ui #chat-buttons #clear-history-confirm {
|
|
|
|
order: -1;
|
|
|
|
}
|
2023-09-21 17:30:52 -04:00
|
|
|
|
|
|
|
.chat ol, .chat ul {
|
|
|
|
margin-top: 6px !important;
|
|
|
|
}
|
2023-09-21 21:53:03 -04:00
|
|
|
|
2023-09-23 10:50:24 -04:00
|
|
|
/*----------------------------------------------
|
|
|
|
Past chats menus
|
|
|
|
----------------------------------------------*/
|
2023-09-21 21:53:03 -04:00
|
|
|
#past-chats-row {
|
|
|
|
margin-bottom: calc( -1 * var(--layout-gap) );
|
|
|
|
}
|
|
|
|
|
|
|
|
#rename-row label {
|
|
|
|
margin-top: var(--layout-gap);
|
|
|
|
}
|
2023-09-23 10:50:24 -04:00
|
|
|
|
|
|
|
/*----------------------------------------------
|
|
|
|
Keep dropdown menus above errored components
|
|
|
|
----------------------------------------------*/
|
|
|
|
.options {
|
|
|
|
z-index: 100 !important;
|
|
|
|
}
|