summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-01-30 17:34:38 +0100
committerGitHub <noreply@github.com>2019-01-30 17:34:38 +0100
commit4b873ddf84f9623501d5074a5e8253d2be3c40fb (patch)
tree40c940115b337d7416a21aa8bc63fb779e839743
parent766643fcf18b5710462b88adeabe5e4706ed09cf (diff)
parent6ab3771e9dec7db46f22bcf975acc8e37e4af250 (diff)
Merge pull request #2491 from shunjou/material-firewall-tables
luci-theme-material: fix firewall table style
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css27
1 files 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 a61ab78246..db5304b430 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);
}