358 lines
6.3 KiB
CSS
358 lines
6.3 KiB
CSS
.ui8-table-container {
|
|
width: 754px;
|
|
max-height: 881px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
/* 隐藏滚动条但保持滚动功能 */
|
|
scrollbar-width: none;
|
|
/* Firefox */
|
|
-ms-overflow-style: none;
|
|
/* IE 和 Edge */
|
|
}
|
|
|
|
.ui8-table-container::-webkit-scrollbar {
|
|
display: none;
|
|
/* Chrome, Safari, Opera */
|
|
}
|
|
|
|
.ui8-table {
|
|
width: 754px;
|
|
border-collapse: collapse;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.ui8-table-header {
|
|
color: rgba(0, 45, 93, 1);
|
|
font-size: 32px;
|
|
font-family: NotoSansCJKsc-Bold;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
padding: 10px;
|
|
border: 1px solid rgba(0, 45, 93, 0.2);
|
|
background-color: rgba(233, 242, 245, 1);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.ui8-table-dept {
|
|
width: 200px;
|
|
background-color: #b12651;
|
|
color: white;
|
|
}
|
|
|
|
.ui8-table-project {
|
|
width: 554px;
|
|
background-color: #053875;
|
|
color: white;
|
|
}
|
|
|
|
.ui8-table-row {
|
|
border-bottom: 2px solid #d3d3d3;
|
|
border-right: 2px solid #d3d3d3;
|
|
}
|
|
|
|
.ui8-table-dept-cell {
|
|
color: black;
|
|
background-color: #daeef2;
|
|
font-size: 24px;
|
|
font-family: NotoSansCJKsc-Medium;
|
|
font-weight: 500;
|
|
padding-left: 20px;
|
|
border-right: 2px solid #d3d3d3;
|
|
border-left: 2px solid #d3d3d3;
|
|
}
|
|
|
|
.ui8-table-project-cell {
|
|
color: black;
|
|
font-size: 24px;
|
|
padding: 0;
|
|
font-family: NotoSansCJKsc-Regular;
|
|
text-align: left;
|
|
}
|
|
|
|
.ui8-project-item {
|
|
border-bottom: 2px solid #d3d3d3;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.ui8-project-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* PDF 展示容器 - 改为滚动显示模式 */
|
|
.ui8-pdf-container {
|
|
height: 1200px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
/* 隐藏滚动条但保持滚动功能 */
|
|
scrollbar-width: none;
|
|
/* Firefox */
|
|
-ms-overflow-style: none;
|
|
/* IE 和 Edge */
|
|
padding: 20px 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.ui8-pdf-container::-webkit-scrollbar {
|
|
display: none;
|
|
/* Chrome, Safari, Opera */
|
|
}
|
|
|
|
/* PDF 页面包装器 - 不再需要,保留以防兼容性 */
|
|
.ui8-pdf-page-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* 向上滑动动画(下一页) */
|
|
.ui8-pdf-page-wrapper.slide-up {
|
|
animation: slideUpOut 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideUpOut {
|
|
0% {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
transform: translateY(-10px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
/* 向下滑动动画(上一页) */
|
|
.ui8-pdf-page-wrapper.slide-down {
|
|
animation: slideDownOut 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideDownOut {
|
|
0% {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
transform: translateY(10px);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.ui8-pdf-page {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.ui8-pdf-page canvas {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
@keyframes swipeHint {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 0.65;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
transform: translateY(-5px) scale(1.02);
|
|
}
|
|
}
|
|
|
|
/* PDF 翻页控制 */
|
|
.ui8-pdf-controls {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 30px;
|
|
width: 100%;
|
|
padding: 12px 0;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.ui8-page-info {
|
|
font-size: 26px;
|
|
font-family: NotoSansCJKsc-Bold;
|
|
font-weight: 700;
|
|
color: rgba(0, 45, 93, 1);
|
|
min-width: 140px;
|
|
text-align: center;
|
|
letter-spacing: 1px;
|
|
transition: transform 0.2s ease;
|
|
animation: fadeIn 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.ui8-loading,
|
|
.ui8-error {
|
|
padding: 40px;
|
|
font-size: 28px;
|
|
font-family: NotoSansCJKsc-Medium;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
color: rgba(0, 45, 93, 1);
|
|
}
|
|
|
|
.ui8-error {
|
|
color: #b12651;
|
|
}
|
|
|
|
.ui8-right-section {
|
|
z-index: 9999;
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 250px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
}
|
|
|
|
.ui8-right-section :last-child {
|
|
margin-top: 10px;
|
|
margin-left: 100px;
|
|
}
|
|
|
|
.ui8-right-section--hidden {
|
|
opacity: 0;
|
|
transform: translateX(80px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ui8-printer-panel {
|
|
width: 100%;
|
|
height: -6px;
|
|
margin-right: 44px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
justify-content: end;
|
|
position: relative;
|
|
}
|
|
|
|
.ui8-printer-label {
|
|
font-size: 18px;
|
|
font-family: NotoSansCJKsc-Medium;
|
|
}
|
|
|
|
.ui8-printer-trigger {
|
|
height: 30px;
|
|
border: none;
|
|
padding: 0 20px;
|
|
font-size: 16px;
|
|
font-family: NotoSansCJKsc-Regular;
|
|
background-color: inherit;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
cursor: pointer;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.ui8-printer-trigger.open {
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.ui8-printer-trigger.disabled {
|
|
color: rgba(0, 0, 0, 0.45);
|
|
border-color: rgba(0, 0, 0, 0.2);
|
|
background-color: #f5f5f5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.ui8-printer-arrow {
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 8px solid transparent;
|
|
border-right: 8px solid transparent;
|
|
border-top: 10px solid rgba(0, 45, 93, 0.8);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.ui8-printer-trigger.open .ui8-printer-arrow {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.ui8-printer-options {
|
|
position: absolute;
|
|
top: 30px;
|
|
border-radius: 20px;
|
|
background-color: white;
|
|
border: none;
|
|
box-shadow: none;
|
|
max-height: 100px;
|
|
overflow-y: auto;
|
|
z-index: 20;
|
|
padding: 0;
|
|
/* 不显示滚动条 */
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.ui8-printer-options::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.ui8-printer-option {
|
|
padding: 14px 22px;
|
|
font-size: 22px;
|
|
font-family: NotoSansCJKsc-Regular;
|
|
color: #002d5d;
|
|
cursor: pointer;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.ui8-printer-option:hover,
|
|
.ui8-printer-option:focus {
|
|
background-color: rgba(0, 45, 93, 0.08);
|
|
outline: none;
|
|
}
|
|
|
|
.ui8-printer-option.active {
|
|
background-color: rgba(0, 45, 93, 0.15);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ui8-printer-hint {
|
|
font-size: 20px;
|
|
color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.ui8-printer-error {
|
|
font-size: 22px;
|
|
color: #b12651;
|
|
}
|
|
|
|
.ui8-duplex-option {
|
|
margin-top: 15px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
} |