You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
salary-management-oneself/src/pages/personnelReport/peopleFlowTable/index.less

202 lines
3.9 KiB
Plaintext

@gap: 16px;
@cardWidth: calc(~"20vw" - 4 * @gap / 5);
.peopleFlowWrapper {
width: 100%;
height: 100%;
background: #e5e5e5;
overflow: auto;
display: flex;
flex-direction: column;
.headerCardWrapper {
display: flex;
margin-bottom: @gap;
padding: 0;
& > li:not(:last-child) {
margin-right: @gap;
}
& > li:not(:first-child) {
background-size: 100% 100% !important;
}
& > li:first-child {
background: #FFF;
}
& > li {
width: @cardWidth;
min-height: 220px;
border-radius: 5px;
padding: 16px;
}
}
.contentBox {
flex: 1;
display: flex;
.contentBoxLeft {
flex: 1;
display: flex;
flex-direction: column;
.contenBoxTop {
flex: 1;
.chartsBox {
flex: 4 1;
display: flex;
& > ul {
width: @cardWidth;
margin: 0 @gap 0 0;
padding: 0;
overflow: hidden;
& > li:first-child {
margin-bottom: @gap;
}
& > li {
background: #FFF;
min-height: 220px;
border-radius: 5px;
padding: 16px;
}
}
& > div {
flex: 3 1;
background: #FFF;
border-radius: 5px;
min-height: 220px;
display: flex;
flex-direction: column;
& > ul {
margin: 20px 16px;
padding: 0;
display: flex;
& > li:hover {
cursor: pointer;
}
& > li.active {
font-size: 16px;
color: #0055F3;
letter-spacing: 0;
font-weight: 700;
border-bottom: 1px solid #0055F3;
}
& > li:not(:last-child) {
margin-right: 26px;
}
li {
font-size: 14px;
color: #999999;
letter-spacing: 0;
font-weight: 400;
padding: 6px 0;
}
}
& > div {
min-height: 377px;
}
}
}
}
.contenBoxBottom {
flex: 1;
margin-top: @gap;
background: #FFF;
border-radius: 5px;
.trendsInSeparations {
min-height: 220px;
max-height: 220px;
}
}
}
.rankingBox {
width: @cardWidth;
margin-left: @gap;
background: #FFF;
border-radius: 5px;
.trainingRanking {
overflow-y: auto;
.rankDescBox {
display: flex;
font-size: 4px;
align-items: center;
img {
width: 30px;
margin-right: 10px;
}
.rankNum {
margin-right: 10px
}
.rankNumber {
width: 30px;
margin-right: 10px;
text-align: center;
}
.rankDescPersBox {
display: flex;
align-items: center;
& > span:last-child {
display: flex;
flex-direction: column;
margin-left: 8px;
& > span:first-child {
font-size: 14px;
color: #333333;
font-weight: 400;
}
& > span:last-child {
font-size: 12px;
color: #B8B8B8;
font-weight: 400;
min-width: 130px;
max-width: 130px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
}
.rankRow {
background: #FEFAED;
}
:global {
.ant-list-item {
padding: 16px 20px;
}
}
}
}
}
}