text-generation-webui/css/main.css

186 lines
3.0 KiB
CSS
Raw Normal View History

2023-03-15 15:33:26 +00:00
.tabs.svelte-710i53 {
margin-top: 0
}
2023-03-17 00:31:39 +00:00
2023-03-15 15:33:26 +00:00
.py-6 {
padding-top: 2.5rem
}
2023-03-17 00:31:39 +00:00
.small-button {
max-width: 171px;
height: 39.594px;
align-self: end;
}
.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 15:33:26 +00:00
}
2023-03-17 00:31:39 +00:00
.refresh-button-small {
max-width: 2.2em;
}
#slim-column {
flex: none !important;
min-width: 0 !important;
}
.slim-dropdown {
background-color: transparent !important;
border: none !important;
padding: 0 !important;
2023-03-15 15:33:26 +00:00
}
2023-03-17 00:31:39 +00:00
2023-03-15 15:33:26 +00:00
#download-label, #upload-label {
2023-05-25 16:12:34 +00:00
min-height: 0
2023-03-15 15:33:26 +00:00
}
2023-03-17 00:31:39 +00:00
2023-03-15 15:33:26 +00:00
#accordion {
}
2023-03-17 00:31:39 +00:00
2023-03-15 15:33:26 +00:00
.dark svg {
2023-05-25 16:12:34 +00:00
fill: white;
2023-03-15 15:33:26 +00:00
}
2023-03-17 00:31:39 +00:00
2023-03-17 23:19:04 +00:00
.dark a {
2023-05-25 16:12:34 +00:00
color: white !important;
2023-03-17 23:19:04 +00:00
}
2023-03-15 15:33:26 +00:00
ol li p, ul li p {
display: inline-block;
}
2023-03-17 00:31:39 +00:00
#main, #parameters, #chat-settings, #lora, #training-tab, #model-tab, #session-tab {
2023-05-25 16:12:34 +00:00
border: 0;
2023-03-15 15:33:26 +00:00
}
2023-03-23 03:13:34 +00:00
.gradio-container-3-18-0 .prose * h1, h2, h3, h4 {
2023-05-25 16:12:34 +00:00
color: white;
2023-03-23 03:13:34 +00:00
}
2023-03-27 01:20:30 +00:00
.gradio-container {
2023-05-25 16:12:34 +00:00
max-width: 100% !important;
padding-top: 0 !important;
2023-03-27 01:20:30 +00:00
}
#extensions {
2023-05-25 16:12:34 +00:00
padding: 15px;
margin-bottom: 35px;
2023-03-27 01:20:30 +00:00
}
2023-03-27 15:59:07 +00:00
2023-05-17 04:25:01 +00:00
.extension-tab {
2023-05-25 16:12:34 +00:00
border: 0 !important;
2023-05-17 04:25:01 +00:00
}
2023-03-27 15:59:07 +00:00
span.math.inline {
2023-05-25 16:12:34 +00:00
font-size: 27px;
vertical-align: baseline !important;
2023-03-27 15:59:07 +00:00
}
2023-04-04 21:30:34 +00:00
div.svelte-15lo0d8 > *, div.svelte-15lo0d8 > .form > * {
2023-05-25 16:12:34 +00:00
flex-wrap: nowrap;
}
2023-04-10 19:15:16 +00:00
.header_bar {
2023-05-25 16:12:34 +00:00
background-color: #f7f7f7;
2023-08-01 16:41:57 +00:00
margin-bottom: 20px;
2023-04-10 19:15:16 +00:00
}
.dark .header_bar {
2023-05-25 16:12:34 +00:00
border: none !important;
background-color: #8080802b;
2023-04-10 19:15:16 +00:00
}
2023-04-19 02:36:23 +00:00
.textbox_default textarea {
2023-08-01 16:41:57 +00:00
height: calc(100vh - 380px);
2023-04-19 02:36:23 +00:00
}
.textbox_default_output textarea {
2023-08-01 16:41:57 +00:00
height: calc(100vh - 190px);
2023-04-19 02:36:23 +00:00
}
.textbox textarea {
2023-08-01 16:41:57 +00:00
height: calc(100vh - 241px);
2023-04-19 02:36:23 +00:00
}
.textbox_default textarea, .textbox_default_output textarea, .textbox textarea {
2023-05-25 16:12:34 +00:00
font-size: 16px !important;
color: #46464A !important;
2023-04-19 02:36:23 +00:00
}
.dark textarea {
2023-05-25 16:12:34 +00:00
color: #efefef !important;
2023-04-19 02:36:23 +00:00
}
/* Hide the gradio footer*/
footer {
2023-05-25 16:12:34 +00:00
display: none !important;
2023-04-19 02:36:23 +00:00
}
2023-04-19 03:56:24 +00:00
button {
2023-05-25 16:12:34 +00:00
font-size: 14px !important;
2023-04-19 03:56:24 +00:00
}
2023-04-21 05:35:28 +00: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 18:29:45 +00:00
}
.checkboxgroup-table label {
background: none !important;
padding: 0 !important;
border: 0 !important;
}
.checkboxgroup-table div {
display: grid !important;
}
.markdown ul ol {
font-size: 100% !important;
}
.pretty_scrollbar::-webkit-scrollbar {
width: 10px;
}
.pretty_scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.pretty_scrollbar::-webkit-scrollbar-thumb,
.pretty_scrollbar::-webkit-scrollbar-thumb:hover {
background: #c5c5d2;
border-radius: 10px;
}
.dark .pretty_scrollbar::-webkit-scrollbar-thumb,
.dark .pretty_scrollbar::-webkit-scrollbar-thumb:hover {
background: #374151;
border-radius: 10px;
}
.pretty_scrollbar::-webkit-resizer {
background: #c5c5d2;
}
.dark .pretty_scrollbar::-webkit-resizer {
background: #374151;
}