GZMachinesWeb/WebContent/static/css/lease/machineReceive.css

402 lines
8.4 KiB
CSS

/* 印章样式 */
.seal-container {
position: relative;
display: inline-block;
padding: 10px;
}
.seal-text {
position: relative;
display: inline-block;
padding: 12px 24px;
border: 2.5px solid #e60000;
border-radius: 8px;
font-family: "STKaiti", "KaiTi", "SimSun", serif;
font-size: 20px;
font-weight: bold;
color: #e60000;
background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,240,240,0.95) 100%);
text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
letter-spacing: 3px;
transform: rotate(-8deg);
box-shadow: 0 4px 15px rgba(230, 0, 0, 0.25);
animation: seal-pulse 3s infinite ease-in-out;
text-align: center;
line-height: 1.2;
min-width: 120px;
}
.seal-text.confirmed {
border-color: #2f952d;
color: #2f952d;
background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,255,240,0.95) 100%);
box-shadow: 0 4px 15px rgba(47, 149, 45, 0.25);
}
.seal-text:before,
.seal-text:after {
content: '';
position: absolute;
border-radius: 10px;
z-index: -1;
}
.seal-text:before {
top: -8px;
left: -8px;
right: -8px;
bottom: -8px;
border: 2px dashed rgba(230, 0, 0, 0.4);
background: radial-gradient(circle at center, rgba(255,255,255,0.9) 30%, rgba(255,240,240,0.7) 100%);
}
.seal-text.confirmed:before {
border-color: rgba(47, 149, 45, 0.4);
background: radial-gradient(circle at center, rgba(255,255,255,0.9) 30%, rgba(240,255,240,0.7) 100%);
}
.seal-text:after {
content: '★';
position: absolute;
top: -15px;
right: -15px;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
font-size: 24px;
color: #e60000;
background: white;
border-radius: 50%;
border: 2px solid #e60000;
transform: rotate(15deg);
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.seal-text.confirmed:after {
color: #2f952d;
border-color: #2f952d;
}
@keyframes seal-pulse {
0%, 100% {
transform: rotate(-8deg) scale(1);
box-shadow: 0 4px 15px rgba(230, 0, 0, 0.25);
}
50% {
transform: rotate(-8deg) scale(1.03);
box-shadow: 0 6px 20px rgba(230, 0, 0, 0.35);
}
}
/* 领料单表格样式优化 */
.table-print {
border-collapse: collapse;
width: 100%;
font-family: "SimSun", "宋体", serif;
font-size: 14px;
line-height: 1.6;
background: #ffffff;
}
.table-print th {
background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
font-weight: bold;
text-align: center;
padding: 12px 8px;
border: 2px solid #333;
color: #333;
font-size: 16px;
letter-spacing: 1px;
}
.table-print td {
padding: 10px 8px;
border: 1px solid #666;
text-align: center;
vertical-align: middle;
transition: background-color 0.3s;
}
.table-print tr:hover td {
background-color: #f5f9ff;
}
.table-print .company-title {
font-size: 28px;
font-weight: bold;
color: #333;
text-align: center;
padding: 20px 0;
border-bottom: 3px double #333;
margin-bottom: 15px;
font-family: "Microsoft YaHei", "SimHei", sans-serif;
text-shadow: 2px 2px 3px rgba(0,0,0,0.1);
}
.table-print .form-title {
font-size: 24px;
font-weight: bold;
color: #333;
text-align: center;
padding: 15px 0;
letter-spacing: 10px;
position: relative;
}
.table-print .form-title:before,
.table-print .form-title:after {
content: '';
position: absolute;
top: 50%;
width: 40%;
height: 2px;
background: linear-gradient(to right, transparent, #333, transparent);
}
.table-print .form-title:before {
left: 0;
}
.table-print .form-title:after {
right: 0;
}
/* 头部信息样式 */
.info-header {
background: #f0f8ff;
border: 2px solid #b8d4ff;
border-radius: 8px;
padding: 15px;
margin: 10px 0;
}
.info-item {
display: inline-block;
margin-right: 30px;
font-size: 15px;
font-weight: bold;
}
.info-label {
color: #0066cc;
font-weight: bold;
margin-right: 10px;
}
.info-value {
color: #333;
font-weight: normal;
padding: 3px 10px;
background: white;
border: 1px solid #ddd;
border-radius: 4px;
min-width: 150px;
display: inline-block;
}
/* 状态样式优化 */
.status-badge {
padding: 6px 12px;
border-radius: 20px;
font-weight: bold;
font-size: 13px;
display: inline-block;
margin: 2px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.status-waiting {
background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
color: #8b4513;
border: 1px solid #ff8c00;
}
.status-approved {
background: linear-gradient(135deg, #98fb98 0%, #32cd32 100%);
color: #006400;
border: 1px solid #228b22;
}
.status-rejected {
background: linear-gradient(135deg, #ffb6c1 0%, #ff6347 100%);
color: #8b0000;
border: 1px solid #dc143c;
}
/* 按钮样式优化 */
.btn-custom {
padding: 10px 25px;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 15px;
font-weight: bold;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
.btn-print {
background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
color: white;
}
.btn-print:hover {
background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}
.btn-save {
background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
color: white;
}
.btn-save:hover {
background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}
.btn-confirm {
background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
color: white;
padding: 8px 20px;
font-size: 14px;
}
.btn-confirm:hover {
background: linear-gradient(135deg, #e64a19 0%, #d84315 100%);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
}
/* 表单控件样式 */
.form-control-custom {
border: 2px solid #ddd;
border-radius: 6px;
padding: 10px 15px;
width: 100%;
box-sizing: border-box;
font-size: 14px;
transition: all 0.3s;
background: #fff;
}
.form-control-custom:focus {
outline: none;
border-color: #4CAF50;
box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
background: #f8fff8;
}
/* 操作按钮组 */
.action-buttons {
position: fixed;
bottom: 30px;
right: 30px;
display: flex;
gap: 15px;
background: rgba(255, 255, 255, 0.95);
padding: 15px;
border-radius: 10px;
box-shadow: 0 5px 20px rgba(0,0,0,0.15);
z-index: 1000;
}
/* 打印优化 */
@media print {
.no-print {
display: none !important;
}
.table-print {
font-size: 13px !important;
line-height: 1.5 !important;
}
.table-print th {
font-size: 14px !important;
padding: 8px 6px !important;
}
.table-print td {
padding: 6px 4px !important;
}
.seal-text {
border: 2px solid #e60000 !important;
color: #e60000 !important;
box-shadow: none !important;
animation: none !important;
background: white !important;
transform: rotate(-8deg) !important;
}
.seal-text.confirmed {
border-color: #2f952d !important;
color: #2f952d !important;
}
.info-header {
border: 1px solid #ccc !important;
padding: 8px !important;
}
body {
font-family: "SimSun", "宋体", serif !important;
margin: 0 !important;
padding: 0 !important;
background: white !important;
}
.page-break {
page-break-before: always;
}
}
/* 响应式调整 */
@media (max-width: 1200px) {
.table-print th,
.table-print td {
padding: 8px 6px;
font-size: 13px;
}
.seal-text {
font-size: 16px;
padding: 8px 16px;
}
}
/* 加载动画 */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.9);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.spinner {
width: 50px;
height: 50px;
border: 5px solid #f3f3f3;
border-top: 5px solid #4CAF50;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}