-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.css
executable file
·87 lines (79 loc) · 1.43 KB
/
popup.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
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
body{
width: 415px;
height:415px;
background-color: #323232;
color: white;
}
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400');
.button {
display: inline-flex;
height: 40px;
width: 30%;
border: 2px solid #BFC0C0;
margin: 20px;
color: #BFC0C0;
text-transform: uppercase;
text-decoration: none;
font-size: .8em;
letter-spacing: 1.5px;
align-items: center;
justify-content: center;
overflow: hidden;
}
#arrow-hover {
width: 15px;
height: 10px;
position: absolute;
transform: translateX(60px);
opacity: 0;
-webkit-transition: all .25s cubic-bezier(.14, .59, 1, 1.01);
transition: all .15s cubic-bezier(.14, .59, 1, 1.01);
margin: 0;
padding: 0 5px;
}
a#button-1:hover img {
width: 15px;
opacity: 1;
transform: translateX(80px);
}
.switch {
display: inline-block;
height: 34px;
position: relative;
width: 70px;
}
.switch input {
display:none;
}
.slider {
background-color: #ff0000;
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
transition: .4s;
}
.slider:before {
background-color: #fff;
bottom: 4px;
content: "";
height: 26px;
left: 4px;
position: absolute;
transition: .4s;
width: 26px;
}
input:checked + .slider {
background-color: #66bb6a;
}
input:checked + .slider:before {
transform: translateX(36px);
}
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}