title: JavaFX how to style the button part of a checkbox?
body: <p>I am trying to do some css styling in a stylesheet for a JavaFX scene.
  It is going to be loaded upon opening the scene, and targets all the "basic" elements of a scene.</p>
  
  <p>My problem is that i can't seem to find the right combination of code, to change the background color, of the button in a standard JavaFX checkbox.</p>
  
  <p>This is where i am now:</p>
  
  <pre><code>.check-box:selected{
      -fx-background-color: #00FF00;
  }
  </code></pre>
  
  <p>I have tried some variants of the above, like </p>
  
  <pre><code>.check-box .button{
      -fx-fill: #00FF00;
      -fx-background-color: #00FF00;
  }
  </code></pre>
  
  <p>and others, but without success.</p>
  
  <p>So in general, how do i access a button in a checkbox?</p>
  
  <p>Thank you in advance :-)</p>