luci-theme-rosy: fix view for rosy-file-server packages

Signed-off-by: YanlanShen <yanlan.Shen@rosinson.com>
This commit is contained in:
yglb 2019-04-07 17:15:14 +08:00 committed by Rosy Song
parent 533a39a663
commit 1b2c0fd0fa
2 changed files with 54 additions and 1 deletions

View file

@ -2258,6 +2258,38 @@ input[name="nslookup"] {
margin: 5rem 1rem 1rem;
}
/* rosy file server */
.login-info.node-main-login{
background-color: #ebf1f6;
}
.login-info.node-main-login header .container,
.login-info.node-main-login .main {
width: 1170px;
}
.login-info.node-main-login header {
display: block;
}
.login-info.node-main-login header .container {
margin: 1rem auto 0;
height: 3rem;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 50px;
line-height: 44px;
}
.login-info.node-main-login .label.logout {
background-color: #f24b7c;
}
.login-info.node-main-login .label.logout a {
color: #fff;
text-decoration: none;
}
/* node main login */
.login-info .main {
margin: 0 auto;
@ -2619,6 +2651,13 @@ input[name="nslookup"] {
}
}
@media screen and (max-width: 992px) {
.login-info.node-main-login header .container,
.login-info.node-main-login .main .container {
width: 970px;
}
}
@media screen and (max-width: 992px) {
.login .main-right {
background: #354057;
@ -2890,6 +2929,18 @@ input[name="nslookup"] {
.logged-in .main-left .navbar-container:hover {
scrollbar-face-color: #839dd67a;
}
.login-info.node-main-login header .container,
.login-info.node-main-login .main .container {
width: 750px;
}
}
@media screen and (max-width: 768px) {
.login-info.node-main-login header .container,
.login-info.node-main-login .main .container {
width: 100%;
}
}
@media screen and (max-width: 600px) {

View file

@ -273,7 +273,9 @@
thisParent.removeClass('op-eye');
$(this).prev().attr('type', 'password');
}
});
$('#cbi-network-switch_vlan .table').wrap('#vlan_table');
})(window, jQuery);