diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-05 18:38:25 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-14 20:46:04 +0100 |
commit | fa391e4f96b5d81a86d8be4891b717cd029c4f13 (patch) | |
tree | 0f2abd4325bfc740ef3b46cf819f6ec419c1c213 /themes/luci-theme-openwrt/htdocs | |
parent | 13e2cce2d95ec79c45c7026b593764c9a34b048c (diff) |
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>
Diffstat (limited to 'themes/luci-theme-openwrt/htdocs')
-rw-r--r-- | themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css index 06ffe56e5..f24493c99 100644 --- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -620,10 +620,7 @@ img.cbi-image-button { color: #595; } -.cbi-input-invalid { - background-image: url('../resources/cbi/reset.gif'); - background-repeat: no-repeat; - background-position: right; +.cbi-input-invalid:not([open]) { color: #FF0000 !important; border-color: #FF0000; } @@ -1044,7 +1041,6 @@ ul.cbi-tabmenu li.cbi-tab { flex-direction: column; justify-content: center; text-align: center; - line-height: 2em; padding: 0 .25em; } |