@import './theme.scss';
@import './icon.scss';

h3 {
  margin: 0;
}

.logo {
  width: 182px;
  height: 26px;
  margin: 18px 140px 7px 0;
  float: left;
  background: url(../images/ico_logo@2x.png) no-repeat center;
  background-size: 100%;
}

.price-text {
  span {
    padding: 10px 40px 10px 15px;
    &:hover {
      border: 1px dashed #ccc;
      border-radius: 4px;
    }
  }
}

.company-info {
  margin: 24px 0;
  &--modal {
    margin: 0 0 24px 0;
  }
  > .item {
    display: inline-block;
    margin-right: 48px;
    font-size: 12px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: rgba(50, 65, 80, 1);
    font-weight: 400;
    span {
      color: #324150;
      margin-right: 16px;
      font-weight: 600;
    }
  }
}

.ant-table-tbody {
  .product {
    display: flex;
    align-items: center;
    .cover {
      width: 38px;
      height: 38px;
      border: 1px solid #e8e8e8;
      border-radius: 4px;
      margin-right: 10px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .info {
      > p:last-child {
        color: #7f8fa4;
        font-size: 12px;
      }
    }
  }
}

.main-content {
  margin: 0 auto;
  max-width: 1366px;
  min-height: 80vh;
  padding: 24px 50px;
}

.page-container {
  min-height: 100vh;

  .header-wrapper {
    height: 64px;
    .header {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 3;
    }
  }

  .content-wrapper {
    display: flex;
    .sider-view {
      z-index: 2;
      flex: 0 0 220px;
      max-width: 220px;
      min-width: 220px;
      box-shadow: -1px 0px 0px 0px rgba(234, 234, 237, 1);
    }

    .page-view {
      flex: auto;
      padding: 18px 25px;
      background: #fff;
      height: 100%;
      width: calc(100% - 220px);
      .first-title{
        margin: 6px 0 24px 0;
      }
      .stastic {
        margin: 15px 0;
        .total {
          color: #215fff;
        }
      }
    }
  }

  .footer-wrapper {
    text-align: center;
    height: 40px;
    line-height: 40px;
  }
}

.edit-form {
  .ant-form-item {
    display: flex;
    .ant-form-item-label {
      width: 80px;
      text-align: left;
    }
    .ant-form-item-control-wrapper {
      min-width: 350px;
      .ant-btn {
        margin-left: 200px;
      }
    }
  }
}
