Cheikh Niang commited on
Commit
194c6ce
·
verified ·
1 Parent(s): c0e4faa

Deploiement GuindiMa AI (interface Gradio)

Browse files
Files changed (1) hide show
  1. app.py +26 -2
app.py CHANGED
@@ -1368,18 +1368,41 @@ def _theme():
1368
  # #micro_guindima pour ne pas toucher les autres composants Audio.
1369
  CSS_GUINDIMA = r"""
1370
  #consigne_micro {
1371
- background: #E8F5EE;
 
 
 
1372
  border: 1px solid #C7E6D4;
1373
  border-left: 5px solid #00853F;
1374
  border-right: 5px solid #00853F;
1375
  border-radius: 10px;
1376
- color: #064E2B;
1377
  font-size: 18px;
1378
  font-weight: 700;
1379
  line-height: 1.35;
1380
  margin: 0 0 10px 0;
1381
  padding: 12px 14px;
1382
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1383
  #consigne_micro p { margin: 0; }
1384
 
1385
  #micro_guindima .mic-wrap,
@@ -1431,6 +1454,7 @@ CSS_GUINDIMA = r"""
1431
  align-self: center;
1432
  flex: 0 0 25%;
1433
  margin: 0 auto !important;
 
1434
  min-width: 120px;
1435
  width: 25%;
1436
  }
 
1368
  # #micro_guindima pour ne pas toucher les autres composants Audio.
1369
  CSS_GUINDIMA = r"""
1370
  #consigne_micro {
1371
+ --body-text-color: #064E2B !important;
1372
+ --block-label-text-color: #064E2B !important;
1373
+ --link-text-color: #064E2B !important;
1374
+ background: #E8F5EE !important;
1375
  border: 1px solid #C7E6D4;
1376
  border-left: 5px solid #00853F;
1377
  border-right: 5px solid #00853F;
1378
  border-radius: 10px;
 
1379
  font-size: 18px;
1380
  font-weight: 700;
1381
  line-height: 1.35;
1382
  margin: 0 0 10px 0;
1383
  padding: 12px 14px;
1384
  }
1385
+ .dark #consigne_micro {
1386
+ --body-text-color: #064E2B !important;
1387
+ --block-label-text-color: #064E2B !important;
1388
+ --link-text-color: #064E2B !important;
1389
+ }
1390
+ #consigne_micro,
1391
+ #consigne_micro p,
1392
+ #consigne_micro strong,
1393
+ #consigne_micro span,
1394
+ .dark #consigne_micro,
1395
+ .dark #consigne_micro p,
1396
+ .dark #consigne_micro strong,
1397
+ .dark #consigne_micro span {
1398
+ color: #064E2B !important;
1399
+ }
1400
+ #consigne_micro,
1401
+ #consigne_micro *,
1402
+ .dark #consigne_micro,
1403
+ .dark #consigne_micro * {
1404
+ color: #064E2B !important;
1405
+ }
1406
  #consigne_micro p { margin: 0; }
1407
 
1408
  #micro_guindima .mic-wrap,
 
1454
  align-self: center;
1455
  flex: 0 0 25%;
1456
  margin: 0 auto !important;
1457
+ margin-top: 14px !important;
1458
  min-width: 120px;
1459
  width: 25%;
1460
  }