timagonch commited on
Commit
541189f
·
1 Parent(s): fad4f7c

Easter egg: bigger button, microscope emoji, more visible at rest

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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.08;
233
  transition: opacity 0.25s ease;
234
- font-size: 13px;
235
  color: #aaa;
236
  border: none;
237
  background: transparent;
238
- padding: 4px 8px;
239
  }
240
  div[data-testid="stPopover"] button:hover {
241
- opacity: 0.6;
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