Update app.py
Browse files
app.py
CHANGED
@@ -59,11 +59,22 @@ CSS_CUSTOM = """
|
|
59 |
input, textarea { color: #fff !important; }
|
60 |
input::placeholder, textarea::placeholder { color: #ddd !important; }
|
61 |
label { color: #fff !important; }
|
62 |
-
|
|
|
|
|
|
|
63 |
outline: none !important;
|
64 |
box-shadow: none !important;
|
65 |
-
border-color: #888 !important;
|
66 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
"""
|
68 |
|
69 |
with gr.Blocks(theme="lone17/kotaemon", css=CSS_CUSTOM) as demo:
|
@@ -125,8 +136,8 @@ with gr.Blocks(theme="lone17/kotaemon", css=CSS_CUSTOM) as demo:
|
|
125 |
galeria = gr.Gallery(
|
126 |
label="📁 Elige una imagen de ejemplo",
|
127 |
value=[img for img, _ in example_imgs],
|
128 |
-
columns=
|
129 |
-
height="
|
130 |
allow_preview=True,
|
131 |
show_label=True,
|
132 |
elem_id="galeria-scroll",
|
|
|
59 |
input, textarea { color: #fff !important; }
|
60 |
input::placeholder, textarea::placeholder { color: #ddd !important; }
|
61 |
label { color: #fff !important; }
|
62 |
+
|
63 |
+
.gr-text-input:focus-within,
|
64 |
+
.gr-text-area:focus-within,
|
65 |
+
.gr-input:focus-within {
|
66 |
outline: none !important;
|
67 |
box-shadow: none !important;
|
68 |
+
border-color: #888 !important; /* gris neutro opcional */
|
69 |
}
|
70 |
+
|
71 |
+
/* Por si quedaba algo en el propio input/textarea */
|
72 |
+
input:focus, textarea:focus,
|
73 |
+
input:focus-visible, textarea:focus-visible {
|
74 |
+
outline: none !important;
|
75 |
+
box-shadow: none !important;
|
76 |
+
border-color: #888 !important;
|
77 |
+
|
78 |
"""
|
79 |
|
80 |
with gr.Blocks(theme="lone17/kotaemon", css=CSS_CUSTOM) as demo:
|
|
|
136 |
galeria = gr.Gallery(
|
137 |
label="📁 Elige una imagen de ejemplo",
|
138 |
value=[img for img, _ in example_imgs],
|
139 |
+
columns=3,
|
140 |
+
height="300px",
|
141 |
allow_preview=True,
|
142 |
show_label=True,
|
143 |
elem_id="galeria-scroll",
|