Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38856 META: Issues around Bootstrapbase and Clean theme
  3. MDL-39836

Inverse user name text is unreadable on navigation bar

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5.1
    • 2.5, 2.6
    • Themes
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_25_STABLE
    • wip-MDL-39836_master
    • Hide
      1. Select 'clean' theme as the site theme.
      2. Observe that the login 'You are logged in as' Username is the same colour as the normal links as the main menu, grey, and that when hovered over turn to a darker shade of grey.
      3. Select 'Clean' Custom settings (under site appearance) click on the 'Invert navbar' setting and save the settings.
      4. Observe that the text on the navigation bar for the user name is readable (light grey on black) and when hovered over (white on black).
      Show
      Select 'clean' theme as the site theme. Observe that the login 'You are logged in as' Username is the same colour as the normal links as the main menu, grey, and that when hovered over turn to a darker shade of grey. Select 'Clean' Custom settings (under site appearance) click on the 'Invert navbar' setting and save the settings. Observe that the text on the navigation bar for the user name is readable (light grey on black) and when hovered over (white on black).

      On the navigation bar the text for the username is unreadable when the colours are inverted in the Clean theme.

      The solution is to add the following 'less' to the '/theme/bootstrapbase/less/moodle/modules.less' file:

      .navbar-inverse {
        .logininfo a {
            color: @navbarInverseLinkColor;
        }
        .logininfo a:hover {
            background-color: @navbarInverseLinkBackgroundHover; // "transparent" is default to differentiate :hover/:focus from .active
            color: @navbarInverseLinkColorHover;
        }
      }
      

            gb2048 Gareth J Barnard
            gb2048 Gareth J Barnard
            Mary Evans Mary Evans
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Jason Fowler Jason Fowler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.