Skip to content
Snippets Groups Projects
sidebar.component.scss 2.97 KiB
Newer Older
  • Learn to ignore specific revisions
  • @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;
    
    
        &-item {
          height: 70px;
          display: flex;
          align-items: center;
          padding: 5px;
          margin-right: 20px;
          border-bottom: 1px solid #e6e6e6;
          cursor: pointer;
          &.active {
            &: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;
    }
    
    .logout-button {
      font-size: 30px;
      color: white;
      position: absolute;
      right: 10px;
    }
    
    .filter.active {
      background: $primary;
    }
    
    
    .badgeNbDocument {
      min-width: 10px;
      color: #fff;
      padding: 3px 7px;
      font-size: 12px;
      line-height: 1;
      background-color: #F99830;
      border-radius: 10px;
      margin-left: 5px;
    }