EasyRecon/Hunt3r

View on GitHub
frontend/src/app/UI/components/nb-sidebar-toggle/nb-sidebar-toggle.component.scss

Summary

Maintainability
Test Coverage
@import '~bootstrap/scss/mixins/breakpoints';
@import '~@nebular/theme/styles/global/breakpoints';
@import '../../styles/themes';

.font30 {
    font-size: 30px;
}


::ng-deep .menu-title{
  flex: 1 0!important;
}



@include nb-install-component() {
  display: flex;
  justify-content: space-between;
  width: 100%;

  .logo-container {
    display: flex;
    align-items: center;
    width: calc(#{nb-theme(sidebar-width)} - #{nb-theme(header-padding)});
  }

  nb-action {
    height: auto;
    display: flex;
    align-content: center;
  }

  nb-user {
    cursor: pointer;
  }
.sidebar-toggle{
    font-size: 40px;
}
  ::ng-deep nb-search button {
    padding: 0!important;
  }
  .icon-menu{
      font-size: 40px;
  }
  .changeTheme{
    width: 50px!important;
    height: 50px!important;
    padding: 0px!important;
    position: absolute!important;
    left: -25px;
    top: -25px;
  }
  .header-container {
    display: flex;
    align-items: center;
    width: auto;

    .sidebar-toggle {
      @include nb-ltr(padding-right, 1.25rem);
      @include nb-rtl(padding-left, 1.25rem);
      text-decoration: none;
      color: nb-theme(text-hint-color);
      nb-icon {
        font-size: 1.75rem;
      }
    }

    .logo {
      padding: 0 1.25rem;
      font-size: 1.75rem;
      @include nb-ltr(border-left, 1px solid nb-theme(divider-color));
      @include nb-rtl(border-right, 1px solid nb-theme(divider-color));
      white-space: nowrap;
      text-decoration: none;
    }
  }



  @include media-breakpoint-down(sm) {
    .control-item {
      display: none;
    }
    .user-action {
      border: none;
      padding: 0;
    }
  }

  @include media-breakpoint-down(is) {
    nb-select {
      display: none;
    }
  }
}