Last active
August 29, 2015 14:16
-
-
Save smockle/d75d1802456c742270fc to your computer and use it in GitHub Desktop.
Atom Editor One Dark theme modifications for OS X.
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
// Hide icons in tabs | |
.tab-bar li.tab .title:before { | |
display: none; | |
} | |
// Left align close button and modified indicator in tabs | |
.tab-bar .tab.active .title, | |
.tab-bar .tab .title { | |
padding-left: 28px; | |
} | |
.tab-bar .tab .close-icon { | |
right: initial; | |
margin-right: auto; | |
margin-left: 10px; | |
} | |
.tab-bar .tab.modified:not(:hover) .close-icon { | |
right: initial; | |
} | |
// Size tabs to fit available space | |
.tab-bar .tab.active[data-type="TextEditor"], | |
.tab-bar .tab { | |
max-width: none; | |
min-width: initial; | |
width: auto; | |
padding: 0; | |
} | |
.tab-bar .tab.active { | |
flex: 1; | |
} | |
// Don't show blue indicator in an empty tab-bar | |
.tab-bar:empty:before { | |
background: transparent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now an Atom Editor package: https://atom.io/packages/close-on-left.