@import "./variable";

@mixin header-icon {
  position: absolute;
  padding-top: 18px;
  padding-left: 13px;
  margin-top: -30px !important;
  margin-right: 15px;
  float: left;
  border-radius: 5px;
  opacity: 1;
  padding-bottom: 7px;
  padding-right: 13px;

  mat-icon {
    font-size: 39px;
    line-height: 24px;
    width: 39px;
    height: 39px;
    text-align: center;
    color: white;
  }
}

@mixin subtitle {
  @include title;
  font-size: 14px;
}

@mixin title {
  @include ellipsisText;
  padding-left: 60px;
  width: 55vw;
  font-weight: lighter;

  @media (max-width: $breakpoint-md) {
    width: 45vw;
  }

  @media (max-width: $breakpoint-xs) {
    width: 55vw;
  }
}

@mixin pageHeader {
  font-size: 20px;
}

@mixin pageContainer {
  padding: 20px 30px;

  @media (max-width: $breakpoint-xs) {
    padding: 15px 20px;
  }
}

@mixin cardContainer {
  margin-top: 55px;

  @media (max-width: $breakpoint-xs) {
    margin-top: 45px;
  }
}

@mixin ellipsisText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@mixin tableContainer {
  margin-left: -16px;
  margin-right: -16px;
}
