text-generation-webui/css/main.css

131 lines
2.0 KiB
CSS
Raw Normal View History

2023-03-15 16:33:26 +01:00
.tabs.svelte-710i53 {
margin-top: 0
}
2023-03-17 01:31:39 +01:00
2023-03-15 16:33:26 +01:00
.py-6 {
padding-top: 2.5rem
}
2023-03-17 01:31:39 +01:00
2023-03-15 16:33:26 +01:00
.dark #refresh-button {
background-color: #ffffff1f;
}
2023-03-17 01:31:39 +01:00
2023-03-15 16:33:26 +01:00
#refresh-button {
2023-05-25 18:12:34 +02:00
flex: none;
margin: 0;
padding: 0;
min-width: 50px;
border: none;
box-shadow: none;
border-radius: 10px;
background-color: #0000000d;
2023-03-15 16:33:26 +01:00
}
2023-03-17 01:31:39 +01:00
2023-03-15 16:33:26 +01:00
#download-label, #upload-label {
2023-05-25 18:12:34 +02:00
min-height: 0
2023-03-15 16:33:26 +01:00
}
2023-03-17 01:31:39 +01:00
2023-03-15 16:33:26 +01:00
#accordion {
}
2023-03-17 01:31:39 +01:00
2023-03-15 16:33:26 +01:00
.dark svg {
2023-05-25 18:12:34 +02:00
fill: white;
2023-03-15 16:33:26 +01:00
}
2023-03-17 01:31:39 +01:00
2023-03-18 00:19:04 +01:00
.dark a {
2023-05-25 18:12:34 +02:00
color: white !important;
2023-03-18 00:19:04 +01:00
}
2023-03-15 16:33:26 +01:00
ol li p, ul li p {
display: inline-block;
}
2023-03-17 01:31:39 +01:00
2023-04-06 06:54:05 +02:00
#main, #parameters, #chat-settings, #interface-mode, #lora, #training-tab, #model-tab {
2023-05-25 18:12:34 +02:00
border: 0;
2023-03-15 16:33:26 +01:00
}
2023-03-23 04:13:34 +01:00
.gradio-container-3-18-0 .prose * h1, h2, h3, h4 {
2023-05-25 18:12:34 +02:00
color: white;
2023-03-23 04:13:34 +01:00
}
2023-03-27 03:20:30 +02:00
.gradio-container {
2023-05-25 18:12:34 +02:00
max-width: 100% !important;
padding-top: 0 !important;
2023-03-27 03:20:30 +02:00
}
#extensions {
2023-05-25 18:12:34 +02:00
padding: 15px;
margin-bottom: 35px;
2023-03-27 03:20:30 +02:00
}
2023-03-27 17:59:07 +02:00
2023-05-17 06:25:01 +02:00
.extension-tab {
2023-05-25 18:12:34 +02:00
border: 0 !important;
2023-05-17 06:25:01 +02:00
}
2023-03-27 17:59:07 +02:00
span.math.inline {
2023-05-25 18:12:34 +02:00
font-size: 27px;
vertical-align: baseline !important;
2023-03-27 17:59:07 +02:00
}
2023-04-04 23:30:34 +02:00
div.svelte-15lo0d8 > *, div.svelte-15lo0d8 > .form > * {
2023-05-25 18:12:34 +02:00
flex-wrap: nowrap;
}
2023-04-10 21:15:16 +02:00
.header_bar {
2023-05-25 18:12:34 +02:00
background-color: #f7f7f7;
margin-bottom: 30px;
2023-04-10 21:15:16 +02:00
}
.dark .header_bar {
2023-05-25 18:12:34 +02:00
border: none !important;
background-color: #8080802b;
2023-04-10 21:15:16 +02:00
}
2023-04-19 04:36:23 +02:00
.textbox_default textarea {
height: calc(100vh - 416px);
2023-04-19 04:36:23 +02:00
}
.textbox_default_output textarea {
2023-05-25 18:12:34 +02:00
height: calc(100vh - 200px);
2023-04-19 04:36:23 +02:00
}
.textbox textarea {
2023-05-25 18:12:34 +02:00
height: calc(100vh - 251px);
2023-04-19 04:36:23 +02:00
}
.textbox_default textarea, .textbox_default_output textarea, .textbox textarea {
2023-05-25 18:12:34 +02:00
font-size: 16px !important;
color: #46464A !important;
2023-04-19 04:36:23 +02:00
}
.dark textarea {
2023-05-25 18:12:34 +02:00
color: #efefef !important;
2023-04-19 04:36:23 +02:00
}
/* Hide the gradio footer*/
footer {
2023-05-25 18:12:34 +02:00
display: none !important;
2023-04-19 04:36:23 +02:00
}
2023-04-19 05:56:24 +02:00
button {
2023-05-25 18:12:34 +02:00
font-size: 14px !important;
2023-04-19 05:56:24 +02:00
}
2023-04-21 07:35:28 +02:00
.small-button {
2023-05-25 18:12:34 +02:00
max-width: 171px;
}
.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;
}