ColorlibHQ / AdminLTE

AdminLTE - Free admin dashboard template based on Bootstrap 5
https://adminlte.io
MIT License
44.06k stars 18.16k forks source link

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

Closed hendimarcos closed 5 years ago

hendimarcos commented 6 years ago

Issue type:

Environment:

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 commented 6 years ago

Thanks for reporting @hendimarcos

hendimarcos commented 6 years ago

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 commented 5 years ago

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:

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