weaver_trunk_cli/pc4mobx/hrm/style/cardInfo.less

392 lines
11 KiB
Plaintext

@imgW:210px;
@pd:14px;
@WidthLeft:270px;
@infoGroup_gap:30px;
.hrm-my-card-basicInfo{
.icon-coms-up{
color: #ccc;
}
.icon-coms-down{
color: #ccc;
}
padding-top: 10px;
padding-left: @pd;
padding-right: @pd;
background-color: #fff;
&-sqr{
position: absolute;
top: 0;
right: 0;
background-color: #fff;
width: 100%;
height: 100%;
border: 1px solid #e2e2e2;
}
&-sqr-title{
margin-top: 8px;
text-align: center;
color: #333;
}
&-sqr-canvas{
margin: 43px 0 0 46px;
}
&-icon-circle{
display: inline-block;
vertical-align: middle;
width: 35px;
height: 35px;
font-size: 18px;
line-height: 35px;
text-align: center;
border-radius: 50%;
border:1px solid #ccc;
margin-right: 10px;
color: #3498ec;
cursor: pointer;
&:hover{
background-color: #3498ec;
color: #fff;
}
}
&-left{
// background-color:LightBlue;
float: left;
width: @WidthLeft;
padding-left: 30px;
padding-right: 30px;
padding-top: 22px;
word-break: break-all;
&-imgwrap{
min-height: 160px;
height: 290px;
width: @imgW;
// background-color: #808080;
position: relative;
cursor: pointer;
&-triangle {
width: 0;
height: 0;
border-top: 40px solid #33a8ff;
border-left: 40px solid transparent;
position: absolute;
right: 0px;
top: 0;
}
}
&-corner {
position: absolute;
top: 0;
right: 0;
width: 0;
height: 0;
border: 18px solid #2db7f5;
border-bottom-color: transparent;
border-left-color: transparent;
z-index: 2;
cursor: pointer;
&>i {
color: #fff;
position: absolute;
top: -14px;
right: -14px;
}
}
&-img{
width: @imgW;
&-big {
position: absolute;
width: 450px;
left: 0px;
top: 0px;
z-index: 10;
zoom: 0.7;
opacity: 1;
transition: all .3s ease-in-out;
transform-origin: 50% 50% 0;
}
}
&-img-value{
width: @imgW;
position: absolute;
max-height: 290px;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
&-big {
position: absolute;
width: 450px;
left: 0px;
top: 0px;
z-index: 10;
zoom: 0.7;
opacity: 1;
transition: all .3s ease-in-out;
transform-origin: 50% 50% 0;
}
}
&-imgwrap-op{
padding-top: 20px;
padding-bottom: 20px;
}
&-accountinfo-middline{
margin-bottom: 20px;
margin-top: 4px;
border-top: 1px solid #e2e2e2;
}
&-accountinfo-endicon{
text-align: center;
cursor: pointer;
}
&-accountinfo-label{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&-accountinfo-value{
font-size: 12px;
padding-bottom: 16px;
}
&-accountinfo-label{
color: #868686;
}
// &-accountinfo-value,
// &-accountinfo-value a{
// color: #333;
// }
}
&-right{
margin-left:@WidthLeft;
padding-top: 22px;
padding-left: 30px;
word-break: break-all;
border-left: 1px solid #ccc;
&-info >div{
margin-bottom: @infoGroup_gap;
}
&-counts{
overflow: auto;
zoom: 1;
padding-left: 10px;
}
&-counts-cell{
position: relative;
float: left;
width: 150px;
height: 70px;
padding: 10px 0 10px 20px;
margin-bottom: 30px;
margin-right: 30px;
margin-top: 1px;
border-radius: 4px;
&:hover{
-moz-box-shadow:0px 0px 10px #ccc;
-webkit-box-shadow:0px 0px 10px #ccc;
box-shadow:0px 0px 10px #ccc;
border-radius: 4px;
cursor: pointer;
}
img{
padding-right: 10px;
}
&-info{
position: absolute;
left: 0px;
top: 15px;
width: 100%;
padding-left: 75px;
a{
font-size: 18px;
}
}
}
}
.wea-info-group {
&-content-cell-value{
border-bottom: 1px solid #e2e2e2;
padding-bottom: 2px;
padding-left: 8px;
min-height: 18px;
}
&-title {
font-size: 14px;
color: #868686;
border-bottom: 1px solid #e2e2e2;
background-color: #f4faff;
}
&-title-info{
display: inline-block;
height: 32px;
line-height: 32px;
padding-left: 10px;
&:before{
display: inline-block;
content: " ";
color: transparent;
height: 32px;
position: absolute;
left: 1px;
border-left: 2px solid #2b9dec;
}
}
&-content {
padding-top: 10px;
}
&-content>div{
overflow: hidden;
transition: height .2s cubic-bezier(.215, .61, .355, 1);
padding: 10px 10px 10px 15px;
}
}
.wea-info-group-new {
&-content-cell-value{
border-bottom: 1px solid #e2e2e2;
padding-bottom: 2px;
padding-left: 8px;
min-height: 18px;
}
&-title {
font-size: 14px;
color: #333333;
background-color: #F5F5F9;
border-radius: 4px;
}
&-title-info{
display: inline-block;
height: 32px;
line-height: 32px;
padding-left: 10px;
&:before{
display: inline-block;
content: " ";
color: transparent;
height: 32px;
position: absolute;
left: 1px;
border-left: 3px solid #2DB7F5;
border-radius: 3px 0px 0px 3px;
}
}
&-content {
padding-top: 10px;
&>div>div{
overflow: hidden;
transition: height .2s cubic-bezier(.215, .61, .355, 1);
padding: 10px 10px 10px 15px;
}
// li {
// color: #3D95EB;
// margin-top: 5px;
// div {
// color: black;
// // margin-left: 15px;
// // margin-top: -15px;
// }
// }
.remarkContainer, .tagContainer {
width: 100%;
height: auto;
min-height: 150px;
padding: 0px;
}
.remarkContainer{
.remarkRow{
height: 16px;
margin-top: 5px;
clear:both;
li {
color: #3D95EB;
float: left
}
div {
color: black;
width: 95%;
float:left;
margin-left: 5px;
line-height:16px;
// margin-left: 15px;
// margin-top: -15px;
}
@media screen {
@media (max-width: 1440px) {
div {
width:80%
}
}
}
}
}
.tagContainer {
padding: 0px 10px 0px 10px;
.tagList{
margin-top: 5px;
.tagInfo{
position: relative;
float: left;
margin-right: 30px;
margin-top: 5px;
font-size: 12px;
color: #333333;
letter-spacing: -0.08px;
min-height: 30px;
// line-height: 18px;
// height: 30px;
// line-height: 30px;
cursor: pointer;
i {
display: none;
background: red;
color: #fff;
border-radius: 15px;
font-size: 10px;
padding-top: 4px;
float: right;
position: absolute;
right: -10px;
top: -8px;
width: 18px;
height: 18px;
}
&:hover{
color: #2DB7F5;
i {
display: block;
}
}
}
}
}
.addTagContainer{
margin-top: 20px;
input{
border-radius: 5px 0px 0px 5px;
}
button{
height: 28px;
padding-top: 2px;
border-radius: 0px 5px 5px 0px;
}
}
}
}
}
@media screen {
@media (min-width: 1600px) {
.wea-info-group-new {
&-content {
.remarkContainer{
.remarkRow{
div {
width: 80%;
}
}
}
}
}
}
}