@import "../../layout/layout";
@import "../../shared/ui-components/styles/variables";

:host {
  display: block;
  position: relative;
  height: $top-bar-height;

  .share-view{
    visibility: hidden;
  }

  .header-container {
    display: flex;
    background-color: $header-backgroud;
    height: 100%;
    padding: 0 24px;
    align-items: center;
    justify-content: space-between;
    .header-title{
      font-size: 15px;
      font-weight: 500;
    }
    .spacer{
      min-width: 50px;
    }
    .left-menu{
      display: flex;
      align-items: center;

    };

    sm-breadcrumbs :not(.login){
      width: 95%;
    }


    sm-common-search, .resources-trigger {
      margin-right: 24px;
      background-color: $header-backgroud;

      i {
        font-size: 24px;
        line-height: 24px;
        color: $light-grey-blue;
      }
    }

    .menu-trigger {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      padding: 2px;

      &:hover {
        background-color: rgba(232, 234, 237, 0.2);
      }

      .avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
      }

      .user-icon {
        display: block;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        background-color: $light-grey-blue;
        color: $header-backgroud;
        border-radius: 50%;
        text-align: center;
        line-height: 32px;

        &.neon {
          background-color: $neon-yellow-betterinchrome;
        }
      }
    }

    .logout {
      color: $header-backgroud;
    }
  }


  .logo-full {
    display: flex;
    justify-content: space-around;
    align-items: center;

    &.middle {
      position: absolute;
      left: calc(50% - 50px);
    }

    &.make-room-for-slogan {
      justify-content: start;
      .slogan{
        padding: 12px;
      }
    }

    img {
      height: 42px;
    }
  }

  .right-buttons {
    display: flex;
    align-items: center;
    width: 48px;
    justify-content: flex-end;
  }

}

.section-title {
  color: $blue-400;
  font-size: 11px;
  font-weight: 500;
  padding: 0 12px;
  height: 32px;
  line-height: 32px;
  margin-top: 6px;
}

hr {
  margin: 0;
}

.mat-menu-item {
  line-height: 48px;

  i {
    font-size: 16px;
    width: 32px;
    height: 24px;
  }

  a {
    color: unset;
    text-decoration: unset;
  }
}

.workspace-button {
  overflow: hidden;
  max-width: 400px;
  text-overflow: ellipsis;
}
