Spaces:
Runtime error
Runtime error
body { | |
font-family: Arial, sans-serif; | |
margin: 0; | |
padding: 20px; | |
background-color: #f5f5f5; | |
} | |
.container { | |
max-width: 1200px; | |
margin: 0 auto; | |
background-color: white; | |
padding: 20px; | |
border-radius: 8px; | |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
} | |
h1 { | |
color: #333; | |
text-align: center; | |
} | |
.upload-section { | |
margin-bottom: 20px; | |
padding: 15px; | |
background-color: #f0f8ff; | |
border-radius: 5px; | |
display: flex; | |
flex-direction: column; | |
gap: 10px; | |
} | |
#loading { | |
color: #4CAF50; | |
font-weight: bold; | |
} | |
.curve-controls { | |
margin-bottom: 30px; | |
} | |
.curve-editor-container { | |
display: flex; | |
gap: 20px; | |
margin-bottom: 20px; | |
} | |
#curveCanvas { | |
border: 1px solid #ddd; | |
background-color: #fff; | |
cursor: crosshair; | |
} | |
.curve-presets { | |
display: flex; | |
flex-direction: column; | |
gap: 10px; | |
} | |
.curve-presets button { | |
padding: 8px 12px; | |
background-color: #e0e0e0; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
} | |
.curve-presets button:hover { | |
background-color: #d0d0d0; | |
} | |
.channel-controls { | |
display: grid; | |
grid-template-columns: repeat(2, 1fr); | |
gap: 20px; | |
} | |
.channel { | |
padding: 15px; | |
border-radius: 5px; | |
background-color: #f9f9f9; | |
} | |
.channel h3 { | |
margin-top: 0; | |
cursor: pointer; | |
padding: 5px; | |
border-radius: 3px; | |
} | |
.channel h3:hover { | |
background-color: #eee; | |
} | |
.channel:nth-child(1) h3 { | |
color: #f00; | |
} | |
.channel:nth-child(2) h3 { | |
color: #0f0; | |
} | |
.channel:nth-child(3) h3 { | |
color: #00f; | |
} | |
.channel:nth-child(4) h3 { | |
color: #ff0; | |
} | |
.sliders { | |
margin-top: 10px; | |
} | |
.slider-container { | |
margin-bottom: 10px; | |
display: flex; | |
align-items: center; | |
} | |
.slider-container label { | |
width: 80px; | |
font-size: 14px; | |
} | |
.slider { | |
flex-grow: 1; | |
margin: 0 10px; | |
} | |
.slider-value { | |
width: 40px; | |
text-align: right; | |
font-family: monospace; | |
} | |
.image-comparison { | |
display: flex; | |
justify-content: space-between; | |
margin-top: 20px; | |
gap: 20px; | |
} | |
.image-container { | |
flex: 1; | |
text-align: center; | |
} | |
.image-container img { | |
max-width: 100%; | |
height: auto; | |
border: 1px solid #ddd; | |
border-radius: 4px; | |
} | |
button { | |
background-color: #4CAF50; | |
color: white; | |
padding: 10px 15px; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
} | |
button:hover { | |
background-color: #45a049; | |
} | |
input[type="file"] { | |
margin-bottom: 10px; | |
} | |
/* 以前のスタイルに追加 */ | |
canvas { | |
max-width: 100%; | |
height: auto; | |
border: 1px solid #ddd; | |
background-color: #f8f8f8; | |
} | |
.image-comparison { | |
display: flex; | |
flex-wrap: wrap; | |
gap: 20px; | |
} | |
.image-container { | |
flex: 1; | |
min-width: 300px; | |
} |