Skip to content

Instantly share code, notes, and snippets.

@chrislloyd
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrislloyd/9243725 to your computer and use it in GitHub Desktop.
Save chrislloyd/9243725 to your computer and use it in GitHub Desktop.
Flat tab bar for Atom

Use this css to disable the ugly skew-tabs that Atom ships with:

preview

.pane .tab-bar {
padding-left: 0;
padding-right: 0;
height: 30px + 1px;
&:after {
border-bottom: none;
height: 1px;
}
.tab {
top: 0;
// If you're going to skew, skew into this:
&,
&:before,
& > .title,
& > .close-icon {
-webkit-transform: none;
}
&,
&:before {
border-radius: 0;
box-shadow: none;
background-image: none;
background-color: #161719;
height: 30px;
}
&:before {
width: 18px;
}
}
.tab.active,
.tab.active:before {
background-color: #484848;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment