Add complete Jaryo File Manager with Synology NAS deployment support
This commit is contained in:
231
styles.css
231
styles.css
@@ -39,6 +39,27 @@ header p {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.admin-link {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.admin-btn {
|
||||
display: inline-block;
|
||||
padding: 8px 16px;
|
||||
background: #667eea;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-radius: 6px;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.admin-btn:hover {
|
||||
background: #5a67d8;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* 페이지네이션 스타일 */
|
||||
|
||||
.auth-section {
|
||||
@@ -46,6 +67,83 @@ header p {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.auth-form {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
padding: 25px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.auth-form h3 {
|
||||
margin-bottom: 20px;
|
||||
color: #4a5568;
|
||||
font-size: 1.4rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.auth-form input {
|
||||
width: 100%;
|
||||
padding: 12px 15px;
|
||||
margin-bottom: 15px;
|
||||
border: 2px solid #e2e8f0;
|
||||
border-radius: 8px;
|
||||
font-size: 1rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.auth-form input:focus {
|
||||
outline: none;
|
||||
border-color: #667eea;
|
||||
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
||||
}
|
||||
|
||||
.auth-toggle {
|
||||
text-align: center;
|
||||
margin-top: 15px;
|
||||
color: #666;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.auth-toggle a {
|
||||
color: #667eea;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.auth-toggle a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.connection-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
padding: 8px 12px;
|
||||
border-radius: 6px;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.status-indicator {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.status-indicator.online {
|
||||
color: #48bb78;
|
||||
}
|
||||
|
||||
.status-indicator.offline {
|
||||
color: #ed8936;
|
||||
}
|
||||
|
||||
.auth-buttons {
|
||||
@@ -243,6 +341,97 @@ header p {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.add-btn {
|
||||
background: #48bb78 !important;
|
||||
}
|
||||
|
||||
.add-btn:hover {
|
||||
background: #38a169 !important;
|
||||
}
|
||||
|
||||
/* 파일 추가 섹션 스타일 */
|
||||
.add-section {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
padding: 30px;
|
||||
border-radius: 15px;
|
||||
margin-bottom: 30px;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.form-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.form-header h2 {
|
||||
color: #4a5568;
|
||||
margin: 0;
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.toggle-btn {
|
||||
padding: 8px 16px;
|
||||
background: #e53e3e;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-size: 0.9rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.toggle-btn:hover {
|
||||
background: #c53030;
|
||||
}
|
||||
|
||||
.add-form {
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.form-actions {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
flex: 1;
|
||||
padding: 12px 20px;
|
||||
background: #48bb78;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.submit-btn:hover {
|
||||
background: #38a169;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.cancel-btn {
|
||||
padding: 12px 20px;
|
||||
background: #e2e8f0;
|
||||
color: #4a5568;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.cancel-btn:hover {
|
||||
background: #cbd5e0;
|
||||
}
|
||||
|
||||
.form-section {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
padding: 30px;
|
||||
@@ -466,6 +655,34 @@ header p {
|
||||
color: #10b981;
|
||||
}
|
||||
|
||||
/* 일반 사용자 페이지 첨부파일 목록 - 관리자와 동일한 스타일 */
|
||||
.attachment-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
max-height: 120px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.attachment-item-public {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 6px;
|
||||
background: #f8fafc;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
border: 1px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.attachment-item-public:hover {
|
||||
background: #e2e8f0;
|
||||
border-color: #cbd5e1;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* 기존 스타일 유지 (하위 호환성) */
|
||||
.attachment-icons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -495,11 +712,10 @@ header p {
|
||||
}
|
||||
|
||||
.attachment-file-icon {
|
||||
font-size: 1.1rem;
|
||||
width: auto;
|
||||
text-align: left;
|
||||
font-size: 0.9rem;
|
||||
min-width: 16px;
|
||||
text-align: center;
|
||||
flex-shrink: 0;
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
.attachment-file-info {
|
||||
@@ -512,12 +728,13 @@ header p {
|
||||
}
|
||||
|
||||
.attachment-file-name {
|
||||
font-weight: 500;
|
||||
color: #374151;
|
||||
flex: 1;
|
||||
font-size: 0.75rem;
|
||||
color: #475569;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 0.8rem;
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
.attachment-file-size {
|
||||
|
Reference in New Issue
Block a user