@import '../../config';

.storage-folder-list {
  position: relative;
  width: 190px;
  background-color: transparent;
  padding-bottom: 8px;
  border-bottom: 1px solid $color00;

  &__item {
    position: relative;
    width: 100%;
    height: 36px;
    padding: 0 16px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;

    &:first-child {
      height: 44px !important;
    }

    &--select {
      background-color: rgba($color18, 0.54);
    }
    
    &:hover {
      background-color: rgba($color18, 0.54);
    }

    &:focus {
      border: none;
      outline-width: 0;
    }

    ng-md-icon {
      position: relative;
      width: 18px;
      height: 18px;
      margin: 0 16px 0 0;
      user-select: none;

      svg {
        width: 18px;
        height: 18px;
        fill: $color02;
      }
    }

    &-name {
      position: relative;
      display: inline-block;
      width: calc(100% - 34px);
      user-select: none;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-size: 14px;
      color: $color01;
    }
  }
}
