ttk-app-core
Version:
enterprise develop framework
257 lines (249 loc) • 6.43 kB
text/less
@iconDayin: #45ACF7;
@iconDaochu: #00B38A;
@iconBorder: 1px solid #D9D9D9;
@hoverIconBorder: 1px solid #0093E2;
@iconActive: #0093E2;
@Color: #fff;
.ttk-table-app-list{
width: 100%;
height: 100%;
padding: 10px;
box-sizing: border-box;
overflow: auto;
&-reload{
display: block;
line-height: 30px ;
// font-size: 20px;
// width: 30px;
// height: 30px;
box-sizing: border-box;
background: #FFFFFF;
// color: @iconDayin;
cursor: pointer;
padding: 0;
margin: 0;
// &:hover{
// border-color: @iconDayin;
// }
&.ant-btn-clicked{
background: @iconActive;
border: @hoverIconBorder;
color: #fff;
}
}
&-HelpCloseDatePicker{
width: 0;
height: 0;
position: fixed;
top: -1000px;
}
.ttk-table-app-list-Body{
flex:1;
background: #fff;
border: 1px solid #d9d9d9;
border-top: none;
// .ant-table-tbody{
// tr{
// height: 30px !important;
// box-sizing: border-box;
// td {
// height: 30px !important;
// box-sizing: border-box;
// .ttk-table-app-list-td-con{
// overflow: hidden;
// text-overflow:ellipsis;
// white-space: nowrap;
// }
// }
// }
// }
.ttk-table-app-list-td-con{
width: 100%;
display: block;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
a:hover{
text-decoration: underline;
}
}
tr> td.table_td_align_left{
text-align: left;
}
tr> td.table_td_align_right{
text-align: right;
}
tr> td.table_td_align_center{
text-align: center;
}
.ant-table-header{
.ant-table-thead tr th{
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
}
.ant-table-fixed-right{
.ant-table-header{
background: #eaeaea;
}
}
// .ant-table-body-outer .ant-table-fixed .ant-table-tbody tr{
// height: 30px !important;
// box-sizing: border-box;
// td {
// height: 30px !important;
// box-sizing: border-box;
// }
// }
}
.react-grid-item {
.mk-card {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.ant-card-body {
padding: 0px;
flex: 1;
overflow: hidden;
text-align: center;
display: flex;
flex-direction: column;
//align-items: flex-start;
}
img {
width: 100%;
height: 100%;
}
}
&-item {
width: 100%;
&-price {
float: right;
padding: 10px;
color: red
}
&-title {
float: left;
padding: 10px;
}
}
&-products {
overflow: auto;
}
&-columnset::before{
font-size: 28px;
font-style: normal;
margin-right: 10px;
float:right;
}
&-footer{
flex: auto;
justify-content: right;
overflow: hidden;
align-items: right;
padding-top: 10px;
}
.table_fixed_width{
// width: 120px !important;
// border-right: none !important;
text-align: center;
width: 63px;
span{
cursor: pointer;
}
.ttk-table-app-list-columnset::before{
margin-right: 0;
}
}
.ttk-table-app-list-footer{
justify-content: flex-start;
align-items: flex-end;
padding-top: 10px;
flex: none;
}
&-dayin {
// font-size: 26px;
// color: @iconDayin;
display: block;
// width: 30px;
// height: 30px;
text-align: center;
box-sizing: border-box;
background: #FFFFFF;
// border: @iconBorder;
// border-radius: 2px;
margin-left: 8px;
line-height: 30px;
// cursor: pointer;
}
// &-dayin:hover{
// border-color: @iconDayin;
// }
&-daochu {
display: block;
text-align: center;
box-sizing: border-box;
background: #FFFFFF;
margin-left: 8px;
line-height: 28px;
}
.mk-title-otherBtn{
display: flex;
}
.ant-table-fixed .ant-table-thead tr .table_fixed_width{
height: 36px;
.ttk-table-app-list-columnset{
position: absolute;
top: 7px;
left: 22px;
}
}
}
.Popover-ttk-table-app-list{
// padding: 5px 0;
// .ant-popover-arrow{
// top: 2px !important;
// }
// .ant-popover-inner-content{
// padding: 5px 0 0 0;
// }
top: 141px ;
.more_btn_container{
width: 140px;
height: auto;
left: -35px;
overflow: hidden;
.more_btn_item{
width: 100%;
height: 34px;
text-align: center;
line-height: 26px;
font-size: 12px;
line-height: 34px;
&:hover{
background: tint(@primary-color, 90%);
cursor: pointer;
}
}
.ant-menu-item-selected{
background: inherit;
color: inherit;
}
}
}
.mk-ttk-table-app-list-modal-container{
.ant-modal-body{
padding: 0;
.mk-btn.ant-btn{
padding: 0 15px;
height: 32px;
font-size: 14px;
}
}
.mk-ttk-table-app-list-sort{
padding: 10px 15px;
}
}