Spaces:
Sleeping
Sleeping
/* Reset base */ | |
html, body { | |
height: 100%; | |
margin: 0; | |
padding: 0; | |
overflow-y: auto; | |
} | |
/* Corpo */ | |
body { | |
font-family: Arial, sans-serif; | |
background-color: #f8f8f8; | |
color: #333; | |
display: flex; | |
flex-direction: column; | |
min-height: 100vh; | |
} | |
/* Header */ | |
header { | |
background-color: rgba(42, 77, 111, 0.8); | |
color: #fff; | |
padding: 20px; | |
text-align: center; | |
position: relative; | |
} | |
header h1 { | |
margin-bottom: 10px; | |
font-size: 2em; | |
} | |
header p { | |
font-size: 1.2em; | |
margin-top: 0; | |
} | |
/* Logo */ | |
#logo { | |
display: block; | |
margin: 0 auto; | |
max-width: 200px; | |
height: auto; | |
cursor: pointer; | |
transition: transform 0.3s ease; | |
position: relative; | |
z-index: 10; | |
} | |
#logo:hover { | |
transform: scale(1.2); | |
} | |
/* Form principale */ | |
form { | |
margin: 20px auto; | |
text-align: left; | |
width: 90%; | |
max-width: 800px; | |
padding: 25px; | |
background-color: #fff; | |
border-radius: 10px; | |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | |
} | |
label { | |
display: block; | |
font-size: 1.05em; | |
margin: 12px 0 5px; | |
font-weight: bold; | |
color: #2a4d6f; | |
} | |
input[type="file"], | |
input[type="text"], | |
input[type="number"], | |
select { | |
width: 100%; | |
padding: 10px; | |
margin-bottom: 12px; | |
border: 1px solid #ccc; | |
border-radius: 6px; | |
font-size: 1em; | |
box-sizing: border-box; | |
} | |
/* Input multiupload */ | |
input[type="file"]::file-selector-button { | |
padding: 6px 12px; | |
margin-right: 10px; | |
background-color: #2a4d6f; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
input[type="file"]::file-selector-button:hover { | |
background-color: #1a3d56; | |
} | |
/* Pulsanti */ | |
button { | |
width: 100%; | |
background-color: #2a4d6f; | |
color: #fff; | |
padding: 12px; | |
border: none; | |
border-radius: 6px; | |
font-size: 1.1em; | |
cursor: pointer; | |
transition: background-color 0.3s; | |
margin-top: 10px; | |
} | |
button:hover { | |
background-color: #1a3d56; | |
} | |
/* Risultati */ | |
.results { | |
padding: 25px; | |
background-color: #fff; | |
margin: 30px auto; | |
border-radius: 10px; | |
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | |
max-width: 1000px; | |
overflow-x: auto; | |
} | |
/* Tabelle */ | |
table { | |
width: 100%; | |
border-collapse: collapse; | |
margin-top: 25px; | |
} | |
th { | |
background-color: #2a4d6f; | |
color: #fff; | |
padding: 12px; | |
text-align: left; | |
} | |
td { | |
padding: 12px; | |
border-bottom: 1px solid #ddd; | |
background-color: #f9f9f9; | |
} | |
table tr:hover { | |
background-color: #f1f1f1; | |
} | |
table th, table td { | |
font-size: 1em; | |
word-wrap: break-word; | |
} | |
/* Grafico */ | |
#chart-container { | |
width: 100%; | |
max-width: 1000px; | |
height: 500px; | |
margin: 40px auto; | |
} | |
canvas { | |
width: 100% ; | |
height: 100% ; | |
display: block; | |
} | |
/* Barra di caricamento */ | |
#progress-container { | |
width: 100%; | |
background-color: #e0e0e0; | |
border-radius: 20px; | |
overflow: hidden; | |
margin-top: 20px; | |
} | |
#progress-bar { | |
height: 20px; | |
width: 0; | |
background-color: #4caf50; | |
text-align: center; | |
line-height: 20px; | |
color: white; | |
} | |
/* Footer */ | |
footer { | |
background-color: #2a4d6f; | |
color: #fff; | |
text-align: center; | |
padding: 15px; | |
width: 100%; | |
font-size: 1em; | |
margin-top: auto; | |
} | |
/* Responsive layout */ | |
@media screen and (max-width: 600px) { | |
form, .results { | |
width: 95%; | |
padding: 15px; | |
} | |
header h1 { | |
font-size: 1.5em; | |
} | |
header p { | |
font-size: 1em; | |
} | |
} | |
/* Stile per il pulsante di selezione file (upload multiplo) */ | |
input[type="file"]::file-selector-button { | |
background-color: #2a4d6f; | |
color: white; | |
border: none; | |
padding: 8px 12px; | |
border-radius: 5px; | |
margin-right: 10px; | |
cursor: pointer; | |
} | |
input[type="file"]::file-selector-button:hover { | |
background-color: #1a3d56; | |
} | |