wellwatch-analytics / style.css
zanape's picture
dropdown meny should fill the page, not necessary with titble above dropdown
2bb7e71 verified
Raw
History Blame Contribute Delete
5.25 kB
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
margin: 0;
padding: 0;
color: #1a1a1a;
background-color: #f8fafc;
min-height: 100vh;
padding-top: 70px;
}
.header-container {
display: flex;
flex-direction: column;
gap: 1rem;
margin-bottom: 1.5rem;
padding: 0;
width: 100%;
}
.intro-section {
background: white;
border-radius: 0;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
padding: 2rem;
margin-bottom: 2rem;
text-align: center;
width: 100%;
border-bottom: 1px solid #e2e8f0;
}
.intro-text {
color: #4b5563;
line-height: 1.6;
margin: 1.5rem 0 0 0;
font-size: 1rem;
}
.intro-image {
max-width: 300px;
width: 100%;
margin: 0 auto 1.5rem;
display: block;
border-radius: 0.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.select-row {
display: flex;
gap: 1rem;
align-items: flex-end;
background: white;
padding: 1.5rem;
border-radius: 0;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
border-top: 1px solid #e2e8f0;
border-bottom: 1px solid #e2e8f0;
margin-bottom: 1.5rem;
width: 100%;
}
.select-group {
flex: 1;
max-width: none;
padding: 0 1rem;
}
.select-group label {
display: block;
font-size: 0.875rem;
color: #64748b;
margin-bottom: 0.5rem;
font-weight: 500;
}
.content-row {
display: flex;
gap: 1.5rem;
padding: 0;
width: 100%;
margin: 0;
flex-direction: column;
}
@media (min-width: 1024px) {
.content-row {
flex-direction: row;
}
}
.table-container {
flex: 1;
min-width: 0;
overflow-x: auto;
background: white;
padding: 1.5rem;
border-radius: 0.75rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
border: 1px solid #e2e8f0;
margin: 0 auto;
max-width: 1400px;
width: 100%;
}
.chart-container {
flex: 1;
min-width: 0;
background: white;
padding: 1.5rem;
border-radius: 0.75rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
border: 1px solid #e2e8f0;
margin: 0 auto;
max-width: 1400px;
width: 100%;
}
#plot {
width: 100%;
height: 400px;
}
.page-title {
color: #343a40;
margin: 0;
font-size: 1.5rem;
font-weight: 600;
}
.page-description {
color: #6c757d;
margin-bottom: 1.5rem;
font-size: 0.875rem;
}
.select-container {
margin-bottom: 1.5rem;
background: white;
padding: 1.25rem;
border-radius: 0.25rem;
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
border-left: 4px solid #5f63f2;
}
.form-select {
width: 100%;
padding: 0.625rem 1rem;
border: 1px solid #e1e5eb;
border-radius: 0.25rem;
margin-top: 0.5rem;
font-size: 0.875rem;
transition: all 0.3s;
}
.form-select:focus {
border-color: #5f63f2;
box-shadow: 0 0 0 0.2rem rgba(95, 99, 242, 0.25);
}
.results-placeholder {
background: white;
padding: 1.5rem;
border-radius: 0.25rem;
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
margin-top: 1.5rem;
text-align: center;
color: #6c757d;
border-left: 4px solid #5f63f2;
}
.chart-placeholder {
background: #f8f9fa;
border: 1px dashed #e1e5eb;
border-radius: 0.25rem;
padding: 2.5rem;
margin: 1.5rem 0;
min-height: 300px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
}
.placeholder-text {
font-size: 1rem;
color: #adb5bd;
display: flex;
align-items: center;
gap: 0.625rem;
}
.loading {
text-align: center;
padding: 2.5rem;
color: #5f63f2;
font-size: 1rem;
background: #f8f9fa;
border-radius: 0.25rem;
margin: 1.5rem 0;
position: relative;
border-left: 4px solid #5f63f2;
}
.loading:after {
content: "";
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid rgba(52, 152, 219, 0.3);
border-radius: 50%;
border-top-color: #3498db;
animation: spin 1s ease-in-out infinite;
margin-left: 10px;
vertical-align: middle;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.well-name {
color: #343a40;
margin-bottom: 1.5rem;
font-size: 1.25rem;
font-weight: 600;
}
.summary-stats {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
}
.stat-card {
flex: 1;
background: white;
padding: 1.25rem;
border-radius: 0.25rem;
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
text-align: center;
transition: all 0.3s;
border-left: 4px solid #5f63f2;
}
.stat-card:hover {
transform: translateY(-5px);
box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.stat-label {
display: block;
color: #6c757d;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.stat-value {
display: block;
font-weight: 600;
font-size: 1.25rem;
margin-top: 0.5rem;
color: #5f63f2;
}
.results-table {
width: 100%;
border-collapse: collapse;
margin-top: 1.5rem;
font-size: 0.875rem;
}
.results-table th {
background-color: #5f63f2;
color: white;
padding: 0.75rem 1rem;
text-align: left;
font-weight: 500;
}
.results-table td {
padding: 0.75rem 1rem;
border-bottom: 1px solid #e1e5eb;
}
.results-table tr:nth-child(even) {
background-color: #f8f9fa;
}
.results-table tr:hover {
background-color: rgba(95, 99, 242, 0.05);
}
.chart-container {
margin: 2rem 0;
background: white;
padding: 1.25rem;
border-radius: 0.25rem;
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
border-left: 4px solid #5f63f2;
}