Files
ai-char/styles/main.css
2026-01-28 23:51:28 +01:00

151 lines
2.3 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
overflow: hidden;
font-family: Arial, sans-serif;
}
#canvas-container {
width: 100vw;
height: 100vh;
}
canvas {
display: block;
}
#debug-ui {
position: fixed;
top: 20px;
right: 20px;
background: white;
color: black;
padding: 20px;
border-radius: 8px;
font-family: Arial, sans-serif;
font-size: 14px;
min-width: 280px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 1000;
}
#debug-ui h3 {
margin: 0 0 15px 0;
font-size: 16px;
font-weight: bold;
color: black;
padding-bottom: 8px;
}
.debug-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
border-bottom: 2px solid #333;
padding-bottom: 0px;
}
.debug-header h3 {
margin: 0;
border: none;
padding: 0;
}
#minimize-btn {
background: #333;
color: white;
border: none;
border-radius: 10px;
width: 24px;
height: 24px;
cursor: pointer;
font-size: 18px;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
#minimize-btn:hover {
background: #555;
}
#debug-content {
transition: max-height 0.3s ease, opacity 0.3s ease;
max-height: 500px;
opacity: 1;
overflow: hidden;
}
#debug-ui.minimized #debug-content {
max-height: 0;
opacity: 0;
}
.debug-item {
margin-bottom: 12px;
}
.debug-item:last-child {
margin-bottom: 0;
}
.debug-item label {
display: flex;
align-items: center;
cursor: pointer;
color: black;
}
.debug-item input[type="checkbox"] {
margin-right: 8px;
cursor: pointer;
width: 16px;
height: 16px;
}
.debug-item input[type="file"] {
width: 100%;
padding: 5px;
margin-top: 5px;
font-size: 12px;
border: 1px solid #ccc;
border-radius: 4px;
}
.debug-item select {
width: 100%;
padding: 6px;
margin-top: 5px;
font-size: 13px;
border: 1px solid #ccc;
border-radius: 4px;
background: white;
cursor: pointer;
}
.file-label,
.asset-label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: black;
}
.debug-label {
font-weight: bold;
color: black;
margin-right: 8px;
}
#model-status {
color: #666;
font-size: 12px;
}