@import 'base.less';
.cp2-page-list{
  //height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  .yyui-tree-wrapper:first-child{
    margin: 0 6px;
  }
}
.cp2-center-list .yyui-table{
  .ant-table-body{
    //min-height: 485px;
    //数据过少时的行记录底边线
    //.ant-table-tbody tr:last-child>td, .ant-table-bordered .ant-table-tbody tr:last-child>th{
    //  border-bottom: 1px solid #e9e9e9;
    //}
  }
}
.cp2-page-card{
  //height: 100%;
  position: relative;
  .ant-spin-nested-loading .ant-spin {
    position: fixed;
    //top: 50%;
  }
}
.cp2-header.yyui-toolbar,.cp2-footer.yyui-toolbar{
  background: #ffffff;
  height: @toolbar-height;
  width: 100%;
  >.yyui-row,>.yyui-row>.yyui-col{
    height: 100%;
    >.yyui-button{
      margin: 0 5px;
    }
  }
}
.cp2-header{
  border-bottom: 1px solid @border-color;
  .yyui-breadcrumb.ant-breadcrumb{
    color: #333;
    font-size: 15px;
    background: #fff;
    > span:last-child{
      color: #333;
      font-weight: bold;
    }
  }
}
.cp2-footer{
  border-top: 1px solid @border-color;
}
.cp2-center-list{
  flex:1;
  overflow: auto;
  padding: 0 15px;
  //background: #fff;
}

.cp2-tool{
  //background: #fff;
  min-height: 40px;
  text-align: right;
  padding: 0 15px;
}

.cp2-formcards{
  background: #fff;
  margin: 20px 25px;
  padding-top: 15px;
  padding-bottom: 15px;
  -ms-box-shadow: 0 1px 4px 0 rgba(0,0,0,.15);
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.15);
  >.ant-collapse{
    background: #fff;
    > .ant-collapse-item{
      padding-bottom: 6px;
      > .ant-collapse-header{
        margin-left: -8px;
        margin-right: -5px;
        background-color: #f6f8f9;
        font-size: 1pc;
        color: #6f6f6f;
        height: 41px;
        line-height: 38px;
        padding-left: 2pc;
        border-right: 1px solid #f1f1f1;
        cursor: pointer;
        position: relative;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        border-left: 1px solid #ddd;
      }
      >.ant-collapse-content{
        background: #fff;
        .yyui-toolbar{
          background: #fff;
        }
      }
    }
  }
}