Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
378 lines (333 loc) · 10 KB
/
Copy pathstyles.css
File metadata and controls
378 lines (333 loc) · 10 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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
/* CSS for Pinterest Bulk Downloader Extension */
/* 1. Injected Download Button on Board Card */
.p-board-card-wrapper {
position: relative !important;
}
.p-bulk-dl-btn {
opacity: 0;
visibility: hidden;
position: absolute;
bottom: 12px;
right: 56px; /* Positioned to the left of the standard pencil edit button */
width: 36px;
height: 36px;
border-radius: 50%;
background-color: #ffffff !important;
color: #111111 !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
z-index: 9999 !important;
border: none !important;
padding: 0 !important;
}
.p-board-card-wrapper:hover .p-bulk-dl-btn {
opacity: 1;
visibility: visible;
}
.p-bulk-dl-btn:hover {
background-color: #e60023 !important;
color: #ffffff !important;
transform: scale(1.08) !important;
}
.p-bulk-dl-btn svg {
width: 18px;
height: 18px;
fill: currentColor;
pointer-events: none;
}
/* 2. Glassmorphism Control Panel Overlay */
.p-dl-overlay {
position: fixed !important;
top: 24px !important;
right: 24px !important;
width: 340px !important;
background: rgba(18, 18, 18, 0.85) !important;
backdrop-filter: blur(20px) saturate(180%) !important;
-webkit-backdrop-filter: blur(20px) saturate(180%) !important;
border: 1px solid rgba(255, 255, 255, 0.15) !important;
border-radius: 18px !important;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
color: #ffffff !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
padding: 24px !important;
z-index: 2147483647 !important; /* Maximized z-index to stay on top */
display: flex !important;
flex-direction: column !important;
gap: 16px !important;
box-sizing: border-box !important;
animation: p-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes p-slide-in {
from {
transform: translateY(-20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.p-dl-header {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
padding-bottom: 12px !important;
}
.p-dl-title {
font-size: 18px !important;
font-weight: 700 !important;
margin: 0 !important;
color: #ffffff !important;
}
.p-dl-close {
background: none !important;
border: none !important;
color: rgba(255, 255, 255, 0.6) !important;
cursor: pointer !important;
padding: 4px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
border-radius: 50% !important;
transition: background-color 0.2s, color 0.2s !important;
}
.p-dl-close:hover {
background-color: rgba(255, 255, 255, 0.1) !important;
color: #ffffff !important;
}
.p-dl-body {
display: flex !important;
flex-direction: column !important;
gap: 8px !important;
font-size: 14px !important;
}
.p-dl-board-info {
font-weight: 500 !important;
color: rgba(255, 255, 255, 0.8) !important;
margin-bottom: 4px !important;
word-break: break-word !important;
}
.p-dl-stats-row {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
margin-top: 4px !important;
}
.p-dl-loader-container {
display: flex !important;
align-items: center !important;
gap: 8px !important;
color: rgba(255, 255, 255, 0.6) !important;
}
/* Action Row Buttons (Select All, Deselect All, Pause Auto-Scroll) */
.p-dl-action-row {
display: flex !important;
gap: 6px !important;
margin-top: 6px !important;
}
.p-dl-btn-sub {
flex: 1 !important;
background-color: rgba(255, 255, 255, 0.08) !important;
color: rgba(255, 255, 255, 0.9) !important;
border: 1px solid rgba(255, 255, 255, 0.15) !important;
border-radius: 12px !important;
height: 28px !important;
font-size: 11px !important;
font-weight: 600 !important;
cursor: pointer !important;
transition: background-color 0.2s, color 0.2s !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding: 0 4px !important;
white-space: nowrap !important;
}
.p-dl-btn-sub:hover {
background-color: rgba(255, 255, 255, 0.2) !important;
color: #ffffff !important;
}
/* Progress Bar styling */
.p-dl-progress-track {
width: 100% !important;
height: 6px !important;
background-color: rgba(255, 255, 255, 0.1) !important;
border-radius: 3px !important;
overflow: hidden !important;
margin-top: 8px !important;
}
.p-dl-progress-bar {
height: 100% !important;
background-color: #e60023 !important;
width: 0% !important;
transition: width 0.3s ease !important;
}
/* Footer / Control Buttons */
.p-dl-footer {
display: flex !important;
flex-direction: column !important;
gap: 8px !important;
margin-top: 8px !important;
}
.p-dl-btn-primary {
background-color: #e60023 !important;
color: #ffffff !important;
border: none !important;
border-radius: 20px !important;
height: 40px !important;
font-size: 14px !important;
font-weight: 700 !important;
cursor: pointer !important;
transition: background-color 0.2s, transform 0.1s !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.p-dl-btn-primary:hover {
background-color: #ad001a !important;
transform: translateY(-1px) !important;
}
.p-dl-btn-primary:active {
transform: translateY(1px) !important;
}
.p-dl-btn-secondary {
background-color: rgba(255, 255, 255, 0.1) !important;
color: #ffffff !important;
border: none !important;
border-radius: 20px !important;
height: 40px !important;
font-size: 14px !important;
font-weight: 600 !important;
cursor: pointer !important;
transition: background-color 0.2s !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.p-dl-btn-secondary:hover {
background-color: rgba(255, 255, 255, 0.2) !important;
}
/* Disable scrolling backdrop if needed, though we only prevent user keys/wheel */
.p-no-scroll {
overflow: hidden !important;
}
/* 3. Interactive Pin Checkbox Selection */
.p-pin-checkbox {
position: absolute !important;
bottom: 12px !important;
left: 12px !important;
width: 24px !important;
height: 24px !important;
border-radius: 50% !important;
background-color: #e60023 !important; /* Pinterest Red */
border: 2px solid #ffffff !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
z-index: 99999 !important;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
transition: background-color 0.2s ease, transform 0.15s ease !important;
}
.p-pin-checkbox:hover {
transform: scale(1.1) !important;
}
.p-pin-checkbox.unchecked {
background-color: rgba(30, 30, 30, 0.8) !important;
border-color: rgba(255, 255, 255, 0.7) !important;
}
.p-pin-checkbox svg {
width: 14px !important;
height: 14px !important;
fill: #ffffff !important;
pointer-events: none !important;
}
.p-pin-checkbox.unchecked svg {
display: none !important; /* Hide checkmark when deselected */
}
/* Semi-transparent deselected state */
.p-deselected-pin {
opacity: 0.35 !important;
filter: grayscale(60%) !important;
transition: opacity 0.3s ease, filter 0.3s ease !important;
}
/* 4. Floating Action Launcher Button (FAB) */
.p-fab-launcher {
position: fixed !important;
bottom: 24px !important;
right: 24px !important;
height: 44px !important;
padding: 0 20px !important;
border-radius: 22px !important;
background-color: #e60023 !important; /* Pinterest Red */
color: #ffffff !important;
border: none !important;
box-shadow: 0 6px 20px rgba(230, 0, 35, 0.45) !important;
display: flex !important;
align-items: center !important;
gap: 10px !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
font-size: 14px !important;
font-weight: 700 !important;
cursor: pointer !important;
z-index: 2147483646 !important;
transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}
.p-fab-launcher:hover {
background-color: #ad001a !important;
transform: translateY(-2px) scale(1.03) !important;
box-shadow: 0 8px 24px rgba(230, 0, 35, 0.6) !important;
}
.p-fab-launcher:active {
transform: translateY(1px) scale(0.98) !important;
}
.p-fab-launcher svg {
width: 20px !important;
height: 20px !important;
fill: #ffffff !important;
pointer-events: none !important;
}
/* 5. Mini Single Pin Hover Download Button (Positioned Beside Share Button) */
.p-single-pin-wrapper {
position: relative !important;
}
.p-single-pin-dl-btn {
opacity: 0;
visibility: hidden;
position: absolute !important;
bottom: 12px !important;
right: 60px !important; /* Positioned beside the share/send button at bottom-right */
width: 36px !important;
height: 36px !important;
border-radius: 50% !important;
background-color: #ffffff !important;
color: #111111 !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.15s ease, background-color 0.2s ease, color 0.2s ease !important;
z-index: 9999 !important;
border: none !important;
padding: 0 !important;
}
.p-single-pin-wrapper:hover .p-single-pin-dl-btn {
opacity: 1;
visibility: visible;
}
.p-single-pin-dl-btn:hover {
background-color: #e60023 !important;
color: #ffffff !important;
transform: scale(1.08) !important;
}
.p-single-pin-dl-btn svg {
width: 18px !important;
height: 18px !important;
fill: currentColor !important;
pointer-events: none !important;
}