From 76041e7f996c8baf7468fa49bc90538fc2e3741a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 10 Feb 2016 00:47:37 +0100 Subject: [PATCH] luci-theme-openwrt: add some style fixes for interface badges Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/openwrt.org/cascade.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 { -- 2.11.0