Spaces:
Sleeping
Sleeping
Update tab/style.py
Browse files- tab/style.py +18 -22
tab/style.py
CHANGED
|
@@ -1,27 +1,21 @@
|
|
| 1 |
custom_css = """
|
| 2 |
body {
|
| 3 |
background-color: #121212;
|
| 4 |
-
color:
|
| 5 |
}
|
| 6 |
-
|
| 7 |
-
/* Centered text utility */
|
| 8 |
.centered-text {
|
| 9 |
text-align: center;
|
| 10 |
margin-left: auto;
|
| 11 |
margin-right: auto;
|
| 12 |
}
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
.orange-btn, #encrypt-btn, #decrypt-btn {
|
| 16 |
-
background-color: #ff6f00 !important;
|
| 17 |
color: white;
|
| 18 |
font-weight: bold;
|
| 19 |
border-radius: 8px;
|
| 20 |
padding: 10px 20px;
|
| 21 |
}
|
| 22 |
-
|
| 23 |
-
/* Enhanced textbox style */
|
| 24 |
-
textarea {
|
| 25 |
background-color: #1c1c1c !important;
|
| 26 |
color: #f0f0f0 !important;
|
| 27 |
border-radius: 10px;
|
|
@@ -30,21 +24,23 @@ textarea {
|
|
| 30 |
padding: 12px;
|
| 31 |
box-shadow: 0 0 8px rgba(0,0,0,0.4);
|
| 32 |
}
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
border: 1px solid #444;
|
| 37 |
-
|
|
|
|
|
|
|
| 38 |
}
|
| 39 |
-
|
| 40 |
-
/* Markdown cleanup */
|
| 41 |
.gr-markdown > div {
|
| 42 |
background: transparent !important;
|
| 43 |
}
|
| 44 |
-
|
| 45 |
-
/* Margin between rows */
|
| 46 |
-
.custom-gap {
|
| 47 |
-
margin-top: 40px;
|
| 48 |
-
margin-bottom: 20px;
|
| 49 |
-
}
|
| 50 |
"""
|
|
|
|
| 1 |
custom_css = """
|
| 2 |
body {
|
| 3 |
background-color: #121212;
|
| 4 |
+
color: white;
|
| 5 |
}
|
|
|
|
|
|
|
| 6 |
.centered-text {
|
| 7 |
text-align: center;
|
| 8 |
margin-left: auto;
|
| 9 |
margin-right: auto;
|
| 10 |
}
|
| 11 |
+
#submit-btn, #symptom-btn, #faq-btn, #process-btn {
|
| 12 |
+
background-color: #cc5500 !important;
|
|
|
|
|
|
|
| 13 |
color: white;
|
| 14 |
font-weight: bold;
|
| 15 |
border-radius: 8px;
|
| 16 |
padding: 10px 20px;
|
| 17 |
}
|
| 18 |
+
#explanation-box textarea {
|
|
|
|
|
|
|
| 19 |
background-color: #1c1c1c !important;
|
| 20 |
color: #f0f0f0 !important;
|
| 21 |
border-radius: 10px;
|
|
|
|
| 24 |
padding: 12px;
|
| 25 |
box-shadow: 0 0 8px rgba(0,0,0,0.4);
|
| 26 |
}
|
| 27 |
+
#summary-header {
|
| 28 |
+
text-align: left;
|
| 29 |
+
font-size: 1.4rem;
|
| 30 |
+
font-weight: bold;
|
| 31 |
+
color: #f2f2f2;
|
| 32 |
+
margin-bottom: 10px;
|
| 33 |
+
}
|
| 34 |
+
.summary-box {
|
| 35 |
+
background-color: #1f1f1f;
|
| 36 |
+
padding: 16px;
|
| 37 |
+
border-radius: 12px;
|
| 38 |
border: 1px solid #444;
|
| 39 |
+
font-size: 1rem;
|
| 40 |
+
color: #e0e0e0;
|
| 41 |
+
line-height: 1.6;
|
| 42 |
}
|
|
|
|
|
|
|
| 43 |
.gr-markdown > div {
|
| 44 |
background: transparent !important;
|
| 45 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
"""
|