Spaces:
Sleeping
Sleeping
Update styles.css
Browse files- styles.css +35 -0
styles.css
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.confidence-container {
|
| 2 |
+
min-height: 100%;
|
| 3 |
+
display: flex;
|
| 4 |
+
justify-content: center;
|
| 5 |
+
align-items: center; /* Centered both horizontally and vertically */
|
| 6 |
+
padding-bottom: 0px;
|
| 7 |
+
position: relative;
|
| 8 |
+
}
|
| 9 |
+
.confidence-value {
|
| 10 |
+
background-color: #f5f5f5;
|
| 11 |
+
padding: 4px 8px;
|
| 12 |
+
border-radius: 12px;
|
| 13 |
+
font-size: 12px;
|
| 14 |
+
font-weight: 500;
|
| 15 |
+
text-align: center;
|
| 16 |
+
min-width: 100px;
|
| 17 |
+
transform: scale(0.9);
|
| 18 |
+
margin: 0 auto;
|
| 19 |
+
position: relative;
|
| 20 |
+
top: 0px; /* Remove extra nudge */
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
/* Keep your existing color classes */
|
| 25 |
+
.confidence-low { color: #d32f2f; background-color: #ffebee; }
|
| 26 |
+
.confidence-medium { color: #f57c00; background-color: #fff3e0; }
|
| 27 |
+
.confidence-high { color: #388e3c; background-color: #e8f5e9; }
|
| 28 |
+
|
| 29 |
+
.confidence-multi {
|
| 30 |
+
display: flex;
|
| 31 |
+
flex-direction: column;
|
| 32 |
+
gap: 6px;
|
| 33 |
+
align-items: center;
|
| 34 |
+
justify-content: center;
|
| 35 |
+
}
|