-
Notifications
You must be signed in to change notification settings - Fork 69
/
styles.css
95 lines (77 loc) · 1.6 KB
/
styles.css
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/* general gradio fixes */
:root, .dark{
--checkbox-label-gap: 0.25em 0.1em;
--section-header-text-size: 12pt;
--block-background-fill: transparent;
}
div.gradio-container{
max-width: unset !important;
}
@media screen and (min-width: 2500px) {
.image_generation_gallery {
min-height: 768px;
}
}
.image_generation_gallery img{
object-fit: scale-down !important;
}
.tool-button{
max-width: 2.2em;
min-width: 2.2em !important;
height: 2.4em;
align-self: center;
border-radius: 0.5em;
}
/* autocomplete */
ul.autocomplete {
position: absolute;
z-index: 9999;
background-color: var(--body-background-fill);
border: 1px solid grey;
border-radius: 10px;
padding-left: 0;
scrollbar-width: thin;
overflow-y: auto;
overflow-x: hidden;
min-width: 20em;
max-height: 135px;
}
ul.autocomplete::-webkit-scrollbar {
scrollbar-width: thin;
}
ul.autocomplete.none {
display: none;
}
ul.autocomplete>li {
list-style: none;
padding: 2px 8px;
margin: 0px;
position: relative;
display: flex;
}
ul.autocomplete>li:hover:after {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border: 2px solid grey;
}
ul.autocomplete li span {
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
ul.autocomplete li span:nth-child(1) {
max-width: 8em;
}
ul.autocomplete li span:nth-child(2) {
margin-right: 0.5em;
max-width: 15em;
}
ul.autocomplete li span:nth-child(3) {
flex-grow: 1;
text-align: right;
}