Merge pull request #18377 from atom/sm-one-theme-focus

Focused pane marker
This commit is contained in:
simurai
2018-11-02 10:30:45 +09:00
committed by GitHub
2 changed files with 12 additions and 2 deletions

View File

@@ -213,7 +213,7 @@
}
// Active pane marker --------------
// Active/focused pane marker --------------
atom-pane-axis > atom-pane.active,
atom-pane-container > atom-pane.pane {
@@ -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;
}
}

View File

@@ -213,7 +213,7 @@
}
// Active pane marker --------------
// Active/focused pane marker --------------
atom-pane-axis > atom-pane.active,
atom-pane-container > atom-pane.pane {
@@ -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;
}
}