Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21104

Panel background color from the color theme is not kept for the edit mode panels, which can break contrast

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      How to reproduce:

      • in a color theme, set body background to some pink and content background default or set to white:
      • then, set the panels background to the same color as the content background, to ensure contrast for the panel contents:
      • in view mode, the panels are displayed in boxes of the same color as the content, with proper contrast between panels content and text/link color
      • in edit mode (not inline, not in place):

      Expected result:

      • the configured color for the panel background is kept so that contrast is ensured to the same extent to which is ensured in view mode

      Actual result:

      • the panel background color is the body background, not the panel background color, thus potentially breaking the contrast of the text & links:

      Attachments

        1. image-2023-07-05-12-34-29-460.png
          10 kB
          Anca Luca
        2. image-2023-07-05-12-54-30-961.png
          12 kB
          Anca Luca
        3. image-2023-07-05-13-00-28-223.png
          250 kB
          Anca Luca
        4. image-2023-07-05-13-02-37-568.png
          201 kB
          Anca Luca

        Activity

          People

            Lucas C Charpentier Lucas
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: