@import 'styles/helpers';

.basicLayout {
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  &-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: $layout-body-background;
  }
  &-mainContent {
    flex: 1;
    margin: 24px 24px 0;
  }
  &-header {
    width: 100%;
    height: 64px;
    background: $grey-1;
    box-shadow: $shadow-1-down-light;
    display: flex;
    justify-content: flex-end;
    padding-right: 12px;
    z-index: $z-index-1;
  }
  &-avatarContainer {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 12px;
    &:hover {
      cursor: pointer;
      background: $blue-1;
    }
  }
  &-avatar {
    background-color: $blue-4;
  }
  &-notice {
    display: flex;
    align-items: center;
    padding: 0 12px;
    cursor: pointer;
    &:hover {
      background: $blue-1;
    }
  }
  &-noticeIcon {
    font-size: $font-size-lg;
  }
  &-noticeItem {
    margin-bottom: 12px;
    padding: 6px 12px;
    width: 300px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  &-noticeTitle {
    margin-bottom: 8px;
  }
  &-noticeMessage {
    font-size: $font-size-sm;
    color: $font-color-secondary;
  }
  &-noticeEmpty {
    width: 300px;
    padding: 12px 0;
    text-align: center;
  }
  &-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    margin: 48px 0 24px;
    color: $font-color-secondary;
  }
  &-userMenuItem {
    min-width: 160px;
  }
  &-userMenuIcon {
    margin-right: 12px;
  }
  &-pageHeader {
    padding: 16px 32px 0;
    background: $grey-1;
    border-bottom: 1px solid $shadow-color-light;
  }
  &-pageTitle {
    font-size: $font-size-xl;
    margin-bottom: 16px;
  }
  &-breadcrumb {
    margin-bottom: 16px;
  }
  .react-sider-logo {
    height: 32px;
    width: 32px;
    margin-right: 12px;
  }
}