Skip to content
Merged
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
Binary file modified db.sqlite3
Binary file not shown.
108 changes: 108 additions & 0 deletions static/css/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
/* --- 입력 폼 (하단 캡슐 모양) --- */
.input-form {
background-color: #ffffff;
border: 1px solid #d1d5db;
border-radius: 50px;
padding: 8px 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
margin-top: 20px;
display: flex;
align-items: center;
}

/* 수정 모드일 때 강조 */
.input-form.edit-mode {
border-color: #3b82f6;
background-color: #eff6ff;
border-radius: 12px;
/* 수정 모드는 조금 더 네모나게 */
}

.input-form:focus-within {
border-color: #0cbd12;
}

.file-btn {
font-size: 50px;
color: #444;
cursor: pointer;
transition: color 0.2s;
padding: 4px;
margin-right: 4px;
}

.file-btn:hover {
transform:rotate(45deg);
transform: translateY(-2px);
}

.input-field {
border: none;
outline: none;
background: transparent;
padding: 8px 12px;
font-size: 0.95rem;
color: #222222;
flex: 1;
}

.input-field::placeholder {
color: #999;
}

.input-form label {
font-size: 0.85rem;
color: #222;
user-select: none;
margin-right: 4px;
font-weight: 500;
display: flex;
align-items: center;
gap: 4px;
cursor: pointer;
}

/* --- 전송 버튼 (동그란 종이비행기) --- */
.submit-btn {
background-color: #00462A;
color: white;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 23px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
margin-left: 8px;
flex-shrink: 0;
}

.submit-btn:hover {
background-color: #099e0f;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
transform: scale(0.95);
}

.submit-btn svg {
margin-right: 2px;
margin-top: 2px;
}

/* 빈 상태 메시지 */
.empty-state {
text-align: center;
padding: 40px 0;
color: #888;
font-size: 0.95rem;
background: #fcfcfc;
border-radius: 12px;
border: 1px dashed #e5e7eb;
}
18 changes: 9 additions & 9 deletions static/css/contents_tab.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@
color: #222222;
text-decoration: none;
font-weight: 600;
border-bottom: 1px solid #ddd;
transition: all 0.2s;
}

.content-link:hover {
color: #0cbd12;
border-bottom-color: #0cbd12;
color: #00462A;
text-decoration: none;
border-bottom-color: none;
}

/* 이미지 스타일 */
Expand Down Expand Up @@ -148,7 +148,7 @@
color: #b91c1c;
}

/* --- 입력 폼 (하단 캡슐 모양) --- */
/* --- 입력 폼 (하단 캡슐 모양) ---
.input-form {
background-color: #ffffff;
border: 1px solid #d1d5db;
Expand All @@ -160,12 +160,12 @@
align-items: center;
}

/* 수정 모드일 때 강조 */
/* 수정 모드일 때 강조
.input-form.edit-mode {
border-color: #3b82f6;
background-color: #eff6ff;
border-radius: 12px;
/* 수정 모드는 조금 더 네모나게 */
/* 수정 모드는 조금 더 네모나게
}

.input-form:focus-within {
Expand Down Expand Up @@ -211,7 +211,7 @@
cursor: pointer;
}

/* --- 전송 버튼 (동그란 종이비행기) --- */
/* --- 전송 버튼 (동그란 종이비행기) ---
.submit-btn {
background-color: #0cbd12;
color: white;
Expand Down Expand Up @@ -244,7 +244,7 @@
margin-top: 2px;
}

/* 빈 상태 메시지 */
/* 빈 상태 메시지
.empty-state {
text-align: center;
padding: 40px 0;
Expand All @@ -253,4 +253,4 @@
background: #fcfcfc;
border-radius: 12px;
border: 1px dashed #e5e7eb;
}
}*/
13 changes: 9 additions & 4 deletions static/css/navi.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@
align-items: center;
justify-content: space-between;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
position: relative;
position: sticky;
top: 0px; /* 꼭 추가해야 함! */
z-index: 1000;
}

.navbar-left {
flex:0 1 auto;
display: flex;
align-items: center;
gap: 16px;
white-space: nowrap;
}

