theme-v4 / main.css
Hyoung-Kyu Song
update border for group
1ac9955
/* Center-align the title */
h1, h2, h3 {
text-align: center;
display:block;
}
/* Hide sort buttons at gr.DataFrame */
.sort-button {
display: none !important;
}
/* Color fix at gr.Chatbot */
.user-row * {
background-color: var(--checkbox-label-background-fill) !important;
border-color: var(--primary-400) !important;
color: var(--checkbox-label-text-color) !important;
border-radius: 22px 22px 0 22px !important;
}
.bot-row * {
background-color: var(--checkbox-label-background-fill) !important;
border-color: var(--checkbox-label-border-color) !important;
color: var(--checkbox-label-text-color) !important;
border-radius: 22px 22px 22px 0 !important;
}
.pending * {
background-color: var(--checkbox-background-color) !important;
border-color: var(--checkbox-border-color) !important;
color: var(--checkbox-label-text-color) !important;
border-radius: 22px 22px 22px 0 !important;
}
/* Border fix for the code expression at gr.Markdown */
.md :not(pre) > code {
border-radius: 3px !important;
border: 0px !important;
}
/* Better visibility at gr.Slider */
input[type="range"] {
background-color: var(--checkbox-background-color) !important;
}
/* Add color for focused tab */
button.selected {
border: 0px !important;
border-bottom: 2px solid var(--checkbox-background-color) !important;
}
.gr-group {
border: 1px solid var(--checkbox-background-color) !important;
}