Add focused pane marker

This commit is contained in:
simurai
2018-11-01 18:06:11 +09:00
parent a4d297cc6e
commit 66f9144fbc
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;
}
}