index.less 5.13 KB
:global{
  .xly-list{
    // 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;
      }
    }
    .listTree-container{
      padding: 10px;
      padding-top: 3px;
      width: 100%;
      height: 100%;
      overflow: hidden;
      display: flex;
    }
    .listTree-sider{
      box-sizing: border-box;
      width: 250px;
      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;
      }
      .listTree-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;
        }
        img{
          margin-right: 20px;
        }
      }
      .listTree-sider-content{
        width: 100%;
        height: ~"calc(100% - 30px)";
        overflow: auto;
      }
    }
    .listTree-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;
      }
    }

    /* 列表过滤树*/
    .xly-filter-left-tree{
      border-radius: 4px;
      display: block;
      background-color:#fff;
      top:80px;
      right:0px;
      z-index:20000;
      box-shadow: 0px 0px 16px rgba(0,0,0,0.05) /*阴影出现在元素的左侧*/
    }
    .xly-filter-left-tree #staticEditTree{
      //width: 280px;
      margin: 10px auto;
      height:calc(100vh - 280px);
      overflow: auto;
      .ant-tree-child-tree{
        font-size: 12px;
      }
    }

    .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;
        }
      }
    }
    .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;
          }
        }
      }
    }
  }
}