Files
iDRAC_Info/backend/static/style - 복사본.css
2025-10-21 20:29:39 +09:00

284 lines
5.2 KiB
CSS

/* style.css */
/* 기본 스타일 재정의 */
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
}
.container {
background-color: #fff;
padding: 20px;
margin-top: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
h1 {
color: #333;
margin-bottom: 20px;
}
h2 {
color: #333;
margin-top: 30px;
margin-bottom: 15px;
}
.form-group label {
font-weight: bold;
color: #555;
}
.form-control {
border-radius: 5px;
border: 1px solid #ddd;
}
.btn {
border-radius: 5px;
}
.btn-primary {
background-color: #007bff;
border-color: #007bff;
}
.btn-primary:hover {
background-color: #0056b3;
border-color: #0056b3;
}
.btn-danger {
background-color: #dc3545;
border-color: #dc3545;
}
.btn-danger:hover {
background-color: #c82333;
border-color: #bd2130;
}
.btn-secondary {
background-color: #6c757d;
border-color: #6c757d;
}
.btn-secondary:hover {
background-color: #5a6268;
border-color: #545b62;
}
.card-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 20px; /* 파일 목록 아래 여백 추가 */
}
.simple-card {
background-color: #f8f9fa;
padding: 15px;
border: 1px solid #ddd;
border-radius: 5px;
width: calc(12.5% - 10px); /* 가로로 8개 유지 */
box-sizing: border-box;
text-align: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease; /* 부드러운 전환 효과 추가 */
}
.simple-card a {
font-size: 1em; /* 글씨 크기를 작게 조정 */
font-weight: bold;
color: #007bff;
text-decoration: none;
}
.simple-card a:hover {
color: #0056b3;
}
.simple-card:hover {
background-color: #e9ecef; /* 호버 시 배경색 변경 */
}
.button-group {
margin-top: 10px;
}
.pagination {
margin-top: 20px;
}
.backup-card-container .backup-card {
margin-bottom: 10px;
}
.accordion-button {
width: 100%;
text-align: left;
padding: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.accordion-button:hover {
background-color: #0056b3;
}
.accordion-content {
display: none;
background-color: #f8f9fa;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
margin-top: 5px;
margin-bottom: 20px; /* 파일 목록 아래 여백 추가 */
}
.accordion-content .card-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.accordion-content .simple-card {
width: calc(12.5% - 10px); /* 가로로 8개 유지 */
}
/* 진행 상황 스타일 */
#progressSession {
margin-top: 20px;
padding: 15px;
background-color: #e9ecef;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: relative;
margin-bottom: 20px; /* 파일 목록 아래 여백 추가 */
}
.progress {
height: 25px;
border-radius: 5px;
background-color: #f4f4f4;
border: 1px solid #ddd;
}
.progress-bar {
font-weight: bold;
line-height: 25px;
background-color: #007bff;
border-radius: 5px;
transition: width 0.3s ease;
}
#progressSession h2 {
position: absolute;
top: -30px;
left: 15px;
background-color: #e9ecef;
padding: 5px 10px;
border-radius: 5px;
font-size: 1.2em;
color: #333;
}
/* 서버 리스트 박스 높이 조정 */
#server_list_content {
height: 340px; /* 원하는 높이로 설정 */
}
/* base */
.navbar {
background-color: #333;
padding: 10px;
}
.nav-list {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
}
.nav-list li {
margin-right: 20px;
}
.nav-list li a {
color: white;
text-decoration: none;
font-weight: bold;
}
.nav-list li a:hover {
text-decoration: underline;
}
body {
padding-top: 58px; /* 상단 네비게이션 바의 높이 */
}
/* XML 파일 목록의 스타일 정의 */
.list-group-item {
transition: background-color 0.3s ease, transform 0.3s ease;
border-radius: 8px;
margin-bottom: 10px;
padding: 15px;
border: 1px solid #ccc;
background-color: #ffffff;
}
/* 마우스 오버 시 배경색 및 효과 변경 */
.list-group-item:hover {
background-color: #f8f9fa;
transform: scale(1.02);
}
/* 삭제 및 편집 버튼 간격 조정 */
.action-buttons {
display: flex;
gap: 10px;
}
/* 파일 목록 타이틀 스타일 정의 */
.card-body h5 {
font-size: 1.3rem;
font-weight: bold;
}
/* 파일 업로드 필드의 스타일 */
.custom-file-label {
border-radius: 5px;
padding: 10px;
background-color: #f1f1f1;
border: 1px solid #ccc;
cursor: pointer;
white-space: nowrap; /* 파일 이름이 한 줄로 보이게 함 */
overflow: hidden;
text-overflow: ellipsis; /* 파일 이름이 길 경우 생략 표시 */
}
.custom-file-label:hover {
background-color: #e2e2e2;
}
/* 업로드 버튼 스타일 */
.btn-upload {
margin-top: 10px;
width: auto; /* 버튼 너비를 텍스트에 맞게 조정 */
font-weight: bold;
padding: 10px;
}
/* XML 파일 업로드 필드 레이아웃 조정 */
.upload-section {
margin-bottom: 20px;
}