From d0861b28f9c1304f98fc3eb2317c793eb8f0fdc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=84=B1=EC=98=81?= Date: Fri, 14 Nov 2025 10:36:43 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=97=85=EB=A1=9C?= =?UTF-8?q?=EB=93=9C=20=EB=94=94=EC=9E=90=EC=9D=B8=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../registration/uploadPopup.jsp | 182 +++++++++++++++--- 1 file changed, 160 insertions(+), 22 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/uploadPopup.jsp b/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/uploadPopup.jsp index 5e51dba..d1ecbf4 100644 --- a/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/uploadPopup.jsp +++ b/src/main/webapp/WEB-INF/views/carInspectionPenalty/registration/uploadPopup.jsp @@ -23,8 +23,12 @@ * TXT 파일 -
- +
+ + 파일을 선택하세요 +
※ TXT 파일만 업로드 가능합니다. (최대 50MB) @@ -71,6 +75,79 @@ .loading.active { display: block !important; } + + /* 파일 입력 스타일 */ + .file-input-row { + position: relative; + display: flex; + align-items: center; + gap: 10px; + padding: 12px 15px; + background-color: #f8f9fa; + border: 2px dashed #dee2e6; + border-radius: 6px; + cursor: pointer; + transition: all 0.3s ease; + } + + .file-input-row:hover { + background-color: #e9ecef; + border-color: #4CAF50; + } + + .file-input-row.has-file { + background-color: #e7f3ff; + border-color: #4CAF50; + border-style: solid; + } + + .file_input { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + opacity: 0; + cursor: pointer; + } + + .file-input-text { + flex: 1; + color: #666; + font-size: 14px; + pointer-events: none; + display: flex; + align-items: center; + } + + .file-input-text i.material-icons { + font-size: 18px; + margin-right: 8px; + color: #4CAF50; + } + + .btn_delete_file { + padding: 4px; + background-color: #dc3545; + color: white; + border: none; + border-radius: 4px; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + transition: background-color 0.3s ease; + z-index: 10; + position: relative; + } + + .btn_delete_file:hover { + background-color: #c82333; + } + + .btn_delete_file i.material-icons { + font-size: 18px; + }