r/Enhancement•
noroom

My contribution: Simpler styles for Uppers and Downers / Comment Live Preview

I love RES, but some things just don't fit in the Reddit style. This is what my config looks like.

Want it to look the same? It's easy. Just edit the js as follows:


Line 2000, comment it out:

//RESUtils.addCSS(".moo_ups { color:rgb(255, 139, 36); font-weight:bold; } .moo_downs { color:rgb(148,148,255); font-weight:bold; }");

Line 2082, add a plus sign:

openparen = document.createTextNode(" (+");

Line 2092, add a minus sign:

pipe = document.createTextNode("|-");

Line 5530, change color, remove the rounded borders:

RESUtils.addCSS('fieldset.liveComment, fieldset.liveComment legend { border: 1px solid grey; }'+

Warning: Line numbers may shift from version to version. The ones I reference here are for version 2.3.

Now, sadly that's where my js/css/html-fu ends. If someone could make these a preference in the Configure Module page for the respective modules, that would be amazing. That way I wouldn't have to keep hacking these in whenever there's a new release.

Enjoy!

Posted Nov 3, 2010, 3:31 PM UTC · edited

45
Loading comments…