mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-17 04:05:36 +08:00
Add: CSS for readonly field
This commit is contained in:
@@ -135,6 +135,11 @@ label {
|
|||||||
height: auto !important;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-control[readonly] {
|
||||||
|
pointer-events: none;
|
||||||
|
border-bottom-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.form-control:focus {
|
.form-control:focus {
|
||||||
border-color: unset;
|
border-color: unset;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -176,7 +176,6 @@ class ConfigGenerator:
|
|||||||
if isinstance(v, dict):
|
if isinstance(v, dict):
|
||||||
deep_default(v, keys='type', value='hide')
|
deep_default(v, keys='type', value='hide')
|
||||||
for arg_k, arg_v in v.items():
|
for arg_k, arg_v in v.items():
|
||||||
print(p + [arg_k], arg_v)
|
|
||||||
deep_set(data, keys=p + [arg_k], value=arg_v)
|
deep_set(data, keys=p + [arg_k], value=arg_v)
|
||||||
else:
|
else:
|
||||||
deep_set(data, keys=p + ['value'], value=v)
|
deep_set(data, keys=p + ['value'], value=v)
|
||||||
|
|||||||
Reference in New Issue
Block a user