@import '../../var.less';
.yw-notice {
  border-radius: 4px;
  display: block;
  margin: 10px 0;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  &-container {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }
  &-success {
    background-color: #dcfffb;
    border-color: #7dfff0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-style: solid;
    .yw-notice-icon {
      line-height: 16px;
      color: @success-color;
    }
    :global {
      .ant-btn-link {
        color: @success-color;
      }
    }
  }
  &-warning {
    background-color: #fff5e2;
    border-color: #ffdfa0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-style: solid;
    .yw-notice-icon {
      line-height: 16px;
      color: @warning-color;
    }
    :global {
      .ant-btn-link {
        color: @warning-color;
      }
    }
  }
  &-error {
    background-color: #ffeded;
    border-color: #ffcccc;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-style: solid;
    .yw-notice-icon {
      line-height: 16px;
      color: @error-color;
    }
    :global {
      .ant-btn-link {
        color: @error-color;
      }
    }
  }
  &-notice,
  &-help {
    background-color: #e6f7ff;
    border-color: #ccecff;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-style: solid;
    .yw-notice-icon {
      line-height: 16px;
      color: @primary-color;
    }
  }
  &-line {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    .yw-notice-content {
      margin-top: 0;
    }
  }
  &-line:not(:first-child) {
    margin-top: 8px;
  }

  &-title {
    color: #1f2633;
    line-height: 16px;
    font-size: 16px;
  }
  &-content {
    font-size: 14px;
    line-height: 14px;
    color: #666;
    margin-top: 8px;
  }
  &-icon {
    margin-right: 8px;
    font-size: 16px;
  }
  &-btn {
    position: relative;
    top: -5px;
  }
  &-inline {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    .yw-notice-btn {
      top: 0;
    }
 
  }
}
