Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change color of active tab

As the title, I want to change color of active tab to make it to be more different from other. I went through https://devnet.jetbrains.com/thread/274446 but it's not enough!

Is there any way to do that?

like image 831
Tuna Avatar asked Aug 14 '15 17:08

Tuna


People also ask

How do I change the color of an active tab?

STEP 1: With your browser open, click on a new tab by clicking the plus sign just to the right of the open tabs. STEP 2: When the new tab is visible, the “Customize” button will appear on the bottom right. STEP 3: The Customize window will pop up. Along the left side, select “Color and Theme”.

How do I change the active tab color in bootstrap?

You can always modify your navigation list through css. Use this css code instead, in that way use you use the a tag to change the color and its background-color. It's improper to use the li tag to set the background only and a tag to set the color of the text.


2 Answers

I just found out in intellij, it's "file scope" that controls a file's background in project pane as well as in the tabs. Here is the steps to add/modify current scope/tab background.

The default Darcula theme sets the "Tests" scope to this dark green color which is very close to the tab control background. I always lost track of which tab is activated when it's one of the test files. Hope this helps.

like image 99
treehouse Avatar answered Sep 30 '22 21:09

treehouse


An alternative way, Setting > File colors:

  • check Enable File Colors, Use in Editor Tab
  • uncheck Use in Project View
  • add new scope with your color (ex: Project Files with orange color)
like image 29
qmn1711 Avatar answered Sep 30 '22 19:09

qmn1711