neerajkalyank commited on
Commit
bdd3242
1 Parent(s): cd00d82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +52 -1
app.py CHANGED
@@ -124,6 +124,58 @@ with gr.Blocks() as app:
124
 
125
  # Custom Advanced CSS styling
126
  app.css = """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  /* Global styling */
128
  body {
129
  font-family: 'Arial', sans-serif;
@@ -242,5 +294,4 @@ body {
242
  }
243
  """
244
 
245
-
246
  app.launch()
 
124
 
125
  # Custom Advanced CSS styling
126
  app.css = """
127
+ /* Your existing global and element styling here */
128
+
129
+ body {
130
+ font-family: 'Arial', sans-serif;
131
+ background: url('./background.png') no-repeat center center fixed;
132
+ background-size: cover;
133
+ color: #f0f0f0;
134
+ }
135
+
136
+ .gradio-container {
137
+ max-width: 850px;
138
+ margin: 20px auto;
139
+ padding: 30px;
140
+ background: rgba(34, 34, 34, 0.85);
141
+ border-radius: 12px;
142
+ box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
143
+ }
144
+
145
+ /* Advanced styling for Test Categories and Available Tests checkboxes */
146
+ .gr-checkbox-group label {
147
+ display: inline-flex;
148
+ align-items: center;
149
+ padding: 10px 15px;
150
+ margin: 5px;
151
+ font-size: 0.9em;
152
+ font-weight: bold;
153
+ color: #f0f0f0;
154
+ background-color: #333;
155
+ border: 1px solid #555;
156
+ border-radius: 8px;
157
+ cursor: pointer;
158
+ transition: all 0.3s ease;
159
+ }
160
+
161
+ .gr-checkbox-group label:hover {
162
+ background-color: #444;
163
+ border-color: #ff9800;
164
+ color: #ff9800;
165
+ }
166
+
167
+ .gr-checkbox-group input[type="checkbox"]:checked + label {
168
+ background-color: #ff9800;
169
+ border-color: #ff9800;
170
+ color: #ffffff;
171
+ }
172
+
173
+ .gr-checkbox-group input[type="checkbox"] {
174
+ display: none;
175
+ }
176
+
177
+ /* Continue with the rest of your CSS */
178
+
179
  /* Global styling */
180
  body {
181
  font-family: 'Arial', sans-serif;
 
294
  }
295
  """
296
 
 
297
  app.launch()