You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see a list of Bootstrap variables. For example, it shows @navbar-inverse-bg as a LESS variable.
The rails-bootstrap example app has a navigation partial that uses the navbar-inverse class from Bootstrap. The default background color is black. You can override the default:
hi ,the above code will not resolve , see the execution cycle. in the bootstrap file files rendering in this manner such us" get variable > and *apply in navbar *" this realy happen when started to execute the bootstrap file . its present inside of the bootstrap , look the sequential flow of importing . ,the variable are getting from bootstrap/variables and setting up the vavbar color in bootstrap/navbar , this applying the color in navbar with the variable navbar-default-bg .
what actualy programmers are doing is trying to setup the variable value after setting up the color in navbar.
look into the code below if you want to change the color you have to do the following.
You can see a list of Bootstrap variables. For example, it shows
@navbar-inverse-bg
as a LESS variable.The rails-bootstrap example app has a navigation partial that uses the
navbar-inverse
class from Bootstrap. The default background color is black. You can override the default:I expected to be able to remove the
navbar-inverse
class from the navigation partial, and have a navbar like this:and then override the
$navbar-default-bg
variable like this:but it didn't work.
The issue was originally reported here:
RailsApps/rails-composer#146
The text was updated successfully, but these errors were encountered: