Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
16 |
}
|
17 |
@keyframes pulse {
|
18 |
0% { opacity: 1; transform: scale(1); }
|
19 |
-
50% { opacity: 0.
|
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>
|