index.less 6.97 KB
.ganttList{
  width: 100vm;
  padding: 0rem 0.5rem 0 0.5rem;
}
:global{
  .gantt_add, .gantt_grid_head_add{
    display: none;
  }
  .gantt_grid_head_cell.gantt_grid_head_add{
    display: none;
  }
  .commonListSelectBtn{
    display: none;
  }
  .workScheduleModal{
    overflow: hidden;
    padding-bottom: 0;
  }
  .productionScheduleTree{
    // background: #fff!important;
    :global{
      .ant-tree li{
        padding: 1px;
      }
    }
    .processListTable .ant-table-content .ant-table-body{
      max-height: 100%;
    }
    .topTable .ant-table-content .ant-table-scroll{
      padding-bottom: 0!important;
    }
    .topTable{
      border-top: 1px solid transparent;
      height: 100%;
      .ant-table-content{
        border-top: 1px solid #dbdbdb;
      }
    }
    .productPlan{
      .ant-row{
        margin-left: 0!important;
        margin-right: 0!important;
      }
    }
    .ant-table-thead > tr > th {
      background-color: #F2F2F2!important;
    }
    .process{
      max-width: 48px!important;
      width: 48px!important;
      flex: 0 0 48px !important;
      line-height: 48px;
      background-color: #F2F2F2!important;
      border: 1px solid #dbdbdb!important;
      .ant-layout-sider-children{
        a{
          margin-bottom: 12px;
          img{
            //width: 20px;
          }
        }
      }
    }
    .search-container{
      width: 100%;
      position: relative;
      z-index: 50;
    }
    //.ant-layout{
    //  background: #ffffff!important;
    //}
    #staticEditTable{
      border-right: 1px solid #dbdbdb;
      td{
        height: 28px;
        white-space: nowrap;
        word-break: break-all;
      }
    }
    .ant-tree li .ant-tree-node-content-wrapper{
      height: 20px;
      line-height: 20px;
    }
    .ant-tree-treenode{
      .process{
        max-width: 48px!important;
      }
      .ant-tree-indent-unit{
        &:before{
          display: none;
        }
      }
      .ant-tree-switcher-noop{
        display: none;
      }
    }
    .productionScheduleTree-container{
      padding: 10px;
      padding-top: 3px;
      width: 100%;
      height: 100%;
      overflow: hidden;
      display: flex;
    }
    .productionScheduleTree-sider{
      box-sizing: border-box;
      width: 180px;
      height: 100%;
      border: 1px solid #d9d9d9;
      float: left;
      position: relative;
      .resize-controller{
        width: 6px;
        height: 100%;
        position: absolute;
        z-index: 10;
        right: -3px;
        top: 0;
        cursor: col-resize;
      }
      .productionScheduleTree-sider-title{
        width: 100%;
        height: 30px;
        padding-left: 6px;
        line-height: 30px;
        background: #f2f2f2;
        box-sizing: border-box;
        border-bottom: 1px solid #dbdbdb;
        color: #101010;
        font-size: 14px;
        font-weight: bold;
        .control-icon{
          cursor: pointer;
        }
        span{
          margin-left: 16px;
        }
      }
      .productionScheduleTree-sider-content{
        width: 100%;
        height: ~"calc(100% - 30px)";
        overflow: auto;
      }
    }
    .productionScheduleTree-content{
      width: ~"calc(100% - 224px)";
      float: left;
      height: 100%;
      #expandTable{
        .ant-table-scroll{
          padding-bottom: 30px!important;
        }
      }
      .topTable .ant-table-content .ant-table-scroll{
        padding-bottom: 0!important;
      }
      .ant-table-content .ant-table-body{
        max-height: 100%!important;
      }
    }
    .noInput{
      padding: 0!important;
      display: flex;
      width: 100%;
      height: 100%;
      align-items: center;
    }
    //.sActiveIdStyle{
    //  padding: 0!important;
    //}
    #staticEditTable{
      .ant-form-item-children{
        input{
          padding: 0 0px!important;
          border: none!important;
        }
        .sActiveIdStyle{
          left: 0!important;
        }
      }
    }
    .split-record-row td, .split-record-row-skip td { /* 生产排程Tree分割行样式2222 */
      border: none!important;
      span.linksActiveIdStyle{text-decoration:none!important; color:#000!important;}
    }
    .split-record-row td{
      .ant-table-row-expand-icon-collapsed{
        display: none!important;
      }
      .ant-checkbox{
        display: none!important;
      }
    }
    //.split-record-row-skip td span.ant-checkbox{
    //  background-color: unset!important;
    //}
    .split-record-row td:nth-of-type(3) {
      color: #CDCDCD;
      span{
        color:#CDCDCD;
      }
    }
    .split-record-row td:not(:nth-of-type(4)){ /* 处理分隔行显示不全,不能以某列宽度为基准来设计,至少5列合并*/
      //z-index: 1!important;
    }
    //.split-record-row-skip td:nth-of-type(2) {
    //  color: #CDCDCD;
    //  span{
    //    color:#CDCDCD;
    //  }
    //}
    .split-record-row-skip td:not(:nth-of-type(3)){ /* 处理分隔行显示不全,不能以某列宽度为基准来设计,至少5列合并*/
      //z-index: 1!important;
    }
    /* 设置单元格样式 */
    .selected-record-row td .SetCell_green div{
      background-color: green!important;
    }
    .selected-record-row td .SetCell_red div{
      background-color:#ff9393!important;
    }
    .selected-record-row td .SetCell_yellow div{
      background-color: yellow!important;
    }
    .selected-record-row td .SetCell_blue div{
      background-color: blue!important;
    }
    .selected-record-row td .SetCell_orange div{
      background-color: orange!important;
    }
    .selected-record-row td .SetCell_pink div{
      background-color: pink!important;
    }

    .workoutsid-node{
      color: rgba(24, 144, 255, 100);
      font-size: 12px;
      font-weight: bold;
    }
    .workoutconfirm-node{
      color: rgba(24, 144, 255, 100);
      font-size: 12px;
      font-weight: bold;
    }
    .process-node{
      color: rgba(24, 144, 255, 100);
      font-size: 12px;
      font-weight: bold;
    }
    .machine-node{
      color: #101010;
      font-size: 12px;
      font-weight: bold;
    }
    .hour-info{
      color: #ff4d4f;
      margin-left: 4px;
    }
    .workcenter-node{
      color: #101010;
      font-size: 12px;
      font-weight: bold;
    }
    .productPlan{
      height: 100%;
      .tree-pagination-container{
        width: 100%;
        height: 100%;
        position: relative;
        .pagination-item{
          position: absolute;
          bottom: 0;
          left: 8px;
        }
        .ant-row{
          height: ~"calc(100% - 32px)"!important;
        }
        .topTable .ant-table-content .ant-table-scroll{
          padding-bottom: 30px!important;
        }
      }
      .tree-pagination-container-nopage{
        .pagination-item{
          display: none;
        }
        .ant-row{
          height: ~"calc(100%)"!important;
        }
      }
      .ant-row{
        #staticEditTable{
          td{
            white-space: unset;
            overflow: unset;
          }
        }
      }
      .colorInfo {
        line-height: 33px!important;
      }
    }
  }
}