BettaVox / static /styles.css
Manubett1234's picture
Upload 16 files
a7b41b2 verified
/* Color Theme */
:root {
--primary-color: #008080; /* Teal */
--secondary-color: #005f5f;
--error-color: #f44336;
}
/* Reset & Base Styles */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f0f8f8;
}
/* Sticky Header */
.sticky-header {
position: sticky;
top: 0;
background-color: var(--primary-color);
color: white;
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 1000;
}
.sticky-header h1 {
margin: 0;
font-size: 20px;
}
.sticky-header nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
.sticky-header nav ul li {
margin: 0 10px;
}
.sticky-header nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
}
.sticky-header nav ul li a:hover {
text-decoration: underline;
}
/* Page Layout */
.page {
max-width: 800px;
margin: 50px auto;
padding: 20px;
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Hidden Pages */
.hidden {
display: none;
}
/* Upload Section */
.upload-container {
border: 2px dashed var(--primary-color);
padding: 20px;
text-align: center;
margin: 20px 0;
cursor: pointer;
transition: all 0.3s ease;
}
.upload-container.drag-over {
background: rgba(0, 128, 128, 0.1);
}
/* Progress Bar */
.progress-container {
width: 100%;
height: 20px;
background-color: #f0f0f0;
border-radius: 10px;
overflow: hidden;
margin: 20px 0;
}
.progress-bar {
width: 0%;
height: 100%;
background-color: var(--primary-color);
transition: width 0.3s ease;
}
/* Results */
.results-container {
display: flex;
justify-content: space-around;
margin: 20px 0;
}
.result-card {
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
text-align: center;
background: #e0f7f7;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Buttons */
button {
padding: 10px 20px;
border: none;
border-radius: 4px;
background-color: var(--primary-color);
color: white;
cursor: pointer;
transition: background-color 0.3s;
font-size: 16px;
}
button:hover {
background-color: var(--secondary-color);
}
button:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
/* Charts */
.charts-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 20px;
margin: 20px 0;
}
.chart-wrapper {
background: white;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}