.menu-btn {
Expand Down Expand Up @@ -63,14 +67,15 @@

.logo img{
height: 28px;
width: auto;
/*width: auto;
display: block;
}
*/}

.tabs {
display: flex;
flex:1;
justify-content: center;
gap: 4px;
position: absolute;
left: 50%;
transform: translateX(-50%);

Expand Down
15 changes: 7 additions & 8 deletions static/css/notice_tab.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
background-color: #fdfdfd;
}

/* 입력 필드 스타일 */
/* 입력 필드 스타일
.form-input,
.form-textarea {
width: 100%;
Expand All @@ -100,7 +100,7 @@
background-color: #fff;
margin-bottom: 10px;
box-sizing: border-box;
/* 패딩 포함 크기 계산 */
/* 패딩 포함 크기 계산
font-family: inherit;
}

Expand All @@ -116,15 +116,15 @@
resize: vertical;
}

/* 폼 하단 영역 */
/* 폼 하단 영역
.form-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 8px;
}

/* 파일 첨부 버튼 (라벨) */
/* 파일 첨부 버튼 (라벨)
.file-btn {
color: #4b5563;
font-size: 0.9rem;
Expand All @@ -140,7 +140,7 @@
color: #0cbd12;
}

/* 전송/수정완료 버튼 */
/* 전송/수정완료 버튼
.submit-btn {
background-color: #0cbd12;
color: white;
Expand All @@ -157,12 +157,11 @@
background-color: #099e0f;
}

/* --- 빈 상태 메시지 --- */
.empty-state {
/* --- 빈 상태 메시지 ---
text-align: center;
padding: 40px;
background-color: #f9fafb;
border-radius: 12px;
color: #888;
border: 1px dashed #e5e7eb;
}
}*/
9 changes: 7 additions & 2 deletions static/css/progress_check.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@

/* ===== 진도 체크 박스 ===== */
.progress-check {
background: #fff;
background-color: #f5f5f5;
border-bottom: 1px solid #e5e7eb;
padding: 16px 20px;
border-radius: 30px;
padding: 10px 20px;
margin:10px 0; margin-top: 20px;
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 83px; /* 꼭 추가해야 함! */
z-index: 1000;
}

.progress-label {
Expand Down
31 changes: 10 additions & 21 deletions static/css/qa_tab.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@

/* ===== 메인 콘텐츠 ===== */
.main-content {
flex: 1;
overflow-y: auto;
padding: 20px;
width:60%;
margin:0 auto;
}

.tab-content {
display: none;
}

.tab-content.active {
display: block;
}

/* ===== Q&A 스타일 ===== */
.question-list {
display: flex;
flex-direction: column;
gap: 16px;
width:100%;
margin-bottom: 20px;
}

Expand Down Expand Up @@ -75,17 +59,21 @@
margin-left: 24px;
margin-top: 12px;
padding: 12px 16px;
background: #eff6ff;
background: #f5f5f5;
border-radius: 8px;
border-left: 3px solid #3b82f6;
display:flex;
justify-content: flex-start;
}

.reply-label {
color: #2563eb;
font-weight: 500;
margin-bottom: 4px;
}
.reply-label i{
margin-right:7px;
color: #374151;

}
.reply-text {
color: #374151;
line-height: 1.6;
Expand Down Expand Up @@ -159,7 +147,7 @@
stroke-width: 2.5;
}

/* ===== 입력 폼 ===== */
/* ===== 입력 폼 =====
.input-form {
position: sticky;
bottom: 0;
Expand Down Expand Up @@ -217,3 +205,4 @@
.submit-btn:hover {
background: #4338ca;
}
*/
3 changes: 1 addition & 2 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,8 @@ body {
margin-left: 24px;
margin-top: 12px;
padding: 12px 16px;
background: #eff6ff;
background: #f5f5f5;
border-radius: 8px;
border-left: 3px solid #3b82f6;
}

.reply-label {
Expand Down
8 changes: 5 additions & 3 deletions static/css/tab-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ body {
.main-content {
flex: 1;
overflow-y: auto;
padding: 20px;
padding: 20px 0;
margin:0px 0px;
width:100%;

}

.tab-content {
display: none;
margin:0 auto;
width:700px;
}

.tab-content.active {
display: block;
width:700px;
margin:0 auto;
}
Loading