summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css4
-rwxr-xr-xthemes/luci-theme-rosy/htdocs/luci-static/rosy/js/script.js9
2 files changed, 2 insertions, 11 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 0b30ee3c46..6efafa3347 100644
--- a/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css
+++ b/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css
@@ -369,7 +369,6 @@ div>.table>.tbody>.tr:nth-of-type(2n) {
background-color: #9bc1cc;
border-radius: 20px;
overflow: hidden;
- border: none !important;
position: relative;
}
.cbi-progressbar div {
@@ -377,7 +376,8 @@ div>.table>.tbody>.tr:nth-of-type(2n) {
height: 20px;
border-radius: 20px;
}
-.cbi-progressbar samll {
+.cbi-progressbar::after {
+ content: attr(title);
position: absolute;
top: 0;
left: 0;
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 e8ba020609..9d9cc7a2f9 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
@@ -286,13 +286,4 @@
});
});
- $('<samll>').text($('.cbi-progressbar').attr('title')).appendTo('.cbi-progressbar');
- setInterval(function(){
- $('.cbi-progressbar').each(function(i, e){
- $(this).children("samll").text($(this).attr('title'));
- });
-
- }, 5000);
-
-
})(jQuery);