ttk-app-core
Version:
enterprise develop framework
190 lines (188 loc) • 4.63 kB
text/less
.ttk-edf-app-delivery-order {
width: 100%;
height: 100%;
padding: 10px;
background: #fff;
margin-bottom: 10px;
.mkicon {
font-size: 22px;
}
&-iconbutton {
padding: 0 4px ;
}
&-cell-left {
padding-left: 8px;
justify-content: flex-start;
}
&-cell-right {
padding-right: 8px;
justify-content: flex-end;
}
&-cell {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
&>div {
width: 100%;
height: 100%;
input {
height: 100%;
}
}
/*input{
height: 40px;
}*/
.ant-select-selection {
height: 100%
}
.ant-select-selection__rendered {
height: 100%
}
.ant-select-selection-selected-value {
line-height: 40px;
}
}
&-cell-disabled {
//background-color: #eee
cursor: not-allowed;
}
.ant-tabs-bar {
margin-bottom: 0px;
}
&-header {
flex-direction: row;
height: 50px;
flex: 0 0 50px;
overflow: hidden;
&-left {
flex-direction: row;
align-items: center;
padding-left: 10px;
&>.mk-btn {
margin-left: 10px;
}
}
&-right {
flex-direction: row;
justify-content: flex-end;
align-items: center;
overflow: hidden;
.mk-btn {
margin-left: 10px
}
}
}
&-title {
flex: 0 0 auto;
flex-direction: row;
justify-content: space-between;
&-left {
flex: 0 0 300px;
flex-direction: row;
justify-content: flex-start;
align-items: center;
padding-left: 10px;
&-tag {
border: 1px solid red;
padding: 4px 8px;
font-style: italic;
font-weight: bold;
color: red;
}
}
&-right {
flex: 0 0 300px;
flex-direction: row;
justify-content: flex-end;
align-items: center;
padding-right: 10px;
}
}
&-form-header {
flex: 0 0 auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding-top: 18px;
.mk-form-item {
margin-bottom: 20px;
}
.ant-form-item-label {
width: 100px;
padding: 0px;
}
.ant-form-item-control-wrapper {
width: 200px;
height:32px;
}
.mk-select {
width: 100%;
}
.mk-datepicker {
width: 100%;
}
.ant-form-explain {
margin-top: 5px;
}
&-memo {
.ant-form-item-control-wrapper {
width: 800px;
}
}
}
&-form-detailsWrap {
height: 185px;
// border: 1px solid #d9d9d9;
}
&-form-details {
flex: 1;
}
&-form-footer {
flex: 0 0 auto;
display: flex;
flex-direction: column;
.ant-form-item-label {
width: 100px;
}
.ant-form-item-control-wrapper {
width: 200px;
}
.mk-select {
width: 100%;
}
&-settlement, &-advance, &-balance{
display: flex;
flex-direction: row;
justify-content: flex-end;
.ant-form-item-control-wrapper {
width: 100px;
}
}
}
&-footer {
// padding: 10px;
padding-left: 10px;
flex: 0 0 auto;
flex-direction: row;
}
&-addBut, &-saveBut {
background: @primary-color;
color: #fff;
border-color: @primary-color;
&:hover{
background:@button-hover-color;
color: #fff;
}
}
div {
.ant-select.mk-select.mk-app-delivery-order-cell.editable-cell.ant-select-enabled {
width: 100%;
}
.fixedDataTableCellLayout_main.public_fixedDataTableCell_main {
text-align: center;
line-height: 35px;
}
}
}