We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bootstrap theme defines navbar variables for text color on hover
$navbar-light-hover-color $navbar-dark-hover-color
however not for the background color.
So it's not possible to set the background on hover by theme variables to achieve this effect
bootstrap/scss/_variables.scss
$navbar-light-hover-color
$navbar-light-hover-bg $navbar-dark-hover-bg
Windows
Firefox
5.3.0
The text was updated successfully, but these errors were encountered:
Hi @pinggi and Bootstrap team,
I’d like to work on this issue by adding the missing $navbar-light-hover-bg and $navbar-dark-hover-bg variables.
$navbar-light-hover-bg
$navbar-dark-hover-bg
Proposed Solution:
_variables.scss
$navbar-light-hover-bg: rgba($black, 0.1) !default; $navbar-dark-hover-bg: rgba($white, 0.1) !default;
Does this approach sound good? If approved, I’ll submit a PR.
Thanks! Aniket
Sorry, something went wrong.
No branches or pull requests
Prerequisites
Describe the issue
Bootstrap theme defines navbar variables for text color on hover
however not for the background color.
So it's not possible to set the background on hover by theme variables to achieve this effect
Reduced test cases
bootstrap/scss/_variables.scss
$navbar-light-hover-color
is definedWhat operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
5.3.0
The text was updated successfully, but these errors were encountered: