@import '../../styles/app';

/*          NEWS LIST          */
:global {
  .news-list {
    margin-bottom: 0;
    padding-left: 0;

    li {
      list-style: none;
      box-sizing: content-box;
      border-top: 1px solid rgba(0, 0, 0, 0.125);
      padding: 12px;
      cursor: pointer;

      @include transition(background-color 0.2s ease-out);

      &:hover {
        background: $widget-bg-color;
      }

      &:last-child {
        border-bottom-left-radius: $widget-border-radius;
        border-bottom-right-radius: $widget-border-radius;
      }
    }

    img,
    .icon {
      float: left;
      height: 50px;
      width: 50px;
    }

    .icon {
      line-height: 50px;
      border-radius: 50%;
      text-align: center;
      font-size: 28px;

      .fa {
        vertical-align: baseline;
      }
    }

    .news-item-info {
      margin-left: 62px; /* 50 + 12px padding */
    }

    .name {
      text-transform: uppercase;

      a {
        text-decoration: none;

        &:hover {
          color: $link-color;
        }
      }
    }
  }
}

/*          SHARES LIST          */
:global {
  .shares-widget {
    :global {
      .list-group {
        .list-group-item {
          display: flex;
          align-items: center;
        }
      }
    }
  }
}

.customGrayBg {
  background-color: $subtle-blue;
}