ttk-app-core
Version:
enterprise develop framework
391 lines (383 loc) • 10.6 kB
text/less
.ttk-scm-app-inventory-documents {
width: 99%;
height: 100%;
padding: 10px;
overflow: auto;
color: #333;
background: #fff;
padding: 0 10px 0 0;
margin-bottom: 10px;
overflow-y: hidden;
border: 1px solid #d9d9d9;
&-helpPopover{
.ant-popover-inner-content{
width: 220px;
}
// .helpIcon{
// font-size: 30px;
// &:hover{
// color: @primary-color;
// cursor: pointer;
// }
// }
}
&-product{
background: #F9F8FA;
height: 50px;
display: flex;
margin-left: 10px;
font-size: 12px;
.productSpan{
margin-left: 14px;
line-height: 50px;
// margin-right: 8px;
width: 60px;
}
.helpIcon{
line-height: 50px;
margin-right: 60px;
font-size: 20px;
&:hover{
color: @primary-color;
cursor: pointer;
}
}
.mk-form-item{
width: 30%;
input{
text-align: right;
font-size: 12px;
}
}
}
.ant-form-item-label label, h1 {
color: #333;
font-size: 12px;
}
h1 {
font-size: 18px;
font-weight: 400;
color: #333;
}
.mkicon {
font-size: 22px;
}
&-cell-left {
text-align: left;
}
&-cell-right {
text-align: right;
}
&-cell-center {
text-align: center;
}
&-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%;
}
}
&-cell-disabled {
cursor: not-allowed;
}
.ant-tabs-bar {
margin-bottom: 0px;
}
&-header {
flex-direction: row;
// height: 50px;
// flex: 0 0 40px;
height: 35px;
padding: 10px 0 10px 10px;
flex: 0 0 52px;
overflow: hidden;
&-left {
flex-direction: row;
align-items: center;
overflow: hidden;
&>.mk-btn {
// margin-left: 8px;
}
.page-prev-next {
// margin-left: 8px;
button:first-child{
margin-right: 8px;
}
button{
border-radius: 5px ;
}
}
.setting {
margin-left: 8px;
width: 30px;
height: 30px;
font-size: 28px;
border-radius: 5px;
color: #45acf7;
border: 1px solid #D9D9D9;
cursor: pointer;
&:hover{
border: 1px solid #45acf7;
color: #45acf7;
}
}
&-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;
}
}
}
}
&-content {
overflow-y: auto;
display: flex;
flex-direction: column;
flex:1
}
&-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: 50%;
padding: 0 8px 0 8px;
}
}
&-right {
flex: 0 0 300px;
flex-direction: row;
justify-content: flex-end;
align-items: center;
padding-right: 10px;
font-size: 12px;
.code {
line-height: 18px;
height: 18px;
width: 80px;
margin-left: 12px;
margin-right: 5px;
text-align: left;
color: #333
}
}
}
&-form-header {
flex: 0 0 auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding-top: 8px;
margin-left: 10px;
.ant-select-selection__clear{
right: 22px;
}
.mk-form-item {
margin-bottom: 5px;
width: 25%;
font-size: 12px;
}
.ant-input{
font-size: 12px;
}
.ant-select-selection{
font-size: 12px;
}
.ant-form-item-label {
padding: 0px;
width: 85px;
}
.ant-form-item-control-wrapper {
width: 150px;
height:38px;
}
.mk-select {
width: 100%;
}
.mk-datepicker {
width: 100%;
}
.ant-form-explain {
margin-top: 5px;
}
&-remark {
width: 50% ;
.ttk-scm-app-inventory-documents-form-header .mk-form-item {
width: 50% ;
}
}
}
&-form-details {
margin: 8px 0 8px 10px;
.fixedDataTableRowLayout_main.public_fixedDataTable_footer{
overflow: hidden;
.public_fixedDataTable_scrollbarSpacer {
background: #fff6ea ;
}
}
.ant-select-selection__clear{
right: 22px;
}
.ant-select-selection-selected-value {
font-size: 12px;
line-height: 34px ;
}
.public_fixedDataTable_header .public_fixedDataTableCell_main {
background: #eaeaea ;
color: #666;
border-top: 1px solid #d9d9d9;
.fixedDataTableCellGroupLayout_cellGroupWrapper {
border-top: 1px solid #d9d9d9;
}
}
.public_fixedDataTable_main {
border-right: 0px;
.fixedDataTableLayout_header .mk-datagrid-cellContent {
font-weight: 700;
font-size: 12px;
}
.fixedDataTableLayout_rowsContainer {
border: 1px solid #d9d9d9;
border-top: 0px;
.fixedDataTableRowLayout_rowWrapper {
&>div:last-child{
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;
}
}
}
&-footer {
flex-direction: row;
align-items: flex-end;
padding-left: 10px;
font-size: 12px;
display: flex;
.mk-form-item {
margin-bottom: 0;
display: flex;
}
}
&-footer-left {
overflow: hidden;
flex-direction: row;
line-height: 30px;
}
&-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;
}
}
}
@media screen and (min-width: 1250px) {//大于1280样式
.ttk-scm-app-inventory-documents-form-header-remark {
.ant-form-item-control-wrapper {
width: 420px ;
}
}
}
@media screen and (min-width: 1320px) {//大于1300样式
.ttk-scm-app-inventory-documents-form-header-remark {
.ant-form-item-control-wrapper {
width: 438px ;
}
}
}
@media screen and (max-width: 1249px) {//小于1249样式
.ttk-scm-app-inventory-documents-form-header-remark {
.ant-form-item-control-wrapper {
width: 408px ;
}
}
}
}