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

Wrong background-color for #docextra active tab

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    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

        1. after.png
          14 kB
          Guillaume Delhumeau
        2. nav-tabs.png
          25 kB
          Ecaterina Moraru (Valica)

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: