M17idd commited on
Commit
1104400
·
verified ·
1 Parent(s): abcff12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -27
app.py CHANGED
@@ -70,66 +70,65 @@ demo = gr.Interface(
70
  description="🔰 اطلاعات خام عملیات را وارد کن تا سامانه توانا یک گزارش رسمی، حرفه‌ای و محرمانه تولید کند.",
71
  css="""
72
  body {
73
- background-color: #cad6c6 !important; /* سبز ارتشی تیره */
74
- color: #d7ccda !important;
75
  font-family: 'Vazir', sans-serif;
76
  direction: rtl;
77
  }
78
-
79
  .gradio-container {
80
- background-color: #cad6c6 !important;
81
  }
82
-
83
  label {
84
- font-size: 20px !important;
85
- color: #cad6c6 !important; /* رنگ طلایی برای دکمه‌ها و متون */
86
  font-weight: bold;
87
  }
88
-
89
  #military-input textarea, #military-output textarea {
90
- background-color: #3E4B39 !important; /* رنگ سبز تیره برای ورودی‌ها */
91
  color: #FFFFFF !important;
92
- border: 1px solid #A5AC57 !important; /* رنگ مرز دکمه‌ها */
93
  }
94
-
95
  .gr-button {
96
- background-color: #cad6c6 !important; /* سبز ارتشی */
97
  color: #FFFFFF !important;
98
- border-radius: 8px;
99
- font-size: 16px;
100
- padding: 12px;
 
101
  }
102
-
103
  .gr-button:hover {
104
- background-color: #6A9F3D !important; /* سبز روشن‌تر برای Hover */
 
105
  }
106
-
107
  .gradio-footer {
108
- background-color: #3A513B !important;
109
  color: #FFFFFF !important;
 
 
110
  }
111
 
112
  .gradio-title {
113
  color: #FFD700 !important; /* رنگ طلایی برای عنوان */
114
- font-size: 24px;
115
  font-weight: bold;
116
  text-align: center;
 
117
  }
118
-
119
  .gradio-description {
120
  color: #B0B0B0 !important;
121
- font-size: 18px;
122
  text-align: center;
 
123
  }
124
-
125
  .gr-textbox input[type="text"], .gr-textbox textarea {
126
- background-color: #2F3B2A !important;
127
  color: #FFFFFF !important;
128
- border: 1px solid #A5AC57 !important;
 
129
  }
130
-
131
  .gr-textbox input[type="text"]:focus, .gr-textbox textarea:focus {
132
- border-color: #FFD700 !important;
 
133
  }
134
  """,
135
  submit_btn="🎯 تولید گزارش",
 
70
  description="🔰 اطلاعات خام عملیات را وارد کن تا سامانه توانا یک گزارش رسمی، حرفه‌ای و محرمانه تولید کند.",
71
  css="""
72
  body {
73
+ background-color: #212121 !important; /* خاکستری تیره */
74
+ color: #E0E0E0 !important;
75
  font-family: 'Vazir', sans-serif;
76
  direction: rtl;
77
  }
 
78
  .gradio-container {
79
+ background-color: #212121 !important;
80
  }
 
81
  label {
82
+ font-size: 22px !important;
83
+ color: #FFD700 !important; /* طلایی برای دکمه‌ها و متون */
84
  font-weight: bold;
85
  }
 
86
  #military-input textarea, #military-output textarea {
87
+ background-color: #2E2E2E !important; /* خاکستری تیره */
88
  color: #FFFFFF !important;
89
+ border: 2px solid #FFD700 !important; /* رنگ مرز طلایی */
90
  }
 
91
  .gr-button {
92
+ background-color: #FF6F00 !important; /* نارنجی ملایم */
93
  color: #FFFFFF !important;
94
+ border-radius: 12px;
95
+ font-size: 18px;
96
+ padding: 14px;
97
+ transition: all 0.3s ease;
98
  }
 
99
  .gr-button:hover {
100
+ background-color: #FF9800 !important; /* نارنجی روشن‌تر برای Hover */
101
+ transform: scale(1.05);
102
  }
 
103
  .gradio-footer {
104
+ background-color: #2C2C2C !important;
105
  color: #FFFFFF !important;
106
+ padding: 10px;
107
+ text-align: center;
108
  }
109
 
110
  .gradio-title {
111
  color: #FFD700 !important; /* رنگ طلایی برای عنوان */
112
+ font-size: 28px;
113
  font-weight: bold;
114
  text-align: center;
115
+ letter-spacing: 2px;
116
  }
 
117
  .gradio-description {
118
  color: #B0B0B0 !important;
119
+ font-size: 20px;
120
  text-align: center;
121
+ margin-bottom: 20px;
122
  }
 
123
  .gr-textbox input[type="text"], .gr-textbox textarea {
124
+ background-color: #2C2C2C !important;
125
  color: #FFFFFF !important;
126
+ border: 2px solid #FFD700 !important;
127
+ font-size: 16px;
128
  }
 
129
  .gr-textbox input[type="text"]:focus, .gr-textbox textarea:focus {
130
+ border-color: #FF6F00 !important;
131
+ outline: none;
132
  }
133
  """,
134
  submit_btn="🎯 تولید گزارش",