Gizra / public_education

http://gizra.github.io/public_education/
2 stars 1 forks source link

add 'koc' class on body tag for custom css features #158

Closed mushon closed 10 years ago

mushon commented 10 years ago

I would like to use slightly different stylings for the Koc University display, right now I do it by explicitly targeting the 1080x1920px resolution of the portrait screen we use there but I would rather prefer to do it through a custom koc class on the body tag. I would suggest toggle the class on and off by clicking shift + k. But I'm open to other ideas too.

What do you suggest?

amitaibu commented 10 years ago

Instead lets use query string ?koc=1

amitaibu commented 10 years ago

Is this for all pages, or just the main page?

mushon commented 10 years ago

for all pages

Mushon Zer-Aviv Mushon.com (http://Mushon.com) | Shual.com (http://Shual.com) | @Mushon (http://twitter.com/mushon)

On Thursday, November 7, 2013 at 8:21 AM, Amitai Burstein wrote:

Is this for all pages, or just the main page?

— Reply to this email directly or view it on GitHub (https://github.com/Gizra/public_education/issues/158#issuecomment-27940349).

amitaibu commented 10 years ago

this can't be on the body tag, it needs to be on a wrapper for every angular page by itself.

amitaibu commented 10 years ago

@ceoaliongroo

Add a toggle-class router, to enables/ disables from localStorage classes from config.json

redirect back to main.

mushon commented 10 years ago

actually it is only relevant in main and in play-marker, so hopefully that makes things easier.