To deal with deeply nested fieldsets on larger forms, I have added an oscillating odd/even CSS class to tags in my Seven subtheme by overriding theme_fieldset and updating the CSS selectors. IMO, this is an improvement over the current theming of relying solely upon gray borders and a single change to #f8f8f8 at the 3rd level of nesting.

I also slightly tweaked the non-white fieldset background color from #f8f8f8 to #f7f7f3 to better match the Seven header.

Can this change be added to the Seven theme in Drupal core?

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

aubjr_drupal created an issue. See original summary.

aubjr_drupal’s picture

Status: Needs review » Needs work

The last submitted patch, 2: seven-fieldset-theming-update-2887067-1-D7.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

aubjr_drupal’s picture

aubjr_drupal’s picture

Status: Needs work » Needs review
aubjr_drupal’s picture

aubjr_drupal’s picture