ttk-app-core
Version:
enterprise develop framework
182 lines (181 loc) • 5.11 kB
text/less
.ttk-scm-app-batch-orders{
.ant-calendar-picker {
width: 100%;
:hover{
.ant-calendar-picker-input:not(.ant-input-disabled)~.ant-calendar-picker-icon:after{
color: @primary-color;
}
}
}
.mk-cascader, .ant-select, .ant-input {
font-size: 12px;
text-align: left;
.ant-select-selection-selected-value {
line-height: 34px;
}
.ant-cascader-picker-label {
padding-left: 8px ;
}
}
&-top {
overflow: hidden;
background: #fff;
padding: 0 10px;
border: 1px solid #d9d9d9;
border-bottom: none;
.mk-form-item,
.ant-form-item-label,
.ant-form-item-control-wrapper{
float: left;
line-height: 50px;
}
.ant-form-item{
margin-bottom: 0;
font-size: 12px;
margin-right: 16px;
.ant-form-item-control{
line-height: 50px;
}
.ant-calendar-picker-input.ant-input {
height: 30px;
font-size: 12px;
}
}
.mk-btn {
float: right;
margin: 10px 0;
}
.ant-calendar-picker {
width: 98px;
}
.name {
height: 30px;
}
}
&-body {
background: #fff;
flex: 1;
clear: both;
border-right: 1px solid #d9d9d9;
// cursor: pointer;
.ant-input{
font-size: 12px;
}
table td > div{
font-size: 12px;
}
.ant-form-item-label {
width: 100%;
.mk-cascader {
width: 100%;
}
}
// .mk-cascader:before{
// display: inline-block;
// content: "*";
// font-family: SimSun;
// font-size: 14px;
// color: red;
// line-height: 1;
// }
table{
width: 100%;
overflow: hidden;
.ant-select {
height: 26px;
}
.mk-datepicker{
height: 26px;
input{
height: 26px;
}
}
.ant-select-selection{
height: 26px;
}
.ant-select-selection__rendered{
line-height: 26px;
.ant-select-selection-selected-value {
line-height: 26px;
}
}
.ant-cascader-input{
height: 27px;
}
}
.ant-table-tbody tr.ant-table-row td.table-seq{
background: #fff;
text-align: center;
}
.ant-table-tbody tr td .td_ellipsis {
// display: inline-block;
width: 100%;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
.ant-table-tbody tr:nth-child(even) td {
background: #fff;
// border-right: none;
}
.ant-table-tbody tr:nth-child(even) td:last-child {
// border-right: 1px solid #d9d9d9;
}
.ant-table-tbody tr:nth-child(odd) td {
background: #f8f8f8;
}
.ant-table-bordered.ant-table-empty .ant-table-placeholder{
border-left: none;
}
.ant-table-tbody tr.ant-table-row .table-align-right{
text-align: right;
}
.mk-cascader:hover{
.ant-cascader-input{
border-color: @primary-color;
outline: 0;
box-shadow: 0 0 0 2px rgba(30,181,173,.2);
border-right-width: 1px;
}
}
.business-type-label {
.ant-cascader-picker-label {
padding: 0 24px 0 0;
}
.ant-form-item-label {
padding-right: 11px
}
label:after{
content: "";
}
}
.amount-right {
text-align: right;
}
.ant-table-bordered .ant-table-header > table {
border-top: 1px solid #d9d9d9;
border-left: none ;
}
}
}
.ttk-scm-app-batch-orders-Cascader {
ul {
min-width: 218px;
li {
height:30px;
}
}
.ant-cascader-menu {
font-size: 12px;
}
.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled), .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
background: @primary-1;
color: @primary-color;
font-weight: normal;
}
.ant-cascader-menu-item:hover{
background: @primary-1;
color: @primary-color;
font-weight: normal;
}
}