.menu-content {
  width: 250px;
  height: calc(100vh - 48px);
  background: #fafafa;
  border-right: 1px solid #d3d3d3;
  display: flex;
  flex-direction: column;
  transition: width .25s;

  .menu-head {
    height: 48px;
    line-height: 48px;
    padding: 0 40px;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.65);

    .icon {
      line-height: inherit;
      vertical-align: top;

      & + span {
        display: inline-block;
        margin-left: 14px;
      }
    }

    .menu-head-collapsed {
      display: none !important;
    }
  }

  .menu-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;

    .c7n-hap-menu {
      background: transparent;

      &-inline {
        margin-left: 20px;
      }
    }

    .ant-menu {
      background: transparent !important;

      .icon {
        font-size: 18px;
        width: 18px;
        height: 18px;
        margin-right: 17px;
      }

      &-item,
      &-submenu > .ant-menu-submenu-title {
        padding: 0 15px !important;
      }
    }

    .ant-menu-inline-collapsed {
      width: 50px !important;
    }
    .c7n-hap-menu-inline-collapsed {
      margin-left: 0px;
      .c7n-hap-menu-submenu-title {
        .icon {
          margin-right: .14rem;
        }
      }
    }
  }

  .menu-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    height: 58px;
    line-height: 57px;
    padding: 0 20px;
    cursor: pointer;
  }

  .c7n-hap-menu-submenu-title-selected {
    // color: rgba(0, 0, 0, 0.65);
  }
}

.menu-collapsed {
  width: 50px;

  .menu-head,
  .menu-footer {
    padding: 0 15px;
  }
}
