// 基于 @CONTROL/数据视图/CONTROL.less.ftl 生成
.app-data-view {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    // 排序栏样式
    .bar-container{
      padding: 6px 8px;
      background-color: #F1F1F1;
      .ivu-row-flex.page-sort-bar{
        width: 100%;
        height: 30px;
        .ivu-col{
          user-select: none;
          text-align: center;
          display: flex;
          align-items: flex-end;
          padding-bottom: 4px;
          background-color: #FFF;
          border: 1px solid #CCC;
          margin-left: -1px;
          .sort-field-text{
            margin-left: 7px;
          }
          .caret-wrapper{
            width: 15px;
            display: inline-block;
            padding-bottom: 2px;
            .ivu-icon{
              display: block;
              line-height: 0.5;
              color: #c5c8ce;
            }
          }
        }
        // 悬浮样式
        .ivu-col:hover{
            border:1px solid #82bff7;
            position:relative;
            z-index:2;
            .sort-field-text{
              color: #82bff7;
            }
        }
        // 选中样式
        .sort-ascending, .sort-descending{
            border:1px solid #82bff7;
            position:relative;
            z-index:2;
          .sort-field-text{
              color:#82bff7;
              font-weight: 800;
          }
        }
        .sort-ascending .caret-wrapper .ivu-icon.ivu-icon-md-arrow-dropup,
        .sort-descending .caret-wrapper .ivu-icon.ivu-icon-md-arrow-dropdown{
            color: #82bff7;
        }
      }
    }
    .data-view-container {
      position: relative;
        height: calc(100% - 42px);
        align-content: start;
        .el-collapse{
          width: 100%;
          .el-collapse-item__content{
            padding: 10px 0px 0px 0px;
            display: flex;
            .item-nodata {
              padding-bottom: 10px;
              width: 100%;
              text-align: center;
            }
          }
        }
        .el-collapse-item__header.is-active{
          color: #409eff;
          background-color: #ecf5ff;
        }
        .ivu-col{
          padding: 10px;
          .el-card__body{
            padding: 10px;
          }
        }
        .el-card{
          background-color: #f6f6f6;
          color: #666666;
          box-shadow: 0 2px 12px 0 #909399;
        }
        .single-card-data{
            height: 100%;
            width: 100%;
            cursor: pointer;
            border: 2px solid transparent;
            .data-view-item{
              .single-card-default {
                  .ivu-tooltip{
                      .ivu-tooltip-rel{
                          width: 150px;
                          white-space: nowrap;
                          text-overflow: ellipsis;
                          overflow: hidden;
                          text-align: left;
                          padding-left: 5px;
                          font-size: 18px;
                          font-weight: 800;
                      }
                  }
              }
              .single-card-img {
                  width: 150px;
                  height: calc(100% - 32px);
              }
            }
            .data-view-item-action{
              button{
                margin: 0 3px;
                cursor: pointer;
                padding:3px;
              }
              button:hover{
                color: #409eff;
              }
              button:disabled, button:disabled:hover {
                cursor: no-drop;
                color: #a8a8a8;
              }
            }
        }
        .isselected{
            border: 2px solid #82bff7;
            box-shadow: 5px 5px 12px 0 #82bff7;
            .ivu-tooltip{
                color: #82bff7;
                font-weight: 800;
            }
        }
        .single-card-data:hover{
            border: 2px solid #82bff7;
            box-shadow: 5px 5px 12px 0 #82bff7;
            .ivu-tooltip{
              color: #82bff7;
              font-weight: 800;
            }
        }
    }
    // 空值文本
    .app-data-empty {
        height: calc(100% - 42px);
        color: #909399;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .el-backtop {
      position: absolute;
    }
    .drag-filed{
        position: absolute;
        height: 42px;
        width: 100%;
        top: 40px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        text-align: center;
        font-size: 20px;
        z-index: 5;
        .dataview-pagination-icon{
          width: 30px;
          height: 30px;
          display: flex;
          align-items: center;
          justify-content: center;
          text-align: center;
          border:1px solid #dcdee2;
          border-radius: 50%;
          background-color: #FFF;
          margin: 3px;
          position: absolute;
          right: 0;
        }
        .dataview-pagination-icon:hover{
          background-color: #409eff;
          color: #fff;
        }
    }
}
// this is less
