@import "~/app-resources/less/theme.less";

.vat-revenue-config {
  /*background-color: @color-white;*/
  padding-left: 20px;
  /*min-height: 800px;*/
  height: 96%;

  .nav-wrapper {
    /*padding-bottom: 5px;
    border-bottom: 1px solid #DBD8D3;*/

    .nav-header {
      height: 54px;
      line-height: 54px;
      font-family: "Microsoft YaHei Bold", "Microsoft YaHei Regular", "Microsoft YaHei";
      font-weight: 700;
      font-style: normal;
      font-size: 15px;
      color: #333;
      display: inline-block;
    }

    .nav-tab {
      span {
        display: inline-block;
        height: 34px;
        line-height: 34px;
        padding: 0 10px;
        background-color: #B90808;
        color: #FFF;
        font-family: "Microsoft YaHei";
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
        cursor: pointer;
      }

      .active {
        background-color: #F91000;
      }
    }

    .alert-warning {
      background-color: #FDE2DE;
      cursor: pointer;
    }

    .alert {
      color: #CF2D1B;
      font-weight: bold;
      display: inline-block;
      padding: 5px;
      margin-left: 60px;
      margin-bottom: 0px;

      i {
        font-size: 20px;
        vertical-align: middle;
        margin-right: 5px;
      }
    }

    .operation-wrapper {
      margin: 15px 25px 10px 10px;

      span {
        cursor: pointer;
      }
    }
  }

  .dropdown-common() {
    display: inline-block;

    .select-button {
      background-color: #F5F5F5;
      padding: 6px 0;
      width: 100px;
    }

    .caret {
      margin-top: 8px;
    }

    .dropdown-menu {
      min-width: 100px;

      li {
        text-align: center;
        min-height: 0px;
        height: 30px;
        line-height: 30px;
        color: #000;
        font-weight: normal;

        &:hover {
          background-color: #F91000;
          color: #FFF;
        }
      }
    }
  }

  #tab_total {
    display: block;
    height: calc(~'100% - 40px');
    position: relative;

    .import-wrapper {
      span {
        margin-left: 10px;
        color: #333;
        font-family: "Microsoft YaHei";
        font-style: normal;
        font-size: 14px;
        font-weight: bold;
      }

      .period-picker {
        width: 150px;
        border: 1px solid #c7c5c0;
        display: inline-block;
        line-height: 20px;
        margin-top: 7px;
      }

      .imp-subheader {
        display: inline-block;
        font-size: 15px;
        height: 30px;
        line-height: 30px;
        vertical-align: middle;
        border: none;


        select {
          appearance: none;
          -moz-appearance: none;
          -webkit-appearance: none;
          background: transparent;
        }
      }

      .dropdown {
        .dropdown-common();
      }

      input {
        width: 50px;
        outline: none;
        border-radius: 3px;
        border: 1px solid #3c3a36;
        padding: 2px;
        text-align: center;
      }

      > button:last-child {
        float: right;
        margin-right: 20px;
      }

      .btn-wrapper {
        border-radius: 5px;
        background-color: #e0301e;
        color: #FFF;
        display: inline-block;
        float: right;
        margin-right: 10px;

        .btn-vat-primary {
          min-width: 80px;
        }
      }
    }

    .dt-init-wrapper {
      margin: 30px 0;
      max-width: 99%;
      height: calc(~'100% - 200px');
      position: relative;

      .dropdown {
        .dropdown-common();

        i {
          color: #F85550;
        }
      }

      .importPLStatusGridContainer {
        height: calc(~'100% - 30px');
        overflow: hidden;
        position: absolute;
        top: 0;
        bottom: 136px; /* 130 + 6 */
        left: 0;
        right: 0;
        background-color: #FFF;
      }
    }

    .error-info-wrapper {
      position: absolute;
      height: 150px;
      bottom: 0;
      left: 0;
      right: 0;
      overflow: hidden;
      background-color: #FFF;
      margin-left: -40px;
    }

    #content-resizer {
      width: 110%;
      position: absolute;
      height: 4px;
      bottom: 150px;
      left: 0;
      right: 0;
      background-color: red;
      cursor: n-resize;
      margin-left: -40px;

      #topIcon {
        cursor: pointer;
        margin-top: -19px;
        width: 38px;
        margin-left: 46%;
        z-index: 999;
        bottom: -381px;
        text-align: center;
        display: block !important;
      }
    }

    .dt-import-wrapper {
      margin: 60px 0;
      max-width: 99%;
      overflow: auto;
      height: calc(~"100% - 35px");

      .dropdown {
        .dropdown-common();

        i {
          color: #F85550;
        }
      }
    }
  }
  .error-list-modal {
    .modal-title {
      color: #FF0000;
    }

    .modal-body {
      max-height: 300px;
      overflow-y: auto;

      table {
        border: 1px solid #CCC;

        thead tr th {
          height: 30px;
          border: 1px solid #CCC;
        }

        tbody tr td {
          height: 25px;
          border: 1px solid #CCC;
        }
      }
    }

    .modal-footer {
      text-align: center;
    }
  }

  #tab_detail {
    display: none;
  }

  /*覆写ack-pagination.less中:.page-size, .pagination 中的margin演示 */
  .page-form-group{
    float:right;
    .page-size{
      margin:0;
    }
    .pagination {
      margin:0;
    }
  }
}


.tb-model-period-dropdow-popup {
  width: 400px;
  height: 500px;
  position: fixed;
  top: 25%;
  left: 40%;

  .modal-dialog {
    width: 100%;
    height: 90%;
    margin: 20px auto;

    .modal-content {
      width: 100%;

      .modal-body {
        height: 90%;
      }
    }
  }
}

#totalWrapper {
  margin: 5px 10px 10px -10px;
  width: 100%;
  padding-left: 10px;
  font-family: Microsoft YaHei;
  font-size: 13px;
  float:right;

  .total_span{
    color: #B4122A !important;
    background-color:#ddd !important;
    font-size: 12px !important;
    font-weight:bold !important;
    border-radius:10px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .total-column{
    width:15%;
    float:left;
    padding-left: 15px;
  }
}