Repository navigation
Expand file tree
/
Copy pathkitescreen.css
More file actions
94 lines (89 loc) · 2.03 KB
/
Copy pathkitescreen.css
File metadata and controls
94 lines (89 loc) · 2.03 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
.jpsks__kite-screen {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
/* box-shadow: inset 0 0 50px 30px #f800aa7d; */
border: 4px solid rgb(248, 0, 170);
border-image: linear-gradient(-45deg, rgb(172, 0, 255), rgb(248, 0, 170));
pointer-events: none;
background: rgb(0, 0, 0);
background: linear-gradient(
90deg,
rgba(0, 0, 0, 0.24) 0%,
rgba(0, 0, 0, 0) 12%,
rgba(0, 0, 0, 0) 88%,
rgba(0, 0, 0, 0.24) 100%
);
border-image-slice: 1;
}
.jpsks__kite-screen:before {
content: "";
position: absolute;
top: 1.3em;
right: 1.6em;
z-index: 9999;
display: block;
pointer-events: all;
cursor: pointer;
width: 40px;
height: 40px;
text-decoration: underline;
font-weight: 900;
text-shadow: 1px 1px 1px rgb(0, 0, 0);
background-color: rgb(255, 255, 255);
background-repeat: no-repeat;
background-position: center;
background-size: 28px;
box-shadow: 3px 3px 5px 1px rgba(0, 0, 0, 0.49),
inset 1px 1px 6px 1px rgba(248, 0, 170, 0);
transition: box-shadow 0.3s ease-in-out;
animation-duration: 0.24s;
animation-timing-function: ease-out;
animation-name: slidein;
border-radius: 12px;
}
@supports (corner-shape: squircle) {
.jpsks__kite-screen:before {
corner-shape: squircle;
corner-top-right-shape: round;
corner-bottom-left-shape: round;
}
}
.jpsks__kite-screen:hover:before {
box-shadow: 4px 4px 6px 2px rgba(0, 0, 0, 0.49),
inset 2px 1px 8px 2px rgba(248, 0, 170, 0.192);
}
@keyframes slidein {
from {
right: -50px;
opacity: 0;
}
to {
right: 1.6em;
opacity: 1;
}
}
.jpsks__kite-screen:after {
content: "Reel Out";
position: absolute;
top: calc(1.3em + 40px + 8px);
right: 1.6em;
width: 40px;
text-align: center;
color: white;
font-family: sans-serif;
font-size: 11px;
font-weight: bold;
text-shadow: 1px 1px 2px black;
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease-in-out;
}
.jpsks__kite-screen:hover:after {
opacity: 1;
}
.jpsks__kite-screen.jpsks__reel-in:after {
content: "Reel In";
}