Skip to content

Instantly share code, notes, and snippets.

@bbg
Forked from jasesmith/atom-vertical-file-tabs.less
Created September 23, 2017 10:16
Show Gist options
  • Save bbg/fccfc082287bbd32354d7e6ca220b4d5 to your computer and use it in GitHub Desktop.
Save bbg/fccfc082287bbd32354d7e6ca220b4d5 to your computer and use it in GitHub Desktop.
For vertically stacked open file tabs, put this in your `./atom/styles.less`
atom-workspace-axis.vertical atom-pane {
flex-direction: row;
.tab-bar {
box-shadow: inset -1px 0 0 #181a1f;
resize: horizontal;
height: auto;
display: block;
padding-right: 1px;
padding-bottom: 3em;
min-width: 14em;
&::after {
content: '';
position: absolute;
bottom: 1px;
right: 1px;
width: 0;
height: 0;
border: .7em solid transparent;
border-color: transparent @ui-site-color-2 @ui-site-color-2 transparent;
box-shadow: 1px 1px 0 0 #181a1f;
}
}
.tab-bar .tab {
display: block;
border: none;
}
.tab-bar .tab,
.tab-bar .tab.active {
flex: none;
width: auto;
max-width: none;
box-shadow: inset 0 -1px 0 0 #181a1f;
}
.tab-bar .tab .title {
text-align: left;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment