Follow-up to #1510544: Allow to preview content in an actual live environment

Problem/Motivation

The 'theming' styling for the node preview bar is within Bartik's style.css. This includes the background colour. If the user is using a theme that is not Bartik then there is no background styles and it's hard to read the UI elements within the bar.

This feel inconsistent with the toolbar, which has it's own styling regardless of theme.

Proposed resolution

Move the styling in the node modules node.preview.css file.

Remaining tasks

  • Move the CSS
  • Test
  • User interface changes

    A useable node preview bar in all themes

    API changes

    None

    Support from Acquia helps fund testing for Drupal Acquia logo

    Comments

    ricovandevin’s picture

    Assigned: Unassigned » ricovandevin

    I'll work on this issue.

    ricovandevin’s picture

    CSS moved to node.preview.css.

    Maybe colors should be neutral? I'm not a themer so if someone else can have a look at that...

    ricovandevin’s picture

    Status: Active » Needs review
    ricovandevin’s picture

    manningpete’s picture

    Issue tags: -Novice

    Removing the novice tag.

    Why: because issue is postponed. People new to the issue queue might search for just the Novice tag and not know to filter to active issues. Also, looks like this issue has been addressed already, just waiting for another issue to be committed.

    Novice tag documentation: https://www.drupal.org/core-mentoring/novice-tasks

    LewisNyman’s picture