Merge pull request #2491 from shunjou/material-firewall-tables

luci-theme-material: fix firewall table style
This commit is contained in:
Jo-Philipp Wich 2019-01-30 17:34:38 +01:00 committed by GitHub
commit 4b873ddf84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -692,6 +692,8 @@ h5 {
.cbi-section, .cbi-section,
.cbi-section-error, .cbi-section-error,
#iptables,
.Firewall form,
#cbi-network > .cbi-section-node, #cbi-network > .cbi-section-node,
#cbi-wireless > .cbi-section-node, #cbi-wireless > .cbi-section-node,
#cbi-wireless > #wifi_assoclist_table, #cbi-wireless > #wifi_assoclist_table,
@ -2281,16 +2283,12 @@ input[name="nslookup"] {
/* firewall */ /* firewall */
#iptables { #iptables {
font-family: inherit; margin: 0;
font-weight: normal; }
font-style: normal;
line-height: 1; .Firewall form {
min-width: inherit; padding: 0;
margin: 0 0 2rem 0; box-shadow: none;
padding: 2rem;
border: 0;
border-radius: 0;
background-color: #fff;
} }
#cbi-firewall-redirect table *, #cbi-firewall-redirect table *,
@ -2623,7 +2621,6 @@ input[name="nslookup"] {
.tr.placeholder > .td, .tr.placeholder > .td,
#cbi-firewall .tr > .td, #cbi-firewall .tr > .td,
#iptables .tr:nth-child(2) > .td,
#cbi-network .tr:nth-child(2) > .td, #cbi-network .tr:nth-child(2) > .td,
.cbi-section #wifi_assoclist_table .tr > .td { .cbi-section #wifi_assoclist_table .tr > .td {
border-top: 0; border-top: 0;
@ -2717,17 +2714,9 @@ input[name="nslookup"] {
} }
.Firewall form { .Firewall form {
font-family: inherit;
font-weight: normal;
font-style: normal;
line-height: normal;
position: static !important; position: static !important;
min-width: inherit;
margin: 0 0 2rem 0; margin: 0 0 2rem 0;
padding: 2rem; 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); box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
} }