Eg http://drupal.org/node/42597
Top left block, 'views documentation'. blue text on blue background because it's a link.

Comments

dww’s picture

Yeah, that is a bug. It seems like it's the Book navigation block, although for some of those the links become black instead of dark blue. I quickly looked through the d.o theme to see if I could find where the links are made black for this, but it wasn't obvious, nor was it clear why it was only happening on some blocks and not all. I'll leave this issue for someone more familiar with the innards of bluebeach.

dww’s picture

Oh, duh, I get it. It's black when you're looking at the top-level page in a book, such that the title of the book navigation block is pointing to the current page, and therefore, that link has the active class. Yeah, this is just a crappy design decision in bluebeach generally to use the same color for block headers as links. Should be a relatively straightforward fix.

One possibility -- for block titles that are links, keep them white, but keep the a:hover { text-decoration: underline; } so people know they're links if they mouse over them.

Something like:

.block h2 a {
  color: #fff;
}

should be all we need. any objections?

gábor hojtsy’s picture

Status: Active » Fixed

@dww: good plan! I've committed and deployed the fix. Cleared the theme cache by submitting the themes admin page. Now works nicely.

gábor hojtsy’s picture

Hm, this looks cool in Firefox but does not look right still in Safari. It is still blue on blue. This is strange to say the least.

gábor hojtsy’s picture

Status: Fixed » Active
joachim’s picture

Safari 3.1, OS X 10.4.something -- works for me.

joachim’s picture

Ah....

It's a :visited problem.
The new rule still gets overridden by:


#content a:visited, .sidebar a:visited {289b944f...07a73.css (line 1)
color:#0062A0;
}

dww’s picture

Assigned: Unassigned » dww
Status: Active » Fixed

Deployed a fix so the style now reads like:

.block h2 a, .block h2 a:visited {
  color: #fff;
}

cleared the CSS cache and it's now working.

Status: Fixed » Closed (fixed)
Issue tags: -drupal.org upgrade

Automatically closed -- issue fixed for 2 weeks with no activity.

Project: Drupal.org infrastructure » Bluecheese
Component: Drupal.org theme » Miscellaneous