Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
246 changes: 246 additions & 0 deletions src/AddressBookManage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
/* 기본 컨테이너 스타일 */
.container {
font-family: Arial, sans-serif;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}

/* 헤더 및 네비게이션 스타일 */
.header {
width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
border-bottom: 1px solid #ddd;
padding: 20px 0;
}

.brand {
font-size: 24px;
font-weight: bold;
color: black;
text-decoration: none;
margin-right: 20px;
}

.nav-links {
display: flex;
gap: 10px;
align-items: center;
}

.nav-button {
background-color: #ffffff;
color: #007bff;
padding: 8px 16px;
border: 1px solid #007bff;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
font-size: 16px;
transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-button:hover {
background-color: #007bff;
color: #ffffff;
}

/* 드롭다운 스타일 */
.dropdown-section {
position: relative;
}


.dropdown-toggle {
background-color: #007bff;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}

.dropdown-content {
position: absolute;
top: 100%;
left: 0;
background-color: white;
border: 1px solid #007bff;
border-radius: 4px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
z-index: 10;
width: 180px;
}

.dropdown-item {
padding: 10px;
color: #007bff;
cursor: pointer;
background: white;
border: none;
text-align: center;

}

.dropdown-item:hover {
background-color: #007bff;
color: white;
}

/* 메인 컨텐츠 스타일 */
.main-content {
text-align: center;
margin-top: 40px;
width: 80%;
max-width: 600px;
}

.upload-section {
margin-bottom: 40px;
}

.file-upload-btn {
background-color: #f0f0f0;
color: black;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
display: inline-flex;
align-items: center;
font-size: 16px;
margin-top: 20px;
}

.address-input-section {
margin-top: 20px;
}

.input-text {
padding: 10px;
width: calc(100% - 110px);
margin-right: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}

.upload-btn {
background-color: #007bff;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}

/* 플로팅 채팅 버튼 */
.chat-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #007bff;
color: white;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
cursor: pointer;
}

/* 챗봇 모달 스타일 */
.chatbot-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 400px;
background-color: white;
border-radius: 8px;
padding: 20px;
z-index: 1001;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.Overlay {
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000;
}

.close-chatbot-button {
background: transparent;
border: none;
font-size: 1.2rem;
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
}

.chatbot-content {
display: flex;
flex-direction: column;
height: 300px;
}

.chat-history {
flex: 1;
overflow-y: auto;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}

.user-message {
text-align: right;
color: #007bff;
margin: 5px 0;
}

.bot-message {
text-align: left;
color: #333;
margin: 5px 0;
}

.chat-input {
display: flex;
}

.chat-input-field {
flex: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1rem;
}

.send-button {
background-color: #007bff;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
margin-left: 10px;
}

.send-button:hover {
background-color: #0056b3;
}

Loading