@import '../../styles/variables.scss';

@mixin move-slider {
  width: 100%;
  padding-left: 200px;
  transition: padding-left 0.2s;
  box-sizing: border-box;
}

.homeWrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  .slider {
    position: fixed;
    top: 0;
    left: 0;
    overflow-x: hidden;
    min-height: 100vh;
    z-index: 500;
    background-color: $sliderBgColor;
    .logoWrapper {
      padding: 30px 30px;

      .logo {
        width: 100%;
      }
    }
  }

  .rightContentWrapper {
    @include move-slider;
    box-sizing: border-box;
    min-height: 100vh;
    position: relative;
    box-sizing: border-box;
    padding-top: 130px;
    .headerWarpper {
      @include move-slider;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 400;
      .header {
        width: 100%;
        padding-left: 30px;
        background: $headerBgColor;
        .userContent {
          & > a {
            margin-left: 30px;
          }
        }
        .logout {
          border: 0;
          color: $warnColor;
        }
        .breadcrumbWarpper {
          width: 100%;
        }
      }
    }
    .content {
      width: 100%;
      padding: 16px 30px;
      background-color: #fff;
      box-sizing: border-box;
      min-height: calc(100% - 190px);
    }

    .footer {
      line-height: 60px;
      text-align: center;
    }
  }
}
