Update app.py
Browse files
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:
|
12 |
padding: 10px;
|
13 |
border-radius: 5px;
|
14 |
-
border: 1px solid
|
15 |
}
|
16 |
.error {
|
17 |
-
background-color:
|
18 |
padding: 10px;
|
19 |
border-radius: 5px;
|
20 |
-
border: 1px solid
|
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)
|