Roundcube Community Forum

 

The New MobileMe "MobileCube"

Started by phireware, December 28, 2009, 02:52:16 PM

Previous topic - Next topic

internalkernel

Thanks for a great theme... This really brought RoundCube to life, the shades of white in the default theme have always kind of bugged me.

There's only one little thing I've been trying to change... I'd like the folder list font to be regular (not bold), and folders with unread messages become bolded. I've figured out how to change the size of the font (and the padding - I have a large folder list).

Maybe this is harder than I imagine? I've managed to stumble around the mail.css so far... but if you have any advice for how to make a change like that - I'd be happy to do it myself...

~ Also noticed that the subject line of unread messages is not bolded either, is this a known issue? The date and from fields are.

Thanks again...

DClark

I am glad you like the theme, me and phireware have put alot of effort into improving on the original theme started by kreal.

Quote from: internalkernel;25652There's only one little thing I've been trying to change... I'd like the folder list font to be regular (not bold), and folders with unread messages become bolded.

The only thing I can suggest at the moment is check the default theme, if it can do what you want with the folders, then the functionality is in roundcube and can be added easily to this theme. If the default theme can't do it then maybe roundcube doesn't support it at the moment.

Quote from: internalkernel;25652~ Also noticed that the subject line of unread messages is not bolded either, is this a known issue? The date and from fields are.

This is a bug that just hasn't been noticed before, somethings can stare you right in the face for so long that you can tend to forget it's there.

Thank you for noticing, it will be fixed in the next release.

If you make any changes to improve the theme, please will you upload your changes as it will benefit everyone, just make sure the changes work in safari 4 and firefox 3 latest builds before uploading.

internalkernel

First... my disclaimer. I don't _know_ css or really any theme language, although I've managed to fumble around enough to figure a work around for what I needed.

The unread messages didn't seem to stand out enough for me... The default theme makes use of the bolding statements, and from comparing I noticed that Mobile Cube does as well. So, I'm not sure what the difference is... Perhaps it's the font that MobileCube is using...

At any rate, I simply added:

#mailboxlist li.unread {
        font-weight: bold;
        height: 22px;
        background: url("images/icons/unread.png") center right no-repeat;
}


the above statement already exists, I just added the background image. Seems to work fine in Chrome and Firefox, I don't have access to Safari. But considering that it's a pretty minor modification... should be fine.

Thanks again for the work...

phireware

I will look into the subject line not bolding. I did notice that earlier but didn't try to fix it. Bolding the folder list will be different and I'm not sure if it's possible. I can at least look though. By the way how do you like the new "calendar" setup? Haven't gotten much feedback on the calendar part.

internalkernel

From the looks of it, the bolding text in the folder list may be a bit more difficult. Although you'd probably be better at it than I, if I had to describe my code - I'd call it duct tape... I don't seem to make fixes, more like kludges... ;)

Quote from: phireware;25659By the way how do you like the new "calendar" setup? Haven't gotten much feedback on the calendar part.

I don't use the calendar in Roundcube, but the work you did on it was a vast improvement. At least you implemented a month view and an iCal export. I liked the categories as well - a bit more work and you might give omnifocus a run for their money :D

Of course, these days people all expect ical syncing and exporting. I tend towards Feng Office for my collaboration suite, so RoundCube works perfect in that it is "just" a mail client.  

~~
Noticed something else today... I use SieveRules and SAuserprefs plugins they usually show up in the settings list - underneath Folders, would be Filters, Spam. I'm trying to compare the default settings.css and yours to see if I can find a difference... maybe I'll find a kludge in a bit.

Thanks!

ABerglund

I'll echo the lack of other plugins in the Settings page. We use both Password and Vacation, neither are available in MobileCube.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

DClark

Quote from: internalkernel;25652Also noticed that the subject line of unread messages is not bolded either, is this a known issue? The date and from fields are.

To fix the above all you need to do is open up mail.css find the following section


#messagelist tr.unread
{
  font-weight: bold;
  background-color: #FFFFFF;
}


and change it to


#messagelist tr.unread,
#messagelist tr.unread td a
{
  font-weight: bold;
  background-color: #FFFFFF;
}


this will make it bold the subject title when it is unread. I didn't think it required everyone to re-download the code again.

Regarding the plugins not showing up on the settings page, this is due to the plugin.html code from the default theme not being included in the theme at this moment.

I had noticed, but don't really use any plugins so it was at the bottom of the list to fix but should be easy to include.

DClark

Quote from: internalkernel;25657First... my disclaimer. I don't _know_ css or really any theme language, although I've managed to fumble around enough to figure a work around for what I needed.

Don't worry too much about not knowing much css or code, I hadn't written any css before starting this project.

The best way to learn is by reading online what each bit of css code does, and then changing it bit by bit to see what the changes were.

phireware

I've added that small CSS fix into the code DClark, If I could download the plugins that don't work I can see what's wrong with them. What are the plugins?

internalkernel

Quote from: DClark;25665The best way to learn is by reading online what each bit of css code does, and then changing it bit by bit to see what the changes were.

That's my approach with most things... read, break, fix. On that note... I had to make some adjustments to my unread flag.

Original:
#mailboxlist li.unread {
        font-weight: bold;
}

My adjustments:
#mailboxlist li.unread > a,
#mailboxlist li.droptarget li.unread {
        font-weight: bold;
        height: 22px;
        background:  url("images/icons/unread1.png") center right no-repeat;
}

I found that I needed to add that droptarget selector otherwise it would destroy the threaded folder list whenever a top level folder had a new message. Seems to work fine now... Just adds the unread icon to the right side of the folder column.

internalkernel

Quote from: phireware;25667I've added that small CSS fix into the code DClark, If I could download the plugins that don't work I can see what's wrong with them. What are the plugins?

The plugins I know of are SAuserprefs, Password, SieveRules - the sieverules and SA User Prefs are JohnDoh's plugins located here:

RoundCube Plugins & Patches

I believe the password plugin is part of the common plugin trunk...

ABerglund

Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

phireware

#72
Please try this... I call it 3.1.0 because of allowing plugin support for all plugins. It is still very much BETA as I just threw it together. But try it out and let me know please. Thanks.

Download:
Beta will/should be up on sourceforge shortly... It is  in folder 3.1.0 Beta - Build #xx.xx.xx.x

internalkernel

Quote from: phireware;25671Please try this... I call it 3.1.0 because of allowing plugin support for all plugins. It is still very much BETA as I just threw it together. But try it out and let me know please. Thanks.

Thanks for the quick turn around! The tabs show up, and here's some screen shots. I think it just has to do with the fact that the css styles for those plugins are formatted to have tabs on top - so they position all the way to the left - killing the tab field your css creates.

The first screen shot is the pasword plugin, the text entry fields position way to the right - I can only see them when my browser is maximized, they don't show up in the screen shot at all. The second is the Spam Assassin User prefs plugin... the filters plugin is very similar.

phireware

Quote from: internalkernel;25674Thanks for the quick turn around! The tabs show up, and here's some screen shots. I think it just has to do with the fact that the css styles for those plugins are formatted to have tabs on top - so they position all the way to the left - killing the tab field your css creates.

The first screen shot is the pasword plugin, the text entry fields position way to the right - I can only see them when my browser is maximized, they don't show up in the screen shot at all. The second is the Spam Assassin User prefs plugin... the filters plugin is very similar.

I'll look into it some more when I'm home. At least the plugins show up now! That's a start!

Posted via Mobile Device