MrInvincible96 commited on
Commit
d7d485c
·
verified ·
1 Parent(s): 9c0af8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +30 -8
app.py CHANGED
@@ -33,6 +33,16 @@ body {
33
  color: #ffffff !important;
34
  margin-bottom: 12px;
35
  }
 
 
 
 
 
 
 
 
 
 
36
  .hero-subtitle {
37
  max-width: 860px;
38
  margin: 0;
@@ -252,16 +262,19 @@ button[role="tab"].selected {
252
  }
253
 
254
  /* 3. EXAMPLES LABEL ("Sample Business Scenarios") FIX */
 
 
 
 
255
  div.examples label,
256
  div.examples p,
257
- div.examples span,
258
- .examples > div > span,
259
- .examples .label-wrap {
260
  color: #000000 !important;
261
  font-weight: 700 !important;
 
262
  }
263
 
264
- /* 4. EXAMPLES BUTTONS & HOVER STATE FIX (For Gradio 4 Bubbles) */
265
  .examples button,
266
  .examples [role="button"],
267
  .examples .gallery-item {
@@ -270,7 +283,7 @@ div.examples span,
270
  border: 1px solid #ccd5de !important;
271
  }
272
 
273
- /* Force text inside the example buttons to stay black */
274
  .examples button *,
275
  .examples [role="button"] *,
276
  .examples .gallery-item * {
@@ -283,9 +296,18 @@ div.examples span,
283
  .examples .gallery-item:hover,
284
  .examples button.selected,
285
  .examples [aria-selected="true"] {
286
- background-color: #eef4f8 !important; /* Clean light blue hover */
287
- color: #000000 !important;
288
- border-color: #b8c7d4 !important;
 
 
 
 
 
 
 
 
 
289
  }
290
  """
291
 
 
33
  color: #ffffff !important;
34
  margin-bottom: 12px;
35
  }
36
+ .hero-title {
37
+ margin: 0 0 12px 0;
38
+ font-size: 2.5rem;
39
+ line-height: 1.08;
40
+ font-weight: 800;
41
+ letter-spacing: -0.02em;
42
+ color: #ffffff !important;
43
+ opacity: 1 !important;
44
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
45
+ }
46
  .hero-subtitle {
47
  max-width: 860px;
48
  margin: 0;
 
262
  }
263
 
264
  /* 3. EXAMPLES LABEL ("Sample Business Scenarios") FIX */
265
+ .examples > div:first-child,
266
+ .examples > div:first-child *,
267
+ .examples .label-wrap,
268
+ .examples .label-wrap *,
269
  div.examples label,
270
  div.examples p,
271
+ div.examples span {
 
 
272
  color: #000000 !important;
273
  font-weight: 700 !important;
274
+ opacity: 1 !important;
275
  }
276
 
277
+ /* 4. EXAMPLES BUTTONS & HOVER STATE FIX */
278
  .examples button,
279
  .examples [role="button"],
280
  .examples .gallery-item {
 
283
  border: 1px solid #ccd5de !important;
284
  }
285
 
286
+ /* Force text inside the un-hovered buttons to stay black */
287
  .examples button *,
288
  .examples [role="button"] *,
289
  .examples .gallery-item * {
 
296
  .examples .gallery-item:hover,
297
  .examples button.selected,
298
  .examples [aria-selected="true"] {
299
+ background-color: #173a59 !important; /* Dark blue background so white text pops */
300
+ color: #ffffff !important; /* White text */
301
+ border-color: #173a59 !important;
302
+ }
303
+
304
+ /* Force text inside the hovered/selected buttons to turn white */
305
+ .examples button:hover *,
306
+ .examples [role="button"]:hover *,
307
+ .examples .gallery-item:hover *,
308
+ .examples button.selected *,
309
+ .examples [aria-selected="true"] * {
310
+ color: #ffffff !important;
311
  }
312
  """
313