PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 2.1.7
Backup Migration v2.1.7
2.1.7 2.1.6 2.1.5.2 trunk 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.6.1 1.4.7 1.4.8 1.4.9 1.4.9.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.5.1
backup-backup / modules / backup-banner / assets / css / style.css
backup-backup / modules / backup-banner / assets / css Last commit date
style.css 2 weeks ago
style.css
523 lines
1 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
2
3 /* ── Dark overlay ── */
4 .bmi-backup-banner__overlay {
5 position: fixed;
6 inset: 0;
7 background: rgba(6, 84, 80, 0.7);
8 z-index: 99999;
9 visibility: hidden;
10 opacity: 0;
11 transition: opacity 0.3s ease, visibility 0.3s ease;
12 }
13 .bmi-backup-banner__overlay.bmi-backup-banner--ready {
14 visibility: visible;
15 opacity: 1;
16 }
17
18 #adminmenuwrap,
19 #adminmenu {
20 position: relative;
21 z-index: 100000;
22 pointer-events: none;
23 margin-bottom: 0 !important;
24 margin-top: 0 !important;
25 }
26 #adminmenu .wp-submenu {
27 padding:0 !important;
28 }
29 /* Re-enable only target item */
30 #toplevel_page_backup-migration,
31 #toplevel_page_backup-migration * {
32 pointer-events: auto;
33 }
34 /* Per-item overlay */
35 .bmi-menu-dim {
36 position: relative;
37 }
38
39 .bmi-menu-dim::after {
40 content: "";
41 position: absolute;
42 inset: 0;
43 background: rgba(6, 84, 80, 0.7);
44
45 }
46
47 /* ── Sidebar menu item highlight ── */
48 .bmi-backup-banner--sidebar-highlight {
49 position: relative;
50 outline: 2px dashed #E0F2F7 !important;
51 outline-offset: 0px;
52 border-radius: 15px;
53 z-index: 100000;
54 }
55
56 /* ── Wavy arrow ── */
57 .bmi-backup-banner__waved-arrow {
58 position: fixed;
59 z-index: 100001;
60 pointer-events: none;
61 /* JS will position this dynamically */
62 display: none;
63 visibility: hidden;
64 opacity: 0;
65 transition: opacity 0.3s ease, visibility 0.3s ease;
66 }
67 .bmi-backup-banner__waved-arrow.bmi-backup-banner--ready {
68 visibility: visible;
69 opacity: 1;
70 transition: opacity 0.3s ease, visibility 0.3s ease,
71 top 0.4s cubic-bezier(0.3, 0, 0.7, 1),
72 left 0.4s cubic-bezier(0.3, 0, 0.7, 1),
73 width 0.4s cubic-bezier(0.3, 0, 0.7, 1);
74 will-change: top, left, width;
75 }
76
77 /* ── Floating popup ── */
78 .bmi-backup-banner {
79 position: fixed;
80 z-index: 100001;
81 top: 45%;
82 left: 45%;
83 transform: translateX(-50%);
84 max-width: 980px;
85 width: calc(100% - 40px);
86 font-family: "Montserrat", sans-serif;
87 visibility: hidden;
88 opacity: 0;
89 transition: opacity 0.3s ease, visibility 0.3s ease;
90 }
91 .bmi-backup-banner.bmi-backup-banner--ready {
92 visibility: visible;
93 opacity: 1;
94 transition: opacity 0.3s ease, visibility 0.3s ease,
95 transform 0.4s cubic-bezier(0.3, 0, 0.7, 1),
96 top 0.4s cubic-bezier(0.3, 0, 0.7, 1),
97 left 0.4s cubic-bezier(0.3, 0, 0.7, 1),
98 width 0.4s cubic-bezier(0.3, 0, 0.7, 1);
99 will-change: transform, top, left, width;
100 }
101
102 .bmi-backup-banner *,
103 .bmi-backup-banner *::before,
104 .bmi-backup-banner *::after {
105 box-sizing: border-box;
106 -moz-box-sizing: border-box;
107 -webkit-box-sizing: border-box;
108 }
109
110 /* ── Inner container ── */
111 .bmi-backup-banner__inner {
112 position: relative;
113 overflow: hidden;
114 border-radius: 20px;
115 background: linear-gradient(179deg, rgba(251, 251, 255, 1) 0%, rgba(215, 239, 245, 1) 100%);
116 padding: 25px 40px 55px 40px;
117 display: flex;
118 flex-direction: column;
119 gap: 8px;
120 }
121
122 /* ── Background pattern (decorative) ── */
123 .bmi-backup-banner__bg-pattern {
124 position: absolute;
125 right: 0;
126 bottom: 0;
127 width: 347px;
128 height: 289px;
129 opacity: 0.2;
130 pointer-events: none;
131 z-index: 0;
132 }
133
134 /* ── Close button ── */
135 .bmi-backup-banner__close {
136 position: absolute;
137 top: 20px;
138 right: 20px;
139 width: 20px;
140 height: 20px;
141 background: none;
142 border: none;
143 cursor: pointer;
144 padding: 0;
145 z-index: 2;
146 display: flex;
147 align-items: center;
148 justify-content: center;
149 opacity: 0.7;
150 transition: opacity 0.2s ease;
151 }
152
153 .bmi-backup-banner__close:hover {
154 opacity: 1;
155 }
156
157 .bmi-backup-banner__close img {
158 width: 20px;
159 height: 20px;
160 }
161
162 /* ── Content area (above bg) ── */
163 .bmi-backup-banner__content {
164 position: relative;
165 z-index: 1;
166 display: flex;
167 flex-direction: column;
168 align-items: center;
169 }
170
171 /* ── Header (icon + title) ── */
172 .bmi-backup-banner__header {
173 display: flex;
174 flex-direction: column;
175 align-items: center;
176 gap: 8px;
177 }
178
179 .bmi-backup-banner__alarm-icon {
180 width: 81px;
181 height: 70px;
182 }
183
184 .bmi-backup-banner__title {
185 font-family: "Montserrat", sans-serif;
186 font-weight: 400;
187 font-size: 36px;
188 line-height: 1.3;
189 color: #3C434A;
190 text-align: center;
191 margin: 0;
192 max-width: 541px;
193 }
194
195 /* ── Body (subtitle + feature cards) ── */
196 .bmi-backup-banner__body {
197 margin-top: 30px;
198 margin-bottom: 45px;
199 }
200
201 .bmi-backup-banner__subtitle {
202 font-family: "Montserrat", sans-serif;
203 font-weight: 300;
204 font-size: 20px;
205 line-height: 1.5;
206 color: #3C434A;
207 text-align: center;
208 margin: 0;
209 }
210
211 /* ── Feature cards row ── */
212 .bmi-backup-banner__features {
213 display: flex;
214 flex-direction: row;
215 justify-content: center;
216 margin-top: 15px;
217 gap: 10px;
218 }
219
220 .bmi-backup-banner__feature-card {
221 display: flex;
222 align-items: center;
223 gap: 15px;
224 font-weight: 700;
225 font-size: 18px;
226 line-height: 28px;
227 background: #fff;
228 padding: 13px 23px 13px 18px;
229 border-radius: 20px;
230
231 }
232
233 .bmi-backup-banner__feature-icon {
234 display: flex;
235 align-items: center;
236 position: relative;
237 }
238
239 .bmi-backup-banner__feature-icon img {
240 width: 55px;
241 height: 55px;
242 flex-shrink: 0;
243 }
244
245 .bmi-backup-banner__feature-text {
246 font-family: "Montserrat", sans-serif;
247 font-weight: 400;
248 font-size: 18px;
249 line-height: 1.4;
250 color: #3C434A;
251 }
252
253 /* ── Actions (buttons) ── */
254 .bmi-backup-banner__actions {
255 display: flex;
256 flex-direction: row;
257 justify-content: center;
258 gap: 20px;
259 margin-top: 8px;
260 }
261
262 .bmi-backup-banner__btn {
263 display: inline-flex;
264 align-items: center;
265 justify-content: center;
266 border-radius: 163px;
267 font-family: "Montserrat", sans-serif;
268 font-weight: 600;
269 font-size: 18px;
270 line-height: 1.22;
271 text-decoration: none;
272 cursor: pointer;
273 transition: opacity 0.2s ease, background-color 0.2s ease;
274 white-space: nowrap;
275 }
276
277 .bmi-backup-banner__btn:hover {
278 opacity: 0.9;
279 }
280
281 .bmi-backup-banner__btn:focus {
282 outline: 2px solid #148E87;
283 outline-offset: 2px;
284 }
285
286 /* Primary button (green) */
287 .bmi-backup-banner__btn--primary {
288 gap: 15px;
289 padding: 20px 40px 20px 20px;
290 background-color: #148E87;
291 color: #FFFFFF;
292 border: none;
293 }
294
295 .bmi-backup-banner__btn--primary:hover {
296 background-color: #117a74;
297 color: #FFFFFF;
298 }
299
300 .bmi-backup-banner__btn-arrow {
301 width: 28px;
302 height: 28px;
303 }
304
305 /* Secondary button (outline) */
306 .bmi-backup-banner__btn--secondary {
307 gap: 20px;
308 padding: 20px 40px;
309 color: #148E87;
310 border: 1px solid #148E87;
311 }
312
313 .bmi-backup-banner__btn--secondary:hover {
314 background-color: #f0faf9;
315 color: #148E87;
316 }
317
318 .green{
319 color: #148E87;
320 }
321
322 .bold{
323 font-weight: bold;
324
325 }
326
327 .semi-bold{
328 font-weight: 500;
329 }
330
331 .nowrap{
332 white-space: nowrap;
333 }
334
335 /* ── Responsive ── */
336 @media (max-width: 1500px) {
337 .bmi-backup-banner {
338 left: 50%;
339 max-width: 900px;
340 }
341
342 .bmi-backup-banner__title {
343 font-size: 32px;
344 }
345
346 .bmi-backup-banner__subtitle {
347 font-size: 18px;
348 }
349
350 .bmi-backup-banner__feature-text {
351 font-size: 16px;
352 }
353
354 .bmi-backup-banner__btn {
355 font-size: 16px;
356 }
357
358 .bmi-backup-banner__btn--primary {
359 padding: 18px 32px 18px 18px;
360 }
361
362 .bmi-backup-banner__btn--secondary {
363 padding: 18px 32px;
364 }
365 }
366
367 @media (max-width: 1200px) {
368 .bmi-backup-banner {
369 max-width: 600px;
370 top: auto;
371 }
372
373 /* Override inline widths on feature cards at all sizes */
374 .bmi-backup-banner__feature-card {
375 width: auto !important;
376 min-width: 0;
377 flex: 1 1 0;
378 }
379
380 .bmi-backup-banner__title {
381 font-size: 24px;
382 }
383
384 .bmi-backup-banner__subtitle {
385 font-size: 16px;
386 }
387
388 .bmi-backup-banner__features {
389 flex-direction: column;
390 width: 100%;
391 }
392
393 .bmi-backup-banner__feature-card {
394 flex: 1 1 100% !important;
395 flex-direction: row;
396 align-items: center;
397 padding: 14px 18px;
398 }
399
400 .bmi-backup-banner__feature-text {
401 max-width: none;
402 font-size: 15px;
403 }
404
405 .bmi-backup-banner__actions {
406 flex-direction: column;
407 align-items: center;
408 width: 100%;
409 }
410
411 .bmi-backup-banner__btn {
412 width: 100%;
413 max-width: 420px;
414 justify-content: center;
415 font-size: 15px;
416 }
417
418 .bmi-backup-banner__inner {
419 padding: 25px 25px 40px;
420 }
421
422 .bmi-backup-banner__body {
423 margin-top: 15px;
424 margin-bottom: 25px;
425 }
426
427 /* Hide wavy arrow on smaller screens */
428 .bmi-backup-banner__waved-arrow {
429 display: none !important;
430 }
431 }
432
433 @media (max-width: 782px) {
434 /* WP collapses sidebar at 782px */
435 .bmi-backup-banner {
436 left: 50%;
437 max-width: 520px;
438 }
439
440 .bmi-backup-banner__title {
441 font-size: 22px;
442 }
443
444 .bmi-backup-banner__actions {
445 gap: 12px;
446 }
447
448 .bmi-backup-banner__btn {
449 font-size: 14px;
450 padding: 14px 22px;
451 }
452
453 .bmi-backup-banner__btn--primary {
454 padding: 14px 22px 14px 14px;
455 }
456 }
457
458 @media (max-width: 600px) {
459 .bmi-backup-banner {
460 max-width: none;
461 width: calc(100% - 20px);
462 left: 50%;
463 }
464
465 .bmi-backup-banner__title {
466 font-size: 20px;
467 }
468
469 .bmi-backup-banner__subtitle {
470 font-size: 14px;
471 }
472
473 .bmi-backup-banner__feature-text {
474 font-size: 13px;
475 }
476
477 .bmi-backup-banner__btn {
478 font-size: 13px;
479 padding: 14px 20px;
480 }
481
482 .bmi-backup-banner__btn--primary {
483 padding: 14px 20px 14px 14px;
484 }
485
486 .bmi-backup-banner__inner {
487 padding: 20px 16px 32px;
488 border-radius: 12px;
489 }
490
491 .bmi-backup-banner__alarm-icon {
492 width: 50px;
493 height: 43px;
494 }
495
496 .bmi-backup-banner__feature-icon img {
497 width: 36px;
498 height: 36px;
499 }
500
501 .bmi-backup-banner__feature-card {
502 padding: 10px 14px;
503 gap: 10px;
504 border-radius: 14px;
505 }
506
507 .bmi-backup-banner__bg-pattern {
508 width: 180px;
509 height: auto;
510 }
511
512 .bmi-backup-banner__body {
513 margin-top: 12px;
514 margin-bottom: 20px;
515 }
516 }
517 @media (max-width: 400px) {
518
519 .bmi-backup-banner__feature-card {
520 padding: 8px 5px;
521 }
522 }
523