@import '~scss/variables';

.sider {
  position: fixed;
  top: 88px;
  left: 20px;
  width: 364px;
  min-width: 360px;
  padding-right: 16px;
  height: calc(100vh - 100px);
  overflow: auto;

  @media screen and (max-width: 1280px) {
    width: 300px;
    min-width: 300px;
  }
}

.content {
  padding: 20px;
  padding-left: 394px;

  @media screen and (max-width: 1280px) {
    padding-left: 340px;
  }
}

.nav {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  border-radius: 4px;
  background-color: $dark;
  margin: 0 0 12px;

  &Item {
    min-width: 96px;
    height: 32px;
    line-height: 32px;
    margin: 0 6px;
    padding: 0 14px;
    font-weight: 500;
    color: $white;
    border: 1px solid transparent;
    text-align: center;
    transition: all $trans-speed;

    &:first-child {
      margin: 0 6px 0 0;
    }

    &.active {
      border-radius: 4px;
      box-shadow: $btn-primary-shadow;
      background-color: $primary;
      border-color: $primary;

      &:hover {
        color: $white;
      }
    }
  }
}
