Files
controls-web/controls-classic/searchstyle.css
2026-02-17 09:29:34 -06:00

424 lines
7.1 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background: #2c3e50;
color: #fff;
min-height: 100vh;
}
.dashboard-header {
background: #34495e;
padding: 20px;
text-align: center;
border-bottom: 3px solid #3498db;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.dashboard-header h1 {
color: #3498db;
font-size: 2rem;
margin: 0;
}
.dashboard-header .subtitle {
color: #bdc3c7;
font-size: 1rem;
margin-top: 5px;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 30px;
}
.search-form {
background: #ecf0f1;
color: #2c3e50;
border-radius: 5px;
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
overflow: hidden;
margin: 0 0 10px;
}
.search-type-tabs {
display: flex;
background: #34495e;
}
.tab {
flex: 1;
padding: 15px 20px;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
color: #bdc3c7;
font-weight: bold;
}
.tab.active {
background: #3498db;
color: white;
}
.tab:hover:not(.active)) {
background: #2c3e50;
color: #3498db;
}
.search-option {
display: none;
padding: 30px;
}
.search-option.active {
display: block;
}
.form-row {
display: flex;
align-items: center;
margin-bottom: 20px;
gap: 20px;
padding: 0 20px;
}
.form-row label {
min-width: 140px;
font-weight: bold;
color: #2c3e50;
}
.form-row input,
.form-row select {
flex: 1;
padding: 12px 18px;
border: 2px solid #bdc3c7;
border-radius: 6px;
font-size: 0.9rem;
transition: all 0.3s ease;
}
.form-row input:focus,
.form-row select:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
button {
background: #3498db;
color: white;
border: none;
padding: 12px 25px;
border-radius: 6px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
margin-right: 10px;
}
button:hover:not(:disabled) {
background: #2980b9;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}
button[type="button"] {
background: #e74c3c;
}
button[type="button"]:hover {
background: #c0392b;
}
.autocomplete-container {
position: relative;
flex: 1;
}
.autocomplete-suggestions {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: white;
border: 2px solid #3498db;
border-top: none;
border-radius: 0 0 6px 6px;
max-height: 200px;
overflow-y: auto;
z-index: 1000;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.autocomplete-suggestion:hover,
.autocomplete-suggestion.active {
background: #3498db;
color: white;
}
.results-info {
background: #ecf0f1;
color: #2c3e50;
padding: 20px 25px;
border-radius: 5px;
margin-bottom: 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.results-count {
font-weight: bold;
margin-bottom: 10px;
}
.stats-panel {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 20px;
padding: 25px;
background: #ecf0f1;
border-radius: 15px;
margin-bottom: 20px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.stat-box {
background: #fff;
padding: 25px;
border-radius: 10px;
text-align: center;
border: 2px solid #bdc3c7;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-box:hover {
transform: translateY(-3px);
box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.stat-value {
font-size: 1.8rem;
font-weight: bold;
color: #3498db;
margin-bottom: 8px;
}
.stat-label {
font-size: 0.85rem;
color: #7f8c8d;
font-weight: 600;
text-transform: uppercase;
}
.chart-container {
background: #ecf0f1;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
overflow: hidden;
margin-bottom: 20px;
}
.chart-container h3 {
background: #3498db;
color: white;
padding: 20px;
margin: 0 0 20px;
font-size: 1.3rem;
text-align: center;
}
.chart-wrapper {
position: relative;
height: 400px;
margin: 25px;
background: white;
border-radius: 8px;
}
.export-buttons {
display: flex;
gap: 15px;
justify-content: center;
margin: 20px;
flex-wrap: wrap;
}
.export-buttons button {
background: #27ae60;
}
.export-buttons button:hover {
background: #219a52;
}
.trend-controls {
display: flex;
gap: 25px;
flex-wrap: wrap;
justify-content: center;
margin: 20px;
padding: 20px;
background: #f8f9fa;
border-radius: 8px;
}
.table-scroll {
background: #ecf0f1;
border-radius: 5px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
overflow: hidden;
margin-bottom: 20px;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
background: white;
}
th {
background: #34495e;
color: white;
padding: 18px 15px;
text-align: left;
font-weight: bold;
position: sticky;
top: 0;
z-index: 10;
}
td {
padding: 15px 15px;
border-bottom: 1px solid #ecf0f1;
color: #2c3e50;
}
tr:nth-child(even) {
background: #f8f9fa;
}
tr:hover {
background: rgba(52, 152, 219, 0.1);
}
.no-results {
background: #ecf0f1;
color: #2c3e50;
padding: 50px;
text-align: center;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
margin: 0 15px;
}
.no-results h3 {
color: #e74c3c;
margin-bottom: 15px;
font-size: 1.5rem;
}
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(44, 62, 80, 0.95);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
}
.loading-container {
text-align: center;
color: white;
max-width: 400px;
padding: 50px;
}
.loading-spinner {
width: 60px;
height: 60px;
border: 4px solid #34495e;
border-top: 4px solid #3498db;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}
.loading-text {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 10px;
color: #3498db;
}
.loading-subtext {
font-size: 1rem;
color: #bdc3c7;
margin-bottom: 20px;
}
.progress-bar {
width: 100%;
height: 8px;
background: #34495e;
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: #3498db;
width: 0%;
transition: width 0.3s ease;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.help-text {
font-size: 0.8rem;
color: #7f8c8d;
margin-top: 8px;
margin-left: 140px;
font-style: italic;
}
@media (max-width: 768px) {
.dashboard-header h1 {
font-size: 1.5rem;
}
.container {
padding: 20px;
}
.form-row {
flex-direction: column;
align-items: stretch;
gap: 10px;
}
.form-row label {
min-width: auto;
margin-bottom: 8px;
}
.help-text {
margin-left: 0;
margin-top: 10px;
}
}