Files
LAOGOU-666-Comfyui-LG_Relight/web/css/main.css
T
2025-01-08 06:05:35 -11:00

162 lines
2.7 KiB
CSS

* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: #404040;
}
.container {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 0;
overflow: hidden;
}
.inner-container {
max-height: 100vh;
display: flex;
flex-direction: column;
gap: 1rem;
}
.inner-container > * + * {
margin-top: 1rem;
}
.canvas-container {
flex: 1;
min-height: 0;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.canvas-container > canvas {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain;
display: block;
}
.button-group {
text-align: center;
font-size: 1rem;
user-select: none;
}
.button-group > * + * {
margin-left: 1rem;
}
.button {
appearance: none;
border: 0;
outline: 0;
font: inherit;
width: 16rem;
padding: 0.8rem 2rem;
background: rgba(255, 255, 255, 0.2);
color: white;
border-radius: 0.25em;
box-shadow: 0 0 1em 0 rgba(62, 175, 238, 0.16);
cursor: pointer;
}
.button:hover {
background: rgba(255, 255, 255, 0.3);
box-shadow: 0 0 1em 0 rgba(62, 175, 238, 0.4);
}
.input-container {
background: rgba(0, 0, 0, 0.5);
padding: 1rem;
border-radius: 4px;
font-size: 14px;
}
.input-group {
display: flex;
align-items: center;
margin-bottom: 0.5rem;
}
.input-group > input[type="range"] {
width: 200px;
margin-right: 1rem;
}
.input-group > label {
color: white;
min-width: 120px;
text-align: left;
font-size: 14px;
}
.control-group {
display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
margin-top: 1rem;
padding: 0.5rem;
background: rgba(0, 0, 0, 0.3);
border-radius: 4px;
}
.control-group .input-group {
margin-bottom: 0;
}
.control-group .input-group > label {
min-width: auto;
margin-left: 0.5rem;
color: white;
}
input[type="color"] {
width: 40px;
height: 24px;
padding: 0;
border: none;
border-radius: 4px;
}
input[type="checkbox"] {
width: 16px;
height: 16px;
}
.input-group-with-button {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 0.5rem;
}
.apply-button {
padding: 0.5rem 1rem;
background: #3498db;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}
.apply-button:hover {
background: #2980b9;
}