You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
157 lines
2.4 KiB
157 lines
2.4 KiB
:root {
|
|
--background-color: #e9ecef;
|
|
--accent-color: #007bff;
|
|
--highlight-color: #0056b3;
|
|
--text-color: #6c757d;
|
|
--button-color: #007bff;
|
|
--button-highlight-color: #0056b3;
|
|
--section-color: #f8fafc;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: var(--background-color);
|
|
}
|
|
|
|
main {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
justify-content: center;
|
|
background-color: var(--accent-color);
|
|
padding: 1rem;
|
|
box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
color: white;
|
|
margin: 0;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
input[type="text"], input[type="number"] {
|
|
padding: 0.5rem;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
border: 1px solid var(--text-color);
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
button {
|
|
padding: 0.5rem 1rem;
|
|
background-color: var(--button-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 0.25rem;
|
|
cursor: pointer;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: var(--button-highlight-color);
|
|
}
|
|
|
|
button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
#result {
|
|
padding: 0.5rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.column {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
#insertion-column {
|
|
width: 40%;
|
|
}
|
|
|
|
#queries-column {
|
|
width: 40%;
|
|
}
|
|
|
|
#save-load-column {
|
|
width: 20%;
|
|
}
|
|
|
|
section {
|
|
background-color: var(--section-color);
|
|
padding: 1rem;
|
|
border-radius: 0.25rem;
|
|
box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#column-section {
|
|
display: flex;
|
|
width: auto;
|
|
column-gap: 1rem;
|
|
}
|
|
|
|
#result-section {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
#result table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
#result td, #result th {
|
|
padding: 0.8rem;
|
|
}
|
|
|
|
#result tr:nth-child(odd) {
|
|
background-color: #b3cdff;
|
|
}
|
|
|
|
#result tr:nth-child(even) {
|
|
background-color: #e7f0ff;
|
|
}
|
|
|
|
#result th {
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
text-align: left;
|
|
background-color: var(--accent-color);
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#status-section {
|
|
margin-top: 1.5rem;
|
|
padding: 1rem 1.5rem;
|
|
}
|
|
|
|
#status {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
#status.success {
|
|
background-color: #28a745;
|
|
color: white;
|
|
}
|
|
|
|
#status.error {
|
|
background-color: #ff6c6c;
|
|
color: white;
|
|
}
|