| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <template>
- <div class="admin--modal-overlay">
- <div class="admin--modal account--locked-modal">
- <div class="admin--modal-header">
- <h4>계정 잠금</h4>
- </div>
- <div class="admin--modal-body">
- <div class="admin--error-box">
- <svg
- width="64"
- height="64"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <circle cx="12" cy="12" r="10" stroke="#f44336" stroke-width="2" />
- <path
- d="M12 8v4M12 16h.01"
- stroke="#f44336"
- stroke-width="2"
- stroke-linecap="round"
- />
- </svg>
- <h3>계정이 잠겼습니다</h3>
- <p class="main--message">비밀번호를 5회 틀렸습니다.</p>
- <p class="sub--message">슈퍼 관리자에게 문의하여주세요.</p>
- </div>
- </div>
- <div class="admin--modal-footer">
- <button
- type="button"
- @click="closeModal"
- class="admin--btn-small admin--btn-small-primary"
- >
- 확인
- </button>
- </div>
- </div>
- </div>
- </template>
- <script setup>
- const emit = defineEmits(["close"]);
- const closeModal = () => {
- emit("close");
- };
- </script>
- <style>
- .admin--modal-overlay {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.5);
- z-index: 9999;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .admin--modal {
- background: #ffffff;
- padding: 0;
- border-radius: 8px;
- min-width: 450px;
- max-width: 550px;
- width: 90%;
- box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
- max-height: 90vh;
- display: flex;
- flex-direction: column;
- }
- .account--locked-modal {
- border: 2px solid #f44336;
- }
- .admin--modal-header {
- padding: 20px;
- border-bottom: 1px solid #e0e0e0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- flex-shrink: 0;
- background: #fafafa;
- }
- .admin--modal-header h4 {
- margin: 0;
- font-size: 18px;
- font-weight: 600;
- color: #f44336;
- }
- .admin--modal-body {
- padding: 32px 24px;
- overflow-y: auto;
- flex: 1;
- min-height: 0;
- }
- .admin--error-box {
- text-align: center;
- padding: 20px;
- }
- .admin--error-box svg {
- margin: 0 auto 20px;
- display: block;
- }
- .admin--error-box h3 {
- margin: 0 0 16px 0;
- font-size: 24px;
- font-weight: 600;
- color: #f44336;
- }
- .admin--error-box .main--message {
- margin: 12px 0;
- color: #1a1a1a;
- font-size: 16px;
- font-weight: 500;
- line-height: 1.6;
- }
- .admin--error-box .sub--message {
- margin: 8px 0;
- color: #333333;
- font-size: 14px;
- line-height: 1.6;
- }
- .admin--modal-footer {
- padding: 20px 24px;
- border-top: 1px solid #e0e0e0;
- display: flex;
- gap: 10px;
- justify-content: center;
- flex-shrink: 0;
- }
- .admin--btn-small {
- padding: 10px 24px;
- border: none;
- border-radius: 4px;
- font-size: 14px;
- font-weight: 500;
- cursor: pointer;
- transition: all 0.3s ease;
- font-family: "FORDKOREAType", sans-serif;
- white-space: nowrap;
- min-width: 100px;
- }
- .admin--btn-small-primary {
- background: var(--admin-accent-primary, #217346);
- color: #ffffff;
- }
- .admin--btn-small-primary:hover:not(:disabled) {
- background: var(--admin-accent-hover, #1a5c37);
- }
- </style>
|