DSatishchandra commited on
Commit
bb6c9d7
·
verified ·
1 Parent(s): 63ada1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,15 +8,15 @@ from datetime import datetime
8
  # Set page config as the first Streamlit command
9
  st.set_page_config(page_title="Vedavathi Smart Pole Monitoring", layout="wide")
10
 
11
- # Inject CSS for blinking red dots
12
  st.markdown("""
13
  <style>
14
  .blinking-red {
15
- animation: pulse 1.5s infinite;
16
  }
17
  @keyframes pulse {
18
  0% { opacity: 1; transform: scale(1); }
19
- 50% { opacity: 0.5; transform: scale(1.2); }
20
  100% { opacity: 1; transform: scale(1); }
21
  }
22
  </style>
 
8
  # Set page config as the first Streamlit command
9
  st.set_page_config(page_title="Vedavathi Smart Pole Monitoring", layout="wide")
10
 
11
+ # Inject CSS for blinking red dots with enhanced animation
12
  st.markdown("""
13
  <style>
14
  .blinking-red {
15
+ animation: pulse 1s infinite;
16
  }
17
  @keyframes pulse {
18
  0% { opacity: 1; transform: scale(1); }
19
+ 50% { opacity: 0.3; transform: scale(1.3); }
20
  100% { opacity: 1; transform: scale(1); }
21
  }
22
  </style>