mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-07 07:33:47 +00:00
UI: Make table and hr borders more subtle
This commit is contained in:
parent
dfd8ec9c49
commit
ee917cd5ed
2 changed files with 13 additions and 12 deletions
|
|
@ -19,15 +19,6 @@
|
|||
color: #d1d5db !important;
|
||||
}
|
||||
|
||||
.chat .message-body :is(th, td),
|
||||
.prose hr {
|
||||
border-color: #40404096 !important;
|
||||
}
|
||||
|
||||
.dark .chat .message-body :is(th, td),
|
||||
.dark .prose hr {
|
||||
border-color: rgb(255 255 255 / 30%) !important;
|
||||
}
|
||||
|
||||
.chat .message-body :is(p, ul, ol) {
|
||||
margin: 1.25em 0 !important;
|
||||
|
|
|
|||
16
css/main.css
16
css/main.css
|
|
@ -1958,14 +1958,24 @@ table, tr, td, th, thead {
|
|||
border: 0;
|
||||
}
|
||||
|
||||
.prose hr {
|
||||
border-color: var(--border-color-primary);
|
||||
}
|
||||
|
||||
td + td,
|
||||
th + th { border-left: 1px solid; }
|
||||
th + th {
|
||||
border-left: 1px solid var(--border-color-primary) !important;
|
||||
}
|
||||
|
||||
tr + tr td,
|
||||
tr + tr th { border-top: 1px solid; }
|
||||
tr + tr th {
|
||||
border-top: 1px solid var(--border-color-primary) !important;
|
||||
}
|
||||
|
||||
thead + tbody tr:first-child td,
|
||||
thead + tbody tr:first-child th { border-top: 1px solid; }
|
||||
thead + tbody tr:first-child th {
|
||||
border-top: 1px solid var(--border-color-primary) !important;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------
|
||||
Tools CheckboxGroup - vertical DragDrop-like style
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue