429 lines
11 KiB
CSS
429 lines
11 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 20px;
|
|
background-color: #555555;
|
|
}
|
|
.container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
background-color: rgb(192, 192, 192);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
.search-form {
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
background-color: #f9f9f9;
|
|
}
|
|
.search-type-tabs {
|
|
margin-bottom: 20px;
|
|
border-bottom: 2px solid #ddd;
|
|
}
|
|
.tab {
|
|
display: inline-block;
|
|
padding: 10px 20px;
|
|
margin-right: 5px;
|
|
background-color: #f1f1f1;
|
|
border: 1px solid #ddd;
|
|
border-bottom: none;
|
|
cursor: pointer;
|
|
border-radius: 5px 5px 0 0;
|
|
}
|
|
.tab.active {
|
|
background-color: #007cba;
|
|
color: white;
|
|
border-color: #007cba;
|
|
}
|
|
.search-option {
|
|
display: none;
|
|
padding: 15px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 0 5px 5px 5px;
|
|
background-color: white;
|
|
}
|
|
.search-option.active {
|
|
display: block;
|
|
}
|
|
.form-row {
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.form-row.checkbox {
|
|
align-items: flex-start;
|
|
}
|
|
label {
|
|
display: inline-block;
|
|
width: 120px;
|
|
font-weight: bold;
|
|
}
|
|
label.checkbox {
|
|
width: auto;
|
|
margin-left: 5px;
|
|
}
|
|
input[type="text"], input[type="datetime-local"], select, textarea {
|
|
width: 200px;
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
textarea {
|
|
width: 300px;
|
|
height: 60px;
|
|
resize: vertical;
|
|
}
|
|
input[type="checkbox"] {
|
|
width: auto;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Autocomplete styling */
|
|
.autocomplete-container {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
.autocomplete-suggestions {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: white;
|
|
border: 1px solid #ccc;
|
|
border-top: none;
|
|
border-radius: 0 0 4px 4px;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
z-index: 1000;
|
|
display: none;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
|
}
|
|
.autocomplete-suggestion {
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid #eee;
|
|
user-select: none;
|
|
color: #333;
|
|
}
|
|
.autocomplete-suggestion:hover,
|
|
.autocomplete-suggestion.active {
|
|
background-color: #f0f8ff;
|
|
color: #007cba;
|
|
}
|
|
.autocomplete-suggestion:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Fix for textarea autocomplete container */
|
|
.autocomplete-container textarea {
|
|
width: 300px;
|
|
height: 60px;
|
|
resize: vertical;
|
|
}
|
|
|
|
/* Ensure suggestions dropdown matches textarea width */
|
|
.autocomplete-container:has(textarea) .autocomplete-suggestions {
|
|
width: 300px;
|
|
}
|
|
|
|
button {
|
|
padding: 8px 15px;
|
|
margin-right: 10px;
|
|
background-color: #007cba;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
button:hover {
|
|
background-color: #005a87;
|
|
}
|
|
button[type="button"] {
|
|
background-color: #6c757d;
|
|
}
|
|
button[type="button"]:hover {
|
|
background-color: #545b62;
|
|
}
|
|
.trend-controls {
|
|
margin: 20px 0;
|
|
padding: 15px;
|
|
background-color: #e9ecef;
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
.chart-container {
|
|
margin: 20px 0;
|
|
padding: 20px;
|
|
background-color: white;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
.chart-wrapper {
|
|
position: relative;
|
|
height: 400px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.stats-panel {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.stat-box {
|
|
background-color: #f8f9fa;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
border-left: 4px solid #007cba;
|
|
}
|
|
.stat-value {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: #007cba;
|
|
}
|
|
.stat-label {
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
}
|
|
th, td {
|
|
border: 1px solid #ddd;
|
|
padding: 12px;
|
|
text-align: left;
|
|
}
|
|
th {
|
|
background-color: #f2f2f2;
|
|
font-weight: bold;
|
|
}
|
|
th.timestamp-header {
|
|
background-color: #007cba;
|
|
color: white;
|
|
}
|
|
tr:nth-child(even) {
|
|
background-color: #f9f9f9;
|
|
}
|
|
tr:hover {
|
|
background-color: #f0f8ff;
|
|
}
|
|
.no-results {
|
|
text-align: center;
|
|
color: #666;
|
|
margin-top: 20px;
|
|
padding: 20px;
|
|
background-color: #f8f9fa;
|
|
border-radius: 4px;
|
|
}
|
|
.results-info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
padding: 10px;
|
|
background-color: #e9ecef;
|
|
border-radius: 4px;
|
|
}
|
|
.timestamp {
|
|
font-family: monospace;
|
|
font-weight: bold;
|
|
}
|
|
.numeric-value {
|
|
text-align: right;
|
|
font-family: monospace;
|
|
}
|
|
.export-buttons {
|
|
margin: 10px 0;
|
|
padding: 10px;
|
|
background-color: #f8f9fa;
|
|
border-radius: 4px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
.export-buttons button {
|
|
background-color: #28a745;
|
|
margin-right: 10px;
|
|
padding: 8px 15px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: white;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
.export-buttons button:hover {
|
|
background-color: #218838;
|
|
}
|
|
.export-buttons button:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.help-text {
|
|
font-size: 12px;
|
|
color: #666;
|
|
font-style: italic;
|
|
margin-top: 5px;
|
|
}
|
|
.table-scroll {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
select {
|
|
width: 250px; /* Wider for tag names */
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
background-color: white;
|
|
font-size: 14px;
|
|
}
|
|
|
|
select:focus {
|
|
border-color: #007cba;
|
|
outline: none;
|
|
box-shadow: 0 0 5px rgba(0, 124, 186, 0.3);
|
|
}
|
|
|
|
/* Remove autocomplete styling for multiple names since we're not using it */
|
|
#multiple_names .autocomplete-container {
|
|
display: none;
|
|
}
|
|
|
|
.form-row small {
|
|
color: #666;
|
|
font-style: italic;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.interval-info {
|
|
font-size: 12px;
|
|
color: #666;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Loading indicator styles */
|
|
.loading-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
display: none;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.loading-container {
|
|
background: white;
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
text-align: center;
|
|
min-width: 300px;
|
|
}
|
|
|
|
.loading-spinner {
|
|
border: 4px solid #f3f3f3;
|
|
border-top: 4px solid #007cba;
|
|
border-radius: 50%;
|
|
width: 40px;
|
|
height: 40px;
|
|
animation: spin 1s linear infinite;
|
|
margin: 0 auto 15px auto;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
.loading-text {
|
|
font-size: 16px;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.loading-subtext {
|
|
font-size: 12px;
|
|
color: #666;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Progress bar styles */
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 6px;
|
|
background-color: #f3f3f3;
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #007cba, #005a87);
|
|
width: 0%;
|
|
border-radius: 3px;
|
|
transition: width 0.3s ease;
|
|
animation: progressPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes progressPulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.7; }
|
|
}
|
|
|
|
/* Button loading state */
|
|
button[type="submit"]:disabled {
|
|
background-color: #6c757d;
|
|
cursor: not-allowed;
|
|
position: relative;
|
|
}
|
|
|
|
button[type="submit"]:disabled::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin: auto;
|
|
border: 2px solid transparent;
|
|
border-top-color: #ffffff;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
top: 0;
|
|
bottom: 0;
|
|
right: 10px;
|
|
}
|
|
|
|
/* Inline search status */
|
|
.search-status {
|
|
margin: 15px 0;
|
|
padding: 12px;
|
|
background-color: #e7f3ff;
|
|
border: 1px solid #b3d9ff;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
.status-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mini-spinner {
|
|
border: 2px solid #f3f3f3;
|
|
border-top: 2px solid #007cba;
|
|
border-radius: 50%;
|
|
width: 16px;
|
|
height: 16px;
|
|
animation: spin 1s linear infinite;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.status-text {
|
|
color: #007cba;
|
|
font-weight: 500;
|
|
} |