Files
confirms/public/architectui/assets/styles/custom.css

104 lines
2.2 KiB
CSS

/* Custom Overrides - 전역 폰트 크기 조정 */
/* 폰트 크기 변수 정의 */
:root {
--base-font-size: 14px;
--body-font-size: 0.9rem;
--component-font-size: 0.8rem;
}
/* 기본 폰트 크기 설정 */
html {
font-size: var(--base-font-size);
}
body {
font-size: var(--body-font-size);
}
/* 주요 컴포넌트 폰트 크기 조정 */
.card-body,
.table,
.form-control,
.btn {
font-size: var(--component-font-size);
}
/* Select Box 폰트 크기 */
select,
select.form-control,
select.form-select {
font-size: var(--component-font-size);
}
select option {
font-size: var(--component-font-size);
}
/* 테이블 셀 폰트 크기 */
.table td,
.table th {
font-size: var(--component-font-size);
}
/* 모달 및 경고창 폰트 크기 */
.modal-body,
.alert {
font-size: var(--component-font-size);
}
/* 메인 컨텐츠 여백 축소 */
.app-main .app-main__inner {
padding: 1rem 1rem 0;
}
@media (max-width: 575.98px) {
.app-main .app-main__inner {
padding: 0.75rem 0.75rem 0;
}
}
/* ========================================
사이드바 크기 조정
======================================== */
/* 사이드바 전체 너비 조정: 280px -> 220px */
.app-sidebar {
width: 220px !important;
min-width: 220px !important;
flex: 0 0 220px !important;
}
/* 사이드바 내부 여백 조정: 1.5rem -> 0.75rem */
.app-sidebar .app-sidebar__inner {
padding: 2px 0.75rem 0.75rem !important;
}
/* 닫힌 사이드바 호버 시 너비 */
.closed-sidebar .app-sidebar:hover {
flex: 0 0 220px !important;
width: 220px !important;
}
/* 닫힌 사이드바 호버 시 메뉴 아이템 여백 */
.closed-sidebar .app-sidebar:hover .app-sidebar__inner ul li a {
padding: 0 0.75rem 0 40px !important;
}
/* 모바일 화면 조정 */
@media (max-width: 767.98px) {
.app-sidebar {
flex: 0 0 220px !important;
width: 220px !important;
transform: translateX(-220px) !important;
}
.sidebar-mobile-open .app-sidebar {
transform: translateX(0) !important;
}
.sidebar-mobile-open .app-sidebar .app-sidebar__inner ul li a {
padding: 0 0.75rem 0 40px !important;
}
}