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

Create button looks 'broken' when its color is set to the same color as the main menu

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A (we only need to list bugs explicitly in the RN for bugfix releases)

    Description

      Checkout the attached image.
      To reproduce, create a color theme and set the color of the create button to the same color as the menu.

      "Broken" means that the gradient, without a change of color, gives a feeling of a menu bar which is "interrupted" for the create button: I would expect it to look just like all the other menus if I set its color to the menubar color.

      The issue is the transparent gradient which is set on the link tmCreate tme-extensible, an easy fix would be to not set this gradient if the color of that menu is the same as the menubar color.

      Attachments

        1. XWIKI-7778.patch
          2 kB
          Sergiu Dumitriu
        2. colorThemeCreateButtonSameColorAsMenu.png
          13 kB
          Anca Luca
        3. changes.png
          20 kB
          Ecaterina Moraru (Valica)
        4. addbtn.png
          18 kB
          Sergiu Dumitriu

        Activity

          People

            sdumitriu Sergiu Dumitriu
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: