@import "settings.colors";

@import "mixins/settings.fonts";
@import "mixins/tools.functions";

.c-market-ticker {
  .c-scroll-menu {
    border: 1px solid $color-stone-200;
  }
  .c-scroll-menu__inner {
    background-color: $color-white;
  }
  .c-scroll-menu__arrow--left {
    border-left: none;
    border-right: 1px solid $color-stone-200;
  }
  .c-scroll-menu__arrow--right {
    border-left: 1px solid $color-stone-200;
    border-right: none;
  }
}
.c-market-ticker-card {
  min-width: rem(130);
  height: rem(44);
  flex: 1 0 rem(130);
  display: flex;
}
.c-market-ticker-card__link {
  margin: rem(2);
  padding: 0 rem(15);
  @include font-gm-sans;
  text-decoration: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.3s ease;
  background-color: $color-white;
  &:hover,
  &:focus {
    background-color: $color-stone-150;
  }
}
.c-market-ticker-card__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
}
.c-market-ticker-card__row {
  font-size: rem(14);
  color: $color-grey-660;
}
.c-market-ticker-card__row--name {
  padding-right: rem(8);
}
.c-market-ticker-card__row--time {
  text-transform: uppercase;
  font-size: rem(10);
  line-height: rem(20);
}
.c-market-ticker-card__row--time,
.c-market-ticker-card__row--price {
  display: none;
}
.c-market-ticker-card__name {
  @include font-gm-sans-bold;
  color: $color-grey-900;
  text-transform: uppercase;
}
.c-market-ticker-card__arrow {
  width: rem(10);
  height: rem(10);
  border-left: rem(5) solid transparent;
  border-right: rem(5) solid transparent;
  display: none;
}
.c-market-ticker-card__arrow--down {
  border-top: rem(10) solid $color-red-500;
}
.c-market-ticker-card__arrow--up {
  border-bottom: rem(10) solid $color-green;
}
.c-market-ticker-card__change--down {
  color: $color-red-500;
}
.c-market-ticker-card__change--up {
  color: $color-green;
}
