euracle commited on
Commit
b53ef32
·
verified ·
1 Parent(s): 07f33fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -11
app.py CHANGED
@@ -82,21 +82,22 @@ st.markdown("""
82
 
83
  st.markdown("""
84
  <style>
85
- .css-1d391kg { /* Sidebar style */
86
- background-color: #163832 !important;
87
- padding: 1rem;
88
  }
89
 
90
- .css-1d391kg .stTextArea {
91
- background-color: #2fab1a !important;
92
- border-radius: 10px;
93
- margin-bottom: 10px;
 
 
94
  }
95
 
96
- /* Sidebar text color */
97
- .css-1d391kg .stMarkdown,
98
- .css-1d391kg .stText,
99
- .css-1d391kg .stTitle {
100
  color: white !important;
101
  }
102
  </style>
 
82
 
83
  st.markdown("""
84
  <style>
85
+ /* Sidebar styling */
86
+ [data-testid="stSidebar"] {
87
+ background-color: #2fab1a !important;
88
  }
89
 
90
+ /* Sidebar content styling */
91
+ [data-testid="stSidebar"] .stMarkdown,
92
+ [data-testid="stSidebar"] .stText,
93
+ [data-testid="stSidebar"] .stTitle,
94
+ [data-testid="stSidebar"] label {
95
+ color: white !important;
96
  }
97
 
98
+ /* Ensure text areas in sidebar maintain styling */
99
+ [data-testid="stSidebar"] .stTextArea textarea {
100
+ background-color: #2fab1a !important;
 
101
  color: white !important;
102
  }
103
  </style>