Problem/Motivation

If gin classic toolbar and environment indicator are both in use, the toolbar background color is unpredictable (since it can be changed by environment indicator). In this case, the semi-transparent background color of the moderation sidebar tab can result in too little contrast in the default scheme

Proposed resolution

Update CSS to use high-contrast scheme if classic toolbar and environment indicator are is in use.

There's currently no class to signify that Environment Indicator is active if it's toolbar integration is enabled. So, we'll just use high contrast anytime the classic toolbar is enabled.

Classic toolbar sets a gin--classic-toolbar body class, but AFAICT, Environment Indicator's body class isn't working: #3320061: Add class to body when indicator is turned on.

Comments

justcaldwell created an issue. See original summary.

justcaldwell’s picture

Assigned: Unassigned » justcaldwell

  • justcaldwell committed 64ffba4a on 1.0.x
    Issue #3339668 by justcaldwell: Use high-contrast mode if gin classic...
justcaldwell’s picture

Assigned: justcaldwell » Unassigned
Status: Active » Fixed
justcaldwell’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

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