Files
sam-kd/etcbending/css/style.css
hskwon aca1767eb9 초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경
- DB 연결 하드코딩 → .env 기반으로 변경
- MySQL strict mode DATE 오류 수정
2025-12-10 20:14:31 +09:00

242 lines
5.4 KiB
CSS

#openModalBtn {
padding: 10px 20px;
font-size: 16px;
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden; /* Changed from 'auto' to 'hidden' to prevent closing on outside click */
background-color: rgba(0, 0, 0, 0.4);
padding-top: 80px;
}
.modal-content {
background-color: #fefefe;
margin: auto;
border-radius: 10px;
width: 80%;
max-width: 1200px;
animation: fadeIn 0.5s;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.modal-header {
background-color: #1f48d4;
color: white;
padding: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-title {
font-size: 18px;
}
.close {
color: white;
font-size: 18px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
}
.modal-body {
padding: 15px;
}
.custom-card {
background-color: #f9f9f9;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.tooltip-inner {
background-color: black !important; /* 배경색 */
color: white !important; /* 글자색 */
}
.tooltip-arrow {
color: black !important; /* 화살표 색상 */
}
/* 입력창에 대한 설계 */
.ui-autocomplete {
max-height: 500px;
overflow-y: auto;
overflow-x: hidden;
}
.specialinputWrap {
position: relative;
display: inline-block;
width:100%;
}
.specialbtnClear {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
color: black;
cursor: pointer;
}
.specialbtnClear:before {
content: 'X';
font-size: 12px;
}
.specialbtnClear:hover {
color: black;
}
.btnClear_lot {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
color: black;
cursor: pointer;
}
.btnClear_lot:before {
content: 'X';
font-size: 12px;
}
.btnClear_lot:hover {
color: black;
}
table, th, td {
border: 0.1px solid gray !important; /* Bold border */
font-size: 12px !important;
white-space: nowrap;
}
.calculate-row {
background-color: #f0f0f0!important; /* Light gray background */
}
/* 전체 테이블에 대한 설정 */
table {
border-collapse: collapse;
}
/* 모든 td 요소에 적용되는 기본 패딩 및 행간 조정 */
td {
padding: 4px !important; /* 셀의 내부 여백을 줄임 */
line-height: 1.4 !important; /* 행간을 줄여서 상하단 여백을 줄임 */
}
/* 테이블의 상단과 하단 마진을 제거하여 전체 공백 줄이기 */
table, .d-flex {
margin-top: 2 !important;
margin-bottom: 2 !important;
}
@media print {
body {
width: 210mm; /* A4 width */
height: 297mm; /* A4 height */
margin: 0; /* Remove default margin */
font-size: 8pt; /* Font size for printing */
}
.table {
width: 100%; /* Full width tables */
table-layout: fixed; /* Uniform column sizing */
border-collapse: collapse; /* Ensure borders collapse */
}
.table th, .table td {
padding: 1px; /* Reduce padding */
/* border: 1px solid black!important; Ensure borders are visible */
}
.text-center {
text-align: center; /* Maintain center alignment */
}
/* Prevent table row splitting */
.table tr {
page-break-inside: avoid; /* Prevent breaking inside rows */
page-break-after: avoid; /* Allow breaking after rows */
}
.table thead {
display: table-header-group; /* Ensure table headers are repeated */
}
.table tbody {
display: table-row-group; /* Ensure table rows are grouped */
}
.table tfoot {
display: table-footer-group; /* Ensure table footers are repeated */
}
/* Add top and bottom margins to each page */
.table tbody:before,
.table tbody:after {
content: "";
display: table-row;
height: 5mm; /* Adjust as needed for top and bottom margins */
}
/* Remove border from the before and after elements */
.table tbody:before td,
.table tbody:after td {
border: none; /* Remove borders */
}
/* Adjust the border of the last row on the page */
.table tbody tr:last-child td {
border-bottom: none; /* Remove the bottom border */
border-left: none; /* Remove the bottom border */
border-right: none; /* Remove the bottom border */
border-top: none; /* Remove the bottom border */
}
/* Prevent border at the connection of two pages */
.table tbody tr:last-child td:first-child {
border-bottom: none; /* Remove the bottom border */
border-left: none; /* Remove the bottom border */
border-right: none; /* Remove the bottom border */
border-top: none; /* Remove the bottom border */
}
.table tbody tr:last-child td:last-child {
border-bottom: none; /* Remove the bottom border */
border-left: none; /* Remove the bottom border */
border-right: none; /* Remove the bottom border */
border-top: none; /* Remove the bottom border */
}
table, th, td {
border-width: 0.1px !important; /* 인쇄 시 테두리를 더 얇게 설정 (0.1px) */
}
/* 테두리 얇게 하는 테스트 */
.table {
transform: scale(0.50); /* 약간 축소 */
}
}