salary-management-front/pc4mobx/hrmSalary/pages/payroll/templatePreview/index.less

155 lines
2.9 KiB
Plaintext

.templatePreview {
height: 100%;
display: flex;
flex-direction: column;
.contentWrapper {
flex: 1;
overflow-y: scroll;
}
.headerWrapper {
background-color: #0270c1;
height: 55px;
line-height: 55px;
text-align: center;
.iconsWrapper {
display: inline-block;
width: 150px;
height: 55px;
.iconWrapper {
display: inline-block;
width: 64px;
height: 55px;
line-height: 75px;
text-align: center;
img {
width: 30px;
height: 30px;
}
}
.activeIconWrapper {
background-color: #1c87d3;
}
}
}
.computerTemplate {
background-color: rgb(246, 246, 246);
width: 900px;
padding-top: 30px;
padding-bottom: 20px;
margin: 20px auto;
box-shadow: rgba(214, 214, 214, 0.5) 0px 0px 14px 0px;
border: 3px solid #fff;
.background-wrapper {
height: 200px;
margin: 10px;
}
.background-img {
width: 100%;
height: 200px;
}
.titleWrapper {
text-align: center;
font-size: 18px;
font-weight: 700;
}
}
.phoneTemplate {
width: 330px;
padding-top: 0px;
border-radius: 20px;
.phoneBar {
height: 50px;
line-height: 50px;
font-size: 16px;
font-weight: 700;
background-color: #fff;
text-align: center;
}
}
.sobItem {
margin: 10px;
background-color: #FFF;
padding: 10px;
.descript-title {
display: flex;
align-items: center;
margin-bottom: 10px;
flex: auto;
overflow: hidden;
color: #000000d9;
font-weight: 700;
font-size: 14px;
line-height: 1.5715;
white-space: nowrap;
text-overflow: ellipsis;
border: 1px solid #fafafa;
border-bottom: none;
}
.descriptions-view {
width: 100%;
table {
table-layout: fixed;
border-collapse: collapse;
width: 100%;
border: 1px solid rgba(0, 0, 0, .06);
.descriptions-row {
.descriptions-item-label {
background-color: #fafafa;
padding: 16px 24px;
color: #000000d9;
font-weight: 400;
font-size: 12px;
line-height: 1.5715;
text-align: start;
border: 1px solid rgba(0, 0, 0, .06);
min-width: 100px;
max-width: 100px;
}
.descriptions-item-content {
padding: 16px 24px;
display: table-cell;
flex: 1;
color: #000000d9;
font-size: 12px;
line-height: 1.5715;
word-break: break-word;
overflow-wrap: break-word;
border-collapse: collapse;
border: 1px solid rgba(0, 0, 0, .06);
}
}
}
}
}
.space {
display: flex;
align-items: center;
justify-content: flex-end;
.ant-btn {
margin-right: 10px;
}
}
}