Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change background-color option in bootstrap-select?

I'm using bootstrap-select (from Silvio Moreto). I would like to change background-color and font color of list item. By default is :

enter image description here

And I would like something like :

enter image description here

I tried this, but nothing change :

.bootstrap-select.btn-group .dropdown-menu li:hover{
      background-color: rgb(191, 82, 121);
      color: white;
}

Any idea ?

like image 961
Cooxkie Avatar asked Oct 21 '25 13:10

Cooxkie


2 Answers

I answered my own question :

 .bootstrap-select.btn-group .dropdown-menu li a:hover {
     color: whitesmoke !important;
     background: #bf5279 !important;
 }

Thanks ;-) !

like image 184
Cooxkie Avatar answered Oct 23 '25 03:10

Cooxkie


I have changed all of them with something like this:

button[data-toggle="dropdown"].btn-default,
button[data-toggle="dropdown"]:hover {
background-color: white !important;
color: #2c3e50 !important;
border: 2px solid #dce4ec;
}
like image 34
marcaldo Avatar answered Oct 23 '25 03:10

marcaldo