@import "../../../config";

.app-mail-folders {
  width: 100%;
  height: 100%;
  background-color: $white-01;
  padding-top: $size-7x;
}

.app-mail-folders__title {
  width: 100%;
  height: $size-6x;
  padding: 0 8px 0 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.app-mail-folders__title span {
  font-size: $font-14;
  font-weight: bold;
  color: $grey-a87;
}

.app-mail-folders__title .md-button {
  min-width: $size-4x;
  width: $size-4x;
  min-height: $size-4x;
  height: $size-4x;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.app-mail-folders__list {
  width: 100%;
  height: calc(100% - #{$size-6x});
  overflow-x: hidden;
  overflow-y: auto;
}

.app-mail-folders__list-item {
  outline-width: 0;
  border: none;
}

.app-mail-folders__list-item:hover .mail-folder {
  background-color: $azure-bg;
}

.app-mail-folders__list-item:nth-child(5) {
  .mail-folder {
    border-bottom: 1px solid $grey-a12;
  }
}
