encratite / RiotControl

An elaborate statistics tracking system for League of Legends. It used to be a centralised PostgreSQL based system but now it's a stand-alone SQLite application. It was written in C# and makes use of the LibOfLegends RTMP library. It is licensed under the terms of the GPLv3. Unfortunately I stopped working on it in 2013-08. Check out the website for a longer explanation.
http://riot.cont.ro.lt/
GNU General Public License v3.0
33 stars 15 forks source link

Stylesheet based support of themes #36

Open encratite opened 12 years ago

encratite commented 12 years ago

Users should be able to choose from a list of themes that then load different stylesheets from the central server. This could be a small dropdown menu in the top left corner or something like that. The last sylesheet used could then be stored in a cookie to introduce client-side state that lasts beyond one session.

This would require editing the current DOM objects produced by the LeagueOfLegends.js script as it produces an <img> for the logo while it should really implement this using CSS. This requires the hard-coding of an image file in the stylesheet but there's no way around this. Could be done by making it a <div> tag that uses that background-image, I suppose.

I would rename the current theme to something like "classic". New themes I envision are a League of Legends site based theme, which should possibly become the new standard theme to appeal to a greater audience. Another theme I am envisioning is some kind of retro monospace font thing that makes the entire page look like a C64 or something along those lines.