title: JavaFX Tab Text and Size Issues
body: <p>Currently having a couple issues with JavaFX and CSS stylesheets. I would like to have the selected tab text to be black, and have the non selected tabs to be white. I was able to achieve the background color of the active tab being a darker blue than the rest, but still have an awkward area around the tabs.</p>
  
  <p>Here is the app when it first opens:
  First Open
  <a href="https://i.stack.imgur.com/tRibx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tRibx.png" alt="enter image description here"></a></p>
  
  <p>Here is the app when I click on a tab:
  First Click
  <a href="https://i.stack.imgur.com/Zgqqy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zgqqy.png" alt="enter image description here"></a></p>
  
  <p>On the second image the text gets completely lost in the background color. If you could help me get rid of the space around the tabs themselves as well that would be awesome too!</p>
  
  <p>Here is my CSS file: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>/*main.css*/
  
  /*set individual tab properties*/
  .tab {
      -fx-background-color: #1c6fb8;
      -fx-font: 16px "Helvetica Neue" ;
      -fx-background-radius: 0;
  }
  
  .tab-label {
      -fx-text-fill: #fff;
  }
  
  .tab:focused .tab-label {
      -fx-text-fill: #000;
  }
  
  .tab-header-background {
      -fx-background-color: #1c6fb8;
  }
  
  .tab-pane {
      -fx-tab-min-width:120px;
      -fx-tab-max-width:120px;
      -fx-tab-min-height:50px;
      -fx-tab-max-height:50px;
      -fx-background-color: #15558c;
  }
  
  .tab:selected {
      -fx-text-fill: #000;
      -fx-background-color: #15558c;
  }
  
  .tab-pane:focused &gt; .tab-header-area &gt; .headers-region &gt; .tab:selected .focus-indicator {
      -fx-background-color: #15558c;
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thanks in advance!</p>