This happens not at, e.g.
/admin/structure/types/manage//fields
but at e.g.
http://head.dev/admin/structure/types/manage/

Will investigate at a later point, but wanted to post it in case anyone else has observed this, etc.

Hope this isn't already reported, but I *did* search...

CommentFileSizeAuthor
#8 seven_tab.patch573 bytesjames.elliott
manage fields.png28.5 KBtstoeckler

Comments

yched’s picture

The paths were garbled in the OP ?

Off hand, I'm not sure I see how that's a bug in field_ui.

tstoeckler’s picture

Oh yeah, that's correct. Anyways, when you're on the
/admin/structure/types/manage/article/fields
page or the same page for any other content type, and click on any link. You'll see that the tab is messed up.
That covers field settings, field instance settings, widget select, deletion.

field_ui.module was just a guess. Maybe it's even Seven theme. Don't know.

yched’s picture

I cannot reproduce, actually.
Win FF 3.6 here.

Although there *is* a difference in the markup for the tab
On /admin/structure/types/manage/article/fields, the <li> and the <a> tags both have the 'active' class
On the subpages, only the <li> is 'active', not the <a> - which is expected behavior.

So I'd call that a Seven bug in [fill in your browser] :-)

yched’s picture

Component: field_ui.module » Seven theme

Oddly enough, I could reproduce the bug on my 1st visit to admin/appearance/settings/seven
but everything back to normal if I reload the page...

tstoeckler’s picture

Yeah, you're right. I get it there too, so nothing to do with Field UI.
It doesn't disappear for me on a reload, though.
Are the ones on the Field UI pages gone then for you too?
If yes, maybe it's just something with my setup. (Weird though, it's a pretty fresh install, and clearing caches doesn't help either)

cosmicdreams’s picture

Hmm........ I can't seem to be able to reproduce this bug. Maybe another patch as resolved it?

james.elliott’s picture

StatusFileSize
new573 bytes

There seems to be a problem with the reset.css file being more specific than style.css

reset.css selects the following on line 122
ul.primary li.active a,

And then style.css adds padding to the active tab with the following selectors starting on line 292

ul.primary li a,
ul.primary li a.active,
ul.primary li a:active,
ul.primary li a:visited,
ul.primary li a:hover

The reset.css selector is more specific than the ul.primary li a in style.css which is the one that is applicable in this circumstance, therefore the padding gets set to 0.

This patch adds ul.primary li.active a to the list of selectors starting on line 292 so that the padding is applied correctly.

aspilicious’s picture

Status: Active » Needs review
cosmicdreams’s picture

while I still can't reproduce this bug I don't see anything wrong with the simple addition of this patch.

webchick’s picture

Oops. I accidentally committed this as part of #684610: IE BUG 2: No table-striping in Seven..

webchick’s picture

Status: Needs review » Fixed
seutje’s picture

well, it was pretty much RTBC as far as I'm concerned anyway

Status: Fixed » Closed (fixed)

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