Dungeonfire wrote:
Hey there. I was wondering if you could do the slider thing for highlight recent plays more like this :var daysAgo = 1;//days count hereThat way, for people using my or another dark/transparent CSS will see the highlighted plays as well. Thank you in advance
var css = "background:rgba(255,255,255,.2)!important";
var j = jQuery.noConflict();
if(j(".stylish").length > 0){j(".stylish").text(j(".stylish").text()+'.Z{'+css+'}');}
else{j('head').append(j.parseHTML('<style>.Z{'+css+'}</style>'));}
j('#leader').on('DOMNodeInserted', '.prof-beatmap', function () {
if((new Date(j(this).find(".timeago").attr("datetime"))).getTime()>=((new Date()).getTime()-(86400000*daysAgo))){j(this).addClass("Z");}
});
I fixed it inside my CSS finally. Shoutouts to Flipybitz.oneplusone wrote:
I will try to add that if I have the time.
If anyone else is using or developing a custom CSS that happens to be overwritten then you can paste this code at the very bottom of your CSS. (Keep in mind that you need to actually insert your color)
http://pastebin.com/kKUX7Sz0