Roundcube Community Forum

Themes & Styling => Theme Releases => Topic started by: utopist on January 30, 2013, 03:37:24 AM

Title: [solved] Larry Theme - Always show minimal topline
Post by: utopist on January 30, 2013, 03:37:24 AM
Hi guys,

after looking a little bit on the Larry skin, I would like to always start the window in the "minimal" view mode, suprressing the "about" line completely.

I have seen that when clicking on the top right arrow, the style of the body - tag is set to "minimal".
What is the best way to always insert this and where do I need to change the code?

Thanks for your help and keep up the excellent work!
Christian
Title: Re: Larry Theme - Always show minimal topline
Post by: JohnDoh on January 30, 2013, 08:37:29 AM
change this line:

Code: [Select]
var minmode = rcmail.get_cookie('minimalmode'); from here https://github.com/roundcube/roundcubemail/blob/master/skins/larry/ui.js#L48

to

Code: [Select]
var minmode = 1;
Title: Re: Larry Theme - Always show minimal topline
Post by: utopist on February 05, 2013, 03:27:26 AM
Thanks! Worked!