Files
gokayfem-ComfyUI-Depth-Visu…/web/style/threeStyle.css
T
2024-03-23 17:10:56 +03:00

119 lines
2.1 KiB
CSS

body {
margin: 0;
background-color: #000;
color: #fff;
font-family: Monospace;
font-size: 13px;
line-height: 24px;
overscroll-behavior: none;
}
a {
color: #ff0;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
button {
cursor: pointer;
text-transform: uppercase;
}
#info {
position: absolute;
top: 0px;
width: 100%;
padding: 10px;
box-sizing: border-box;
text-align: center;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
z-index: 1; /* TODO Solve this in HTML */
}
a, button, input, select {
pointer-events: auto;
}
.lil-gui {
z-index: 2 !important; /* TODO Solve this in HTML */
}
@media all and ( max-width: 640px ) {
.lil-gui.root {
right: auto;
top: auto;
max-height: 50%;
max-width: 80%;
bottom: 0;
left: 0;
}
}
#overlay {
position: absolute;
font-size: 16px;
z-index: 2;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background: rgba(0,0,0,0.7);
}
#overlay button {
background: transparent;
border: 0;
border: 1px solid rgb(255, 255, 255);
border-radius: 4px;
color: #ffffff;
padding: 12px 18px;
text-transform: uppercase;
cursor: pointer;
}
#notSupported {
width: 50%;
margin: auto;
background-color: #f00;
margin-top: 20px;
padding: 10px;
}
#screenshotButton {
position: absolute;
bottom: 10px; /* Adjust as needed */
left: 10px; /* Position to the left */
z-index: 10; /* Ensure this is above the canvas's z-index */
padding: 5px 5px;
border: none;
border-radius: 5px;
background: linear-gradient(145deg, #007bff, #0056b3);
color: #ffffff;
font-size: 10px;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background 0.3s ease-in-out, transform 0.2s ease;
}
#screenshotButton:hover {
background: linear-gradient(145deg, #0056b3, #007bff);
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
#screenshotButton:active {
background: #0056b3;
transform: translateY(1px);
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}