.co-masthead-icon {
  font-size: $pf-header-icon-fontsize;
}

.co-username {
  font-size: $pf-header-icon-fontsize; // for cases where there is no user menu
  max-width: 140px !important; // PF4 does not limit username length (upstream bug)
  overflow-x: hidden;
  padding: 0 8px; // so sizing is consistent with .pf-c-dropdown__toggle
  text-overflow: ellipsis;
  @media(min-width: 855px) {
    max-width: 225px !important;
  }
  @media(min-width: $screen-md-min) {
    max-width: 275px !important;
  }
  @media(min-width: $screen-lg-min) {
    max-width: 300px !important;
  }
}

.co-app-launcher {
  // PF4 app-launcher does not support the align right modifier yet: https://github.com/patternfly/patternfly-next/issues/1972
  .pf-m-align-right {
    right: 0;
  }

  ul {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
  }

  .pf-c-app-launcher__menu-item-external-icon {
    opacity: 1;
    color: var(--pf-global--icon--Color--light);
  }
}
