Skip to content

Commit

Permalink
Make selected text translucent so the cursor is visible in vim mode (j…
Browse files Browse the repository at this point in the history
…upyterlab#12520)

* Make selected text translucent so the cursor is visible in vim mode

* Revert "Make selected text translucent so the cursor is visible in vim mode"

This reverts commit bd422b9.

* Set opacity for search overlay in fat cursor mode

Co-authored-by: Jessie Newman <[email protected]>
Co-authored-by: Frédéric Collonval <[email protected]>
  • Loading branch information
3 people authored May 13, 2022
1 parent 222b472 commit 5c04fa6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/codemirror/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
padding: 0 var(--jp-code-padding);
}

.CodeMirror.cm-fat-cursor .cm-overlay.cm-searching {
opacity: 0.5;
}

.jp-CodeMirrorEditor[data-type='inline'] .CodeMirror-dialog {
background-color: var(--jp-layout-color0);
color: var(--jp-content-font-color1);
Expand Down

0 comments on commit 5c04fa6

Please sign in to comment.