fix extra networks ui
This commit is contained in:
parent
af2db25c84
commit
ff216820fd
2 changed files with 7 additions and 4 deletions
|
@ -86,7 +86,7 @@ class ExtraNetworksPage:
|
||||||
subdirs = {"": 1, **subdirs}
|
subdirs = {"": 1, **subdirs}
|
||||||
|
|
||||||
subdirs_html = "".join([f"""
|
subdirs_html = "".join([f"""
|
||||||
<button class='gr-button gr-button-lg gr-button-secondary{" search-all" if subdir=="" else ""}' onclick='extraNetworksSearchButton("{tabname}_extra_tabs", event)'>
|
<button class='lg secondary gradio-button custom-button{" search-all" if subdir=="" else ""}' onclick='extraNetworksSearchButton("{tabname}_extra_tabs", event)'>
|
||||||
{html.escape(subdir if subdir!="" else "all")}
|
{html.escape(subdir if subdir!="" else "all")}
|
||||||
</button>
|
</button>
|
||||||
""" for subdir in subdirs])
|
""" for subdir in subdirs])
|
||||||
|
|
|
@ -636,12 +636,12 @@ footer {
|
||||||
.extra-network-subdirs button{
|
.extra-network-subdirs button{
|
||||||
margin: 0 0.15em;
|
margin: 0 0.15em;
|
||||||
}
|
}
|
||||||
|
.extra-networks .tab-nav .search{
|
||||||
#txt2img_extra_networks .search, #img2img_extra_networks .search{
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 16em;
|
max-width: 16em;
|
||||||
margin: 0.3em;
|
margin: 0.3em;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
width: 16em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#txt2img_extra_view, #img2img_extra_view {
|
#txt2img_extra_view, #img2img_extra_view {
|
||||||
|
@ -766,12 +766,15 @@ footer {
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
color: white;
|
|
||||||
background: rgba(0,0,0,0.5);
|
background: rgba(0,0,0,0.5);
|
||||||
box-shadow: 0 0 0.25em 0.25em rgba(0,0,0,0.5);
|
box-shadow: 0 0 0.25em 0.25em rgba(0,0,0,0.5);
|
||||||
text-shadow: 0 0 0.2em black;
|
text-shadow: 0 0 0.2em black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.extra-network-cards .card .actions *{
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
.extra-network-cards .card .actions:hover{
|
.extra-network-cards .card .actions:hover{
|
||||||
box-shadow: 0 0 0.75em 0.75em rgba(0,0,0,0.5) !important;
|
box-shadow: 0 0 0.75em 0.75em rgba(0,0,0,0.5) !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue