-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.py
53 lines (52 loc) · 1.56 KB
/
style.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import streamlit as st
def apply_styles():
st.markdown("""
<style>
body {
background: linear-gradient(135deg, #c9eaf3, #e3f2fd);
font-family: 'Arial', sans-serif;
}
.glass-container {
background: rgba(255, 255, 255, 0.2);
border-radius: 15px;
padding: 20px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
margin-bottom: 20px;
}
.glass-container h1 {
color: #007acc;
text-align: center;
font-size: 2.5rem;
margin-bottom: 30px;
}
.glass-container input, .glass-container textarea {
width: 100%;
padding: 12px;
margin-top: 10px;
border-radius: 10px;
border: none;
background-color: rgba(255, 255, 255, 0.7);
}
.glass-container button {
background-color: #007acc;
color: white;
padding: 10px 20px;
border: none;
border-radius: 10px;
cursor: pointer;
margin-top: 20px;
font-size: 1.2rem;
transition: background-color 0.3s ease;
width: 100%;
}
.glass-container button:hover {
background-color: #005f99;
}
.data-preview {
margin-top: 20px;
}
</style>
""", unsafe_allow_html=True)