Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- 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 |
-
/*
|
| 887 |
-
background:
|
| 888 |
-
|
| 889 |
-
|
| 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(
|
| 900 |
-
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.
|
| 901 |
-
|
| 902 |
-
|
| 903 |
-
|
| 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 |
"""
|