ttk-app-core
Version:
enterprise develop framework
411 lines (400 loc) • 11.4 kB
text/less
.app-sa-delivery-card {
width: 100%;
height: 100%;
padding: 10px;
color: #666;
background: #fff;
overflow-y: hidden;
margin-bottom: 10px;
.ant-form-item-label label, h1 {
color: #666;
}
h1 {
font-size: 21px;
font-weight: 400;
}
.mkicon {
font-size: 22px;
}
&-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%;
}
}
.ant-select-selection {
height: 100%
}
.ant-select-selection__rendered {
height: 100%
}
.ant-select-selection-selected-value {
line-height: 40px;
}
}
&-cell-disabled {
cursor: not-allowed;
}
.ant-tabs-bar {
margin-bottom: 0px;
}
&-header {
flex-direction: row;
height: 35px;
padding: 10px 0 10px 10px;
overflow: hidden;
flex: 0 0 52px;
&-left {
flex-direction: row;
align-items: center;
overflow: hidden;
&>.mk-btn {
}
.page-prev-next {
button:first-child{
margin-right: 8px;
}
button{
border-radius: 5px ;
}
}
.setting {
margin-left: 8px;
width: 30px;
height: 30px;
font-size: 28px;
border-radius: 5px;
border: 1px solid #D9D9D9;
cursor: pointer;
}
&-iconbutton {
font-size: 45px;
color: @primary-color;
}
&-jianpan {
left: 160.5px;
top: 137.5px;
}
}
&-right {
flex-direction: row;
justify-content: flex-end;
align-items: center;
overflow: hidden;
&-but {
color: #fff;
background-color: @primary-color;
border-color: @primary-color;
&:hover{
background-color: @button-hover-color;
border-color: @primary-color;
color: #fff;
}
}
.mk-btn {
margin-left: 10px;
&:hover{
border-color: @primary-color;
}
}
}
}
&-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;
display: flex;
flex-direction: row;
overflow: visible;
img{
zoom: 31%;
padding: 0 8px 0 8px;
}
}
&-right {
flex: 0 0 300px;
flex-direction: row;
justify-content: flex-end;
align-items: center;
padding-right: 10px;
.code {
line-height: 18px;
height: 18px;
width: 120px;
border-bottom: 1px solid #ccc;
text-align: center;
color: rgb(204, 204, 204);
}
}
}
&-content {
overflow-y: auto;
}
&-form-header {
flex: 0 0 auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding-top: 18px;
margin-left: 10px;
.mk-form-item {
margin-bottom: 5px;
width: 25%;
}
.ant-form-item-label {
padding: 0px;
width: 85px;
}
.ant-form-item-control-wrapper {
width: 150px;
height:32px;
}
.mk-select {
width: 100%;
}
.mk-datepicker {
width: 100%;
}
.ant-form-explain {
margin-top: 5px;
}
&-taxWay {
.ant-form-item-control-wrapper {
display: flex;
width: 185px;
align-items: center;
}
}
&-taxMark {
display: flex;
}
&-remark {
width: 100% ;
.ant-form-item-control-wrapper {
width: 800px;
}
}
&-remark1 {
width: 50% ;
.app-pu-arrival-card-form-header .mk-form-item {
width: 50% ;
}
.ant-form-item-control-wrapper {
width: 450px ;
}
}
&-clacItemDiv {
display: flex;
width: 100%;
flex-wrap: wrap;
&-fromItem {
width: 25%;
}
}
}
&-form-details {
margin: 8px 0 8px 10px;
.fixedDataTableRowLayout_main.public_fixedDataTable_footer{
overflow: hidden;
.public_fixedDataTable_scrollbarSpacer {
background: #fff6ea ;
}
}
.public_fixedDataTable_header .public_fixedDataTableCell_main {
background: #eaeaea ;
color: #666;
border-top: 1px solid #d9d9d9;
border-bottom: 1px solid #d9d9d9 ;
}
.public_fixedDataTable_main {
border-right: 0px;
.fixedDataTableLayout_header .mk-datagrid-cellContent {
font-weight: 700;
font-size: 13px;
}
.fixedDataTableLayout_rowsContainer {
border: 1px solid #d9d9d9;
border-top: 0px;
.fixedDataTableRowLayout_rowWrapper {
&>div{
border-bottom: none;
}
}
}
.mk-datagrid-addDelRow-cell {
&:hover{
border-right-width: 0px;
z-index: 2;
}
}
}
.public_fixedDataTable_scrollbarSpacer {
background: #eaeaea;
border: 1px solid #d9d9d9;
border-left:none;
border-right: none;
}
.fixedDataTableLayout_main {
margin-right: 10px;
border-top: 0px;
}
.public_Scrollbar_main {
border-right: 1px solid #d9d9d9;
}
.fixedDataTableCellGroupLayout_cellGroupWrapper:first-child .fixedDataTableCellGroupLayout_cellGroup .public_fixedDataTableCell_main{
border-left-width: 0px;
z-index: 1;
&:hover {
border-left-width: 0px;
z-index: 1;
}
}
.fixedDataTableLayout_rowsContainer {
&>div:nth-child(3) {
.fixedDataTableRowLayout_rowWrapper {
.fixedDataTableCellGroupLayout_cellGroupWrapper {
.fixedDataTableCellGroupLayout_cellGroup:first-child {
border-top: none ;
}
}
}
}
}
}
&-form-footer {
flex: 0 0 auto;
display: flex;
flex-direction: row;
justify-content: flex-end;
padding-left: 10px;
.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: 150px;
}
}
&-balance {
&-signRight {
height: 53px;
line-height: 53px;
width: 100%;
text-align: right;
}
}
&-paymentAmount{
&-icon {
font-size: 21px;
color: @button-hover-color;
line-height: 53px;
&:hover{
color: @primary-color;
}
}
&-iconDiv {
height: 53px;
display: flex;
flex-direction: row;
font-size: 24px;
color: @button-hover-color;
&-iconAdd:hover,&-iconDel:hover {
color: @primary-color;
}
&-iconDel {
font-size: 24px;
}
}
}
}
&-footer {
flex-direction: row;
align-items: flex-end;
padding-left: 10px;
.mk-form-item {
margin-bottom: 0;
display: flex;
}
}
&-footer-left {
overflow: hidden;
flex-direction: row;
.ant-form-item-control-wrapper {
display: inline-block;
}
.ant-form-item-label, .ant-form-item-control {
line-height: normal;
}
.ant-form-item-label, .ant-form-item-control-wrapper {
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
}
&-footer-right {
flex-direction: row;
justify-content: flex-end;
align-items: center;
overflow: hidden;
&-but {
color: #fff;
background-color: @primary-color;
border-color: @primary-color;
&:hover{
background-color: @button-hover-color;
border-color: @primary-color;
color: #fff;
}
}
.mk-btn {
margin-left: 10px;
&:hover{
border-color: @primary-color;
}
}
}
.mk-datagrid .public_fixedDataTableCell_main {
border-top: 1px solid #d9d9d9;
border-bottom: none;
.fixedDataTableLayout_rowsContainer {
&>div:nth-child(3) {
.fixedDataTableRowLayout_rowWrapper:first-child {
.fixedDataTableCellLayout_main .public_fixedDataTableCell_main {
border-top: none ;
}
}
}
}
}
}