Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!--Favicon--> | |
<link rel="shortcut icon" href="/static/images/favicon.ico" title="Favicon" /> | |
<!-- Main CSS Files --> | |
<link rel="stylesheet" href="/static/css/style.css"> | |
<!-- Color CSS --> | |
<link rel="stylesheet" href="/static/css/color.css"> | |
<!--Icon Fonts - Font Awesome Icons--> | |
<link rel="stylesheet" href="/static/css/font-awesome.min.css"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"> | |
<!-- Animate CSS--> | |
<link href="css/animate.css" rel="stylesheet" type="text/css"> | |
<!--Google Webfonts--> | |
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'> | |
<link rel="preconnect" href="https://fonts.googleapis.com"> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap" rel="stylesheet"> | |
<title>ExCeipt | Extractor</title> | |
<style> | |
body { | |
background-color: #ddd; | |
} | |
.containerz { | |
display: flex; | |
width: 100vw; | |
height: 100vh; | |
} | |
.left-column { | |
padding-top: 100px; | |
flex: 2; | |
background-color: #ddd; | |
padding: 20px; | |
overflow-y: hidden; | |
max-height: 100vh; | |
width: 100%; | |
box-shadow: inset 0 15px 30px rgba(0, 0, 0, 0.1); | |
} | |
.right-column { | |
flex: 2; | |
background-color: #ffffff; | |
padding: 20px; | |
overflow-y: auto; | |
max-height: 100vh; | |
} | |
.backbutton { | |
box-sizing: border-box; | |
border-radius: 10px; | |
color: var(--secondary-color); | |
padding: 1em 1.8em; | |
display: flex; | |
transition: 0.2s background; | |
align-items: center; | |
gap: 0.6em; | |
font-weight: bold; | |
background: rgba(255, 255, 255, 0.6); | |
backdrop-filter: blur(10px); | |
border: none; | |
cursor: pointer; | |
position: fixed; | |
z-index: 999; | |
} | |
.backbutton span { | |
text-decoration: none; | |
color: black; | |
font-family: 'Poppins', sans-serif, Arial, Helvetica; | |
font-size: 14px; | |
font-weight: 300; | |
} | |
.backbutton:hover { | |
background: linear-gradient(45deg, #FF6347, #FFA07A); | |
transition: all .3s ease-in-out; | |
} | |
.backbutton:hover span { | |
color: white; | |
transition: all .3s ease-in-out; | |
} | |
.backbutton:hover i { | |
color: white; | |
transition: all .3s ease-in-out; | |
} | |
.left-column h1 { | |
padding-top: 45px; | |
} | |
#canvas-container { | |
position: relative; | |
overflow: hidden; | |
width: 100%; | |
height: 100%; | |
} | |
#canvas { | |
cursor: grab; | |
user-select: none; | |
} | |
#upload-input { | |
margin-top: 10px; | |
object-position: center; | |
} | |
.bordered-table { | |
justify-content: center; | |
display: flex; | |
padding: 0px 30px; | |
} | |
.bordered-table tbody td.full-width { | |
display: flex; | |
flex-wrap: wrap; | |
align-items: center; | |
} | |
.bordered-table tbody td.full-width .label { | |
width: 100px; | |
text-align: right; | |
margin-right: 5px; | |
} | |
.bordered-table tbody td .full-width input { | |
flex-grow: 1; | |
} | |
.bordered-table tbody td.full-width { | |
display: grid; | |
grid-template-columns: 100px 1fr; | |
} | |
.bordered-table tbody td.full-width .label { | |
justify-self: end; | |
} | |
#logox { | |
display: flex; | |
justify-content: center; | |
} | |
#logox img { | |
position: relative; | |
object-position: center; | |
width: 25%; | |
height: 25%; | |
padding: 10px 10px 10px 10px; | |
} | |
.receipt { | |
margin: 20px 20px; | |
border: 1px solid #ccc; | |
border-radius: 10px; | |
font: 14px; | |
} | |
.receipt1 { | |
margin: 20px 20px; | |
font: 14px; | |
} | |
.receipt1 table { | |
border-radius: 10px; | |
} | |
.filenm { | |
padding: 1em 1.8em; | |
box-sizing: border-box; | |
border-radius: 10px; | |
display: flex; | |
transition: 0.2s background; | |
align-items: center; | |
gap: 0.6em; | |
background: rgba(255, 255, 255, 0.6); | |
backdrop-filter: blur(10px); | |
margin-right: 10px; | |
font-size: 14px; | |
font-weight: 300; | |
} | |
.receipt h1 { | |
text-align: center; | |
} | |
.receipt .details { | |
margin: 0px 0px 0px 15px; | |
} | |
.receipt table { | |
width: 100%; | |
border-collapse: collapse; | |
margin-bottom: 20px; | |
} | |
.receipt table th, | |
.receipt table td { | |
border: 1px solid #ccc; | |
padding: 5px; | |
} | |
.receipt table th { | |
background-color: #f0f0f0; | |
text-align: left; | |
} | |
.receipt tfoot td { | |
text-align: right; | |
font-weight: bold; | |
} | |
#dataTable { | |
border-radius: 10px; | |
border-collapse: collapse; | |
width: 100%; | |
width: 100%; | |
border-collapse: collapse; | |
table-layout: fixed; | |
overflow-x: auto; | |
} | |
#receiptdiv { | |
display: none; | |
} | |
#dataTable th, | |
#dataTable td { | |
font-size: 12px; | |
text-align: center; | |
padding: 3px; | |
} | |
#downloadbutton { | |
display: none; | |
} | |
#loadingSpinner { | |
position: relative; | |
top: 20%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
border: 4px solid rgba(0, 0, 0, 0.1); | |
border-left: 4px solid #FF8B4A; | |
border-radius: 50%; | |
width: 30px; | |
height: 30px; | |
animation: spin 1s linear infinite; | |
display: none; | |
/* Hide initially */ | |
} | |
@keyframes spin { | |
0% { | |
transform: rotate(0deg); | |
} | |
100% { | |
transform: rotate(360deg); | |
} | |
} | |
#uploadbutton:disabled { | |
cursor: not-allowed; | |
background-color: #dddddd; | |
} | |
.labels { | |
margin: 0 0 0 20px; | |
font-weight: 500; | |
} | |
.labels p { | |
font-size: 14px; | |
padding-top: 8px; | |
line-height: 5px; | |
color: ccc; | |
padding: 8px 0 0 0; | |
text-align: left; | |
} | |
#filenm { | |
position: relative; | |
z-index: 999; | |
} | |
.valid { | |
padding-left: 8px; | |
font-weight: 300; | |
font-size: 14px; | |
} | |
.details1 { | |
border-radius: 10px; | |
z-index: -1; | |
} | |
.exportbutton { | |
margin-right: 17px; | |
box-sizing: border-box; | |
border-radius: 10px; | |
padding: 1em 1.8em; | |
display: flex; | |
transition: 0.2s background; | |
align-items: center; | |
gap: 0.6em; | |
font-weight: 400; | |
background: linear-gradient(45deg, #FF6347, #FFA07A); | |
backdrop-filter: blur(10px); | |
border: 2px solid transparent; | |
color: white; | |
cursor: pointer; | |
} | |
.exportbutton:hover { | |
border: 2px solid #FF8B4A; | |
background: #f5f5f5; | |
color: #000; | |
transition: all .3s ease-in-out; | |
} | |
@media (max-width: 1024px) { | |
.filenm { | |
border-radius: 10px; | |
gap: 0.3em; | |
font-size: 9px; | |
padding: 9px 11px; | |
margin: 0; | |
} | |
.filenm span { | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
overflow: hidden; | |
} | |
.backbutton span { | |
font-size: 9px; | |
} | |
.backbutton { | |
padding: 12px 14px; | |
border-radius: 10px; | |
} | |
.receipt { | |
margin: 15px 15px; | |
} | |
p { | |
padding: 10px; | |
font-size: 13px; | |
} | |
p.desc { | |
font-size: 8px; | |
text-align: left; | |
} | |
.labels { | |
text-align: left; | |
} | |
.labels p { | |
padding: 8px 0 8px 0; | |
} | |
.avatargif img { | |
margin-top: 1.5em; | |
} | |
} | |
@media (max-width: 768px) { | |
#logox img { | |
position: relative; | |
object-position: center; | |
width: 30%; | |
height: 30%; | |
padding: 10px 10px 10px 10px; | |
} | |
.filenm { | |
border-radius: 6px; | |
gap: 0.3em; | |
font-size: 10px; | |
padding: 10px 12px; | |
margin: 0; | |
} | |
.filenm span { | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
overflow: hidden; | |
} | |
.backbutton span { | |
font-size: 10px; | |
} | |
.backbutton { | |
padding: 12px 14px; | |
border-radius: 6px; | |
} | |
.labels { | |
padding: 0 0 5px 0; | |
margin: 0; | |
} | |
p { | |
padding: 8px; | |
font-size: 12px; | |
} | |
.uploadbutton { | |
padding: 8px 24px; | |
font-size: 14px; | |
font-weight: 300; | |
} | |
p.desc { | |
font-size: 6px; | |
line-height: 12px; | |
} | |
.valid { | |
padding-left: 5px; | |
font-size: 12px; | |
} | |
.labels p { | |
padding: 8px 0 8px 0; | |
} | |
#dataTable th, | |
#dataTable td { | |
font-size: 6px; | |
text-align: left; | |
padding: 1px; | |
} | |
.exportbutton { | |
margin-left: 17px; | |
border-radius: 5px; | |
padding: .8em 1em; | |
font-weight: 300; | |
font-size: 12px; | |
} | |
.avatargif img { | |
margin-top: 1.25em; | |
} | |
} | |
@media screen and (max-width: 576px) { | |
/* Styles for screens up to 576px wide */ | |
.containerz { | |
flex-direction |