Spaces:
Sleeping
Sleeping
File size: 2,865 Bytes
a7b41b2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | /* 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);
}
|