mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
use is-focused for the editor because it needs it's own state independent of the window state
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user