mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-21 14:59:05 +00:00
two options for Forge canvas toolbar (#2613)
This commit is contained in:
@@ -5,6 +5,16 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.forge-image-container-plain {
|
||||
width: 100%;
|
||||
height: calc(100% - 6px);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background-color: #202020;
|
||||
background-size: 20px 20px;
|
||||
background-position: 0 0, 10px 10px;
|
||||
}
|
||||
|
||||
.forge-image-container {
|
||||
width: 100%;
|
||||
height: calc(100% - 6px);
|
||||
@@ -48,6 +58,16 @@
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.forge-toolbar-static {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
z-index: 10 !important;
|
||||
background: rgba(47, 47, 47, 0.8);
|
||||
padding: 6px 10px;
|
||||
opacity: 1.0 !important;
|
||||
}
|
||||
|
||||
.forge-toolbar {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
@@ -59,7 +79,7 @@
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.forge-toolbar .forge-btn {
|
||||
.forge-toolbar .forge-btn, .forge-toolbar-static .forge-btn {
|
||||
padding: 2px 6px;
|
||||
border: none;
|
||||
background-color: #4a4a4a;
|
||||
@@ -69,11 +89,11 @@
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.forge-toolbar .forge-btn:hover {
|
||||
.forge-toolbar .forge-btn, .forge-toolbar-static .forge-btn:hover {
|
||||
background-color: #5e5e5e;
|
||||
}
|
||||
|
||||
.forge-toolbar .forge-btn:active {
|
||||
.forge-toolbar .forge-btn, .forge-toolbar-static .forge-btn:active {
|
||||
background-color: #3e3e3e;
|
||||
}
|
||||
|
||||
@@ -156,4 +176,4 @@
|
||||
width: 30%;
|
||||
height: 30%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user