-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
139 lines (122 loc) · 3.41 KB
/
popup.html
File metadata and controls
139 lines (122 loc) · 3.41 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Link Share for Gmail™ by Cenva Labs</title>
<link rel="stylesheet" href="shared.css" />
<style>
body {
min-width: 320px;
max-width: 360px;
margin: 0;
padding: 0;
}
.popup-container {
padding: 0;
}
.popup-header {
display: flex;
align-items: center;
gap: var(--space-md);
padding: var(--space-lg);
background: linear-gradient(
135deg,
var(--bg-secondary) 0%,
var(--bg-tertiary) 100%
);
border-bottom: 1px solid var(--border-light);
}
.popup-header-icon {
width: 24px;
height: 24px;
flex-shrink: 0;
}
.popup-header-text {
flex: 1;
}
.popup-title {
font-size: var(--text-lg);
font-weight: var(--weight-semibold);
color: var(--text-primary);
margin: 0;
line-height: 1.2;
}
.popup-subtitle {
font-size: var(--text-xs);
color: var(--text-tertiary);
margin: 2px 0 0 0;
}
.popup-body {
padding: var(--space-lg);
background: var(--bg-primary);
}
.section-title {
font-size: var(--text-sm);
font-weight: var(--weight-medium);
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
margin: 0 0 var(--space-md) 0;
}
.settings-list {
display: flex;
flex-direction: column;
gap: 0;
}
.popup-footer {
padding: var(--space-md) var(--space-lg);
border-top: 1px solid var(--border-light);
background: var(--bg-secondary);
text-align: center;
}
.footer-link {
font-size: var(--text-sm);
color: var(--info);
text-decoration: none;
display: inline-flex;
align-items: center;
gap: var(--space-xs);
transition: color var(--transition-fast);
}
.footer-link:hover {
color: var(--accent-primary);
text-decoration: underline;
}
.footer-link svg {
width: 14px;
height: 14px;
}
</style>
</head>
<body>
<div class="popup-container">
<div class="popup-header">
<img src="logo/circle-logo-128.png" alt="" class="popup-header-icon" />
<div class="popup-header-text">
<h1 class="popup-title">Link Share for Gmail™ by Cenva Labs</h1>
<p class="popup-subtitle">Quick Settings</p>
</div>
</div>
<div class="popup-body">
<h2 class="section-title">Button Display</h2>
<div id="settings-container" class="settings-list">
<!-- Toggle switches will be injected here by JavaScript -->
</div>
<h2 class="section-title" style="margin-top: var(--space-xl)">
History
</h2>
<div id="history-settings-container" class="settings-list">
<!-- History toggle will be injected here by JavaScript -->
</div>
</div>
<div class="popup-footer">
<a href="#" id="open-options" class="footer-link">
More Options & History 🔎
</a>
</div>
</div>
<script src="shared.js"></script>
<script src="popup.js"></script>
</body>
</html>