@charset "UTF-8"; /** * journal :: style.css * πŸ’‘ [μ΅œμ’… μˆ˜μ •] λ·° μ „ν™˜ 였λ₯˜λ₯Ό ν•΄κ²°ν•˜κΈ° μœ„ν•΄ CSS μ„ νƒμžλ₯Ό μ›λž˜λŒ€λ‘œ λ³΅μ›ν•˜κ³ , ν•˜μ΄λΈŒλ¦¬λ“œ λ ˆμ΄μ•„μ›ƒμ„ μ˜¬λ°”λ₯΄κ²Œ μ§€μ›ν•©λ‹ˆλ‹€. */ /* ========================================================================== Board Common Styles ========================================================================== */ #journal-board .board-container, #journal-board .board-write-container, #journal-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; } /* ========================================================================== List View: Header ========================================================================== */ #journal-board .board-header { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid #e0e0e0; margin-bottom: 30px; } #journal-board .board-total { font-size: 1.2rem; color: #555; font-weight: 500; text-align: left; } #journal-board .board-total .text-primary { color: #0056b3; font-weight: 700; } #journal-board .board-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; } #journal-board .view-mode-switcher { display: flex; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; } #journal-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; } #journal-board .btn-view-mode.active { background: #0056b3; color: #fff; } #journal-board .btn-view-mode:hover:not(.active) { background: #f0f0f0; color: #333; } #journal-board .board-search { flex-grow: 1; } #journal-board .board-search .input-group { display: flex; align-items: center; width: 100%; max-width: 400px; margin-left: auto; } #journal-board .board-search select, #journal-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; } #journal-board .board-search select { border-radius: 8px 0 0 8px; border-right: none; } #journal-board .board-search input[type="text"]:focus { border-color: #0056b3; outline: none; box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2); } #journal-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; } #journal-board .board-search .btn:hover { background-color: #003d82; } /* ========================================================================== List View: Hybrid Layout & View Switching ========================================================================== */ #journal-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; } #journal-board .list-separator p { font-size: 1.1rem; color: #666; font-weight: 500; } /* πŸ’‘ [μ΅œμ’… μˆ˜μ •] λ·° μ „ν™˜μ΄ μ˜¬λ°”λ₯΄κ²Œ λ™μž‘ν•˜λ„λ‘ μ„ νƒμžλ₯Ό μˆ˜μ •ν•©λ‹ˆλ‹€. */ #journal-board .board-list-wrapper[data-view-mode="card"] .card-list-view { display: block; } #journal-board .board-list-wrapper[data-view-mode="list"] .list-view { display: block; } #journal-board .board-list-wrapper .card-list-view, #journal-board .board-list-wrapper .list-view { display: none; } /* ========================================================================== List View: Card & List ========================================================================== */ #journal-board .empty-list { padding: 100px 20px; text-align: center; color: #888; font-size: 1.6rem; font-weight: 600; } #journal-board .card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; } #journal-board .card-item { position: relative; 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; } #journal-board .card-item:hover { transform: translateY(-7px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); } #journal-board .card-link { display: block; text-decoration: none; color: inherit; } #journal-board .card-thumbnail { position: relative; width: 100%; padding-top: 70%; background-color: #f0f0f0; } #journal-board .card-thumbnail img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } #journal-board .badge-pdf, #journal-board .badge-link, #journal-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; } #journal-board .badge-pdf { background-color: #e74c3c; } #journal-board .badge-link { background-color: #3498db; } #journal-board .badge-featured { background-color: #9b59b6; } #journal-board .card-content { padding: 25px; } #journal-board .card-category { display: inline-block; font-size: 0.9rem; font-weight: 700; color: #0056b3; margin-bottom: 10px; } #journal-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; } #journal-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; } #journal-board .card-meta { margin-top: 20px; padding-top: 15px; border-top: 1px solid #f0f0f0; font-size: 0.9rem; color: #888; } #journal-board .card-item.is-featured { border: 2px solid #9b59b6; box-shadow: 0 8px 25px rgba(155, 89, 182, 0.2); } #journal-board .list-group { border-top: 2px solid #333; } #journal-board .list-group-header, #journal-board .list-group-item { display: flex; align-items: center; padding: 18px 10px; border-bottom: 1px solid #f0f0f0; } #journal-board .list-group-header { font-weight: 700; background-color: #f9f9f9; font-size: 1.05rem; } #journal-board .list-group-item:hover { background-color: #f5f5f5; } #journal-board .list-cell { padding: 0 10px; text-align: center; color: #555; } #journal-board .list-cell.num { flex: 0 0 80px; } #journal-board .list-cell.title { flex: 1; text-align: left; } #journal-board .list-cell.title a { color: #333; text-decoration: none; font-weight: 500; } #journal-board .list-group-item.is-featured { background-color: #fdf8ff; } #journal-board .badge-featured-list { color: #9b59b6; margin-right: 8px; } /* ========================================================================== Admin Checkbox Styles ========================================================================== */ #journal-board .chk-box input[type="checkbox"] { -webkit-appearance: checkbox !important; -moz-appearance: checkbox !important; appearance: checkbox !important; opacity: 1 !important; visibility: visible !important; display: inline-block !important; position: static !important; width: 20px !important; height: 20px !important; cursor: pointer !important; } #journal-board .list-cell.chk input[type="checkbox"] { -webkit-appearance: checkbox !important; -moz-appearance: checkbox !important; appearance: checkbox !important; opacity: 1 !important; visibility: visible !important; display: inline-block !important; width: 20px !important; height: 20px !important; cursor: pointer !important; } /* ========================================================================== View Page Styles ========================================================================== */ #journal-board .view-header { padding-bottom: 20px; border-bottom: 1px solid #e0e0e0; margin-bottom: 30px; } #journal-board .view-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; line-height: 1.3; } #journal-board .view-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; color: #888; font-size: 0.95rem; } #journal-board .view-meta .meta-item i { margin-right: 5px; color: #aaa; } #journal-board .view-content { padding: 30px 0; } #journal-board #pdf-viewer-container { display: block; margin-bottom: 40px; border: 1px solid #e0e0e0; border-radius: 8px; } #journal-board #pdf-viewer-header { position: sticky; top: 80px; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: rgba(248, 248, 248, 0.95); backdrop-filter: blur(5px); border-bottom: 1px solid #e0e0e0; } #journal-board #pdf-viewer-header .page-indicator { font-size: 1rem; color: #333; font-weight: 500; } #journal-board #pdf-viewer-header #page-num-input { width: 60px; text-align: center; border: 1px solid #ddd; border-radius: 5px; padding: 5px; font-size: 1rem; } #journal-board #canvas-wrapper { overflow: auto; background: #f9f9f9; cursor: pointer; } #journal-board #pdf-canvas { display: block; margin: 0 auto; } #journal-board #pdf-loading { padding: 100px 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; font-size: 1.3rem; color: #666; font-weight: 500; } #journal-board .spinner { width: 40px; height: 40px; border: 4px solid #e0e0e0; border-top: 4px solid #0056b3; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } #journal-board .download-box { margin-top: 30px; padding-top: 30px; border-top: 1px solid #eee; } #journal-board .download-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 15px; color: #333; } #journal-board .download-list { list-style: none; padding: 0; margin: 0; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; } #journal-board .download-list li { border-bottom: 1px solid #e0e0e0; } #journal-board .download-list li:last-child { border-bottom: none; } #journal-board .download-list a { display: flex; align-items: center; padding: 15px 20px; text-decoration: none; color: #555; transition: background-color 0.2s ease; } #journal-board .download-list a:hover { background-color: #f9f9f9; } #journal-board .download-list .file-icon { font-size: 1.5rem; color: #888; margin-right: 15px; width: 25px; text-align: center; } #journal-board .download-list .fa-file-pdf-o { color: #e74c3c; } #journal-board .download-list .fa-file-image-o { color: #3498db; } #journal-board .download-list .fa-file-archive-o { color: #f39c12; } #journal-board .download-list .file-name { flex-grow: 1; font-weight: 500; } #journal-board .download-list .file-size { font-size: 0.9rem; color: #888; } #journal-board .view-summary { font-size: 1.1rem; line-height: 1.7; color: #555; padding: 25px; background: #f8f8f8; border-radius: 8px; margin-top: 40px; } #journal-board .view-detail-content { margin-top: 40px; } #journal-board .view-footer { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e0e0e0; display: flex; justify-content: space-between; align-items: center; } #journal-board .btn-group-left, #journal-board .btn-group-right { display: flex; gap: 10px; } /* ========================================================================== Common Footer & Write Form ========================================================================== */ #journal-board .board-footer { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; } #journal-board .pagination-wrapper, #journal-board .load-more-wrapper { flex-grow: 1; text-align: center; } #journal-board .board-footer .btn-group { display: flex; gap: 10px; margin-left: auto; } #journal-board .board-footer .btn, #journal-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; } #journal-board .board-footer .btn:hover, #journal-board .view-footer .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); } #journal-board .board-footer .btn-secondary, #journal-board .view-footer .btn-secondary { background-color: #6c757d; color: #fff; } #journal-board .board-footer .btn-primary, #journal-board .view-footer .btn-primary { background-color: #0056b3; color: #fff; } #journal-board .write-form-group { margin-bottom: 25px; } #journal-board .form-divider { margin: 40px 0; border: 0; border-top: 1px solid #e0e0e0; } #journal-board .admin-options-group { background-color: #fcfcfc; padding: 25px; border-radius: 8px; margin-top: 30px; border: 1px solid #e0e0e0; } #journal-board .form-section-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 20px 0; color: #333; } #journal-board .form-check-label { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; cursor: pointer; } #journal-board .form-check-label input[type="checkbox"] { -webkit-appearance: checkbox; -moz-appearance: checkbox; appearance: checkbox; width: 18px; height: 18px; opacity: 1; position: static; } #journal-board .write-form-footer { margin-top: 40px; display: flex; justify-content: flex-end; gap: 10px; } #journal-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; } #journal-board .write-form-footer .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); } #journal-board .write-form-footer .btn-secondary { background-color: #6c757d; color: #fff; } #journal-board .write-form-footer .btn-primary { background-color: #0056b3; color: #fff; } /* 3-Column Layout - PC μ „μš© */ #journal-board .three-column-layout { display: flex; gap: 30px; } #journal-board .layout-sidebar-left, #journal-board .layout-sidebar-right { flex: 0 0 240px; position: sticky; top: 100px; align-self: flex-start; } #journal-board .layout-main-content { flex: 1; min-width: 0; } .sub-page-container { padding-top: 0px; padding-bottom: 0px; } .layout-main-content { padding-top: 0px; } /* πŸ’‘ [μΆ”κ°€] κ΄€λ¦¬μž μ˜΅μ…˜ μ²΄ν¬λ°•μŠ€ μŠ€νƒ€μΌ */ #journal-board .admin-option-item { background: #f9f9f9; padding: 15px; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 15px; } #journal-board .admin-option-checkbox { appearance: checkbox !important; -webkit-appearance: checkbox !important; width: 20px !important; height: 20px !important; cursor: pointer !important; opacity: 1 !important; visibility: visible !important; display: inline-block !important; position: static !important; margin-right: 10px !important; } #journal-board .admin-option-item .option-text { font-weight: bold; color: #333; font-size: 16px; }