-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsettings.html
More file actions
95 lines (83 loc) · 1.97 KB
/
settings.html
File metadata and controls
95 lines (83 loc) · 1.97 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
95
<!-- settings.html - Settings page for pinned tabs -->
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Pinned Tabs Settings</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: #1e1e1e;
color: #e0e0e0;
padding: 24px;
min-width: 400px;
}
h1 {
font-size: 24px;
margin-bottom: 24px;
color: #f5f5f5;
}
.setting-section {
background: #2a2a2a;
border-radius: 8px;
padding: 20px;
margin-bottom: 16px;
}
.setting-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}
.setting-row:last-child {
margin-bottom: 0;
}
.setting-label {
font-size: 14px;
color: #e0e0e0;
flex: 1;
}
.setting-description {
font-size: 12px;
color: #9e9e9e;
margin-top: 4px;
}
.toggle-switch {
position: relative;
width: 48px;
height: 24px;
background: #3a3a3a;
border-radius: 12px;
cursor: pointer;
transition: background 0.3s;
}
.toggle-switch.active {
background: #6ba3e8;
}
.toggle-switch::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 20px;
height: 20px;
background: white;
border-radius: 50%;
transition: transform 0.3s;
}
.toggle-switch.active::after {
transform: translateX(24px);
}
.sync-button {
background: #6ba3e8;
color: white;
border: none;
border-radius: 6px;
padding: 8px 16px;
font-size: 14px;