weaver_trunk_cli/pc4mobx/hrm/style/card.less

349 lines
7.6 KiB
Plaintext

@fontSz14:14px;
@fontSz12:12px;
.hrm-my-card-top-wapper {
position: relative;
background-color: #f9f9f9;
border-bottom: 1px solid #eaeaea;
}
.hrm-my-card-top.hrm-my-card-top-fixed {
position: absolute;
top: 10px;
right: 20px;
width: 100%;
height: 52px;
text-align: right;
width: 300px;
border-bottom: none;
}
.hrm-my-card {
.hrm-card-hastop {
height: calc(100% - 111px);
}
.hrm-card-notop {
height: calc(100% - 160px);
}
.card-iframe {
border: none;
width: 100%;
height: 602px;
}
.top-tabs {
height: 41px;
.ant-tabs-tab-inner {
font-size: 12px;
padding: 12px 20px;
}
}
.hrm-base-group-title{
.wea-content{
padding-top: 0px;
}
}
.hrm-base-group{
padding-left: 0;
padding-right: 0;
.wea-title{
display: none;
}
a{
color:#4d7ad8;
}
a:hover{
color: #00a9ff
}
.wea-content{
.ant-col-24.wea-form-cell {
padding-left: 0;
}
}
}
.hrm-my-cardInfo_detial_tabs{
padding-top: 20px;
}
// .ant-tabs.ant-tabs-card>.ant-tabs-bar .ant-tabs-tab {
// margin: 1px 3px 0 3px;
// border-radius: 3px 3px 0 0;
// }
// .ant-tabs.ant-tabs-card .ant-tabs-bar {
// background-color: #f9f9f9;
// border-bottom: 1px solid #d9d9d9;
// border-top: 1px solid #d9d9d9;
// }
// .ant-tabs.ant-tabs-card .ant-tabs-nav-container {
// height: 46px;
// padding-top: 11px;
// }
// .ant-tabs.ant-tabs-card>.ant-tabs-bar .ant-tabs-tab-inner {
// padding: 6px 16px;
// }
// .ant-tabs.ant-tabs-card>.ant-tabs-bar .ant-tabs-tab-active .ant-tabs-tab-inner {
// padding-top: 8px;
// }
.ant-tabs.ant-tabs-card .ant-tabs-content {
padding: 0 15px;
}
.hrm-my-card-top-avatar{
cursor: pointer;
position: relative;
display: inline-block;
width: 46px;
height: 46px;
border-radius: 50%;
}
}
.hrm-my-card-top {
position: relative;
width:calc(~"100% - 300px");
.ant-btn{
border-radius: 2px;
}
.hrm-my-card-top-content{
width: 100%;
overflow: auto;
}
.hrm-my-card-top-title {
font-size:16px;
font-weight: 500;
color: #484848;
.hrm-my-card-top-title-info{
width: calc(~"100% - 90px");
}
&-img{
cursor: pointer;
}
&-femal,
&-male{
display: inline-block;
width: 10px;
border-radius: 10px;
border: 1px solid;
height: 10px;
margin-right: 4px;
}
&-femal{
border-color: #ff7676;
}
&-male{
border-color: #2cbff5;
}
.maleColor{
color: #2cbff5;
}
.femaleColor{
color: #ff7676;
}
.orgInfo{
font-size: 12px;
word-break: break-all;
a{
color: #999;
&:hover{
color:#00a9ff;
}
}
}
// &-info span,
// &-info a{
// color: #333333;
// }
// img {
// width: 46px;
// height: 46px;
// border-radius: 50%;
// }
&-shortname{
width: 46px;
height: 46px;
border-radius: 50%;
background-color: #6495E8;
color: #fff;
text-align: center;
line-height: 46px;
float: left;
margin-left: 10px;
margin-right: 14px;
}
}
&-icon-circle-base {
display: inline-block;
vertical-align: middle;
width: 35px;
height: 35px;
font-size: 18px;
line-height: 35px;
text-align: center;
border-radius: 50%;
margin-right: 10px;
color: #fff;
}
&-icon-button{
font-size: 16px;
color: #484848;
cursor: pointer;
}
.hrm-my-card-top-drop-btn{
display: inline-block;
padding-left: 20px;
line-height: 40px;
vertical-align: middle;
cursor: pointer;
}
.hrm-my-card-top-drop-menu {
max-width: 200px;
position: absolute;
right: -14px;
top: 45px;
border: 1px solid #dadada;
box-shadow: 0 0 2px #dadada;
z-index: 99;
box-sizing: border-box;
}
.hrm-my-card-top-drop-menu .hrm-my-card-top-drop-btn{
display: block;
box-sizing: border-box;
height: 44px;
line-height: 35px;
position: absolute;
right: -1px;
top: -44px;
padding: 0 13px;
border: 1px solid #dadada;
border-bottom: 0;
box-shadow: 0px -1px 2px -1px #dadada;
background-color: #fff;
}
.ant-btn[disabled],
.ant-btn[disabled]:hover{
background-color: #d9d9d9;
color: #fff;
}
.icon-button.hrm-my-card-top-btn-clicked{
color:#0077d1;
}
.hrm-my-card-top-default-avatar{
display: inline-block;
position: relative;
top: -20px;
width: 46px;
height: 46px;
border-radius: 50%;
background: #55B1F9;
text-align: center;
line-height: 46px;
font-size: 16px;
color: #fff;
cursor: pointer;
}
}
.hrm-my-cardInfo {
padding-bottom: 20px;
background: #fff;
a {
color: #123885;
&:hover {
color: red;
}
}
.hrm-center {
.ant-col-24.wea-form-cell {
padding-left: 25%;
}
}
}
.uploadPortrait{
&>div{
float: left;
}
.left{
margin: 20px;
.currImg{
width: 234px;
height: 234px;
background-color: #F2F2F2;
position: relative;
.defaultImg{
color: #CECECE;
font-size: 40px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -20px;
margin-top: -20px;
}
}
.opBar{
line-height: 30px;
&>div{
float: left;
color: #ccc;
font-size: 12px;
cursor: pointer;
}
.uploadImg{
color: #00A9FF;
margin-right: 6px;
}
.remove{
margin-top: 5px;
}
.op{
float: right;
margin-right: 6px;
margin-top: 13px;
font-size: 14px;
&:hover{
color: #00A9FF;
}
}
}
}
.right{
margin-top: 20px;
color: #ccc;
.preview{
clear:both;
width: 112px;
height: 112px;
border-radius: 112px;
overflow: hidden;
background-color: #F2F2F2;
position: relative;
.defaultImg{
color: #CECECE;
font-size: 40px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -20px;
margin-top: -20px;
}
}
.lbl{
text-align: center;
margin-top: 15px;
}
}
}