I have weird behavior on my Firefox 3.0.6 (Iceweasel, actually) here. The first block has proper mouseover (background turns blue) but all the other blocks don't have the same luck and do not change when moused over.

Adrian couldn't reproduce on Safari or Firefox on Mac OS X, so this may be linux (Debian lenny) specific.

Comments

yhahn’s picture

Assigned: Unassigned » yhahn

So the issue here is that the first block (the navigation block) has a markup structure where I can know reliably that the inner elements of the block lists will be links, e.g.

<ul class='menu'>
  <li><a ... ></li>
  <li><a ... ></li>
  <li><a ... ></li>
</ul>

This is the case since the menu rendering of Drupal will always generate links inside of ul.menu's.

On the other hand, the other blocks (Aegir summary blocks) are generating markup through theme_list_item which may have links as their content but may not. Given this situation, I can't quite add the same hover behavior as the padding / background styling must apply to the li, not the a element.

Let me know if this makes any sense at all. One way to address this issue would be on the markup side of things (have the Aegir summary block use theme_links() maybe?) so that I can style accordingly : )

anarcat’s picture

I guess that the mouseover must happen only on the <a> tags... I guess we could fix the blocks to use theme_list(), would that fix the problem for you?

anarcat’s picture

Priority: Normal » Minor

Besides, now that #454662: make links underlined on mouseover got in, there's a little more interactivity out there... Downgrading this.

gr8cms’s picture

please note that in a html code, for some elements you can set same class but you can not set same id. if you do this, only first element is recognize.

steven jones’s picture

Status: Active » Closed (cannot reproduce)

Really don't know what this issue is about, feel free to re-open with more details if you do!