byte-vortex commited on
Commit
c8b7b66
·
verified ·
1 Parent(s): 101de84

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. ui/styles.py +11 -22
ui/styles.py CHANGED
@@ -880,33 +880,22 @@ div.gradio-html { background: transparent !important; }
880
  position: absolute;
881
  top: 1.5rem;
882
  left: 1.5rem;
883
- z-index: 10;
884
  max-width: 320px;
 
885
 
886
- /* Clean Navy Blue Gradient */
887
- background: linear-gradient(
888
- 135deg,
889
- rgba(15, 32, 67, 0.65) 0%, /* Rich Deep Navy */
890
- rgba(27, 49, 93, 0.45) 100% /* Slightly lighter Midnight Blue */
891
- ) !important;
892
-
893
- /* Frosted Glass Effect */
894
- backdrop-filter: blur(8px) !important;
895
- -webkit-backdrop-filter: blur(8px) !important;
896
 
897
  padding: 1.2rem;
898
  border-radius: 12px;
899
- border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Soft white border for contrast */
900
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
901
- }
902
-
903
- /* Force ALL text inside the card to be crisp white */
904
- #narrative-card,
905
- #narrative-card p,
906
- #narrative-card span,
907
- #narrative-card sub,
908
- #narrative-card * {
909
- color: #ffffff !important;
910
  }
911
 
912
  """
 
880
  position: absolute;
881
  top: 1.5rem;
882
  left: 1.5rem;
883
+ z-index: 10; /* Forces text to sit on top of the HTML animation */
884
  max-width: 320px;
885
+ color: #ffffff; /* Ensures text remains readable */
886
 
887
+ /* Green tone starting at 0 opacity */
888
+ background: rgba(46, 204, 113, 0);
889
+ backdrop-filter: blur(8px);
890
+ -webkit-backdrop-filter: blur(8px);
 
 
 
 
 
 
891
 
892
  padding: 1.2rem;
893
  border-radius: 12px;
894
+ border: 1px solid rgba(46, 204, 113, 0.2); /* Subtle green border */
895
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
896
+
897
+ /* Smooth transition effect for the hover state */
898
+ transition: background 0.3s ease, border-color 0.3s ease;
 
 
 
 
 
 
899
  }
900
 
901
  """