.#{$ns}Alert {
  font-size: var(--Alert-fontSize);
  box-shadow: var(--Alert-boxShadow);
  padding: var(--Alert-paddingY) var(--Alert-paddingX);
  border: var(--Alert-borderWidth) solid var(--Alert-borderColor);
  // border-radius: var(--Alert-borderRadius);
  // margin-bottom: var(--Alert-marginBottom);
  position: relative;
  color: var(--Alert-fontColor);
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  overflow-y: hidden;
  &-icon {
    margin-right: #{px2rem(8px)};
    font-size: var(--fontSizeLg);
  }

  &-content {
    flex: 1;
    overflow-y: auto;
    white-space: initial;
    .#{$ns}Alert-title {
      color: var(--text-color);
      font-size: var(--fontSizeBase);
      font-weight: 500;
      line-height: #{px2rem(24px)};
      margin-bottom: #{px2rem(4px)};
    }

    .#{$ns}Alert-desc {
      line-height: #{px2rem(24px)};
    }
  }

  &-close {
    // position: sticky;
    // top: 0;
    outline: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 0.2;
    margin-left: #{px2rem(8px)};
    line-height: #{px2rem(24px)};
    &:hover {
      color: #000;
      text-decoration: none;
      cursor: pointer;
      filter: alpha(opacity=50);
      opacity: 0.5;
    }
  }
  
  .fold-all-btn {
    position: absolute;
    top: 0;
    // top: #{px2rem(12)};
    // right: #{px2rem(32)};
    left: 50%;
    width: 30px;
    height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.4);
    color: #fff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    cursor: pointer;
    .icon {
      top: 0;
    }
  }
  
  &--danger {
    color: var(--Alert--danger-color);
    background: unset;
    border-color: transparent
  }

  &--info {
    color: var(--Alert--info-color);
    background: unset;
    border-color: transparent
  }

  &--success {
    color: var(--Alert--success-color);
    background: unset;
    border-color: transparent
  }

  &--warning {
    color: var(--Alert--warning-color);
    background: unset;
    border-color: transparent
  }
  
}
