修复 显示/隐藏 密码按钮样式

This commit is contained in:
Bard 2023-05-27 18:37:37 +08:00 committed by GitHub
parent 214e16482f
commit bc35bc65d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1848,11 +1848,13 @@ td > table > tbody > tr > td,
.cbi-value input[type="password"] { .cbi-value input[type="password"] {
min-width: 18rem; min-width: 18rem;
} }
.cbi-value input[type="text"],
.cbi-value input[type="password"] { .cbi-value input[type="password"] {
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
border-top-right-radius: 0; border-top-right-radius: 0;
margin-right: 0; margin-right: 0;
} }
.cbi-value input[type="text"] + .cbi-button-neutral,
.cbi-value input[type="password"] + .cbi-button-neutral { .cbi-value input[type="password"] + .cbi-button-neutral {
height: 42px; height: 42px;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
@ -1860,7 +1862,6 @@ td > table > tbody > tr > td,
margin-left: 0; margin-left: 0;
border: 0; border: 0;
} }
#cbi-firewall-zone .cbi-input-select,#cbi-network-switch_vlan .cbi-input-select { #cbi-firewall-zone .cbi-input-select,#cbi-network-switch_vlan .cbi-input-select {
min-width: 11rem min-width: 11rem
} }
@ -3374,18 +3375,6 @@ pre.command-output {
width: 12rem; width: 12rem;
padding-right: 1rem; padding-right: 1rem;
} }
.cbi-value-field .cbi-dropdown,
.cbi-value-field .cbi-input-select,
.cbi-value input[type="text"] {
width: 16rem;
min-width: 16rem;
}
/*.cbi-value input[type="password"],*/
.cbi-value input[name^="pw"],
.cbi-value input[data-update="change"]:nth-child(2) {
width: 13rem !important;
min-width: 13rem;
}
#diag-rc-output > pre, #diag-rc-output > pre,
#command-rc-output > pre, #command-rc-output > pre,
[data-page="admin-services-wol"] .notice code { [data-page="admin-services-wol"] .notice code {