Spaces:
Sleeping
Sleeping
neerajkalyank
commited on
Commit
•
ee777f4
1
Parent(s):
f26591a
Update app.py
Browse files
app.py
CHANGED
@@ -158,46 +158,40 @@ button:hover {
|
|
158 |
background-color: #005f80;
|
159 |
}
|
160 |
|
161 |
-
/*
|
162 |
-
.
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
margin: 5px;
|
168 |
-
}
|
169 |
-
.toggle-switch input {
|
170 |
-
opacity: 0;
|
171 |
-
width: 0;
|
172 |
-
height: 0;
|
173 |
-
}
|
174 |
-
.toggle-slider {
|
175 |
-
position: absolute;
|
176 |
-
cursor: pointer;
|
177 |
-
top: 0;
|
178 |
-
left: 0;
|
179 |
-
right: 0;
|
180 |
-
bottom: 0;
|
181 |
-
background-color: #c2d6dc;
|
182 |
-
transition: 0.3s;
|
183 |
-
border-radius: 20px;
|
184 |
}
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
|
|
|
|
195 |
}
|
196 |
-
|
197 |
-
|
|
|
|
|
|
|
|
|
198 |
}
|
199 |
-
|
200 |
-
|
|
|
|
|
|
|
|
|
|
|
201 |
}
|
202 |
|
203 |
/* Radio Button Group */
|
|
|
158 |
background-color: #005f80;
|
159 |
}
|
160 |
|
161 |
+
/* Container for All Checkbox Groups */
|
162 |
+
.checkbox-container {
|
163 |
+
display: flex;
|
164 |
+
flex-wrap: wrap;
|
165 |
+
gap: 12px; /* Space between each checkbox group */
|
166 |
+
margin-bottom: 20px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
}
|
168 |
+
|
169 |
+
/* Individual Checkbox Group */
|
170 |
+
.checkbox-group {
|
171 |
+
display: flex;
|
172 |
+
align-items: center;
|
173 |
+
padding: 8px 12px;
|
174 |
+
border: 1px solid #d0e7f1;
|
175 |
+
border-radius: 8px;
|
176 |
+
background-color: #f7fcff;
|
177 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
178 |
+
min-width: 140px; /* Minimum width to ensure label fits */
|
179 |
+
justify-content: center;
|
180 |
}
|
181 |
+
|
182 |
+
/* Styling for Checkbox */
|
183 |
+
.checkbox-group input[type="checkbox"] {
|
184 |
+
margin-right: 8px; /* Space between checkbox and label */
|
185 |
+
transform: scale(1.2); /* Slightly larger checkbox */
|
186 |
+
accent-color: #007ba7; /* Color for checkbox when checked */
|
187 |
}
|
188 |
+
|
189 |
+
/* Styling for Checkbox Label */
|
190 |
+
.checkbox-group label {
|
191 |
+
font-size: 0.95em;
|
192 |
+
color: #333333;
|
193 |
+
white-space: nowrap; /* Prevents label text from wrapping */
|
194 |
+
display: inline-block;
|
195 |
}
|
196 |
|
197 |
/* Radio Button Group */
|