luci-theme-openwrt: dropdown style tweaks
- Remove 2em min height, this looks out of place with the OpenWrt theme - Only colorize invalid dropdown when not open - Drop use of image background for invalid fields while we're at it Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
13e2cce2d9
commit
fa391e4f96
1 changed files with 1 additions and 5 deletions
|
@ -620,10 +620,7 @@ img.cbi-image-button {
|
||||||
color: #595;
|
color: #595;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-input-invalid {
|
.cbi-input-invalid:not([open]) {
|
||||||
background-image: url('../resources/cbi/reset.gif');
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: right;
|
|
||||||
color: #FF0000 !important;
|
color: #FF0000 !important;
|
||||||
border-color: #FF0000;
|
border-color: #FF0000;
|
||||||
}
|
}
|
||||||
|
@ -1044,7 +1041,6 @@ ul.cbi-tabmenu li.cbi-tab {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 2em;
|
|
||||||
padding: 0 .25em;
|
padding: 0 .25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue