From 6ab3771e9dec7db46f22bcf975acc8e37e4af250 Mon Sep 17 00:00:00 2001 From: shunjou Date: Wed, 30 Jan 2019 11:14:38 -0500 Subject: [PATCH] luci-theme-material: fix firewall table style Signed-off-by: Shun Jou --- .../htdocs/luci-static/material/cascade.css | 27 ++++++------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index a61ab7824..db5304b43 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -692,6 +692,8 @@ h5 { .cbi-section, .cbi-section-error, +#iptables, +.Firewall form, #cbi-network > .cbi-section-node, #cbi-wireless > .cbi-section-node, #cbi-wireless > #wifi_assoclist_table, @@ -2281,16 +2283,12 @@ input[name="nslookup"] { /* firewall */ #iptables { - font-family: inherit; - font-weight: normal; - font-style: normal; - line-height: 1; - min-width: inherit; - margin: 0 0 2rem 0; - padding: 2rem; - border: 0; - border-radius: 0; - background-color: #fff; + margin: 0; +} + +.Firewall form { + padding: 0; + box-shadow: none; } #cbi-firewall-redirect table *, @@ -2623,7 +2621,6 @@ input[name="nslookup"] { .tr.placeholder > .td, #cbi-firewall .tr > .td, - #iptables .tr:nth-child(2) > .td, #cbi-network .tr:nth-child(2) > .td, .cbi-section #wifi_assoclist_table .tr > .td { border-top: 0; @@ -2717,17 +2714,9 @@ input[name="nslookup"] { } .Firewall form { - font-family: inherit; - font-weight: normal; - font-style: normal; - line-height: normal; position: static !important; - min-width: inherit; margin: 0 0 2rem 0; padding: 2rem; - border: 0; - border-radius: 0; - background-color: #fff; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); } -- 2.25.1