mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Add: CSS for readonly field
This commit is contained in:
parent
0ffdbd2913
commit
e2eae52e87
@ -135,6 +135,11 @@ label {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.form-control[readonly] {
|
||||
pointer-events: none;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: unset;
|
||||
}
|
||||
|
||||
@ -176,7 +176,6 @@ class ConfigGenerator:
|
||||
if isinstance(v, dict):
|
||||
deep_default(v, keys='type', value='hide')
|
||||
for arg_k, arg_v in v.items():
|
||||
print(p + [arg_k], arg_v)
|
||||
deep_set(data, keys=p + [arg_k], value=arg_v)
|
||||
else:
|
||||
deep_set(data, keys=p + ['value'], value=v)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user