title: JavaFX Combobox List Styling
body: <p>I'm trying to change the text color of a JavaFX combobox list but it does not seem to work.</p>
  
  <pre><code>.combo-box .list-cell {
      -fx-text-fill: -fx-my-menu-font-color-highlighted;
  }
  .combo-box-popup .list-view{
      -fx-background-color: -fx-my-menu-color;
  }
  
  .combo-box-popup .list-view .list-cell{
      -fx-text-fill: #ff0000;
      -fx-padding: 4 0 4 5;
      -fx-background-color: -fx-my-menu-color;
  }
  
  .combo-box-popup .list-view .list-cell:filled:selected, .combo-box-popup .list-view .list-cell:filled:selected:hover{
      -fx-background-color: -fx-my-menu-color-highlighted;
      -fx-text-fill: -fx-my-menu-font-color-highlighted;
  }
  
  .combo-box-popup .list-view .list-cell:filled:hover{
      -fx-background-color: -fx-my-menu-color-highlighted;
      -fx-text-fill: -fx-my-menu-font-color-highlighted;
  }
  
  .combo-box-base{
      -fx-background-color: -fx-my-menu-color;
      -fx-padding: 0;
  }
  </code></pre>
  
  <p>This returns the following:
  The Dropdown list text is not white</p>
  
  <p><a href="https://i.stack.imgur.com/G3GpT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G3GpT.png" alt="enter image description here"></a></p>
  
  <p>How do I fix this? My CSS knowledge is not very strong.</p>