-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.css
More file actions
81 lines (73 loc) · 1.35 KB
/
index.css
File metadata and controls
81 lines (73 loc) · 1.35 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
.circle {
position: fixed;
right: 20px;
bottom: 20px;
height: 50px;
width: 50px;
box-shadow: 6px 6px 18px 0 rgba(0, 0, 0, 0.3);
border-radius: 100%;
background-color: #33c3f0;
cursor: pointer;
z-index: 9999999;
}
.hidden {
visibility: hidden;
}
.popup {
position: absolute;
background-color: white;
border-radius: 4px;
padding: 10px 20px;
right: 70px;
top: 50%;
color: #33c3f0;
box-shadow: 6px 6px 18px 0 rgba(0, 0, 0, 0.1);
font-size: 12px;
text-transform: uppercase;
letter-spacing: 3px;
transform: translate(0, -50%);
border: 1px solid #f3f3f3;
}
.popup:before {
content: "";
position: absolute;
top: 50%;
right: 0;
transform: translate(100%, -50%);
width: 0;
height: 0;
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
border-left: 7px solid white;
}
.popup-visibility-show {
opacity: 1;
visibility: visible;
transition: all 0.35s ease;
}
.popup-visibility-hide {
transition: all 0.35s ease;
opacity: 0;
visibility: hidden;
}
.visible {
visibility: visible;
}
.x-line {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 2px;
height: 20px;
background-color: white;
}
.y-line {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 20px;
height: 2px;
background-color: white;
}