AccountLockedModal.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <template>
  2. <div class="admin--modal-overlay">
  3. <div class="admin--modal account--locked-modal">
  4. <div class="admin--modal-header">
  5. <h4>계정 잠금</h4>
  6. </div>
  7. <div class="admin--modal-body">
  8. <div class="admin--error-box">
  9. <svg
  10. width="64"
  11. height="64"
  12. viewBox="0 0 24 24"
  13. fill="none"
  14. xmlns="http://www.w3.org/2000/svg"
  15. >
  16. <circle cx="12" cy="12" r="10" stroke="#f44336" stroke-width="2" />
  17. <path
  18. d="M12 8v4M12 16h.01"
  19. stroke="#f44336"
  20. stroke-width="2"
  21. stroke-linecap="round"
  22. />
  23. </svg>
  24. <h3>계정이 잠겼습니다</h3>
  25. <p class="main--message">비밀번호를 5회 틀렸습니다.</p>
  26. <p class="sub--message">슈퍼 관리자에게 문의하여주세요.</p>
  27. </div>
  28. </div>
  29. <div class="admin--modal-footer">
  30. <button
  31. type="button"
  32. @click="closeModal"
  33. class="admin--btn-small admin--btn-small-primary"
  34. >
  35. 확인
  36. </button>
  37. </div>
  38. </div>
  39. </div>
  40. </template>
  41. <script setup>
  42. const emit = defineEmits(["close"]);
  43. const closeModal = () => {
  44. emit("close");
  45. };
  46. </script>
  47. <style>
  48. .admin--modal-overlay {
  49. position: fixed;
  50. top: 0;
  51. left: 0;
  52. right: 0;
  53. bottom: 0;
  54. background: rgba(0, 0, 0, 0.5);
  55. z-index: 9999;
  56. display: flex;
  57. align-items: center;
  58. justify-content: center;
  59. }
  60. .admin--modal {
  61. background: #ffffff;
  62. padding: 0;
  63. border-radius: 8px;
  64. min-width: 450px;
  65. max-width: 550px;
  66. width: 90%;
  67. box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  68. max-height: 90vh;
  69. display: flex;
  70. flex-direction: column;
  71. }
  72. .account--locked-modal {
  73. border: 2px solid #f44336;
  74. }
  75. .admin--modal-header {
  76. padding: 20px;
  77. border-bottom: 1px solid #e0e0e0;
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: center;
  81. flex-shrink: 0;
  82. background: #fafafa;
  83. }
  84. .admin--modal-header h4 {
  85. margin: 0;
  86. font-size: 18px;
  87. font-weight: 600;
  88. color: #f44336;
  89. }
  90. .admin--modal-body {
  91. padding: 32px 24px;
  92. overflow-y: auto;
  93. flex: 1;
  94. min-height: 0;
  95. }
  96. .admin--error-box {
  97. text-align: center;
  98. padding: 20px;
  99. }
  100. .admin--error-box svg {
  101. margin: 0 auto 20px;
  102. display: block;
  103. }
  104. .admin--error-box h3 {
  105. margin: 0 0 16px 0;
  106. font-size: 24px;
  107. font-weight: 600;
  108. color: #f44336;
  109. }
  110. .admin--error-box .main--message {
  111. margin: 12px 0;
  112. color: #1a1a1a;
  113. font-size: 16px;
  114. font-weight: 500;
  115. line-height: 1.6;
  116. }
  117. .admin--error-box .sub--message {
  118. margin: 8px 0;
  119. color: #333333;
  120. font-size: 14px;
  121. line-height: 1.6;
  122. }
  123. .admin--modal-footer {
  124. padding: 20px 24px;
  125. border-top: 1px solid #e0e0e0;
  126. display: flex;
  127. gap: 10px;
  128. justify-content: center;
  129. flex-shrink: 0;
  130. }
  131. .admin--btn-small {
  132. padding: 10px 24px;
  133. border: none;
  134. border-radius: 4px;
  135. font-size: 14px;
  136. font-weight: 500;
  137. cursor: pointer;
  138. transition: all 0.3s ease;
  139. font-family: "FORDKOREAType", sans-serif;
  140. white-space: nowrap;
  141. min-width: 100px;
  142. }
  143. .admin--btn-small-primary {
  144. background: var(--admin-accent-primary, #217346);
  145. color: #ffffff;
  146. }
  147. .admin--btn-small-primary:hover:not(:disabled) {
  148. background: var(--admin-accent-hover, #1a5c37);
  149. }
  150. </style>