Skip to content

Instantly share code, notes, and snippets.

@crucialfelix
Created October 27, 2014 09:33
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save crucialfelix/2d992845c8c05f28aba9 to your computer and use it in GitHub Desktop.
Save crucialfelix/2d992845c8c05f28aba9 to your computer and use it in GitHub Desktop.
Highlight active pane, active tab in Atom.io
// active pane
.pane {
.gutter,
ul.tab-bar {
opacity: 0.4;
}
}
.pane.active {
.gutter {
opacity: 1;
}
ul.tab-bar {
opacity: 1;
.tab.active {
color: #e98c29;
text-decoration: underline;
font-weight: bold;
}
}
}
@crucialfelix
Copy link
Author

I often don't notice which pane is selected or which tab is selected. I don't find the styling to be clear enough.

This modification fades back the gutter and tabs of the non-active tab, and make the selected tab stronger and underlines it.

Its subtle, but it clearly communicates where the focus is without distracting or being loud.

@tonatiuh
Copy link

Cool. Thanks.

@shotgundebugging
Copy link

Thanks!

@max-sixty
Copy link

+1

@donpinkus
Copy link

donpinkus commented Dec 5, 2017

December 2017:

.texteditor.tab.active {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}

@kbs5280
Copy link

kbs5280 commented Jan 8, 2018

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment