luci-theme-bootstrap: add new utility class for table valign, minor tweaks
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 20 Jan 2016 15:59:00 +0000 (16:59 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 20 Jan 2016 15:59:06 +0000 (16:59 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index e587178..1d23748 100644 (file)
@@ -1792,6 +1792,10 @@ table.cbi-section-table td.cbi-section-table-cell select {
        width: inherit;
 }
 
+table.valign-middle td {
+       vertical-align: middle;
+}
+
 .cbi-value-description { display: inline; }
 
 .cbi-value-description img { vertical-align: middle; }
@@ -1862,6 +1866,13 @@ table.cbi-section-table td.cbi-section-table-cell select {
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
        -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+       cursor: default;
+}
+
+.ifacebadge img {
+       width: 16px;
+       height: 16px;
+       vertical-align: middle;
 }
 
 .ifacebadge-active {