forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcursor.css
More file actions
64 lines (54 loc) · 1.8 KB
/
cursor.css
File metadata and controls
64 lines (54 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.cursor-top {
position: absolute;
z-index:1005;
font-family: var(--code-font-family);
pointer-events: none;
}
.cursor-block {
border: .05px solid var(--override-foreground, var(--vscode-editor-foreground));
min-width: 5px;
margin-left: -1px;
margin-right: -1px;
}
.cursor-line {
border-left: 1px solid var(--override-foreground, var(--vscode-editor-foreground));
}
.cursor-underline {
border-bottom: 1px solid var(--override-foreground, var(--vscode-editor-foreground));
min-width: 5px;
}
.cursor-measure {
visibility: hidden;
}
.cursor-line-overlay {
border-left-width: 1px;
border-left-style: solid;
border-left-color: transparent;
min-width: 5px;
animation: blinkCursorLine 750ms infinite;
}
.cursor-underline-overlay {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: transparent;
min-width: 5px;
animation: blinkCursorUnderline 750ms infinite;
}
.cursor-block-overlay {
font-family: var(--code-font-family);
background-color: transparent;
color: transparent;
animation: blinkCursorBlock 750ms infinite;
}
@keyframes blinkCursorLine {
0%, 49% {border-left-color: transparent;}
50%, 100% {border-left-color: var(--override-foreground, var(--vscode-editor-foreground));}
}
@keyframes blinkCursorUnderline {
0%, 49% {border-bottom-color: transparent;}
50%, 100% {border-bottom-color: var(--override-foreground, var(--vscode-editor-foreground)); }
}
@keyframes blinkCursorBlock {
0%, 49% {background-color: transparent; color: transparent;}
50%, 100% {background-color: var(--override-foreground, var(--vscode-editor-foreground)); color: var(--override-background, var(--vscode-editor-background));}
}