rimasalshehri commited on
Commit
10a51a6
·
verified ·
1 Parent(s): 65dcd2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -6,6 +6,7 @@ import requests
6
  # Set page configuration (must be the first Streamlit command)
7
  st.set_page_config(page_title="Ticket System", layout="centered", initial_sidebar_state="expanded")
8
 
 
9
  # Apply custom CSS for design
10
  st.markdown(
11
  """
@@ -21,11 +22,22 @@ st.markdown(
21
  th, td { border: 1px solid #084C3C; text-align: left; padding: 10px; color: #084C3C; }
22
  th { background-color: #7FDB8B; }
23
  tr:nth-child(even) { background-color: #f9f9f9; }
 
 
 
 
 
 
 
 
 
 
24
  </style>
25
  """,
26
  unsafe_allow_html=True
27
  )
28
 
 
29
  # Sample user data for login
30
  users = {
31
  "manager123": {"password": "managerpass", "role": "Manager"},
 
6
  # Set page configuration (must be the first Streamlit command)
7
  st.set_page_config(page_title="Ticket System", layout="centered", initial_sidebar_state="expanded")
8
 
9
+ # Apply custom CSS for design
10
  # Apply custom CSS for design
11
  st.markdown(
12
  """
 
22
  th, td { border: 1px solid #084C3C; text-align: left; padding: 10px; color: #084C3C; }
23
  th { background-color: #7FDB8B; }
24
  tr:nth-child(even) { background-color: #f9f9f9; }
25
+
26
+ /* Dark green text for specific labels */
27
+ label[for="Customer ID"], label[for="First Name"], label[for="Last Name"],
28
+ label[for="National ID / Residency Number"], label[for="Email"],
29
+ label[for="Phone Number"], label[for="Ticket Type"],
30
+ label[for="Describe your issue/request"],
31
+ div[data-testid="stMarkdownContainer"] h2,
32
+ div[data-testid="stMarkdownContainer"] p {
33
+ color: #084C3C !important;
34
+ }
35
  </style>
36
  """,
37
  unsafe_allow_html=True
38
  )
39
 
40
+
41
  # Sample user data for login
42
  users = {
43
  "manager123": {"password": "managerpass", "role": "Manager"},