@import '../../v.scss';
.layout {
  width: 100%;
  min-height: 100vh;
  background-image: url('./static/layout-bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  header {
    width: 100%;
    height: 104px;
    display: flex;
    flex-direction: column;
    background-image: url('./static/header-bg.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    .layout-header {
      height: 56px;
      font-size: 14px;
      text-align: center;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      position: relative;
      color: #608dbe;
      padding: 0 20px;
      box-sizing: border-box;
      .project-name {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: inherit;
        color: red;
        margin: 0;
        font-weight: 400;
        font-family: 'pangmen';
        svg{
          height: 60px;
          text{
            text-align: center;

          }
        }
      }
      .app-opertion-wrapper {
        span {
          line-height: 36px;
          background-repeat: no-repeat;
          background-position: left center;
          background-size: 16px auto;
          padding-left: 20px;
        }
        span.login-username {
          background-image: url('./static/admin-avatar.png');
        }
        span.logOut-btn {
          cursor: pointer;
          display: inline-block;
          margin-left: 20px;
          background-image: url('./static/logout-btn-icon.png');
        }
      }
    }
    nav {
      flex: 1;
      align-items: center;
      ul {
        line-height: 48px;
        display: flex;
        justify-content: space-around;
        margin: 0;
        font-size: $baseFontSize;
        li {
          width: 116px;
          text-align: center;
          box-sizing: border-box;
          cursor: pointer;
          color: #608dbe;
          background-repeat: no-repeat;
          background-position: center;
          background-size: 116px auto;
        }
        li[data-checked='true'] {
          color: #ffffff;
          font-weight: bold;
          background-image: url('./static/link-acitve.png');
        }
        li:hover {
          background-image: url('./static/link-acitve.png');
        }
      }
    }
  }
  .layout-content {
    padding: 20px;
    box-sizing: border-box;
  }
}
