luci-theme-rosy: fix issue on header and footer compatibility

Signed-off-by: YanlanShen <yanlan.Shen@rosinson.com>
This commit is contained in:
YanlanShen 2019-04-07 17:51:20 +08:00 committed by Rosy Song
parent 1b2c0fd0fa
commit f5209f378e

View file

@ -2268,6 +2268,10 @@ input[name="nslookup"] {
width: 1170px;
}
.login-info.node-main-login .main {
padding: 0 15px;
}
.login-info.node-main-login header {
display: block;
}
@ -2632,10 +2636,6 @@ input[name="nslookup"] {
font-size: .7rem;
}
#modal_overlay {
top: 3.5rem;
}
[data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table) {
display: block;
}
@ -2653,7 +2653,7 @@ input[name="nslookup"] {
@media screen and (max-width: 992px) {
.login-info.node-main-login header .container,
.login-info.node-main-login .main .container {
.login-info.node-main-login .main {
width: 970px;
}
}
@ -2721,6 +2721,10 @@ input[name="nslookup"] {
width: 30px;
}
.login-info.node-main-login header .showSide {
display: none;
}
.showSide::before {
content: '';
display: inline-block;
@ -2931,14 +2935,18 @@ input[name="nslookup"] {
}
.login-info.node-main-login header .container,
.login-info.node-main-login .main .container {
.login-info.node-main-login .main {
width: 750px;
}
}
@media screen and (max-width: 768px) {
.login-info.node-main-login header {
padding: 0 15px;
}
.login-info.node-main-login header .container,
.login-info.node-main-login .main .container {
.login-info.node-main-login .main {
width: 100%;
}
}
@ -2959,10 +2967,6 @@ input[name="nslookup"] {
padding: 1rem;
}
.tabs {
margin: 0 -1rem;
}
.main-left .nav-container {
width: 70%;
}