-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext.html
More file actions
237 lines (211 loc) · 6.89 KB
/
ext.html
File metadata and controls
237 lines (211 loc) · 6.89 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Extension - FlashForCurrent</title>
<link href="https://fonts.googleapis.com/css2?family=Trebuchet+MS:wght@400;700&family=Verdana:wght@400;700&display=swap" rel="stylesheet" />
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
scrollbar-color: #aab4c2 #e5ebf1;
}
#page-wrapper {
position: relative;
width: 100%;
min-height: 100vh;
font-family: 'Trebuchet MS', Verdana, sans-serif;
color: #1a202c;
background: radial-gradient(circle at 50% 0%, #ffffff 0%, #cbd5e0 70%, #a0aec0 100%);
background-attachment: scroll;
background-size: cover;
background-repeat: no-repeat;
overflow-x: hidden;
display: flex;
flex-direction: column;
}
.decor-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
z-index: 0;
pointer-events: none;
}
.vector-swoosh {
position: absolute;
border-radius: 50%;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.6);
}
.swoosh-1 {
width: 140vw;
height: 1200px;
top: -600px;
left: -20vw;
transform: scaleY(0.3) rotate(-10deg);
}
main {
position: relative;
z-index: 10;
padding: 30px 20px;
max-width: 900px;
margin: 0 auto;
width: 100%;
box-sizing: border-box;
}
.h-flash {
color: #0f172a;
text-shadow: 1px 1px 0px #fff, 2px 4px 15px rgba(0, 0, 0, 0.1);
letter-spacing: -2px;
font-weight: bold;
margin-bottom: 40px;
font-size: 4rem;
text-align: center;
}
.download-list {
background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
border: 1px solid #ffffff;
border-bottom: 3px solid #94a3b8;
border-radius: 20px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
width: 100%;
overflow: hidden;
}
.download-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 40px;
border-bottom: 1px solid #e2e8f0;
}
.download-item:last-child {
border-bottom: none;
}
.download-info h3 {
margin: 0 0 5px 0;
font-size: 1.4rem;
color: #1e5799;
}
.download-info p {
margin: 0;
color: #64748b;
font-size: 0.95rem;
}
.flash-pill-btn {
display: inline-block;
background: linear-gradient(to bottom, #6eb4f2 0%, #1e5799 50%, #133d6b 100%);
border: 1px solid #0a2644;
border-radius: 35px;
padding: 12px 28px;
color: #ffffff;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 12px rgba(0, 0, 0, 0.15);
transition: transform 0.1s;
cursor: pointer;
font-size: 0.85rem;
white-space: nowrap;
}
.flash-pill-btn:active {
transform: translateY(2px);
}
.btn-alt {
background: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
color: #1e5799;
border: 1px solid #cbd5e0;
text-shadow: none;
}
.req-notice {
margin-top: 40px;
padding: 20px;
background: rgba(255, 255, 255, 0.4);
border: 1px solid #cbd5e0;
border-radius: 12px;
font-size: 0.9rem;
color: #475569;
text-align: center;
}
#helper-popup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(15, 23, 42, 0.6);
backdrop-filter: blur(4px);
z-index: 1000;
align-items: center;
justify-content: center;
}
.popup-content {
background: #ffffff;
border-radius: 24px;
padding: 40px;
max-width: 500px;
width: 90%;
text-align: center;
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
border: 1px solid #fff;
}
.popup-content h2 {
margin-top: 0;
color: #0f172a;
}
.popup-actions {
margin-top: 30px;
display: flex;
gap: 15px;
justify-content: center;
}
.unable {
background: linear-gradient(to bottom, #dddee0 0%, #c2c7ce 100%);
color: #1e5799;
border: 1px solid #cbd5e0;
cursor: not-allowed;
text-shadow: none;
}
</style>
</head>
<body>
<div id="page-wrapper">
<div class="decor-container">
<div class="vector-swoosh swoosh-1"></div>
</div>
<main>
<h1 class="h-flash">Extensions</h1>
<div class="download-list">
<div class="download-item">
<div class="download-info">
<h3>Chrome</h3>
</div>
<div class="download-actions">
<button onclick="downloadItem('')" class="flash-pill-btn btn-alt unable">Open chrome web store</button>
</div>
</div>
<div class="download-item">
<div class="download-info">
<h3>Firefox</h3>
</div>
<div class="download-actions">
<button onclick="downloadItem('')" class="flash-pill-btn btn-alt unable">Open firefox addon page</button>
</div>
</div>
</div>
</main>
</div>
<script>
function downloadItem(url) {
window.location.href = url;
}
</script>
</body>
</html>