@charset "UTF-8";
/* 게시판 상세 페이지 스타일 파일입니다. */
.reply-list__item {
padding: 16px;
}
.reply-list__item + .reply-list__item {
border-top: 1px solid var(--default-color);
}
.reply-list__item-link {
text-decoration: none;
color: black;
}
.reply-list__item-top {
display: flex;
justify-content: start;
align-items: center;
flex-direction: row;
height: 20px;
vertical-align: middle;
gap: 4px;
}
.reply-list__item-title {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.reply-list__item-bottom {
display: flex;
gap: 14px;
margin-top: 10px;
padding-left: 24px;
color: var(--gray-color);
}
.reply-list__item-new-icon {
background-color: var(--color-point);
}
.reply-list__pagination-btn {
border: none;
background-color: transparent;
cursor: pointer;
}
.reply-section-title {
padding: 10px 16px;
font-size: 24px;
font-weight: bold;
}
/* 댓글 테이블 전용 스타일 */
.custom-reply-table {
border-top: 2px solid var(--color-base-black);
margin-bottom: 20px;
}
.custom-reply-table tr {
border-top: 2px solid var(--color-base-black);
border-bottom: 2px solid var(--color-base-black) !important;
}
.custom-reply-table tr:first-child {
border-top: none;
}
/* 댓글 입력/표시 공통 스타일 */
.custom-reply-table td {
width: 100%;
padding: 20px 8px;
text-align: start;
}
/* 댓글 입력 폼 (첫 번째 tr) */
.custom-reply-table tr:first-child td {
display: flex;
flex-direction: column;
gap: 8px;
}
/* 일반 댓글 표시 (두 번째 tr) */
.custom-reply-table tr:nth-child(2) td {
display: flex;
flex-direction: column;
gap: 16px;
}
/* 대댓글 관련 (세 번째, 네 번째 tr) */
.custom-reply-table tr:nth-child(n+3) td {
display: flex;
gap: 8px;
}
/* 대댓글 입력 폼 (세 번째 tr) */
.custom-reply-table tr:nth-child(3) .reply-content {
flex: 1;
display: flex;
flex-direction: column;
gap: 8px;
}
/* 대댓글 표시 (네 번째 tr) */
.custom-reply-table tr:nth-child(4) .reply-content {
flex: 1;
display: flex;
flex-direction: column;
gap: 16px;
}
/* 대댓글 아이콘 영역 */
.reply-prefix {
flex-shrink: 0;
display: flex;
gap: 8px;
}
.reply-prefix .tree-icon {
color: #888;
font-size: 16px;
margin-top: 2px;
}
.reply-prefix .re-tag {
color: #007bff;
font-weight: 600;
font-size: 16px;
}
/* 입력 필드 */
.reply-input-title {
width: 300px;
padding: 8px;
border-radius: 8px;
border: 1px solid #e5e5e5;
}
.reply-input-content {
width: 100%;
min-height: 100px;
resize: none;
padding: 8px;
border-radius: 8px;
border: 1px solid #e5e5e5;
}
/* 댓글 제목 */
.reply-title {
margin: 0;
line-height: 1.4;
color: #333;
font-size: 16px;
font-weight: 500;
}
/* 작성자 정보 */
.reply-author-info {
display: flex;
align-items: center;
gap: 8px;
padding-bottom: 12px;
border-bottom: 1px solid #e5e5e5;
}
.reply-author-info .author-name {
font-weight: 600;
color: #333;
}
.reply-author-info .separator {
color: #d0d0d0;
}
.reply-author-info .author-date {
color: #888;
font-size: 14px;
}
/* 댓글 내용 */
.reply-content-text {
margin-top: 16px;
}
.reply-content-text p {
margin: 0;
}
/* 이미지 갤러리 */
.reply-images {
display: flex;
align-items: center;
gap: 8px;
}
.reply-image-preview {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
/* 버튼 영역 */
.reply-controls {
display: flex;
justify-content: space-between;
align-items: center;
}
.reply-controls-left {
display: flex;
align-items: center;
gap: 12px;
}
.reply-controls-actions {
display: flex;
gap: 6px;
}
/* 댓글 버튼들 */
.reply-btn {
border: 1px solid var(--gray400);
border-radius: 8px;
padding: 10px 14px;
line-height: 1;
min-width: 97px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
color: #007bff;
background: none;
cursor: pointer;
}
/* 비밀글 체크박스 */
.secret-checkbox {
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
font-size: 14px;
}
.secret-checkbox input {
width: 16px;
height: 16px;
}
/* 파일 업로드 숨김 */
.reply-file-upload {
display: none;
}
/* 댓글 셀 스타일 추가 */
.reply-form-cell {
width: 100%;
display: flex;
flex-direction: column;
gap: 8px;
padding: 20px 8px;
}
.reply-display-cell {
width: 100%;
display: flex;
flex-direction: column;
gap: 16px;
text-align: start;
padding: 20px 8px;
}
.reply-sub-cell {
width: 100%;
display: flex;
gap: 8px;
text-align: start;
padding: 20px 8px;
}