@import '../../style/themes/index';
.@{rux-prefix}-noticeIcon-list {
  max-height: 400px;
  overflow: auto;

  .@{rux-prefix}-noticeIcon-item {
    padding-right: 24px;
    padding-left: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;

    .@{rux-prefix}-noticeIcon-meta {
      width: 100%;
    }

    .@{rux-prefix}-noticeIcon-avatar {
      margin-top: 4px;
      background: #fff;
    }

    .@{rux-prefix}-noticeIcon-iconElement {
      font-size: 32px;
    }

    &.@{rux-prefix}-noticeIcon-read {
      opacity: 0.4;
    }

    &:last-child {
      border-bottom: 0;
    }

    &:hover {
      background: @primary-1;
    }

    .@{rux-prefix}-noticeIcon-title {
      margin-bottom: 8px;
      font-weight: normal;
    }

    .@{rux-prefix}-noticeIcon-description {
      font-size: 12px;
      line-height: @line-height-base;
    }

    .@{rux-prefix}-noticeIcon-datetime {
      margin-top: 4px;
      font-size: 12px;
      line-height: @line-height-base;
    }

    .@{rux-prefix}-noticeIcon-extra {
      float: right;
      margin-top: -1.5px;
      margin-right: 0;
      color: @text-color-secondary;
      font-weight: normal;
    }
  }
}

.@{rux-prefix}-noticeIcon-notFound {
  padding: 73px 0 88px 0;
  color: @text-color-secondary;
  text-align: center;

  img {
    display: inline-block;
    height: 76px;
    margin-bottom: 16px;
  }
}

.@{rux-prefix}-noticeIcon-clear {
  height: 46px;
  color: @text-color;
  line-height: 46px;
  text-align: center;
  border-top: 1px solid @border-color-split;
  border-radius: 0 0 @border-radius-base @border-radius-base;
  cursor: pointer;
  transition: all 0.3s;

  &:hover {
    color: @heading-color;
  }
}
