Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navbar dropdown-menu in skin-blue-light has white text on white background #1933

Closed
1 of 3 tasks
hendimarcos opened this issue Jul 16, 2018 · 3 comments
Closed
1 of 3 tasks

Comments

@hendimarcos
Copy link
Contributor

Issue type:

  • Feature request
  • Bug report
  • Documentation

Environment:

  • AdminLTE Version: v3.0.0-alpha.2
  • Operating System: All
  • Browser (Version): All

Description:

When I change the skin of the header to someone who has the navbar-dark class, the font colors in the notification dropdown and messages are the same background color.

image

image

@almasaeed2010
Copy link
Contributor

Thanks for reporting @hendimarcos

@hendimarcos
Copy link
Contributor Author

hendimarcos commented Jul 16, 2018

The code below is causing the problem, but I do not know if removing it will cause problem elsewhere

File: build/scss/_miscellaneous.scss

// Background colors
@each $name, $color in $theme-colors {
  .bg-#{$name} {
    &,
    a {
      color: color-yiq($color) !important;
    }
  }
}

@REJack
Copy link
Collaborator

REJack commented May 28, 2019

I've changed AdminLTE according to close this issue,

instead of bg-* you can now add the following classes to the navbar and you can combine them with navbar-darkor navbar-light:

  • navbar-primary
  • navbar-secondary
  • navbar-success
  • navbar-info
  • navbar-warning
  • navbar-danger
  • navbar-blue
  • navbar-indigo
  • navbar-purple
  • navbar-pink
  • navbar-red
  • navbar-orange
  • navbar-yellow
  • navbar-green
  • navbar-teal
  • navbar-cyan
  • navbar-white
  • navbar-gray
  • navbar-gray-dark

You can test this on my demo space http://adminlte-dev.rejack.space/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants