File size: 1,467 Bytes
10f38d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c70b644
10f38d9
 
 
c70b644
 
 
 
 
 
 
1ac9955
 
 
 
10f38d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* 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;
}