Improve contrast for remaining analysis controls
Browse files
app.py
CHANGED
|
@@ -91,6 +91,12 @@ input[role="listbox"] {
|
|
| 91 |
color: #000000 !important;
|
| 92 |
-webkit-text-fill-color: #000000 !important;
|
| 93 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
ul.options,
|
| 95 |
ul.options .item,
|
| 96 |
ul.options [role="option"] {
|
|
@@ -233,15 +239,15 @@ def build_demo():
|
|
| 233 |
load_button = gr.Button("Load input set", variant="primary")
|
| 234 |
mapping_table = gr.Dataframe(headers=["reference", "uploaded basename", "status"], datatype=["str", "str", "str"], row_count=1, label="Referenced-file mapping", interactive=False)
|
| 235 |
with gr.Row():
|
| 236 |
-
manual_pos = gr.Dropdown([], label="Manual posfile assignment", allow_custom_value=False)
|
| 237 |
-
manual_mom = gr.Dropdown([], label="Manual momfile assignment", allow_custom_value=False)
|
| 238 |
-
manual_exchange = gr.Dropdown([], label="Manual exchange assignment", allow_custom_value=False)
|
| 239 |
load_status = gr.Markdown()
|
| 240 |
parsed_summary = gr.Markdown()
|
| 241 |
classification = gr.Dataframe(headers=["site", "atom_type", "moment (mu_B)", "role"], datatype=["number", "str", "number", "str"], type="array", row_count=1, label="Role preview (default: m < 0.5 渭B is induced)", interactive=False)
|
| 242 |
induced_site_toggle = gr.CheckboxGroup(choices=[], value=[], label="Induced sites (toggle)", info="Select induced sites explicitly. By default, sites with reference moment m < 0.5 渭B are selected; all other sites are robust.")
|
| 243 |
with gr.Row():
|
| 244 |
-
mesh_size = gr.Slider(4, 16, value=8, step=1, label="Seekpath points per segment", info="The exchange, response, dressed-exchange, and magnon plots use this high-symmetry path. The same value controls the auxiliary 3-D mesh used only for J_eff(r).")
|
| 245 |
analyze_button = gr.Button("Run analysis", variant="primary")
|
| 246 |
|
| 247 |
with gr.Tab("2 路 Raw exchange"):
|
|
|
|
| 91 |
color: #000000 !important;
|
| 92 |
-webkit-text-fill-color: #000000 !important;
|
| 93 |
}
|
| 94 |
+
.imx-light-field input[type="number"],
|
| 95 |
+
.imx-light-field .gradio-dropdown input,
|
| 96 |
+
.imx-light-field input[role="listbox"] {
|
| 97 |
+
color: #000000 !important;
|
| 98 |
+
-webkit-text-fill-color: #000000 !important;
|
| 99 |
+
}
|
| 100 |
ul.options,
|
| 101 |
ul.options .item,
|
| 102 |
ul.options [role="option"] {
|
|
|
|
| 239 |
load_button = gr.Button("Load input set", variant="primary")
|
| 240 |
mapping_table = gr.Dataframe(headers=["reference", "uploaded basename", "status"], datatype=["str", "str", "str"], row_count=1, label="Referenced-file mapping", interactive=False)
|
| 241 |
with gr.Row():
|
| 242 |
+
manual_pos = gr.Dropdown([], label="Manual posfile assignment", allow_custom_value=False, elem_classes=["imx-light-field"])
|
| 243 |
+
manual_mom = gr.Dropdown([], label="Manual momfile assignment", allow_custom_value=False, elem_classes=["imx-light-field"])
|
| 244 |
+
manual_exchange = gr.Dropdown([], label="Manual exchange assignment", allow_custom_value=False, elem_classes=["imx-light-field"])
|
| 245 |
load_status = gr.Markdown()
|
| 246 |
parsed_summary = gr.Markdown()
|
| 247 |
classification = gr.Dataframe(headers=["site", "atom_type", "moment (mu_B)", "role"], datatype=["number", "str", "number", "str"], type="array", row_count=1, label="Role preview (default: m < 0.5 渭B is induced)", interactive=False)
|
| 248 |
induced_site_toggle = gr.CheckboxGroup(choices=[], value=[], label="Induced sites (toggle)", info="Select induced sites explicitly. By default, sites with reference moment m < 0.5 渭B are selected; all other sites are robust.")
|
| 249 |
with gr.Row():
|
| 250 |
+
mesh_size = gr.Slider(4, 16, value=8, step=1, label="Seekpath points per segment", info="The exchange, response, dressed-exchange, and magnon plots use this high-symmetry path. The same value controls the auxiliary 3-D mesh used only for J_eff(r).", elem_classes=["imx-light-field"])
|
| 251 |
analyze_button = gr.Button("Run analysis", variant="primary")
|
| 252 |
|
| 253 |
with gr.Tab("2 路 Raw exchange"):
|