Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jeff Burnz’s picture

Possible fix, needs review and testing (tested in IE7, FF3.6, Chrome).

Another possibility and perhaps more simple is to use a background image and position it (like Garland does).

Jeff Burnz’s picture

Status: Active » Needs review

set status, doh...

Jeff Burnz’s picture

Bumpity bump - languishing for a few weeks now, anyone up for a review?

Jacine’s picture

Status: Needs review » Needs work
FileSize
29.71 KB

The problem with this is that is looks crappy when the background is not white. See screenshot. Maybe the background image would be better?

Also, this patch is changing the background color for the fieldset from #fbfbfb to #fafafa, and then the legend is #fff... Typo?

Jeff Burnz’s picture

Typo? Probably, I cant remember, its was written in about 30 seconds as proof of concept patch.

I'll put some more thought into it, I have a few ideas for taking the whole fieldset styling up another notch.

Jeff Burnz’s picture

Assigned: Unassigned » Jeff Burnz
Issue tags: +IE
Jeff Burnz’s picture

Status: Needs work » Needs review
FileSize
55.89 KB
3.19 KB

Well heres a different approach altogether - heavy styling of the legend and fieldsets.

This won't work so well in RTL in IE because it relys on there being an ie-rtl.css file, which I have already submitted a patch for tabs #784312: Tabs in IE need love, especially RTL that demands this file also (frankly we need it anyway, its going to be useful).

Screeny shows a bunch of various fieldsets + legends, if we go this route I think we need to replace the arrows with white ones.

bartik_fieldset-makeover_v1.jpg

tlattimore’s picture

Wow Jeff, this is really good work in #7! Massive improvement over the previous look of the legends in my opinion. Definitely would like to get some more eyes on this, and possible get this committed soon.

I have taking it through some testing in IE6-8 and every looks like it functioning as it should be, a really great look.

Keep up the awesome work.

Jeff Burnz’s picture

Assigned: Jeff Burnz » Unassigned

Unassigned - on vacation for the next week!

Can someone pick this up, would be nice to have groovy fieldset styles.

tlattimore’s picture

Assigned: Unassigned » tlattimore

@ Jeff - I've got quite a bit of free time from now through the 12th. I'll take your work from #7 and see what I can do to improve on it, run it through more testing and experimentation.

tlattimore’s picture

So I have been taking Jeff's patch from #7 through some testing, everything is looking pretty great, but I am noticing minor differences across different browsers. I have tested it in Firefox, Chrome, IE6-8, and Safari - Vista. It looks nearly the in Firefox and IE(7) (minus border radius), but looks a little different in the other browsers, but all the other browsers look nearly the same.

I attached two screenshots of what I am talking about. One, what it looks like in Firefox and the other what it looks in most other browsers I tested it in. It isn't it major difference, but probably a difference that shouldn't be there. I am going to keep working on this and see if I can make it look more consistent across all browsers. Feel free to chime in if you have any ideas.

tlattimore’s picture

Assigned: tlattimore » Unassigned

I am going to unassign myself issue, going to be busy with a client project the next couple days and don't think I will have much time to work on it. I still am not able to resolve the problems discussed in #11.

bleen’s picture

FileSize
3.2 KB

This patch fixes the patch in #7 to work cross-browser. I never thought it would be FF to complain while IE6 works fine. It was like wrestling an aligator. For reference, in FF legends are effected by the left/right padding of the fieldset.

This patch has been tested in FF3.6, Safarai 4, Chrome5, IE6, IE7 & IE8 and they all look like this (except for rounded corners):

tlattimore’s picture

FileSize
11.09 KB

Every thing looks pretty good, there is now constancy cross browser. But, there are still some problems with IE6-7 when in RTL. See screenshot.

bleen’s picture

Assigned: Unassigned » bleen

Friggin IE ... on it

bleen’s picture

FileSize
3.63 KB

ok ... this patch looks good in RTL too :)

tlattimore’s picture

FileSize
3.72 KB

This looks really great bleen, just super work. Tested it in Ff, Chrome, Safari, and IE6-8 and carries consistency.

Just one small change I'd like to make. It may just be personal taste, but I don't really think the pinkish-red color on the fieldset anchor links for there hover state matches Bartik's default color scheme. I made a subtle to white for the anchor links natural state, and a grayish for hover.

The attached patch includes the work from #16 and the small change to the fieldset anchor links described.

bleen’s picture

Looks good to me ... One more review for good luck so we can mark this RTBC

jensimmons’s picture

Status: Needs review » Needs work

The patch isn't applying properly...

bleen’s picture

something changed in style.css ... rerolling

bleen’s picture

Status: Needs work » Needs review
FileSize
3.69 KB

rerolled

tlattimore’s picture

This latest patch looks good. Tested in IE6-8, Ff, and Safari and Chrome. Looks great both with overlays and without.

Jeff Burnz’s picture

I think the fieldset-wrapper needs some more margin or padding top, items tend to sit very close to the legend in Firefox. Other than that its looking good.

bleen’s picture

FileSize
3.69 KB

fair enough ... tweaked based on #23

tlattimore’s picture

Looks good to me.

jensimmons’s picture

Status: Needs review » Fixed

Ok, I used the patch in 23, and changed up some of the colors. Everything else is the same.

a screenshot of how the fieldsets look now

I went with the light text on dark background for a while, and had a whole other look going... but in the end, I felt like the dark header was too strong and make that text look much more important than it is. So I went with a light backkground and darker text. Looks much more Bartik to me.

Committed.

Jeff Burnz’s picture

Core blimey, I think those look great Jen, nice work peps.

Jeff Burnz’s picture

Status: Fixed » Needs work
FileSize
33.61 KB

I found one place in which this borks out, its when you have Seven set as the Admin theme and are in the overlay for theme settings for Bartik (phew, what a mouthful).

Seven sets a 2.5em padding-top for fieldsets.

See the screenshot:

bartik_legends_when_seven_is_admin-theme.png

bleen’s picture

Removed because this comment was inaccurate

bleen’s picture

Status: Needs work » Needs review
FileSize
700 bytes

this should do it

jensimmons’s picture

Status: Needs review » Fixed

Committed.

JohnAlbin’s picture

Works for me. I added a comment above the two new rules to explain why they're needed.

jensimmons’s picture

Status: Fixed » Needs review

This wasn't committed, actually. The commit aborted, and I didn't see the error message until now.

JohnAlbin’s picture

Status: Needs review » Fixed

heh. I think we committed at the same time. Mine must have gone in just before your CVS error.

Status: Fixed » Closed (fixed)
Issue tags: -IE

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