-
-
Save bdalenoord/8566f832ef2560374d58dec81580e749 to your computer and use it in GitHub Desktop.
Smaller, more compact tab-bar for Atom.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Smaller tab bar | |
* | |
* Original by Adrian Unger (staydecent): https://gist.github.com/staydecent/9260095 | |
* Modified by Bas Dalenoord (bdalenoord): https://gist.github.com/bdalenoord/8566f832ef2560374d58dec81580e749 | |
* | |
* Modifications include: smaller top margin, small active block, less overall height. | |
* Tested with Atom 1.7.0 | |
* | |
* Installation: | |
* - Open 'Settings' (CTRL + ,) | |
* - Navigate to 'Themes' | |
* - Click on 'your stylesheet' near the top | |
* - Paste in the rules. | |
*/ | |
.tab-bar { | |
height: 25px; | |
padding: 0; | |
margin-top: -5px; | |
.tab { | |
-webkit-transform: none; | |
top: 2px; | |
line-height: 25px; | |
&.active { | |
height: 25px; | |
&:before { | |
height: 25px; | |
} | |
} | |
&:before { | |
-webkit-transform: none; | |
width: 3px; | |
} | |
.close-icon { | |
-webkit-transform: none; | |
line-height: 25px; | |
} | |
.title { | |
-webkit-transform: none; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment