|
html, |
|
body { |
|
font-family: Arial, Helvetica, sans-serif; |
|
} |
|
|
|
.container { |
|
margin: 40px auto; |
|
width: 100%; |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
|
|
.wrap { |
|
display: flex; |
|
flex-direction: row; |
|
flex-wrap: wrap; |
|
} |
|
|
|
.left-column, |
|
.right-column { |
|
flex: 1; |
|
padding: 10px; |
|
box-sizing: border-box; |
|
max-height: 500px; |
|
} |
|
|
|
@media (max-width: 508px) { |
|
|
|
.left-column, |
|
.right-column { |
|
flex: 100%; |
|
} |
|
} |
|
|
|
.custom-file-select { |
|
display: flex; |
|
align-items: center; |
|
cursor: pointer; |
|
gap: 10px; |
|
border: 2px solid black; |
|
padding: 8px 16px; |
|
cursor: pointer; |
|
border-radius: 6px; |
|
} |
|
|
|
#file-select { |
|
display: none; |
|
} |
|
|
|
#out-container { |
|
width: 400px; |
|
height: 500px; |
|
} |
|
|
|
img { |
|
width: 100%; |
|
height: 100%; |
|
object-fit: contain; |
|
border: 1px dashed rgba(128, 128, 128, 0.5); |
|
} |
|
|
|
.bounding-box { |
|
position: absolute; |
|
box-sizing: border-box; |
|
border-width: 2px; |
|
border-style: solid; |
|
} |
|
|
|
.bounding-box-label { |
|
color: white; |
|
position: absolute; |
|
font-size: 12px; |
|
margin-top: -16px; |
|
margin-left: -2px; |
|
padding: 1px; |
|
} |