.dt-sidebar-item {
  line-height: 40px;
  height: 40px;
  padding: 0 24px;
  font-size: 14px;
  text-overflow: ellipsis;
  position: relative;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  user-select: none;

  white-space: nowrap;

  transition: color ease 100ms, background ease 100ms;
  a, a:link, a:visited, a:active {
    text-decoration: none;
  }
  a {
    display: block;
    color: #fff;
    text-decoration: none;
    &:before {
      position: absolute;
      background-color: transparent;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      content: '';
    }
  }

  i {
    margin-right: 15px;
  }

  &.dt-sidebar-item-selected {
    background: #00b4ed;
    color: #fff;
    a {
      color: #fff;
    }
  }

  &:hover {
    color: #fff;
  }
}

.dt-sidebar-inline-collapsed {
  .dt-sidebar-ul > .dt-sidebar-item {
    &:hover {
      .dt-sidebar-item-detail {
        display: block;
        visibility: visible;
        i ~ * {
          display: block;
        }
      }
    }
  }
}

.dt-sidebar-ul {
  & > .dt-sidebar-item {
    &.dt-sidebar-item-selected {
      color: #fff;
      a {
        color: #fff;
      }
    }
  }
  & > .dt-sidebar-item > .dt-sidebar-item-detail {
    display: none;
    visibility: hidden;
    transition: visibility 0ms ease 100ms;
    border-radius: 4px;
    position: absolute;
    right: -4px;
    top: 0;
    padding: 0 20px;
    color: #b0b6bb;
    transform: translateX(100%);
    background: #354454;
    white-space: nowrap;
    i {
      display: none;
    }
  }
}
