@import 'colors';
@import 'fonts';
@import 'mixins';
@import 'animations';

#home {
  .live-tracks {
    margin-top: 16px;
  }

  h1 {
    margin-top: 16px;
  }

  .subtitle {
    margin: 16px 0;
  }

  .screenshot {
    width: 100%;
    height: auto;
    @include shadow-light;
    border: 4px solid $smokeWhite;
    border-radius: 2px;
  }
}

.active-players {
  h3 {
    margin: 0;
  }

  .free-players {
    @include sheet;
    @include shadow-light;
    padding: 8px 16px 4px 16px;
    margin-bottom: 24px;
    overflow: visible;

    h4 {
      padding: 4px 0;
      color: $mediumGrey;
    }

    li {
      display: flex;

      .player-avatar {
        flex: 1;
      }

      .poke {
        opacity: 0;
        width: 24px;
        cursor: pointer;
        line-height: 48px;
        transition: bezier(opacity), bezier(color);

        i {
          vertical-align: top;
          padding-top: 12px;
        }
      }

      &:hover {
        .poke {
          opacity: 1;
          color: $lightGrey;

          &:hover {
            color: $seaBlue;
          }

          &:active {
            color: $orange;
          }
        }
      }

      &.poking {
        @include buzz;
      }
    }
  }

  .active-track-players {
    @include sheet;
    @include shadow-light;

    display: block;
    margin-bottom: 24px;
    padding: 8px 16px 4px 16px;
    cursor: pointer;
    color: $darkGrey;

    &:hover {
      @include shadow-medium;
    }
  }

  h4 {
    margin: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: $seaBlue;
  }

  .live-players {
    @include players-list;
    margin-bottom: 0;
    font-weight: bold;
    /* color: $white; */

    li:last-child {
      margin-bottom: 0;
    }
  }

}
