-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
97 lines (84 loc) · 1.82 KB
/
app.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
88
89
90
91
92
93
94
95
96
97
.test {
border: 1px solid black;
}
* {
box-sizing: border-box;
}
.switch {
position: relative;
display: inline-block;
font-size: 15px;
font-weight: bold;
color: #ccc;
text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.8);
height: 18px;
padding: 6px 6px 5px 6px;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 4px;
background: rgba(0, 0, 0, 0.1);
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1), inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
cursor: pointer;
}
.switch span {
display: inline-block;
width: 35px;
}
.switch span.on {
color: #33d2da;
}
.switch .toggle {
position: absolute;
top: 1px;
width: 37px;
height: 25px;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 4px;
background: #fff;
background: linear-gradient(top, #ececec 0%, #ffffff 100%);
box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.5);
z-index: 999;
transition: all 0.15s ease-in-out;
}
.switch.on .toggle {
left: 2%;
}
.switch.off .toggle {
left: 54%;
}
.switch.round {
padding: 0px 20px;
border-radius: 40px;
}
.switch.round .toggle {
border-radius: 40px;
width: 14px;
height: 14px;
}
.switch.round.on .toggle {
left: 3%;
background: #dad833;
}
.switch.round.off .toggle {
left: 58%;
}
.copy-button {
position: relative;
display: block;
font-size: 12px;
color: black;
padding: 6px 6px 5px 6px;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 4px;
background: rgba(255, 135, 135, 1);
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
cursor: pointer;
box-sizing: border-box;
height: 20px;
display: flex;
align-items: center;
justify-content: center
}
.copy-button.round {
padding: 0px 20px;
border-radius: 6px;
}