OK Charles,
That's right and it works muuuuuuch better :)
Here's my (very important ;) ) contribution :
in skins/default/main.css
line 221, add this just under the same thing without hover and bgcolor :
#mailboxlist li:hover
{
/* height: 18px; */
font-size: 11px;
background: url(images/icons/folder-closed.png) no-repeat;
background-position: 10px 1px;
background-color: #EBEBEB;
border-bottom: 1px solid #EBEBEB;
/* IE 5.5 margin-left: -16px; */
}
I hope it will be OK for you.
Mykeul
Sorry, I should have been clearer that I meant the color only, not the
functionality, which should be kept where Mykeul found it.
-Charles
Sjon wrote:
> I do not see how this core-behaviour would belong in a stylesheet. How
> about putting the onmouseover/onmouseout stuff in a javascript file and
> let that script add classes (like '.mouseover') dynamically using the
> DOM. Skins can then override these classes with custom styles.
>
> Charles McNulty wrote:
>> Hi Mykeul, you're certainly going in the right direction, but if you
>> want to put a little more work into this, can you see if you can
>> accomplish the same thing using roundcube's stylesheet? We want
>> people to be able to edit everything about the look (including the
>> color of the background when the mouse is over) using the stylesheets.
>>
>> -Charles
>>
>> Mykeul wrote:
>>> As Lotus Web Access is too complex for me, I tried to check the html
>>> functions of the "li" tag used is RC. If you change the bg color when
>>> the mouse is on a folder and putting back the original color when the
>>> mouse is out, it works even when drag and dropping.
>>> Here is a very little code to prove that. You will have to rewrite it
>>> to make it work well in RC because as of now it is OK but it erase
>>> the icons in the folder list :
>>>
>>> in : program/steps/mail/func.inc
>>> line 207 : out .= sprintf('<li id="rcmbx%s" class="mailbox %s
>>> %s%s%s"><a href="./#%s" onclick="return %s.command(\'list\',\'%s\')"
>>> onMouseOver=" this.style.background=\'#000000\'"
>>> onMouseOut="this.style.background=\'#ffffff\'" onmouseup="return
>>> %s.mbox_mouse_up(\'%s\')"%s>%s</a>',
>>>
>>> I just added
>>> onMouseOver="this.style.background=\'#000000\ '"
>>> onMouseOut="this.style.background=\'#ffffff\'"
>>>
>>> I hope it helps ...
>>>
>>> Bye,
>>>
>>> Mykeul
>>>
>>> On 2/21/06, *Mykeul* < myk3ul@gmail.com <mailto: myk3ul@gmail.com>>
>>> wrote:
>>>
>>> if someone is interested, Lotus Domino Web Access 6.54 has the
>>> highlighting-when-drag-n-droping functionnality. If there is no
>>> copyright on this part, I may paste you some bunchs of html code.
>>>
>>>
>>> On 2/21/06, *Thomas Bruederli* <roundcube@gmail.com
>>> <mailto:roundcube@gmail.com>> wrote:
>>>
>>> Kevin Landers wrote:
>>> > I know this does not resolve the lack of a "Move to Folder"
>>> menu, but
>>> > currently you can drag and drop mail from one folder to
>>> another. You may
>>> > even do multiple messages by using the shift/control click
>>> feature to
>>> > select multiple messages. Perhaps that will help you until
>>> such a menu
>>> > is implemented (if it is implemented).
>>>
>>> I don't think that it's necessary to have such a drop-down menu
>>> when we
>>> have drag & drop functionality.
>>> >
>>> > On the drag and drop feature, however, is there any chance
>>> that we could
>>> > highlight the folder we are moving messages to while moving
>>> the mouse
>>> > over a folder to dump messages to?
>>>
>>> It's on the ToDo list....
>>> >
>>> > Currently, if I select a message(s) and drag the mouse of the
>>> folder
>>> > list, I have no real "visible" validation that I am moving
>>> mail to the
>>> > folder I want. If folders could be highlighted as the
>>> mouse is
>>> moved
>>> > over each one, that would be nice.
>>> >
>>> > I was moving mail from trash to my inbox earlier and
>>> accidentally
>>> > dropped it in another folder.
>>> >
>>> > Thanks,
>>> > Kevin L.
>>>
>>> Regards,
>>> Thomas
>>> >
>>> > David Collantes wrote:
>>> > > Hi there all!
>>> > >
>>> > > Would it be possible to have a "Move to folder" drop menu
>>> somewhere on
>>> > > the message list window? I would like to be able to move
>>> multiple emails
>>> > > to a specific folder and that is now impossible.
>>> > >
>>> > > Thanks!
>>> > >
>>> > >
>>> >
>>>
>>>
>>>
>>>
>>
>>
>
>