|
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap'); |
|
|
|
|
|
body { |
|
font-family: 'Inter', sans-serif; |
|
background-color: #f4f6f8; |
|
margin: 0; |
|
padding: 0; |
|
min-height: 100vh; |
|
} |
|
|
|
|
|
.container { |
|
max-width: 1400px; |
|
background: white; |
|
padding: 30px; |
|
border-radius: 16px; |
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); |
|
margin: 20px auto; |
|
} |
|
|
|
|
|
h1, h2 { |
|
font-size: 2rem; |
|
font-weight: 700; |
|
color: #333; |
|
text-align: center; |
|
margin-bottom: 20px; |
|
} |
|
|
|
|
|
.tool-section { |
|
background: #fff; |
|
border: 1px solid #ddd; |
|
border-radius: 16px; |
|
padding: 20px; |
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
|
margin-bottom: 30px; |
|
width: 100%; |
|
max-width: 1200px; |
|
margin: 20px auto; |
|
} |
|
|
|
|
|
.btn-group { |
|
display: flex; |
|
justify-content: center; |
|
margin-bottom: 20px; |
|
gap: 10px; |
|
} |
|
|
|
.btn-group button { |
|
font-size: 16px; |
|
padding: 10px 20px; |
|
border-radius: 8px; |
|
cursor: pointer; |
|
transition: all 0.3s ease-in-out; |
|
width: 50%; |
|
} |
|
|
|
.btn-group button.active { |
|
background-color: #007bff; |
|
color: white; |
|
border: 1px solid #0056b3; |
|
} |
|
|
|
.btn-group button:hover { |
|
background-color: #0056b3; |
|
color: white; |
|
} |
|
|
|
|
|
.tool-container { |
|
display: flex; |
|
flex-direction: column; |
|
gap: 40px; |
|
align-items: center; |
|
} |
|
|
|
|
|
.canvas-container { |
|
width: 100%; |
|
max-width: 600px; |
|
aspect-ratio: 1 / 1; |
|
border: 2px solid #ddd; |
|
border-radius: 16px; |
|
background-color: #fff; |
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
padding: 10px; |
|
margin: 0 auto; |
|
} |
|
|
|
|
|
input[type="file"] { |
|
margin-top: 20px; |
|
padding: 10px; |
|
font-size: 16px; |
|
border-radius: 8px; |
|
border: 1px solid #ddd; |
|
box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1); |
|
width: 100%; |
|
max-width: 600px; |
|
} |
|
|
|
input[type="file"]:focus { |
|
border: 1px solid #007bff; |
|
outline: none; |
|
} |
|
|
|
|
|
#automaticProcessedImage { |
|
border: 2px solid #ddd; |
|
border-radius: 16px; |
|
background-color: #fff; |
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
|
width: 100%; |
|
height: auto; |
|
margin-top: 20px; |
|
} |
|
|
|
|
|
#clearPoints { |
|
margin-top: 20px; |
|
font-size: 14px; |
|
padding: 10px 15px; |
|
border-radius: 5px; |
|
color: white; |
|
background-color: #dc3545; |
|
border: none; |
|
cursor: pointer; |
|
} |
|
|
|
#clearPoints:hover { |
|
background-color: #b52b37; |
|
} |
|
|
|
|
|
.table { |
|
border: 1px solid #ddd; |
|
border-radius: 10px; |
|
overflow: hidden; |
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); |
|
width: 100%; |
|
} |
|
|
|
.table th { |
|
background-color: #007bff; |
|
color: white; |
|
font-weight: bold; |
|
text-align: center; |
|
padding: 10px; |
|
} |
|
|
|
.table td { |
|
padding: 10px; |
|
vertical-align: middle; |
|
background-color: #f9f9f9; |
|
text-align: center; |
|
} |
|
|
|
.table-responsive { |
|
border-radius: 10px; |
|
overflow: hidden; |
|
} |
|
|
|
|
|
#clearTableButton, #exportTableButton { |
|
font-size: 16px; |
|
padding: 10px 20px; |
|
border-radius: 8px; |
|
color: white; |
|
background-color: #007bff; |
|
border: none; |
|
transition: all 0.3s ease-in-out; |
|
} |
|
|
|
#clearTableButton:hover, #exportTableButton:hover { |
|
background-color: #0056b3; |
|
cursor: pointer; |
|
} |
|
|
|
|
|
@media screen and (max-width: 768px) { |
|
.tool-section { |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
|
|
.canvas-container { |
|
margin-bottom: 20px; |
|
} |
|
|
|
.btn-group button { |
|
width: 100%; |
|
} |
|
|
|
.table { |
|
font-size: 14px; |
|
} |
|
} |
|
|
|
|
|
.tool-section img, canvas { |
|
max-width: 100%; |
|
height: auto; |
|
border-radius: 8px; |
|
} |
|
|
|
#historyButton { |
|
font-size: 16px; |
|
padding: 10px 20px; |
|
border-radius: 8px; |
|
color: white; |
|
background-color: #6c757d; |
|
border: none; |
|
} |
|
|
|
#historyButton:hover { |
|
background-color: #5a6268; |
|
cursor: pointer; |
|
} |
|
|
|
|
|
.modal-body { |
|
padding: 15px; |
|
width: 100%; |
|
max-width: 600px; |
|
margin: auto; |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
|
|
#historyList { |
|
padding: 0; |
|
margin: 0; |
|
list-style: none; |
|
width: 100%; |
|
} |
|
|
|
|
|
#historyList .list-group-item { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
padding: 10px 15px; |
|
border: 1px solid #ddd; |
|
border-radius: 8px; |
|
background-color: #fff; |
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
|
margin-bottom: 5px; |
|
width: 100%; |
|
} |
|
|
|
|
|
#historyList .filename { |
|
flex-grow: 1; |
|
text-overflow: ellipsis; |
|
white-space: nowrap; |
|
overflow: hidden; |
|
padding-right: 15px; |
|
} |
|
|
|
|
|
#historyList .btn-danger { |
|
flex-shrink: 0; |
|
padding: 5px 15px; |
|
font-size: 14px; |
|
border-radius: 8px; |
|
background-color: #dc3545; |
|
border: none; |
|
transition: all 0.3s ease-in-out; |
|
} |
|
|
|
#historyList .btn-danger:hover { |
|
background-color: #b52b37; |
|
color: white; |
|
cursor: pointer; |
|
} |
|
|
|
|
|
.modal-dialog { |
|
max-width: 700px; |
|
} |
|
|
|
.modal-content { |
|
padding: 10px; |
|
} |
|
|