@m-layout-prefix-cls: m-layout;
@m-layout-sider-width: 64px;
@m-layout-sider-logo-width: 56px;
@m-layout-sider-li-width: 56px;

.@{m-layout-prefix-cls}-sider {
  display: flex;
  flex-direction: column;
  width: @m-layout-sider-width;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, #283442, #101521);
  box-shadow: 2px 8px 4px 0 rgba(3, 5, 7, 0.04);
  transition: transform 0.2s ease-out;

  &-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: @m-layout-sider-logo-width;
  }

  &-ul {
    flex: 1;
    padding: 0;
    li {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: @m-layout-sider-li-width;
      padding: 8px;
      cursor: pointer;

      i {
        font-size: 20px;
        color: #fff;
      }

      span {
        padding-top: 4px;
        font-size: 12px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.65);
      }
    }

    .selected {
      background: #101521;
      box-shadow: 0 2px 4px 0 rgba(16, 29, 40, 0.6) inset;

      > span {
        color: #fff;
      }
    }

    li:hover span {
      color: #fff;
    }
  }

  &-extra {
    display: flex;
    display: none;
    align-items: center;
    justify-content: center;
    padding-bottom: 8px;
    cursor: pointer;

    i {
      font-size: 20px;
      color: #fff;
    }
  }

  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  &::-webkit-scrollbar-thumb {
    width: 8px;
    background-color: rgba(65, 80, 123, 0.9) !important;
    border-radius: 5px;
  }
}
