合并川虎UI 细节

This commit is contained in:
w_xiaolizu
2023-06-26 22:19:22 +08:00
parent 8046900b89
commit 38b4215568
6 changed files with 863 additions and 78 deletions

View File

@ -32,12 +32,12 @@ mspace {
}
#examples_col {
z-index: 3;
z-index: 2;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
margin-bottom: 30% !important;
margin-bottom: 20% !important;
}
.gradio-container-3-32-2 h6 {
font-weight: 200 !important;
@ -72,7 +72,6 @@ mspace {
display: flex;
bottom: 0;
left: 0;
width: 100%;
z-index: 1; /* 设置更高的 z-index 值 */
margin-bottom: -4px !important;
}
@ -172,10 +171,25 @@ footer {
background: var(--color-accent);
padding: var(--block-label-padding);
font-size: var(--block-label-text-size); line-height: var(--line-sm);
width: auto; min-height: 30px!important;
width: auto; min-height: 30px !important;
opacity: 1;
transition: opacity 0.3s ease-in-out;
}
textarea.svelte-1pie7s6 {
background: #e7e6e6 !important;
}
.dark textarea.svelte-1pie7s6 {
background: var(--input-background-fill) !important;
}
.dark input[type=number].svelte-1cl284s {
background: #393939 !important;
border: var(--input-border-width) solid var(--input-border-color) !important;
}
.dark input[type="range"] {
background: #393939 !important;
}
#user_info .wrap {
opacity: 0;
}
@ -191,31 +205,29 @@ footer {
gap: 7px !important;
border-radius: var(--radius-xl) !important
}
/* status_display */
#status_display {
display: flex;
/* debug_mes */
#debug_mes {
min-height: 2em;
align-items: flex-end;
justify-content: flex-end;
}
#status_display p {
#debug_mes p {
font-size: .85em;
font-family: ui-monospace, "SF Mono", "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", "Microsoft Yahei UI", "Microsoft Yahei", monospace;
/* Windows下中文的monospace会fallback为新宋体实在太丑这里折中使用微软雅黑 */
color: var(--body-text-color-subdued);
color: #000000;
}
.dark #debug_mes p {
color: #ee65ed;
}
#status_display {
#debug_mes {
transition: all 0.6s;
}
#main_chatbot {
transition: height 0.3s ease;
}
span.svelte-1gfkn6j {
background: unset !important;
}
.wrap.svelte-18telvq.svelte-18telvq {
padding: var(--block-padding) !important;
height: 100% !important;