luci-theme-openwrt: add some style fixes for interface badges
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 9 Feb 2016 23:47:37 +0000 (00:47 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 9 Feb 2016 23:47:37 +0000 (00:47 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css

index 4a6877fa98ecc6b289a6df65bea6324684f8b508..c5ee58fff72d56bddb74698cf272c2e123e33462 100644 (file)
@@ -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 {