XRachel commited on
Commit
3c9347d
·
verified ·
1 Parent(s): 9484bac

Delete style.css

Browse files
Files changed (1) hide show
  1. style.css +0 -312
style.css DELETED
@@ -1,312 +0,0 @@
1
- /* --- Target the Gradio app wrapper for backgrounds --- */
2
- gradio-app,
3
- .gradio-app,
4
- .main,
5
- #app,
6
- [data-testid="app"] {
7
- background-color: rgb(40,9,109) !important;
8
- background-image: url("/file=Python_R.jpg") !important;
9
- background-position: center top !important;
10
- background-repeat: no-repeat !important;
11
- background-size: cover !important;
12
- min-height: 100vh !important;
13
- }
14
-
15
- /* --- Fallback on html/body --- */
16
- html, body {
17
- background-color: rgb(40,9,109) !important;
18
- margin: 0 !important;
19
- padding: 0 !important;
20
- min-height: 100vh !important;
21
- }
22
-
23
- /* --- Main container --- */
24
- .gradio-container {
25
- max-width: 1400px !important;
26
- width: 94vw !important;
27
- margin: 0 auto !important;
28
- padding-top: 220px !important;
29
- padding-bottom: 150px !important;
30
- background: transparent !important;
31
- }
32
-
33
- /* --- Title in ESCP gold --- */
34
- #escp_title h1 {
35
- color: rgb(242,198,55) !important;
36
- font-size: 3rem !important;
37
- font-weight: 800 !important;
38
- text-align: center !important;
39
- margin: 0 0 12px 0 !important;
40
- }
41
-
42
- /* --- Subtitle --- */
43
- #escp_title p, #escp_title em {
44
- color: rgba(255,255,255,0.85) !important;
45
- text-align: center !important;
46
- }
47
-
48
- /* --- Tab bar background --- */
49
- .tabs > .tab-nav,
50
- .tab-nav,
51
- div[role="tablist"],
52
- .svelte-tabs > .tab-nav {
53
- background: rgba(40,9,109,0.6) !important;
54
- border-radius: 10px 10px 0 0 !important;
55
- padding: 4px !important;
56
- }
57
-
58
- /* --- ALL tab buttons: force white text --- */
59
- .tabs > .tab-nav button,
60
- .tab-nav button,
61
- div[role="tablist"] button,
62
- button[role="tab"],
63
- .svelte-tabs button,
64
- .tab-nav > button,
65
- .tabs button {
66
- color: #ffffff !important;
67
- font-weight: 600 !important;
68
- border: none !important;
69
- background: transparent !important;
70
- padding: 10px 20px !important;
71
- border-radius: 8px 8px 0 0 !important;
72
- opacity: 1 !important;
73
- }
74
-
75
- /* --- Selected tab: ESCP gold --- */
76
- .tabs > .tab-nav button.selected,
77
- .tab-nav button.selected,
78
- button[role="tab"][aria-selected="true"],
79
- button[role="tab"].selected,
80
- div[role="tablist"] button[aria-selected="true"],
81
- .svelte-tabs button.selected {
82
- color: rgb(242,198,55) !important;
83
- background: rgba(255,255,255,0.12) !important;
84
- }
85
-
86
- /* --- Unselected tabs: ensure visibility --- */
87
- .tabs > .tab-nav button:not(.selected),
88
- .tab-nav button:not(.selected),
89
- button[role="tab"][aria-selected="false"],
90
- button[role="tab"]:not(.selected),
91
- div[role="tablist"] button:not([aria-selected="true"]) {
92
- color: #ffffff !important;
93
- opacity: 1 !important;
94
- }
95
-
96
- /* --- White card panels --- */
97
- .gradio-container .gr-block,
98
- .gradio-container .gr-box,
99
- .gradio-container .gr-panel,
100
- .gradio-container .gr-group {
101
- background: #ffffff !important;
102
- border-radius: 10px !important;
103
- }
104
-
105
- /* --- Tab content area --- */
106
- .tabitem {
107
- background: rgba(255,255,255,0.95) !important;
108
- border-radius: 0 0 10px 10px !important;
109
- padding: 16px !important;
110
- }
111
-
112
- /* --- Inputs --- */
113
- .gradio-container input,
114
- .gradio-container textarea,
115
- .gradio-container select {
116
- background: #ffffff !important;
117
- border: 1px solid #d1d5db !important;
118
- border-radius: 8px !important;
119
- }
120
-
121
- /* --- Buttons: ESCP purple primary --- */
122
- .gradio-container button:not([role="tab"]) {
123
- font-weight: 600 !important;
124
- padding: 10px 16px !important;
125
- border-radius: 10px !important;
126
- }
127
-
128
- button.primary {
129
- background-color: rgb(40,9,109) !important;
130
- color: #ffffff !important;
131
- border: none !important;
132
- }
133
-
134
- button.primary:hover {
135
- background-color: rgb(60,20,140) !important;
136
- }
137
-
138
- button.secondary {
139
- background-color: #ffffff !important;
140
- color: rgb(40,9,109) !important;
141
- border: 2px solid rgb(40,9,109) !important;
142
- }
143
-
144
- button.secondary:hover {
145
- background-color: rgb(240,238,250) !important;
146
- }
147
-
148
- /* --- Dataframes --- */
149
- [data-testid="dataframe"] {
150
- background-color: #ffffff !important;
151
- border-radius: 10px !important;
152
- }
153
-
154
- table {
155
- font-size: 0.85rem !important;
156
- }
157
-
158
- /* --- Chatbot (AI Dashboard tab) --- */
159
- .gr-chatbot {
160
- min-height: 380px !important;
161
- background-color: #ffffff !important;
162
- border-radius: 12px !important;
163
- }
164
-
165
- .gr-chatbot .message.user {
166
- background-color: rgb(232,225,250) !important;
167
- border-radius: 12px !important;
168
- }
169
-
170
- .gr-chatbot .message.bot {
171
- background-color: #f3f4f6 !important;
172
- border-radius: 12px !important;
173
- }
174
-
175
- /* --- Gallery --- */
176
- .gallery {
177
- background: #ffffff !important;
178
- border-radius: 10px !important;
179
- }
180
-
181
- /* --- Log textbox --- */
182
- textarea {
183
- font-family: monospace !important;
184
- font-size: 0.8rem !important;
185
- }
186
-
187
- /* --- Markdown headings inside tabs --- */
188
- .tabitem h3 {
189
- color: rgb(40,9,109) !important;
190
- font-weight: 700 !important;
191
- }
192
-
193
- .tabitem h4 {
194
- color: #374151 !important;
195
- }
196
-
197
- /* --- Examples row (AI Dashboard) --- */
198
- .examples-row button {
199
- background: rgb(240,238,250) !important;
200
- color: rgb(40,9,109) !important;
201
- border: 1px solid rgb(40,9,109) !important;
202
- border-radius: 8px !important;
203
- font-size: 0.85rem !important;
204
- }
205
-
206
- .examples-row button:hover {
207
- background: rgb(232,225,250) !important;
208
- }
209
-
210
- /* --- Header / footer: transparent over banner --- */
211
- header, header *,
212
- footer, footer * {
213
- background: transparent !important;
214
- box-shadow: none !important;
215
- }
216
-
217
- footer a, footer button,
218
- header a, header button {
219
- background: transparent !important;
220
- border: none !important;
221
- box-shadow: none !important;
222
- }
223
-
224
- #footer, #footer *,
225
- [class*="footer"], [class*="footer"] *,
226
- [class*="chip"], [class*="pill"], [class*="chip"] *, [class*="pill"] * {
227
- background: transparent !important;
228
- border: none !important;
229
- box-shadow: none !important;
230
- }
231
-
232
- [data-testid*="api"], [data-testid*="settings"],
233
- [id*="api"], [id*="settings"],
234
- [class*="api"], [class*="settings"],
235
- [class*="bottom"], [class*="toolbar"], [class*="controls"] {
236
- background: transparent !important;
237
- box-shadow: none !important;
238
- }
239
-
240
- [data-testid*="api"] *, [data-testid*="settings"] *,
241
- [id*="api"] *, [id*="settings"] *,
242
- [class*="api"] *, [class*="settings"] * {
243
- background: transparent !important;
244
- box-shadow: none !important;
245
- }
246
-
247
- section footer {
248
- background: transparent !important;
249
- }
250
-
251
- section footer button,
252
- section footer a {
253
- background: transparent !important;
254
- background-color: transparent !important;
255
- border: none !important;
256
- box-shadow: none !important;
257
- color: white !important;
258
- }
259
-
260
- section footer button:hover,
261
- section footer button:focus,
262
- section footer a:hover,
263
- section footer a:focus {
264
- background: transparent !important;
265
- background-color: transparent !important;
266
- box-shadow: none !important;
267
- }
268
-
269
- section footer button,
270
- section footer button * {
271
- background: transparent !important;
272
- background-color: transparent !important;
273
- background-image: none !important;
274
- box-shadow: none !important;
275
- filter: none !important;
276
- }
277
-
278
- section footer button::before,
279
- section footer button::after {
280
- background: transparent !important;
281
- background-color: transparent !important;
282
- background-image: none !important;
283
- box-shadow: none !important;
284
- filter: none !important;
285
- }
286
-
287
- section footer a,
288
- section footer a * {
289
- background: transparent !important;
290
- background-color: transparent !important;
291
- box-shadow: none !important;
292
- }
293
-
294
- .gradio-container footer button,
295
- .gradio-container footer button *,
296
- .gradio-container .footer button,
297
- .gradio-container .footer button * {
298
- background: transparent !important;
299
- background-color: transparent !important;
300
- background-image: none !important;
301
- box-shadow: none !important;
302
- }
303
-
304
- .gradio-container footer button::before,
305
- .gradio-container footer button::after,
306
- .gradio-container .footer button::before,
307
- .gradio-container .footer button::after {
308
- background: transparent !important;
309
- background-color: transparent !important;
310
- background-image: none !important;
311
- box-shadow: none !important;
312
- }