| 1 |
<template> |
| 2 |
<div class="wpfnl-mm-setup-wizard-exit"> |
| 3 |
<a href="#" class="wpfnl-mm-setup-wizard-exit-link" @click.prevent="showExitModal"> |
| 4 |
Skip for now |
| 5 |
</a> |
| 6 |
</div> |
| 7 |
</template> |
| 8 |
|
| 9 |
<script> |
| 10 |
export default { |
| 11 |
name: 'Help', |
| 12 |
methods: { |
| 13 |
showExitModal() { |
| 14 |
this.$emit('show-exit-modal') |
| 15 |
} |
| 16 |
} |
| 17 |
} |
| 18 |
</script> |
| 19 |
|
| 20 |
<style scoped> |
| 21 |
/* Exit Modal */ |
| 22 |
.wpfnl-exit-modal-overlay { |
| 23 |
position: fixed; |
| 24 |
top: 0; |
| 25 |
left: 0; |
| 26 |
right: 0; |
| 27 |
bottom: 0; |
| 28 |
background: rgba(0, 0, 0, 0.5); |
| 29 |
display: flex; |
| 30 |
align-items: center; |
| 31 |
justify-content: center; |
| 32 |
z-index: 10000; |
| 33 |
animation: fadeIn 0.2s ease; |
| 34 |
} |
| 35 |
|
| 36 |
@keyframes fadeIn { |
| 37 |
from { |
| 38 |
opacity: 0; |
| 39 |
} |
| 40 |
to { |
| 41 |
opacity: 1; |
| 42 |
} |
| 43 |
} |
| 44 |
|
| 45 |
.wpfnl-exit-modal { |
| 46 |
background: #FFFFFF; |
| 47 |
border-radius: 16px; |
| 48 |
padding: 32px; |
| 49 |
max-width: 440px; |
| 50 |
width: 90%; |
| 51 |
box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.15); |
| 52 |
animation: slideUp 0.3s ease; |
| 53 |
} |
| 54 |
|
| 55 |
@keyframes slideUp { |
| 56 |
from { |
| 57 |
transform: translateY(20px); |
| 58 |
opacity: 0; |
| 59 |
} |
| 60 |
to { |
| 61 |
transform: translateY(0); |
| 62 |
opacity: 1; |
| 63 |
} |
| 64 |
} |
| 65 |
|
| 66 |
.wpfnl-exit-modal-header { |
| 67 |
display: flex; |
| 68 |
flex-direction: column; |
| 69 |
align-items: center; |
| 70 |
text-align: center; |
| 71 |
margin-bottom: 24px; |
| 72 |
} |
| 73 |
|
| 74 |
.wpfnl-exit-modal-header svg { |
| 75 |
margin-bottom: 16px; |
| 76 |
} |
| 77 |
|
| 78 |
.wpfnl-exit-modal-title { |
| 79 |
font-size: 20px; |
| 80 |
font-weight: 700; |
| 81 |
font-family: 'DM Sans', sans-serif; |
| 82 |
color: #363B4E; |
| 83 |
margin: 0 0 12px 0; |
| 84 |
letter-spacing: -0.5px; |
| 85 |
} |
| 86 |
|
| 87 |
.wpfnl-exit-modal-description { |
| 88 |
font-size: 14px; |
| 89 |
font-weight: 400; |
| 90 |
font-family: 'DM Sans', sans-serif; |
| 91 |
color: #6E7A85; |
| 92 |
line-height: 1.6; |
| 93 |
margin: 0; |
| 94 |
} |
| 95 |
|
| 96 |
.wpfnl-exit-modal-actions { |
| 97 |
display: flex; |
| 98 |
gap: 12px; |
| 99 |
justify-content: center; |
| 100 |
} |
| 101 |
|
| 102 |
.wpfnl-exit-modal-btn { |
| 103 |
padding: 12px 24px; |
| 104 |
border-radius: 8px; |
| 105 |
font-size: 14px; |
| 106 |
font-weight: 500; |
| 107 |
cursor: pointer; |
| 108 |
transition: all 0.3s ease; |
| 109 |
border: none; |
| 110 |
min-width: 140px; |
| 111 |
} |
| 112 |
|
| 113 |
.wpfnl-exit-modal-btn-secondary { |
| 114 |
background: #F6F5FA; |
| 115 |
color: #363B4E; |
| 116 |
border: 1px solid #ECEBF0; |
| 117 |
} |
| 118 |
|
| 119 |
.wpfnl-exit-modal-btn-secondary:hover { |
| 120 |
background: #ECEBF0; |
| 121 |
border-color: #6E42D3; |
| 122 |
} |
| 123 |
|
| 124 |
.wpfnl-exit-modal-btn-danger { |
| 125 |
background: #EF4444; |
| 126 |
color: #FFFFFF; |
| 127 |
} |
| 128 |
|
| 129 |
.wpfnl-exit-modal-btn-danger:hover { |
| 130 |
background: #DC2626; |
| 131 |
} |
| 132 |
</style> |