summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-rosy/htdocs
diff options
context:
space:
mode:
authorYanlan Shen <yanlan.shen.@rosinson.com>2018-11-09 14:57:02 +0800
committerYanlan Shen <yanlan.shen.@rosinson.com>2018-11-09 15:06:52 +0800
commit6caf05eee2c68dd4d532159587cc4baf363eaff1 (patch)
tree3027f62756ee1e6b9711da7413003b38ec1670c3 /themes/luci-theme-rosy/htdocs
parenta4e4f935e0a48c913dcc4b91c6a0e599c52fc0cc (diff)
luci-theme-rosy: Bug fix for network-interfaces
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
Diffstat (limited to 'themes/luci-theme-rosy/htdocs')
-rw-r--r--themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css32
-rwxr-xr-xthemes/luci-theme-rosy/htdocs/luci-static/rosy/js/script.js1
2 files changed, 20 insertions, 13 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 f6ee728c1..0f835df4b 100644
--- a/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css
+++ b/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css
@@ -288,11 +288,11 @@ h4 {
overflow: hidden;
}
-.table > .tbody > .tr > .td,
-.table > .tbody > .tr > .th,
-.table > .tfoot > .tr > .td,
-.table > .tfoot > .tr > .th,
-.table > .thead > .tr > .td,
+.table > .tbody > .tr > .td,
+.table > .tbody > .tr > .th,
+.table > .tfoot > .tr > .td,
+.table > .tfoot > .tr > .th,
+.table > .thead > .tr > .td,
.table > .thead > .tr > .th {
padding: .5rem;
border-top: 1px solid #ddd;
@@ -341,8 +341,8 @@ div > .table > .tbody > .tr:nth-of-type(2n) {
background-color: #f9f9f9;
}
-.cbi-section .table #memtotal > div,
-.cbi-section .table #memfree > div,
+.cbi-section .table #memtotal > div,
+.cbi-section .table #memfree > div,
.cbi-section .table #membuff > div,
.cbi-section .table #conns > div {
border-radius: 20px;
@@ -351,8 +351,8 @@ div > .table > .tbody > .tr:nth-of-type(2n) {
background-color: #9bc1cc;
}
-.cbi-section .table #memtotal > div > div > div,
-.cbi-section .table #memfree > div > div > div,
+.cbi-section .table #memtotal > div > div > div,
+.cbi-section .table #memfree > div > div > div,
.cbi-section .table #membuff > div > div > div,
.cbi-section .table #conns > div > div > div {
color: #fff !important;
@@ -524,7 +524,7 @@ td > table > tbody > tr > td,
/* table */
.container > .tabs,
-.container > .tabs > li[class~="active"],
+.container > .tabs > li[class~="active"],
.container > .tabs > li:hover,
.container > .cbi-tabmenu,
.container > .cbi-tabmenu > li[class~="cbi-tab"],
@@ -645,6 +645,7 @@ td > table > tbody > tr > td,
}
.cbi-value {
+ padding: 6px 0;
display: inline-block;
width: 100%;
}
@@ -1510,6 +1511,9 @@ header > .container > .pull-right > * {
.node-network-network .cbi-rowstyle-2 .ifacebox-body {
background-color: #fff;
}
+.lang_zh-cnInterfaces .container .cbi-map .cbi-tabmenu + div {
+ overflow: inherit;
+}
/* fix Network Wireless*/
.node-network-wireless .cbi-section-node {
margin-bottom: 1rem;
@@ -1944,11 +1948,13 @@ footer {
/* Interface after login */
+.logged-in {
+ background-color: #EBF1F6;
+}
.logged-in header {
height: 70px;
}
.logged-in .main {
- background-color: #EBF1F6;
overflow: hidden;
}
.logged-in .main-right {
@@ -2249,7 +2255,7 @@ footer {
.table .tr.cbi-rowstyle-1:nth-child(n), .table .tr:nth-child(n) {
font-size: 12px;
}
- .node-network-firewall .table .tr.cbi-rowstyle-1:nth-child(n),
+ .node-network-firewall .table .tr.cbi-rowstyle-1:nth-child(n),
.node-network-firewall .table .tr:nth-child(n) {
border-radius: 20px;
overflow: hidden;
@@ -2274,7 +2280,7 @@ footer {
border-bottom: 1px solid rgba(0, 0, 0, .26);
}
- .node-status-processes .table .tr.cbi-rowstyle-1:nth-child(n),
+ .node-status-processes .table .tr.cbi-rowstyle-1:nth-child(n),
.node-status-processes .table .tr:nth-child(n) {
border-radius: 20px;
}
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 b50bc1798..11d3cd68a 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
@@ -268,5 +268,6 @@
$('.logged-in .main-right').width( $(window).width() - $('.logged-in .main-left').width() - 50 );
}
+ $('body.logged-in').css('min-height', $(window).height());
})(jQuery);