@import 'base.less';
#app_root{
  height: 100%;
}
.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%;
  }
}
.cp2-header{
  border-bottom: 1px solid @border-color;
}
.cp2-footer{
  border-top: 1px solid @border-color;
}
.cp2-center-list{
  flex:1;
  overflow: auto;
  padding: 0 15px;
  background: #fff;
}
//.cp2-center-card{
//  margin: 20px;
//}
.cp2-tool{
  background: #fff;
  //border-bottom: 1px solid @border-color;
  text-align: right;
  padding: 0 15px;
}

.cp2-formcards{
  background: #fff;
  margin: 20px;
  padding-top: 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: -10px;
        margin-right: -5px;
        background-color: #f6f8f9;
        font-size: 1pc;
        color: #6f6f6f;
        height: 41px;
        line-height: 38px;
        padding-left: 2pc;
        cursor: pointer;
        position: relative;
        box-shadow: -2px 0 10px rgba(0,0,0,.1);
        border-left: 1px solid #ddd;
      }
      >.ant-collapse-content{
        background: #fff;
        .yyui-toolbar{
          background: #fff;
        }
      }
    }
  }
}