diff options
author | yglb <39110824+yglb@users.noreply.github.com> | 2019-04-07 17:15:14 +0800 |
---|---|---|
committer | Rosy Song <rosysong@rosinson.com> | 2019-04-07 17:43:32 +0800 |
commit | 1b2c0fd0fa44ae701fd887ee4598942246211cc4 (patch) | |
tree | b9aa5b381bc7351e78e359c2468928c5ae09137c /themes/luci-theme-rosy/htdocs/luci-static | |
parent | 533a39a6634cb84945054947061217581ea26883 (diff) |
luci-theme-rosy: fix view for rosy-file-server packages
Signed-off-by: YanlanShen <yanlan.Shen@rosinson.com>
Diffstat (limited to 'themes/luci-theme-rosy/htdocs/luci-static')
-rw-r--r-- | themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css | 51 | ||||
-rwxr-xr-x | themes/luci-theme-rosy/htdocs/luci-static/rosy/js/script.js | 4 |
2 files changed, 54 insertions, 1 deletions
diff --git a/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css b/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css index 517f8a364..b8b97ea57 100644 --- a/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css +++ b/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css @@ -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; @@ -2620,6 +2652,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) { diff --git a/themes/luci-theme-rosy/htdocs/luci-static/rosy/js/script.js b/themes/luci-theme-rosy/htdocs/luci-static/rosy/js/script.js index 7f5f1ad0b..886e175cc 100755 --- a/themes/luci-theme-rosy/htdocs/luci-static/rosy/js/script.js +++ b/themes/luci-theme-rosy/htdocs/luci-static/rosy/js/script.js @@ -273,7 +273,9 @@ thisParent.removeClass('op-eye'); $(this).prev().attr('type', 'password'); } - + }); + $('#cbi-network-switch_vlan .table').wrap('#vlan_table'); + })(window, jQuery); |