forked from interstellard/chatgpt-advanced
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
69 lines (59 loc) · 1.43 KB
/
styles.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
.web-chatgpt-toolbar {
margin: 0.5em 0em;
display: flex;
align-items: end;
}
*:before,
*:after {
box-sizing: border-box;
}
.web-chatgpt-toggle {
cursor: pointer;
display: inline-block;
padding: 0.5em 0;
}
.web-chatgpt-toggle-switch {
display: inline-block;
background: #ccc;
border-radius: 8px;
width: 29px;
height: 16px;
position: relative;
vertical-align: middle;
transition: background 0.25s;
}
.web-chatgpt-toggle-switch:before,
.web-chatgpt-toggle-switch:after {
content: "";
}
.web-chatgpt-toggle-switch:before {
display: block;
background: linear-gradient(to bottom, #fff 0%, #eee 100%);
border-radius: 50%;
box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25);
width: 12px;
height: 12px;
position: absolute;
top: 2px;
left: 2px;
transition: left 0.25s;
}
.web-chatgpt-toggle:hover .web-chatgpt-toggle-switch:before {
background: linear-gradient(to bottom, #fff 0%, #fff 100%);
box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.5);
}
.web-chatgpt-toggle-checkbox:checked+.web-chatgpt-toggle-switch {
background: #10A37F;
}
.web-chatgpt-toggle-checkbox:checked+.web-chatgpt-toggle-switch:before {
left: 15px;
}
.web-chatgpt-toggle-checkbox {
position: absolute;
visibility: hidden;
}
.web-chatgpt-toggle-label {
margin-left: 5px;
position: relative;
top: 2px;
}