ttk-app-core
Version:
enterprise develop framework
295 lines (279 loc) • 7.08 kB
text/less
@iconDayin: #45ACF7;
@iconDaochu: #00B38A;
@iconBorder: 1px solid #D9D9D9;
@hoverIconBorder: 1px solid #0093E2;
@iconActive: #0093E2;
@Color: #fff;
.ttk-scm-app-expense-list{
width: 100%;
height: 100%;
padding: 10px;
box-sizing: border-box;
overflow: auto;
&-header {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 10px 10px 9px;
background: #fff;
border: 1px solid #d9d9d9;
border-bottom: none;
.ant-calendar-picker {
:hover{
.ant-calendar-picker-input:not(.ant-input-disabled)~.ant-calendar-picker-icon:after{
color: @primary-color;
}
}
}
.ant-input {
height: 30px;
font-size: 12px;
}
.mk-search {
height: 51px ;
}
&-left {
height: 30px;
}
&-right {
height: 30px;
line-height: 30px;
.btn-voucher {
border-radius: 4px 0 0 4px;
}
.expense-btn {
margin-left: 8px;
}
}
.ant-btn:hover {
z-index: 2;
}
}
&-more {
margin-left: -1px ;
border-radius: 0 4px 4px 0;
}
.ttk-scm-app-expense-list-Body{
flex:1;
background: #fff;
border: 1px solid #d9d9d9;
border-top: none;
.ant-input, .ant-select-selection {
font-size: 12px;
height: 26px;
}
.amount {
text-align: right;
}
.ant-select-selection__rendered {
font-size: 12px;
line-height: 26px;
}
.ant-table-tbody{
height: 100%;
}
.ttk-scm-app-expense-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;
line-height: 37px;
}
tr> td.table_td_align_right{
text-align: right;
line-height: 37px;
}
tr> td.table_td_align_center{
text-align: center;
line-height: 37px;
}
.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 {
border-top: 1px solid #d9d9d9;
}
.ant-table-fixed {
border: 0;
}
}
.columns-title {
width: 100%;
position: relative;
display: block;
&-item {
display: inline-block;
}
&-price {
.price {
display: inline-block;
width: 108px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
line-height: 12px;
}
span {
vertical-align: middle;
}
}
&-icon {
position: absolute;
right: 0;
}
&-docCode {
margin-left: 15px;
span, a {
vertical-align: middle;
}
}
&-settlement {
margin-left: 50px;
span {
vertical-align: middle;
}
}
}
}
.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;
}
img {
width: 100%;
height: 100%;
}
}
&-item {
width: 100%;
&-price {
float: right;
padding: 10px;
color: red
}
&-title {
float: left;
padding: 10px;
}
}
&-products {
overflow: auto;
}
&-footer{
flex: auto;
justify-content: right;
overflow: hidden;
align-items: right;
padding-top: 10px;
}
.table_fixed_width{
text-align: center;
width: 63px;
span{
cursor: pointer;
}
.ttk-scm-app-expense-columnset::before{
margin-right: 0;
font-size: 28px;
position: relative;
top: 6px;
}
}
.ttk-scm-app-expense-list-footer{
justify-content: flex-start;
align-items: flex-end;
padding-top: 10px;
flex: none;
}
}
.Popover-ttk-scm-app-expense-list{
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-scm-app-expense-list-modal-container{
.ant-modal-body{
padding: 0;
.mk-btn.ant-btn{
padding: 0 15px;
height: 32px;
font-size: 14px;
}
}
.mk-ttk-scm-app-expense-list-sort{
padding: 10px 15px;
}
}
.settleClass {
.mk-form {
display: flex;
flex-direction: row;
}
.ant-form-item-label {
width: 70px;
}
.ant-form-item-control-wrapper {
width: 120px;
}
.ant-select-selection__rendered, .ant-select-selection--single {
width: 120px ;
}
.personClass {
.ant-form-item-label {
width: 100px ;
}
}
.IconDiv {
display: flex;
align-items: center;
.addIcon, .delIcon {
font-size: 24px;
}
}
}