Prometech Computer Sciences Corp commited on
Commit
780cd80
·
verified ·
1 Parent(s): a03e367

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +38 -0
app.py CHANGED
@@ -488,6 +488,44 @@ html, body {
488
  textarea, input, .gr-textbox, .gr-textbox * {
489
  overflow: hidden !important;
490
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
491
  </style>
492
  """
493
 
 
488
  textarea, input, .gr-textbox, .gr-textbox * {
489
  overflow: hidden !important;
490
  }
491
+ /* Firefox (uncomment to work in Firefox, although other properties will not work!) */
492
+ /** {
493
+ scrollbar-width: thin;
494
+ scrollbar-color: #397524 #202222;
495
+ }*/
496
+
497
+ /* Chrome, Edge and Safari */
498
+ *::-webkit-scrollbar {
499
+ height: 10px;
500
+ width: 10px;
501
+ }
502
+ *::-webkit-scrollbar-track {
503
+ border-radius: 5px;
504
+ background-color: #202222;
505
+ }
506
+
507
+ *::-webkit-scrollbar-track:hover {
508
+ background-color: #7C8283;
509
+ }
510
+
511
+ *::-webkit-scrollbar-track:active {
512
+ background-color: #B8C0C2;
513
+ }
514
+
515
+ *::-webkit-scrollbar-thumb {
516
+ border-radius: 5px;
517
+ background-color: #397524;
518
+ border: 1px solid var(--terminal-glow);
519
+ box-shadow: 0 0 10px var(--terminal-glow);
520
+ }
521
+
522
+ *::-webkit-scrollbar-thumb:hover {
523
+ background-color: #62A34B;
524
+ }
525
+
526
+ *::-webkit-scrollbar-thumb:active {
527
+ background-color: #62A34B;
528
+ }
529
  </style>
530
  """
531