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

Wrong background-color for #docextra active tab

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.2-milestone-2
    • Fix Version/s: 6.4-milestone-3, 6.2.5
    • Component/s: Flamingo Theme
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      See nav-tabs.png

      .xwikitabbar is using the BS .nav-tabs styling.

      In flamingo/less/bootstrap/navs.less we have

      .xwikitabbar>li.active>a {
        background-color: @nav-tabs-active-link-hover-bg;
      }
      

      where in flamingo/less/bootstrap/variables.less

      @body-bg:                                   #fff;
      @nav-tabs-active-link-hover-bg:             @body-bg;
      

      in flamingo/less/variablesInit.vm we have

      @body-bg:                           $theme.pageBackgroundColor;
      @nav-tabs-active-link-hover-bg:     $theme.pageContentBackgroundColor;
      

      with /templates/colorThemeInit.vm

      'pageBackgroundColor'              : '#ECECEC',
      'pageContentBackgroundColor'       : '#FFFFFF',
      

      and with ColorThemes.DefaultColorTheme

      'pageBackgroundColor'              = '#F5F5F5',
      'pageContentBackgroundColor'       = '#FFFFFF',
      

      The result, instead of having

      @nav-tabs-active-link-hover-bg = #FFFFFF
      

      we have

      @nav-tabs-active-link-hover-bg = #F5F5F5
      

        Attachments

          Activity

            People

            • Assignee:
              gdelhumeau Guillaume Delhumeau
              Reporter:
              evalica Ecaterina Moraru (Valica)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: