Skip to content
Snippets Groups Projects
sidebar.component.scss 3.68 KiB
Newer Older
@import '../../css/vars.scss';

.main-header {
Alex ORLUC's avatar
Alex ORLUC committed
  height: 205px;
  overflow: auto;
}

.sidebar {
  position: relative;
  height: 100%;
  overflow: hidden;
Alex ORLUC's avatar
Alex ORLUC committed
  display: flex;
  flex-direction: column;

  &-header {
    background: #F1F4F4;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    padding-top: 10px;
    &-icon {
      margin-right: 15px;
      position: relative;
      &.notification {
        &:after {
          position: absolute;
          right: -5px;
          top: -5px;
          width: 10px;
          height: 10px;
          border-radius: 50%;
          background: $warn;
          content: "";
        }
      }
    }
    &-subtitle {
      color: #9B9B9B;
    }
  }
  &-btn {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .nav {
Alex ORLUC's avatar
Alex ORLUC committed
    flex: 1;
    overflow-y: scroll;
    margin-top: 0px;
    overflow-x: hidden;
Alex ORLUC's avatar
Alex ORLUC committed
    margin-bottom: 0px;
Alex ORLUC's avatar
Alex ORLUC committed
    padding: 0px;
Alex ORLUC's avatar
Alex ORLUC committed
    position: relative;

    &-item {
      height: 70px;
      display: flex;
      align-items: center;
      padding: 5px;
      margin-right: 20px;
      border-bottom: 1px solid #e6e6e6;
Alex ORLUC's avatar
Alex ORLUC committed
      margin: 0;
      padding-left: 30px;
      cursor: pointer;
      &.active {
        border-left: solid 5px $primary;
        background: rgba($primary, 0.14);
        &:after {
          position: absolute;
          right: 10px;
          content: "";
          /*width 5px*/
          height: 60px;
          background: #F1F4F4;
        }
      }
      &-left {
        width: 50px;
        .fas, .material-icons {
          background: #f1f4f4;
          border-radius: 50%;
          color: #135f7f;
          font-size: 22px;
          height: 25px;
          width: 25px;
          padding: 10px;
          margin-right: 10px;
        }
      }
      &-middle {
        width: 180px;
        height: 50px;
        font-size: 12px;
        color: #4F4F4F;
      }
      &-title {
        font-weight: 600;
        color: #135F7F;
      }
    }
  }
}

.loadList {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  background-color: #ffffffb3;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.profile-header {
  background: $primary;
  height: 95px;
  display: flex;
  justify-content: center;
  position: relative;
}

.avatar {
  cursor: pointer;
  position: absolute;
Alex ORLUC's avatar
Alex ORLUC committed
  //background: url(../../assets/user_sample.svg) $primary;
  width: 65px;
  height: 65px;
  border-radius: 40px;
  bottom: -20px;
Damien's avatar
Damien committed
  border: solid 3px #F99830;
Alex ORLUC's avatar
Alex ORLUC committed
  background-size: cover;
  background-repeat: no-repeat;
Alex ORLUC's avatar
Alex ORLUC committed
  background-position: center;
  transition: all 0.2s;
}

.avatar:hover {
  box-shadow: 0px 0px 5px 0px #656565;
}

.user {
  color: white;
  padding-top: 10px;
  font-weight: bold;
  font-size: 20px;
  max-width: 90%;
  right: 0px;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}

.logout-button {
  font-size: 24px;
  color: white;
  position: absolute;
.admin-button {
  font-size: 24px;
  color: white;
  position: absolute;
  left: 50px;
  color: white;
  position: absolute;
  right: 10px;
  font-size: 24px;
  font-size: 10px;
  width: 95px;
  padding-left: 0px;
  padding-right: 0px;
.filter.active {
  background: $primary;
}
.mat-badge-content {
  right: 0px !important;
  top: -8px !important;
  background: #F99830;
}

.noResult {
  position: absolute;
  top: 50%;
  text-align: center;
  width: 100%;
  opacity: 0.5;
}

.noDoc .mat-badge-content {
  background: #ddd;