MBG0903 commited on
Commit
c8dea01
·
verified ·
1 Parent(s): 839ad24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +36 -1
app.py CHANGED
@@ -3,6 +3,41 @@ import secrets
3
  import string
4
  from datetime import datetime
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  # ----------------------------
7
  # In-memory stores (prototype)
8
  # ----------------------------
@@ -181,7 +216,7 @@ def reset_form():
181
  # ----------------------------
182
  # UI
183
  # ----------------------------
184
- with gr.Blocks(title="Hotel Self Check-In Prototype (Pre-Arrival / On-Arrival)") as demo:
185
  gr.Markdown(
186
  """
187
  # 🏨 Smart Self Check-In (Prototype)
 
3
  import string
4
  from datetime import datetime
5
 
6
+ PROCELEVATE_BLUE = "#0F2C59"
7
+
8
+ CUSTOM_CSS = f"""
9
+ /* Primary buttons */
10
+ .gr-button.gr-button-primary,
11
+ button.primary {{
12
+ background: {PROCELEVATE_BLUE} !important;
13
+ border-color: {PROCELEVATE_BLUE} !important;
14
+ color: white !important;
15
+ font-weight: 600 !important;
16
+ }}
17
+
18
+ .gr-button.gr-button-primary:hover,
19
+ button.primary:hover {{
20
+ filter: brightness(0.92);
21
+ }}
22
+
23
+ /* Tabs: selected tab underline + text */
24
+ button[data-testid="tab-button"][aria-selected="true"] {{
25
+ border-bottom: 3px solid {PROCELEVATE_BLUE} !important;
26
+ color: {PROCELEVATE_BLUE} !important;
27
+ font-weight: 700 !important;
28
+ }}
29
+
30
+ /* Progress / highlights */
31
+ a, .procelevate-accent {{
32
+ color: {PROCELEVATE_BLUE} !important;
33
+ }}
34
+
35
+ /* Subtle card borders */
36
+ .block, .gr-box, .gr-panel {{
37
+ border-radius: 14px !important;
38
+ }}
39
+ """
40
+
41
  # ----------------------------
42
  # In-memory stores (prototype)
43
  # ----------------------------
 
216
  # ----------------------------
217
  # UI
218
  # ----------------------------
219
+ with gr.Blocks(title="Hotel Self Check-In Prototype (Pre-Arrival / On-Arrival)", css=CUSTOM_CSS) as demo:
220
  gr.Markdown(
221
  """
222
  # 🏨 Smart Self Check-In (Prototype)