/* HEADER BAR */
%base {
  %headerBar {
    height: 48px;
    background: rgba(0, 0, 0, calc($bg-shading * 0.6));
    box-shadow: 0 0 10px rgba(0, 0, 0, calc($bg-shading * 0.6));
    color: hsla(0, 0%, 100%, 0.5);
  }
  %threadHeaderBar {
    background: rgba(0, 0, 0, calc($bg-shading * 0.6));
    box-shadow: 0 0 10px rgba(0, 0, 0, calc($bg-shading * 0.6));
    color: hsla(0, 0%, 100%, 0.5);
  }
}
%headerBar {
  %headerBarChildren {
    mask: linear-gradient(to left, transparent, #000 20px);
    &:after {
      display: none;
    }
    %headerBarIcon {
      color: $main-color;
      filter: drop-shadow(0 0 3px);
      width: 22px;
    }
  }
  %headerBarTitle {
    margin-left: 0;
    color: #fff;
    text-shadow: 0 0 3px #000;
    font-family: cv('font.main');
  }
  %headerBarTopic {
    color: hsla(0, 0%, 100%, 0.5);
    a {
      color: $main-color;
      @include hover-shadow;
    }
  }
  %headerBarAkaBadge {
    background: hsla(0, 0%, 100%, 0.1);
    color: #fff;
  }
  %headerBarNicknames {
    color: hsla(0, 0%, 100%, 0.5);
  }
  %headerBarDivider {
    background: hsla(0, 0%, 100%, 0.1);
  }
}
%headerBarIconWrapper {
  margin: 0 1px;
  padding: 2px 3px;
  box-sizing: content-box;
}
%headerBarIconWrapper > svg > foreignObject {
  mask: none;
}

// MODAL POPOUT
%headerBarModalContent {
  a {
    color: $main-color;
  }
}
%headerChannelNameInput:focus {
  background: transparent;
  box-shadow: inset 0 0 0 1px $main-color;
}
%headerChannelNameOuter:hover %headerChannelNameInput {
  box-shadow: inset 0 0 0 1px $main-color;
}
