first commit 2

This commit is contained in:
hmw1001
2026-06-11 18:47:38 +09:00
parent c768729ce6
commit 6f534e33a6
11095 changed files with 1595758 additions and 0 deletions
@@ -0,0 +1,183 @@
@charset "UTF-8";
/**
* newproduct :: style.css
* 💡 [수정] 고유 ID 선택자를 #newproduct-board로 변경합니다.
*/
/* ==========================================================================
Board Common Styles
========================================================================== */
#newproduct-board .board-container,
#newproduct-board .board-write-container,
#newproduct-board .board-view-container {
background-color: #fff;
padding: 40px;
border-radius: 12px;
box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
border: none;
}
/* 이하 모든 #coverage-board 선택자를 #newproduct-board로 변경 */
#newproduct-board .board-header {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 20px;
padding-bottom: 25px;
border-bottom: 1px solid #e0e0e0;
margin-bottom: 30px;
}
#newproduct-board .board-total { font-size: 1.2rem; color: #555; font-weight: 500; text-align: left; }
#newproduct-board .board-total .text-primary { color: #0056b3; font-weight: 700; }
#newproduct-board .board-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
#newproduct-board .view-mode-switcher { display: flex; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
#newproduct-board .btn-view-mode { background: #fff; border: none; padding: 10px 15px; cursor: pointer; color: #888; font-size: 1.2rem; line-height: 1; transition: all 0.2s ease; }
#newproduct-board .btn-view-mode.active { background: #0056b3; color: #fff; }
#newproduct-board .btn-view-mode:hover:not(.active) { background: #f0f0f0; color: #333; }
#newproduct-board .board-search { flex-grow: 1; }
#newproduct-board .board-search .input-group { display: flex; align-items: center; width: 100%; max-width: 400px; margin-left: auto; }
#newproduct-board .board-search select,
#newproduct-board .board-search input[type="text"] { border: 1px solid #ddd; padding: 0 15px; height: 42px; font-size: 1rem; background: #fff; border-radius: 8px; transition: border-color 0.2s ease; }
#newproduct-board .board-search select { border-radius: 8px 0 0 8px; border-right: none; }
#newproduct-board .board-search input[type="text"]:focus { border-color: #0056b3; outline: none; box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2); }
#newproduct-board .board-search .btn { border-radius: 0 8px 8px 0; height: 42px; padding: 0 20px; background: #0056b3; color: #fff; border: none; transition: background-color 0.2s ease; }
#newproduct-board .board-search .btn:hover { background-color: #003d82; }
#newproduct-board .list-separator { text-align: center; padding: 40px 20px; margin: 40px 0; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; background-color: #f9f9f9; }
#newproduct-board .list-separator p { font-size: 1.1rem; color: #666; font-weight: 500; }
/* 💡 [최종 수정] 뷰 전환이 올바르게 동작하도록 선택자를 .board-list-wrapper 로 수정합니다. */
#newproduct-board .board-list-wrapper[data-view-mode="card"] .card-list-view { display: block; }
#newproduct-board .board-list-wrapper[data-view-mode="list"] .list-view { display: block; }
#newproduct-board .board-list-wrapper .card-list-view,
#newproduct-board .board-list-wrapper .list-view { display: none; }
#newproduct-board .empty-list { padding: 100px 20px; text-align: center; color: #888; font-size: 1.6rem; font-weight: 600; }
/* 💡 [수정] 카드형 리스트 가로 4개 고정 */
#newproduct-board .card-list {
display: grid;
grid-template-columns: repeat(4, 1fr); /* 4개 고정 */
gap: 30px;
}
#newproduct-board .card-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; border: none; }
#newproduct-board .card-item:hover { transform: translateY(-7px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); }
#newproduct-board .card-link { display: block; text-decoration: none; color: inherit; }
#newproduct-board .card-thumbnail { position: relative; width: 100%; padding-top: 70%; background-color: #f0f0f0; }
#newproduct-board .card-thumbnail img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
#newproduct-board .badge-pdf, #newproduct-board .badge-link, #newproduct-board .badge-featured { position: absolute; top: 15px; right: 15px; padding: 8px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; }
#newproduct-board .badge-pdf { background-color: #e74c3c; }
#newproduct-board .badge-link { background-color: #3498db; }
#newproduct-board .badge-featured { background-color: #9b59b6; }
#newproduct-board .card-content { padding: 25px; }
#newproduct-board .card-category { display: inline-block; font-size: 0.9rem; font-weight: 700; color: #0056b3; margin-bottom: 10px; }
#newproduct-board .card-title { font-size: 1.5rem; font-weight: 800; margin: 0 0 15px 0; line-height: 1.4; min-height: 2.8em; color: #222; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#newproduct-board .card-summary { font-size: 1rem; color: #666; line-height: 1.7; height: 5.1em; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
#newproduct-board .card-meta { margin-top: 20px; padding-top: 15px; border-top: 1px solid #f0f0f0; font-size: 0.9rem; color: #888; }
#newproduct-board .card-item.is-featured { border: 2px solid #9b59b6; box-shadow: 0 8px 25px rgba(155, 89, 182, 0.2); }
#newproduct-board .list-group { border-top: 2px solid #333; }
#newproduct-board .list-group-header, #newproduct-board .list-group-item { display: flex; align-items: center; padding: 18px 10px; border-bottom: 1px solid #f0f0f0; }
#newproduct-board .list-group-header { font-weight: 700; background-color: #f9f9f9; font-size: 1.05rem; }
#newproduct-board .list-group-item:hover { background-color: #f5f5f5; }
#newproduct-board .list-cell { padding: 0 10px; text-align: center; color: #555; }
#newproduct-board .list-cell.num { flex: 0 0 80px; }
#newproduct-board .list-cell.title { flex: 1; text-align: left; }
#newproduct-board .list-cell.title a { color: #333; text-decoration: none; font-weight: 500; }
#newproduct-board .list-group-item.is-featured { background-color: #fdf8ff; }
#newproduct-board .badge-featured-list { color: #9b59b6; margin-right: 8px; }
#newproduct-board .view-header { padding-bottom: 20px; border-bottom: 1px solid #e0e0e0; margin-bottom: 30px; }
#newproduct-board .view-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; line-height: 1.3; }
#newproduct-board .view-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; color: #888; font-size: 0.95rem; }
#newproduct-board .view-meta .meta-item i { margin-right: 5px; color: #aaa; }
#newproduct-board .view-content { padding: 30px 0; }
#newproduct-board .view-body-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; justify-items: center; }
#newproduct-board .view-body-images .body-image-item { max-width: 100%; text-align: center; background-color: #fcfcfc; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: transform 0.2s ease; }
#newproduct-board .view-body-images .body-image-item:hover { transform: translateY(-5px); }
#newproduct-board .view-body-images .body-image-item img { max-width: 100%; height: auto; display: block; margin: 0 auto; object-fit: contain; border-bottom: 1px solid #eee; }
#newproduct-board .view-body-images .body-image-item figcaption { padding: 15px; font-size: 0.9rem; color: #666; line-height: 1.5; }
#newproduct-board .view-detail-content { margin-top: 40px; font-size: 1.1rem; line-height: 1.8; color: #333; }
#newproduct-board .view-detail-content p { margin-bottom: 1.5em; }
#newproduct-board .view-detail-content h1, #newproduct-board .view-detail-content h2, #newproduct-board .view-detail-content h3, #newproduct-board .view-detail-content h4, #newproduct-board .view-detail-content h5, #newproduct-board .view-detail-content h6 { margin-top: 2em; margin-bottom: 0.8em; font-weight: 700; line-height: 1.3; color: #222; }
#newproduct-board .view-detail-content h2 { font-size: 2rem; }
#newproduct-board .view-detail-content h3 { font-size: 1.7rem; }
#newproduct-board .view-detail-content h4 { font-size: 1.4rem; }
#newproduct-board .view-detail-content ul, #newproduct-board .view-detail-content ol { margin-left: 20px; margin-bottom: 1.5em; }
#newproduct-board .view-detail-content ul li { list-style: disc; margin-bottom: 0.5em; }
#newproduct-board .view-detail-content ol li { list-style: decimal; margin-bottom: 0.5em; }
#newproduct-board .view-detail-content blockquote { border-left: 4px solid #0056b3; padding: 10px 20px; margin: 1.5em 0; background-color: #f8f8f8; color: #555; font-style: italic; }
#newproduct-board .download-box { margin-top: 30px; padding-top: 30px; border-top: 1px solid #eee; }
#newproduct-board .download-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 15px; color: #333; }
#newproduct-board .download-list { list-style: none; padding: 0; margin: 0; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
#newproduct-board .download-list li { border-bottom: 1px solid #e0e0e0; }
#newproduct-board .download-list li:last-child { border-bottom: none; }
#newproduct-board .download-list a { display: flex; align-items: center; padding: 15px 20px; text-decoration: none; color: #555; transition: background-color 0.2s ease; }
#newproduct-board .download-list a:hover { background-color: #f9f9f9; }
#newproduct-board .download-list .file-icon { font-size: 1.5rem; color: #888; margin-right: 15px; width: 25px; text-align: center; }
#newproduct-board .download-list .fa-file-pdf-o { color: #e74c3c; }
#newproduct-board .download-list .fa-file-image-o { color: #3498db; }
#newproduct-board .download-list .fa-file-archive-o { color: #f39c12; }
#newproduct-board .download-list .file-name { flex-grow: 1; font-weight: 500; }
#newproduct-board .download-list .file-size { font-size: 0.9rem; color: #888; }
#newproduct-board .view-footer { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e0e0e0; display: flex; justify-content: space-between; align-items: center; }
#newproduct-board .btn-group-left, #newproduct-board .btn-group-right { display: flex; gap: 10px; }
#newproduct-board .board-footer { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; }
#newproduct-board .pagination-wrapper, #newproduct-board .load-more-wrapper { flex-grow: 1; text-align: center; }
#newproduct-board .board-footer .btn-group { display: flex; gap: 10px; margin-left: auto; }
#newproduct-board .board-footer .btn, #newproduct-board .view-footer .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 8px; font-size: 1.1rem; text-align: center; font-weight: 700; transition: all 0.2s ease; border: none; }
#newproduct-board .board-footer .btn:hover, #newproduct-board .view-footer .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
#newproduct-board .board-footer .btn-secondary, #newproduct-board .view-footer .btn-secondary { background-color: #6c757d; color: #fff; }
#newproduct-board .board-footer .btn-primary, #newproduct-board .view-footer .btn-primary { background-color: #0056b3; color: #fff; }
#newproduct-board .write-form-group { margin-bottom: 25px; }
#newproduct-board .form-divider { margin: 40px 0; border: 0; border-top: 1px solid #e0e0e0; }
#newproduct-board .admin-options-group { background-color: #fcfcfc; padding: 25px; border-radius: 8px; margin-top: 30px; border: 1px solid #e0e0e0; }
#newproduct-board .form-section-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 20px 0; color: #333; }
#newproduct-board .form-check-label { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; cursor: pointer; }
#newproduct-board .form-check-label input[type="checkbox"] { -webkit-appearance: checkbox; -moz-appearance: checkbox; appearance: checkbox; width: 18px; height: 18px; opacity: 1; position: static; }
#newproduct-board .write-form-footer { margin-top: 40px; display: flex; justify-content: flex-end; gap: 10px; }
#newproduct-board .write-form-footer .btn { text-decoration: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700; border: none; transition: all 0.2s ease; }
#newproduct-board .write-form-footer .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
#newproduct-board .write-form-footer .btn-secondary { background-color: #6c757d; color: #fff; }
#newproduct-board .write-form-footer .btn-primary { background-color: #0056b3; color: #fff; }
#newproduct-board .three-column-layout { display: flex; gap: 30px; }
#newproduct-board .layout-sidebar-left, #newproduct-board .layout-sidebar-right { flex: 0 0 240px; position: sticky; top: 100px; }
#newproduct-board .layout-main-content { flex: 1; min-width: 0; }
@media (max-width: 1024px) {
#newproduct-board .three-column-layout { flex-direction: column; }
#newproduct-board .layout-sidebar-left, #newproduct-board .layout-sidebar-right { position: static; flex-basis: 100%; }
}
@media (max-width: 768px) {
#newproduct-board .board-container, #newproduct-board .board-write-container, #newproduct-board .board-view-container { padding: 15px; }
#newproduct-board .board-controls { flex-direction: column-reverse; align-items: stretch; gap: 15px; }
/* 💡 [수정] 모바일에서는 1열로 */
#newproduct-board .card-list { grid-template-columns: 1fr; }
#newproduct-board .list-cell.category, #newproduct-board .list-cell.name, #newproduct-board .list-cell.hit { display: none; }
#newproduct-board .view-footer { flex-direction: column; gap: 15px; }
#newproduct-board .btn-group-left, #newproduct-board .btn-group-right { justify-content: center; width: 100%; }
#newproduct-board .view-header h1 { font-size: 1.8rem; }
#newproduct-board .view-meta { flex-direction: column; gap: 5px; }
}
/* 💡 [추가] 태블릿 등 중간 화면에서는 3열, 2열로 조정 */
@media (min-width: 769px) and (max-width: 1200px) {
#newproduct-board .card-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 576px) and (max-width: 768px) {
#newproduct-board .card-list { grid-template-columns: repeat(2, 1fr); }
}
.sub-page-container {
padding-top: 0px; !important;
padding-bottom: 0px; !important;
/*background: #fff;*/
/*min-height: 500px;*/
}
.layout-main-content {
padding-top: 0px; !important;
}