-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcursor.css
More file actions
61 lines (57 loc) · 1.25 KB
/
cursor.css
File metadata and controls
61 lines (57 loc) · 1.25 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
/* .monaco-editor .cursors-layer .cursor {
background-image: linear-gradient(
245deg,
#ebdbb2,
#ebdbb2,
#ebdbb2
) !important;
}*/
/* #fcb564,
#ff65f2,
#d66efd */
.monaco-editor .cursors-layer .cursor {
background-image: linear-gradient(to top, #6a5af9, #d66efd, #fc6c8f, #ff2ced);
}
@keyframes my-rotation {
0% {
transform: rotate(0deg);
}
25% {
transform: rotate(20deg);
}
50% {
transform: rotate(0deg);
}
75% {
transform: rotate(-20deg);
}
100% {
transform: rotate(0deg);
}
}
@keyframes my-slide {
0% {
transform: scale(1) skew(0deg, 0deg);
}
25% {
transform: scale(2) skew(10deg, 10deg);
}
50% {
transform: scale(1) skew(0deg, 0deg);
}
75% {
transform: scale(2) skew(-10deg, -10deg);
}
100% {
transform: scale(1) skew(0deg, 0deg);
}
}
.monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {
/* NOTE: first enable editor.cursorSmoothCaretAnimation */
/* NOTE: always leave the transition in the code */
transition: all 100ms ease-out;
/* NOTE: uncomment this animation for skew demo */
animation: my-slide 2s ease-in-out infinite;
/* NOTE: uncomment this animation for rotation demo */
/* animation: my-rotation 2s linear infinite; */
}