Skip to content

Commit

Permalink
Add focused pane marker
Browse files Browse the repository at this point in the history
  • Loading branch information
simurai committed Nov 1, 2018
1 parent a4d297c commit 66f9144
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion packages/one-dark-ui/styles/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
}


// Active pane marker --------------
// Active/focused pane marker --------------

atom-pane-axis > atom-pane.active,
atom-pane-container > atom-pane.pane {
Expand All @@ -226,6 +226,11 @@ atom-pane-container > atom-pane.pane {
left: -1px; // cover left border
bottom: 0;
width: 2px;
background: mix(@text-color, @tab-background-color-editor, 33%);
}
}
.pane:focus-within {
.tab.active:before {
background: @accent-color;
}
}
Expand Down
7 changes: 6 additions & 1 deletion packages/one-light-ui/styles/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
}


// Active pane marker --------------
// Active/focused pane marker --------------

atom-pane-axis > atom-pane.active,
atom-pane-container > atom-pane.pane {
Expand All @@ -226,6 +226,11 @@ atom-pane-container > atom-pane.pane {
left: -1px; // cover left border
bottom: 0;
width: 2px;
background: mix(@text-color, @tab-background-color-editor, 33%);
}
}
.pane:focus-within {
.tab.active:before {
background: @accent-color;
}
}
Expand Down

0 comments on commit 66f9144

Please sign in to comment.