trunk/pc4mobx/organization/public/tree/node.less

129 lines
2.4 KiB
Plaintext
Raw Normal View History

2022-05-05 15:57:07 +08:00
.org-tree-node-label-inner {
.node-card {
width: 220px;
height: 140px;
cursor: pointer;
.top {
width: 100%;
height: 48px;
position: relative;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
#org-icon {
position: absolute;
top: 10px;
left: 18px;
font-size: 24px;
color: #ffffff;
}
p {
position: absolute;
left: 56px;
height: 48px;
color: #ffffff;
font-weight: bold;
margin: 0;
line-height: 48px;
}
}
.common-content {
position: relative;
.info {
img {
width: 30px;
height: 30px;
position: absolute;
top: 17px;
left: 24px;
}
div {
span {
position: absolute;
top: 16px;
left: 65px;
font-weight: bold;
}
div {
position: absolute;
top: 36px;
left: 64px;
color: grey;
}
}
}
.detail {
position: absolute;
top: 62px;
color: grey;
left: 25px;
span {
&:last-child {
margin-left: 40px;
}
}
}
}
.job-content {
position: relative;
.title {
position: absolute;
top: 8px;
left: 32px;
font-size: 15px;
font-weight: bold;
}
.detail {
position: absolute;
top: 38px;
color: grey;
left: 28px;
div {
span {
&:last-child {
margin-left: 40px;
}
}
}
}
}
.person-content {
position: relative;
.info {
img {
width: 30px;
height: 30px;
position: absolute;
top: 17px;
left: 24px;
}
div {
span {
position: absolute;
top: 18px;
left: 62px;
font-weight: bold;
}
div {
position: absolute;
top: 37px;
left: 66px;
color: grey;
}
}
}
.address {
position: absolute;
top: 60px;
left: 32px;
color: grey;
}
}
}
}
/**simple_node*/
.simple-node-card {
padding: 10px 15px;
}