-
Notifications
You must be signed in to change notification settings - Fork 59
/
sheep3.css
51 lines (51 loc) · 1.76 KB
/
sheep3.css
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
sheep-btn {
display: block;
position: fixed;
z-index: 1000;
height: 50px;
width: 50px;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.4);
background-size: 45px;
background-repeat: no-repeat;
background-position: 50% 80%;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
cursor: pointer;
-webkit-tap-highlight-color: transparent;
transition: all .2s;
right: 10px;
bottom: 10px;
transform: translateZ(0);
}
sheep-btn, .sheep-blockscreen sheep-btn:hover {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 480' stroke='white' stroke-opacity='0.7' stroke-width='20' fill='none'%3E%3Cpath d='M90 90a50 50 0 0 0 0 100H98.579A150 150 0 1 0 381.421 190H390a50 50 0 0 0 0 -100a50 50 0 1 1 -100 0a50 50 0 1 1 -100 0a50 50 0 1 1 -100 0z'/%3E%3C/svg%3E");
}
sheep-btn:hover {
background-color: rgba(255,255,255,0.8);
box-shadow: 0 0 4px rgba(0,0,0,0.5);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 480' stroke='black' stroke-opacity='0.7' stroke-width='20' fill='none'%3E%3Cpath d='M90 90a50 50 0 0 0 0 100H98.579A150 150 0 1 0 381.421 190H390a50 50 0 0 0 0 -100a50 50 0 1 1 -100 0a50 50 0 1 1 -100 0a50 50 0 1 1 -100 0z'/%3E%3C/svg%3E");
}
sheep-btn:active {
box-shadow: 0 0 2px rgba(0,0,0,0.5);
transform: translateZ(0) scale(0.9);
}
sheep-btn:focus {
outline: none;
box-shadow: 0 0 4px rgba(0,0,0,0.5), 0 0 0 5px rgba(79,161,167,0.3);
}
.sheep-blockscreen {
pointer-events: none;
}
.sheep-blockscreen sheep-btn {
right: 50%;
bottom: 50%;
width: 142vmax;
height: 142vmax;
margin: -71vmax;
background-color: black;
background-size: 90px;
background-position: 50% 50%;
box-shadow: none;
pointer-events: none;
transition: all .5s;
}