I noticed two issues in Views UI CSS, in the views_ui module and Seven theme.

First, #edit-displays-preview-controls has been removed, way back in #1104204: Separate preview and main UI to prevent wide previews from destroying UI, but there are some CSS rules still referencing it. Trying to re-apply those rules by changing them to #views-ui-preview-form broke the Views UI preview form, so it's best to remove them.

Second, views-ui-rearrange-filter-form is no longer used as form id, but a class. So, some CSS styles no longer applied in the Filter Criteria Rearrange Form. I changed the rules into using the class, and added screenshots:

Before changing ids to class
Before class fix

After changing ids to class
After class fix

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

herom’s picture

Issue summary: View changes
BarisW’s picture

Thanks, looks good. I can't see any visual differences. Patch looks good to go. +1

LewisNyman’s picture

Status: Needs review » Reviewed & tested by the community

From a code point of view this looks good, it's been manually tested so RTBC

webchick’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: +Needs manual testing

Since this is changing CSS outside of Seven, can we get verification that this continues to look right in Stark/Bartik?

LewisNyman’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs manual testing
FileSize
498.86 KB
521.42 KB
534.77 KB
439.79 KB

Here are some screenshots from Bartik and Stark:

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Great, thanks!

Committed and pushed to 8.0.x.

  • webchick committed dd3dae0 on 8.0.x
    Issue #2377685 by LewisNyman, herom: Fix outdated CSS rules in Views UI
    

Status: Fixed » Closed (fixed)

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