Spaces:
Sleeping
Sleeping
neerajkalyank
commited on
Commit
•
79ae39e
1
Parent(s):
bab88be
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def billing_interface(patient_id):
|
|
84 |
|
85 |
# Gradio Interface
|
86 |
with gr.Blocks() as app:
|
87 |
-
gr.Markdown("<h1 style='text-align: center;'>👩🏻🔬Sathkrutha LIMS
|
88 |
|
89 |
with gr.Tab("Patient Registration"):
|
90 |
with gr.Row():
|
@@ -242,24 +242,31 @@ h1, h2, h3, h4, h5, h6 {
|
|
242 |
.nav-tabs {
|
243 |
display: flex;
|
244 |
justify-content: space-around;
|
245 |
-
background-color: #
|
246 |
-
border-bottom: 2px solid #
|
247 |
}
|
248 |
|
249 |
.nav-tabs .nav-item {
|
250 |
flex: 1;
|
251 |
text-align: center;
|
252 |
-
padding:
|
253 |
cursor: pointer;
|
254 |
-
color: #
|
255 |
font-weight: 600;
|
256 |
transition: color 0.3s ease, background-color 0.3s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
}
|
258 |
|
259 |
-
.nav-tabs .nav-item:hover,
|
260 |
.nav-tabs .nav-item.active {
|
261 |
-
color: #
|
262 |
-
background-color:
|
|
|
263 |
border-radius: 8px 8px 0 0;
|
264 |
}
|
265 |
|
|
|
84 |
|
85 |
# Gradio Interface
|
86 |
with gr.Blocks() as app:
|
87 |
+
gr.Markdown("<h1 style='text-align: center;'>👩🏻🔬Sathkrutha LIMS🔬</h1>", elem_id="header")
|
88 |
|
89 |
with gr.Tab("Patient Registration"):
|
90 |
with gr.Row():
|
|
|
242 |
.nav-tabs {
|
243 |
display: flex;
|
244 |
justify-content: space-around;
|
245 |
+
background-color: #37474F; /* Darker background for tab container */
|
246 |
+
border-bottom: 2px solid #ff8c00;
|
247 |
}
|
248 |
|
249 |
.nav-tabs .nav-item {
|
250 |
flex: 1;
|
251 |
text-align: center;
|
252 |
+
padding: 12px;
|
253 |
cursor: pointer;
|
254 |
+
color: #B0BEC5; /* Light gray for inactive tabs */
|
255 |
font-weight: 600;
|
256 |
transition: color 0.3s ease, background-color 0.3s ease;
|
257 |
+
background-color: #455A64; /* Dark gray background for inactive tabs */
|
258 |
+
border-radius: 8px 8px 0 0;
|
259 |
+
}
|
260 |
+
|
261 |
+
.nav-tabs .nav-item:hover {
|
262 |
+
color: #FFCA28; /* Bright yellow on hover */
|
263 |
+
background-color: #546E7A; /* Slightly lighter gray on hover */
|
264 |
}
|
265 |
|
|
|
266 |
.nav-tabs .nav-item.active {
|
267 |
+
color: #FFEB3B; /* Bright yellow for active tab */
|
268 |
+
background-color: #1E88E5; /* Bright blue background for active tab */
|
269 |
+
border-bottom: 3px solid #FFEB3B; /* Bottom border to highlight active tab */
|
270 |
border-radius: 8px 8px 0 0;
|
271 |
}
|
272 |
|