skanaujiya commited on
Commit
4eb488d
·
verified ·
1 Parent(s): 1941bd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -4,20 +4,20 @@ import subprocess
4
  # Set page configuration
5
  st.set_page_config(page_title="Advanced Terminal Emulator", layout="wide")
6
 
7
- # Custom CSS for output and error background colors
8
  st.markdown("""
9
  <style>
10
  .output {
11
- background-color: #d4edda; /* Green background for output */
12
  padding: 10px;
13
  border-radius: 5px;
14
- border: 1px solid #c3e6cb;
15
  }
16
  .error {
17
- background-color: #f8d7da; /* Red background for error */
18
  padding: 10px;
19
  border-radius: 5px;
20
- border: 1px solid #f5c6cb;
21
  }
22
  </style>
23
  """, unsafe_allow_html=True)
 
4
  # Set page configuration
5
  st.set_page_config(page_title="Advanced Terminal Emulator", layout="wide")
6
 
7
+ # Custom CSS for output and error background colors with transparency
8
  st.markdown("""
9
  <style>
10
  .output {
11
+ background-color: rgba(76, 175, 80, 0.2); /* Light green with transparency for output */
12
  padding: 10px;
13
  border-radius: 5px;
14
+ border: 1px solid rgba(76, 175, 80, 0.5); /* Semi-transparent green border */
15
  }
16
  .error {
17
+ background-color: rgba(244, 67, 54, 0.2); /* Light red with transparency for error */
18
  padding: 10px;
19
  border-radius: 5px;
20
+ border: 1px solid rgba(244, 67, 54, 0.5); /* Semi-transparent red border */
21
  }
22
  </style>
23
  """, unsafe_allow_html=True)