Spaces:
Sleeping
Sleeping
Easter egg: bigger button, microscope emoji, more visible at rest
Browse files
app.py
CHANGED
|
@@ -229,16 +229,16 @@ div[data-testid="stPopover"] {
|
|
| 229 |
z-index: 9999;
|
| 230 |
}
|
| 231 |
div[data-testid="stPopover"] button {
|
| 232 |
-
opacity: 0.
|
| 233 |
transition: opacity 0.25s ease;
|
| 234 |
-
font-size:
|
| 235 |
color: #aaa;
|
| 236 |
border: none;
|
| 237 |
background: transparent;
|
| 238 |
-
padding: 4px
|
| 239 |
}
|
| 240 |
div[data-testid="stPopover"] button:hover {
|
| 241 |
-
opacity: 0.
|
| 242 |
}
|
| 243 |
</style>
|
| 244 |
""", unsafe_allow_html=True)
|
|
@@ -255,7 +255,7 @@ with title_col:
|
|
| 255 |
st.caption("Dual BERTweet model · type a social media post to classify it.")
|
| 256 |
|
| 257 |
with egg_col:
|
| 258 |
-
with st.popover("
|
| 259 |
st.markdown(ABOUT_MD)
|
| 260 |
|
| 261 |
|
|
|
|
| 229 |
z-index: 9999;
|
| 230 |
}
|
| 231 |
div[data-testid="stPopover"] button {
|
| 232 |
+
opacity: 0.22;
|
| 233 |
transition: opacity 0.25s ease;
|
| 234 |
+
font-size: 22px;
|
| 235 |
color: #aaa;
|
| 236 |
border: none;
|
| 237 |
background: transparent;
|
| 238 |
+
padding: 4px 10px;
|
| 239 |
}
|
| 240 |
div[data-testid="stPopover"] button:hover {
|
| 241 |
+
opacity: 0.75;
|
| 242 |
}
|
| 243 |
</style>
|
| 244 |
""", unsafe_allow_html=True)
|
|
|
|
| 255 |
st.caption("Dual BERTweet model · type a social media post to classify it.")
|
| 256 |
|
| 257 |
with egg_col:
|
| 258 |
+
with st.popover("🔬"):
|
| 259 |
st.markdown(ABOUT_MD)
|
| 260 |
|
| 261 |
|