From: Jo-Philipp Wich Date: Tue, 9 Feb 2016 23:47:37 +0000 (+0100) Subject: luci-theme-openwrt: add some style fixes for interface badges X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=76041e7f996c8baf7468fa49bc90538fc2e3741a;p=project%2Fluci.git luci-theme-openwrt: add some style fixes for interface badges Signed-off-by: Jo-Philipp Wich --- 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 4a6877fa9..c5ee58fff 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 @@ -925,9 +925,19 @@ div.cbi-tab-descr { .ifacebadge { background-color: #FFFFFF; border: 1px solid #CCCCCC; - padding: 2px; + padding: 1px 2px; margin-left: 2px; display: inline-block; + cursor: default; + white-space: nowrap; + font-size: 11px; + border-radius: 3px; +} + +.ifacebadge img { + width: 16px; + height: 16px; + vertical-align: middle; } .ifacebadge-active {