-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmagic-mouse.css
More file actions
52 lines (50 loc) · 1017 Bytes
/
Copy pathmagic-mouse.css
File metadata and controls
52 lines (50 loc) · 1017 Bytes
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
body #magicMouseCursor {
position: fixed;
width: 35px;
height: 35px;
border: 1px solid #007bff;
background-color: #007bff;
opacity: 0.5;
border-radius: 50%;
z-index: 9999;
left: 0;
top: 0;
transition: transform 0.07s, width 0.3s, height 0.3s;
pointer-events: none;
}
body #magicMouseCursor.cursor-square {
border-radius: 0;
}
body #magicPointer {
height: 5px;
width: 5px;
top: 0;
left: 0;
position: fixed;
background: #000;
border-radius: 50%;
pointer-events: none;
transition: background 0.2s, width 0.2s, height 0.2s, box-shadow 0.2s;
}
body #magicPointer.is-hover {
background: red;
}
body #magicPointer.pointer-blur {
height: 50px;
width: 50px;
background: none;
border: 1px solid #fff;
box-shadow: 0px 0px 15px -5px white;
}
body #magicPointer.pointer-overlay {
height: 50px;
width: 50px;
mix-blend-mode: difference;
box-shadow: 0px 0px 15px -5px white;
}
body .magic-hover {
transition: all 0.2s;
}
body .magic-hover:hover {
cursor: none;
}