296 lines
5.5 KiB
CSS
296 lines
5.5 KiB
CSS
/* Custom styles for XML Management (manage_xml.html) */
|
|
.main-title {
|
|
font-size: 1.8rem;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.subtitle {
|
|
color: #666;
|
|
font-size: 0.95rem;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.card {
|
|
border: none;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 20px;
|
|
background: white;
|
|
}
|
|
|
|
.card-header-custom {
|
|
background-color: #007bff;
|
|
color: white;
|
|
padding: 12px 20px;
|
|
font-weight: 600;
|
|
border-radius: 8px 8px 0 0;
|
|
font-size: 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.card-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.form-label {
|
|
font-weight: 500;
|
|
color: #555;
|
|
margin-bottom: 8px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.form-control {
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
padding: 8px 12px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.upload-section {
|
|
background-color: #f8f9fa;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* File Input Styling */
|
|
.custom-file {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 100%;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.custom-file-input {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 100%;
|
|
height: calc(1.5em + .75rem + 2px);
|
|
margin: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.custom-file-label {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
height: calc(1.5em + .75rem + 2px);
|
|
padding: .375rem .75rem;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
color: #495057;
|
|
background-color: #fff;
|
|
border: 1px solid #ced4da;
|
|
border-radius: .25rem;
|
|
}
|
|
|
|
.custom-file-label::after {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 3;
|
|
display: block;
|
|
height: calc(1.5em + .75rem);
|
|
padding: .375rem .75rem;
|
|
line-height: 1.5;
|
|
color: #495057;
|
|
content: "Browse";
|
|
background-color: #e9ecef;
|
|
border-left: inherit;
|
|
border-radius: 0 .25rem .25rem 0;
|
|
}
|
|
|
|
/* 아이콘 + 뱃지 스타일 */
|
|
.file-list {
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
padding-right: 5px;
|
|
/* 스크롤바 공간 확보 */
|
|
}
|
|
|
|
.file-list::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.file-list::-webkit-scrollbar-thumb {
|
|
background: #888;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.file-list::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
}
|
|
|
|
.icon-badge-item {
|
|
border: 1px solid #e9ecef;
|
|
border-radius: 8px;
|
|
/* 둥글게 */
|
|
padding: 12px 16px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
transition: all 0.2s ease-in-out;
|
|
background: white;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
.icon-badge-item:hover {
|
|
background-color: #f1f8ff;
|
|
/* 아주 연한 파랑 */
|
|
border-color: #cce5ff;
|
|
transform: translateY(-2px);
|
|
/* 살짝 위로 */
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.icon-badge-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
/* 텍스트 말줄임 필수 */
|
|
margin-right: 15px;
|
|
/* 버튼과 간격 확보 */
|
|
}
|
|
|
|
.select-checkbox {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-right: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.file-icon-small {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: linear-gradient(135deg, #007bff, #0056b3);
|
|
/* 그라데이션 */
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 18px;
|
|
flex-shrink: 0;
|
|
box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
|
|
}
|
|
|
|
.file-name-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
/* 이름과 뱃지를 위아래로 */
|
|
justify-content: center;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.file-name-badge {
|
|
font-weight: 600;
|
|
color: #333;
|
|
font-size: 0.95rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.badge-custom {
|
|
background-color: #e7f3ff;
|
|
color: #007bff;
|
|
padding: 2px 8px;
|
|
border-radius: 12px;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
display: inline-block;
|
|
width: fit-content;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
/* 절대 줄어들지 않음 */
|
|
align-items: center;
|
|
}
|
|
|
|
/* 버튼 스타일 개선 */
|
|
.action-buttons .btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px 12px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
border-radius: 6px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.action-buttons .btn i {
|
|
margin-right: 4px;
|
|
/* 아이콘과 텍스트 사이 간격 */
|
|
}
|
|
|
|
/* 모바일 대응: 화면이 좁을 땐 텍스트 숨기기 */
|
|
@media (max-width: 768px) {
|
|
.action-buttons .btn span {
|
|
display: none;
|
|
}
|
|
|
|
.action-buttons .btn i {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.action-buttons .btn {
|
|
padding: 6px 10px;
|
|
}
|
|
}
|
|
|
|
.empty-message {
|
|
text-align: center;
|
|
color: #999;
|
|
padding: 40px;
|
|
font-size: 1rem;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
border: 1px dashed #ddd;
|
|
}
|
|
|
|
/* Diff View Styles (scp_diff.html) */
|
|
.diff-container {
|
|
background-color: #f8f9fa;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
padding: 15px;
|
|
overflow-x: auto;
|
|
font-family: 'Consolas', 'Monaco', monospace;
|
|
font-size: 0.9rem;
|
|
white-space: pre;
|
|
}
|
|
|
|
.diff-line {
|
|
display: block;
|
|
}
|
|
|
|
.diff-add {
|
|
background-color: #e6ffec;
|
|
color: #24292e;
|
|
}
|
|
|
|
.diff-del {
|
|
background-color: #ffebe9;
|
|
color: #24292e;
|
|
}
|
|
|
|
.diff-header {
|
|
color: #6f42c1;
|
|
font-weight: bold;
|
|
} |