Highlight foreground of selected line numbers

Previously no gutter highlight was displayed unless
the selection was empty.

Now there is a separate CSS class for no selection
that changes the background color independently
from the foreground color.
This commit is contained in:
Kevin Sawicki
2012-12-22 22:02:29 -08:00
parent 559b9132f9
commit 905002cd58
4 changed files with 57 additions and 29 deletions

View File

@@ -33,7 +33,8 @@
color: rgba(255, 255, 255, .6);
}
.editor.focused .cursor-line {
.editor.focused .line-number.cursor-line-no-selection,
.editor.focused .line.cursor-line {
background-color: rgba(255, 255, 255, .12);
}