diff options
author | Vladimir Mandic <mandic00@live.com> | 2023-01-23 17:25:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-23 17:25:07 +0000 |
commit | efa7287be0a018dcb92e362460cbe19d42d70b03 (patch) | |
tree | 5ca63fd1273dbd396453a29cbb7ee913c3d29880 /style.css | |
parent | 925dd09c91e7338aef72e4ec99d67b8b57280215 (diff) | |
parent | c6f20f72629f3c417f10db2289d131441c6832f5 (diff) | |
download | stable-diffusion-webui-gfx803-efa7287be0a018dcb92e362460cbe19d42d70b03.tar.gz stable-diffusion-webui-gfx803-efa7287be0a018dcb92e362460cbe19d42d70b03.tar.bz2 stable-diffusion-webui-gfx803-efa7287be0a018dcb92e362460cbe19d42d70b03.zip |
Merge branch 'AUTOMATIC1111:master' into interrogate
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 63 |
1 files changed, 60 insertions, 3 deletions
@@ -792,21 +792,78 @@ footer { display: inline-block;
max-width: 16em;
margin: 0.3em;
+ align-self: center;
}
-.extra-network-cards .nocards{
+#txt2img_extra_view, #img2img_extra_view {
+ width: auto;
+}
+
+.extra-network-cards .nocards, .extra-network-thumbs .nocards{
margin: 1.25em 0.5em 0.5em 0.5em;
}
-.extra-network-cards .nocards h1{
+.extra-network-cards .nocards h1, .extra-network-thumbs .nocards h1{
font-size: 1.5em;
margin-bottom: 1em;
}
-.extra-network-cards .nocards li{
+.extra-network-cards .nocards li, .extra-network-thumbs .nocards li{
margin-left: 0.5em;
}
+.extra-network-thumbs {
+ display: flex;
+ flex-flow: row wrap;
+ gap: 10px;
+}
+
+.extra-network-thumbs .card {
+ height: 6em;
+ width: 6em;
+ cursor: pointer;
+ background-image: url('./file=html/card-no-preview.png');
+ background-size: cover;
+ background-position: center center;
+ position: relative;
+}
+
+.extra-network-thumbs .card:hover .additional a {
+ display: block;
+}
+
+.extra-network-thumbs .actions .additional a {
+ background-image: url('./file=html/image-update.svg');
+ background-repeat: no-repeat;
+ background-size: cover;
+ background-position: center center;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 24px;
+ height: 24px;
+ display: none;
+ font-size: 0;
+ text-align: -9999;
+}
+
+.extra-network-thumbs .actions .name {
+ position: absolute;
+ bottom: 0;
+ font-size: 10px;
+ padding: 3px;
+ width: 100%;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ background: rgba(0,0,0,.5);
+}
+
+.extra-network-thumbs .card:hover .actions .name {
+ white-space: normal;
+ word-break: break-all;
+}
+
.extra-network-cards .card{
display: inline-block;
margin: 0.5em;
|