@ttk/component
Version:
ttk组件库
176 lines (171 loc) • 4.64 kB
text/less
.@{mk-prefix}-tableSetting{
overflow: hidden;
overflow-y: auto;
box-sizing: border-box;
padding: 0 4px 0 12px;
box-shadow: 0 0 4px #999;
background: #fff;
z-index: 100;
border: 1px solid #D9D9D9;
display: flex;
flex-direction: column;
font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;
h2{
margin-top: 12px;
height: 16px;
line-height: 16px;
font-size: 16px;
color: #333;
letter-spacing: 0.39px;
float: left;
}
.@{mk-prefix}-tableSetting-header{
width: 100%;
height: 21px;
float: left;
//margin-top: 18px;
position: absolute;
top: 40px;
left: 2px;
span{
width: 49%;
height: 21px;
line-height: 21px;
background: #F5F5F5 ;
display: inline-block;
text-align: center;
font-size: 13px;
color: #333;
letter-spacing: 0.34px;
}
span:first-child{
float: left;
// margin-left: -3px
}
span:last-child{
float: right;
// margin-right: -3px
}
}
.@{mk-prefix}-tableSetting-container-wrapper{
height: 100%;
overflow: auto;
padding-bottom: 54px;
}
.@{mk-prefix}-tableSetting-container-wrapper.show-title{
padding-top: 54px;
}
.@{mk-prefix}-tableSetting-container{
width: 100%;
height: 100%;
//margin-top: 22px;
float: left;
overflow: auto;
// position: relative;
padding: 0;
.@{mk-prefix}-tableSetting-line{
width: 0;
height: 100%;
border-right: 1px dashed #979797;
position: absolute;
left: 50%;
top: 0;
}
.@{mk-prefix}-tableSetting-title{
width: 50%;
height: auto;
overflow: hidden;
float: left;
padding-left: 8px;
box-sizing: border-box;
}
.@{mk-prefix}-tableSetting-detail{
width: 50%;
height: auto;
overflow: hidden;
float: left;
padding-left: 28px;
box-sizing: border-box;
}
.@{mk-prefix}-tableSetting-item{
height: auto;
line-height: 19px;
margin-bottom: 14px;
.@{ant-prefix}-checkbox + span{
font-size: 13px;
color: #333;
letter-spacing: 0.34px;
}
.active .@{ant-prefix}-checkbox + span{
font-size: 13px;
color: #999999;
letter-spacing: 0.29px;
}
}
.@{mk-prefix}-tableSetting-detail:last-child{
margin-left: 28px;
}
.@{mk-prefix}-tableSetting-detail:first-child{
margin-left: 8px;
}
}
.@{mk-prefix}-tableSetting-container2{
width: 100%;
height: 100%;
//margin-top: -54px;
float: left;
overflow: auto;
// position: relative;
padding: 0;
.@{mk-prefix}-tableSetting-item-style2{
width: 100%;
float: left;
height: auto;
line-height: 19px;
padding-bottom: 14px;
padding-left: 20px;
.@{ant-prefix}-checkbox + span{
font-size: 13px;
color: #333;
letter-spacing: 0.34px;
}
.active .@{ant-prefix}-checkbox + span{
font-size: 13px;
color: #999999;
letter-spacing: 0.29px;
}
}
}
.@{mk-prefix}-tableSetting-bottom{
display: flex;
flex-direction: row;
height: 30px;
justify-content: center;
position: absolute;
bottom: 13px;
right: 0;
.@{mk-prefix}-tableSetting-bottom-btn{
width: 70px;
height: 30px;
}
.@{ant-prefix}-btn{
margin-right: 8px;
//margin-top: 18px
}
.@{ant-prefix}-btn.cancle {
margin-right: 12px;
}
}
}
.@{mk-prefix}-tableSetting1{
width: 287px;
}
.@{mk-prefix}-tableSetting2{
width: 258px;
h2{
margin: 12px 0 17px 0;
}
}
.left-btn{
margin-left: 5px
}