@import "common-var";

/* 全局设置*/
/deep/ .ai-button + .ai-button {
  margin-left: 12px;
}

/deep/ .ai-button {
  &.ai-button--small,&.ai-button--mini {
    font-size: $font-size;
  }

  &:first-child {
    margin-left: 0;
  }
}

/deep/ .ai-col {
  padding-left: 32px;

  &:first-child {
    padding-left: 0;
  }
}

/deep/ .ai-input__icon {
  width: 16px;
  height: 16px;
  line-height: 16px;
}

@media only screen and (min-width: 992px) {
  /deep/ .ai-col-md-5 {
    width: 28%;
  }
}


.main-wrapper {
  /* 搜索 公共设置*/
  .search-wrapper, .more-search-wrapper {
    .date-picker {
      width: 100%;
    }
    /deep/ .ai-form {
      .ai-form-item {
        margin-bottom: 16px;
      }

      .ai-form-item__label {
        text-align: right;
      }

      .ai-input, .ai-cascader, .ai-select, .ai-autocomplete {
        width: 100%;

        .ai-input__inner {
          // height:52px;
          width: 100%;
          // padding-right: 0;
        }
        /deep/.ai-input__prefix {
          left: 8px;
        }
      }
    }
  }

  .search-wrapper {

    font-size: $font-size;

    .search-btn {
      .more-search {
        color: $font-color;
        margin: 0 20px 0 32px;
        display: inline-block;
        cursor: pointer;

        .more {
          padding: 0 20px 0 8px;
        }
      }
    }
  }

  .content-wrapper {
    background: $content-bg-color;
    position: relative;
    .func-btn-wrapper {
      height: $func-btn-wrapper-height;
      padding: 8px 20px 8px 0;
      box-sizing: border-box;
      > .ai-button {
        float: right;
        margin-left: 12px;
      }
      &::after {
        position: absolute;
        content: '';
        top: $func-btn-wrapper-height;
        left: 0;
        z-index: 999;
        width: 100%;
        border-bottom: 1px solid #CCCCCC;
        transform: scaley(0.5);
      }
    }

    @import "common-table";

    .pagination-wrapper {
      width: 100%;
      height: $footer-wrapper-height;
      background: $content-bg-color ;
      padding: 8px 10px 8px 10px;
      border: 2px solid $content-bg-color;
      border-top: none;
      box-sizing: border-box;
    }
  }
}

/* d2布局*/

/deep/ .d2-container-full__body {
  padding: 24px 20px;
  overflow: hidden !important;
}

/deep/ .d2-container-full__footer {
  background: $content-bg-color !important;
  padding: 8px 10px 5px 10px !important;
}
