@import './../../var.scss';

.checkDetail-root {
  height: 100%;
  font-size: 18px;
  text-align: center;
  background: $content-color;//#222;

  .amos-layout {
    display: -webkit-box;
    background: transparent;
  }

  .amos-layout-header {
    width: 100%;
    height: 100%;
    padding: 0;
    background: $core-color;//#333;

    .check-detail-header {
      float: left;
      width: 97.5%;
      height: 45px;
      font-size: 15px;
      line-height: 40px;
      color: white;
      text-align: left;
      background: #444343;
    }

    .check-detail-header-goback {
      float: right;
      width: 2.5%;
      height: 45px;
      font-size: 15px;
      color: white;
      text-align: left;
      background: #444343;
    }
  }

  .header {
    .check-detail-header {
      float: left;
      width: 97.5%;
      height: 45px;
      padding-left: 10px;
      font-size: 15px;
      line-height: 40px;
      text-align: left;
    }

    .check-detail-header-goback {
      float: right;
      width: 2.5%;
      line-height: 39px;
      text-align: left;

      button {
        width: 35px;
        border: 1px solid #ddddde;
      }
    }
  }

  .amos-layout-sider {
    padding-left: 10px;
    background: #333;
    -webkit-box-flex: 1;
  }

  .amos-layout-content {
    flex: 2 0 70%;
    padding-top: 5px;
    background: #333;
    -webkit-box-flex: 1;
  }

  .check-detail-content-input {
    height: 100%;
    padding-top: 5px;
    font-size: 18px;
    line-height: 20px;
    color: $biz-table-font-color;
    text-align: left;
    background: $content-color;//#222;

    .check-detail-content1 {
      width: 100%;
      height: 40px;
      padding-left: 10px !important;
      line-height: 40px;
      background: $biz-title-color;//#282828;
      border: 1px solid $core-border-color;
    }

    .check-detail-content2 {
      width: 100%;
      height: 100%;
      padding-top: 5px;
      background: $content-color;//#222;

      .ant-table-wrapper {
        background: transparent;
      }

      .ant-table {
        border-radius: 0;
      }

      .ant-table-content {
        border-color: $core-border-color;//#252525;

        .ant-table-header {
          border-top: 1px solid $core-border-color;
          border-left: 1px solid $core-border-color;

          table {
            border: 0 solid $core-border-color;//#252525;
            border-radius: 0;

            .ant-table-thead {
              tr {
                th {
                  color: $biz-table-font-color;//#ffffff;
                  background: $core-bg2-color;
                  border-color: $core-border-color;//#252525;
                }
              }
            }
          }
        }

        .ant-table-body {
          border-left: 1px solid $core-border-color;

          table {
            border: 0 solid $core-border-color;//#252525;
            border-color: $core-border-color;//#252525;
          }
        }
      }

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

      .ant-table-thead {
        tr {
          th {
            color: white;
            background: rgba(51, 51, 51, 1);
            border-color: $core-border-color;//#252525;
          }
        }
      }

      .ant-table-body {
        tr {
          td {
            color: $biz-table-font-color;//#ffffff;
            background: $content-color;//rgba(51, 51, 51, 1);
            border-color: $core-border-color;//#252525;
          }
        }
      }

      .ant-table-placeholder {
        color: white;
        background: rgba(51, 51, 51, 1);
      }

      .highlight-row {
        background: #ecf6fd;
      }

      .ant-pagination {
        .ant-pagination-item {
          height: 25px;
          min-width: 25px;
          margin: 5px;
          line-height: 25px;
          background: $core-border-color;//#333;
          border-radius: 6px;

          a {
            color: $biz-table-font-color;//white;
          }
        }

        .ant-pagination-prev {
          height: 25px;
          min-width: 25px;
          margin: 5px;
          background: $core-border-color;//#333;

          ::after {
            height: 25px;
            line-height: 25px;
            color: $biz-table-font-color;//white;
          }
        }

        .ant-pagination-item-active {
          height: 25px;
          min-width: 25px;
          margin: 5px;
          line-height: 25px;
          background: $core-color;//#151515;
          border-radius: 6px;

          a {
            color: white;
          }
        }

        .ant-pagination-next {
          height: 25px;
          min-width: 25px;
          margin: 5px;
          line-height: 25px;
          background: $core-border-color;//#333;

          ::after {
            height: 25px;
            line-height: 25px;
            color: $biz-table-font-color;//white
          }
        }

        .ant-pagination-options {
          .ant-select-selection {
            height: 25px;
            color: $biz-table-font-color;//white;
            background: $core-border-color;//#333;
            border-color: $core-border-color;//#333;
          }

          .ant-select-arrow {
            color: $biz-table-font-color;//white;
          }
        }
      }
    }
  }

  .check-detail-imge {
    width: 100%;
    height: 90%;
    font-size: 18px;
    color: $biz-table-font-color;//white;
    text-align: left;
    background: whitesmoke;//#333;
    border: 1px solid $core-border-color;

    .check-detail-imge-text {
      height: 40px;
      padding-left: 10px;
      line-height: 40px;
      border-bottom: 1px solid #deddde;
    }

    .point-details-picture {
      height: 480px;
      background: white;
    }
  }



  .check-header {
    height: 40px;
    font-size: 18px;
    line-height: 40px;
    color: $biz-table-font-color;
    background: $biz-title-color;

    .check-detail-header {
      float: left;
      width: 97%;
      padding-left: 10px;
      text-align: left;
    }

    .check-detail-header-goback {
      float: right;
      width: 3%;
      text-align: center;

      button {
        height: 2.5rem;
        background: white;
        border: 1px solid #ddddde;
        opacity: 1;
      }
    }
  }

  .content-parent {
    display: inline;
    padding-top: 5px;

    .content {
      float: left;
      width: 70%;
      padding-top: 10px;
      padding-left: 10px;

      .check-detail-content-table {
        // background: #282828;
      }
    }

    .sider {
      float: right;
      width: 30%;
      padding-right: 10px;
      padding-left: 10px;
      padding-top: 10px;
    }
  }
}

.patrol-page-table {
  padding: 10px;

  .patrol-list-search-button {
    display: inherit;
    float: unset;
    padding-bottom: 5px;
    text-align: right;

    button {
      height: 2.5rem;
      border: 1px solid #ddddde;
    }
  }

  .patrol-list-operate-button {
    display: inherit;
    float: left;
    padding-bottom: 5px;
    text-align: left;

    button {
      height: 2.5rem;
      border: 1px solid #ddddde;
    }

    .amos-dropdown{
      height: 2.5rem;
      border: 1px solid #ddddde;
      margin-left: 0.8em;
      padding: 0.2em 1.8em 0em 1.8em;
      border-radius: 2px;
    }
  }

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


}

.xun{
  .amos-modal-container{

    top: 13%;
  }

  .amos-modal-content {
    max-height: 48em;

  }
}
