luci-theme: fix css for flash advanced settings
Fix themes for broken display of advanced button in the sysupgrade modal. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
parent
0f4f6e89f1
commit
be028dce56
3 changed files with 14 additions and 19 deletions
|
@ -1752,6 +1752,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
|
||||||
|
white-space: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-message .close {
|
.alert-message .close {
|
||||||
|
|
|
@ -189,7 +189,7 @@ button,
|
||||||
select,
|
select,
|
||||||
input,
|
input,
|
||||||
.cbi-dropdown {
|
.cbi-dropdown {
|
||||||
height: 1.8rem;
|
min-height: 1.8rem;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: rgba(0, 0, 0, .87);
|
color: rgba(0, 0, 0, .87);
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -1661,6 +1661,7 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
|
||||||
|
|
||||||
.modal ul {
|
.modal ul {
|
||||||
margin-left: 2.2em;
|
margin-left: 2.2em;
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal li {
|
.modal li {
|
||||||
|
@ -1673,23 +1674,20 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal .label {
|
.modal label.btn {
|
||||||
font-size: .6rem;
|
display: flex;
|
||||||
font-weight: normal;
|
align-items: center;
|
||||||
padding: .1rem .3rem;
|
white-space: normal;
|
||||||
padding-bottom: 0;
|
text-align: left;
|
||||||
cursor: default;
|
text-transform: none;
|
||||||
border-radius: 0;
|
padding-bottom: 0.2rem;
|
||||||
|
padding-top: 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal .label.warning {
|
.modal label.warning {
|
||||||
background-color: #f0ad4e !important;
|
background-color: #f0ad4e !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal .btn {
|
|
||||||
padding: .3rem .6rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal.cbi-modal {
|
.modal.cbi-modal {
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
max-height: none;
|
max-height: none;
|
||||||
|
@ -2124,11 +2122,7 @@ span[data-tooltip] .label {
|
||||||
|
|
||||||
label > input[type="checkbox"],
|
label > input[type="checkbox"],
|
||||||
label > input[type="radio"] {
|
label > input[type="radio"] {
|
||||||
position: relative;
|
margin-right: 0.8rem;
|
||||||
top: .4rem;
|
|
||||||
right: .2rem;
|
|
||||||
margin: 0;
|
|
||||||
vertical-align: bottom;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
label[data-index][data-depends] {
|
label[data-index][data-depends] {
|
||||||
|
|
|
@ -658,7 +658,7 @@ img.cbi-image-button {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
height: 22px;
|
min-height: 22px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
Loading…
Reference in a new issue