%common-list-panel-buttom {
  float: right;
  width: 50px;
  height: 50px;
  font-size: 15px;
  background: inherit;
  background-color: rgba(227, 227, 227, 1);
  border-color: rgba(222, 221, 222, 1);
  border-style: solid;
  border-width: 1px;
  border-radius: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  box-sizing: border-box;

  img {
    padding-top: 11px;
    padding-left: 15px;
  }

  &:hover {
    cursor: pointer;
  }
}

.device-list-root {
  width: 100%;
  height: 100%;

  .device-list-head {
    width: 100%;
    height: 50px;

    .device-list-panel-head-root {
      width: 100%;
      height: 100%;
      background-color: #e3e3e3;

      .device-list-panel-head-back {
        @extend %common-list-panel-buttom;
      }

      .device-list-panel-head-add {
        @extend %common-list-panel-buttom;
      }

      .device-list-panel-head-help {
        @extend %common-list-panel-buttom;
      }

      .device-list-panel-head-delete {
        @extend %common-list-panel-buttom;
      }

      .device-list-panel-head-search {
        float: right;
        width: 200px;
        height: 50px;
        font-size: 15px;
        background: inherit;
        background-color: rgba(227, 227, 227, 1);
        border-color: rgba(222, 221, 222, 1);
        border-style: solid;
        border-width: 1px;
        border-radius: 0;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        box-sizing: border-box;

        img {
          float: right;
          margin-right: 5px;
          padding-top: 10px;
          padding-left: 10px;
        }

        .device-list-panel-head-input {
          float: right;
          width: 150px;
          height: 30px;
          margin-top: 8px;
          border-radius: 10px;
        }

        &:hover {
          cursor: pointer;
        }
      }
    }
  }

  .device-list-content {
    height: calc(100% - 50px);
    overflow-y: auto;

    .ant-table-title {
      display: none;
    }

    .view-detail {
      float: left;
      margin-left: 10px;
      font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
      font-style: normal;
      font-weight: 700;
      color: rgb(45, 83, 145);

      &:hover {
        cursor: pointer;
      }
    }

    .edit-device {
      float: left;
      margin-left: 10px;
      font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
      font-style: normal;
      font-weight: 700;
      color: rgb(45, 83, 145);

      &:hover {
        cursor: pointer;
      }
    }

    .delete-device {
      margin-left: 10px;
      font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
      font-style: normal;
      font-weight: 700;
      color: rgb(45, 83, 145);

      &:hover {
        cursor: pointer;
      }
    }

    .highlight-row {
      background: #ECF6FD;
    }
  }
}


.template-edit-root {
  float: left;
}

.template-detail-root {
  float: left;
}

.template-edit-name {
  height: 50px;
  line-height: 30px;
}

.template-edit-descr {
  height: 50px;
  line-height: 30px;
}
