summaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-12-10 11:49:05 +0100
committerJo-Philipp Wich <jo@mein.io>2018-12-10 13:41:34 +0100
commit747e10bae6e9ec45e7d10f962c8c25ae804e97e7 (patch)
tree6263c40dc93e49163d992610987ff59c03b85c3c /themes
parent51dbb2756a6456ff705cdc0de42716693a7eac2c (diff)
luci-theme-openwrt: style tweaks
- Collapse table borders by default - Vertically align table cell content - Inherit font family and size for form widgets - Fix redundant horizontal padding for cell labels Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes')
-rw-r--r--themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css9
1 files changed, 5 insertions, 4 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 58065948f..ee8937d60 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
@@ -29,12 +29,12 @@ body {
box-sizing: border-box;
}
-.table { display: table; width: 100%; position: relative; }
+.table { display: table; width: 100%; position: relative; border-collapse: collapse; }
.tr { display: table-row; }
.thead { display: table-header-group; }
.tbody { display: table-row-group; }
.tfoot { display: table-footer-group; }
-.td, .th { display: table-cell; }
+.td, .th { display: table-cell; vertical-align: middle; }
.th { font-weight: bold; }
.table[width="33%"], .th[width="33%"], .td[width="33%"] { width: 33%; }
@@ -568,8 +568,9 @@ input[type=text],
input[type=password],
.cbi-dropdown {
width: 20em;
- font-size: 12px;
height: 22px;
+ font-family: inherit;
+ font-size: inherit;
}
select[multiple] {
@@ -945,7 +946,7 @@ div.cbi-optionals {
font-weight: bold;
text-align: left;
display: none;
- padding: 1px;
+ padding: 1px 0;
white-space: nowrap;
}