use is-focused for the editor because it needs it's own state independent of the window state

This commit is contained in:
Justin Palmer
2013-02-04 16:42:46 -08:00
parent aa95590e6c
commit 022b5fb88c
2 changed files with 9 additions and 9 deletions

View File

@@ -77,7 +77,7 @@
}
.editor.is-blurred .line.cursor-line {
opacity: 0;
background: rgba(0, 0, 0, 0);
}
.editor .invisible {
@@ -142,11 +142,15 @@
border-left: 1px solid;
}
.is-blurred .cursor,
.editor .cursor.blink-off {
.editor .cursor,
.editor.is-focused .cursor.blink-off {
visibility: hidden;
}
.editor.is-focused .cursor {
visibility: visible;
}
.editor .hidden-input {
position: absolute;
z-index: -1;
@@ -160,7 +164,3 @@
pointer-events: none;
z-index: -1;
}
.editor.is-blurred .selection .region {
opacity: 0;
}