@import "./common/variables.scss";
@import "./common/mixins.scss";
@import "./common/reset.scss";
.iframe-box {
  height: 100%;
  min-height: 100vh;
  visibility: inherit;
  width: 100%;
  z-index: 1;
}

.layui-layout {
  margin-top: -20px;
}

.left-bg {
  background: $left-bg;
}

.layui-side {
  width: 230px;
  height: 900px;
  background: $left-bg;
  box-shadow: 0px 2px 11px 0px rgba(69, 75, 80, 0.02);
}

.side-scroll {
  height: 100vh;
  overflow-y: scroll;
}
.left-side {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
}

.nav-tree {
  margin: 0 16px;
  li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 198px;
    height: 60px;
  }
  .left-menu {
    .icon {
      display: inline-block;
      vertical-align: middle;
      width: 20px;
      height: 20px;
      margin-left: 34px;
    }
    .sjy {
      background: url(../img/sjy@2x.png) no-repeat center/cover;
    }
    .jd {
      background: url(../img/jd@2x.png) no-repeat center/cover;
    }
    .rw {
      background: url(../img/rw@2x.png) no-repeat center/cover;
    }
    .fz {
      background: url(../img/fz@2x.png) no-repeat center/cover;
    }
    .title {
      height: 16px;
      margin-left: 10px;
      line-height: 16px;
      font-size: 16px;
      font-family: MicrosoftYaHei;
      color: rgba(179, 189, 196, 1);
    }
  }
  .left-menu:hover {
    border-radius: 4px;
    background-color: $leftmenu-hover;
  }
  .layui-this {
    background: $leftmenu-light;
    border-radius: 4px;
    .sjy {
      background: url(../img/sjy-this@2x.png) no-repeat center/cover;
    }
    .jd {
      background: url(../img/jd-this@2x.png) no-repeat center/cover;
    }
    .fz {
      background: url(../img/fz-this@2x.png) no-repeat center/cover;
    }
    .rw {
      background: url(../img/rw-this@2x.png) no-repeat center/cover;
    }
    .title {
      font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
      font-weight: bold;
      color: rgba(18, 137, 255, 1);
    }
  }
}

.sub-tree {
  color: rgba(179, 189, 196, 1);
  .left-menu {
    .title {
      margin-left: 35px;
    }
    .sub-title {
      margin-left: 50px;
    }
  }
  .back-menu {
    display: flex;
    justify-content: center;
    align-self: center;
    width: 140px;
    height: 32px;
    margin: 20px 30px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 1);
    .title {
      cursor: pointer;
      align-self: center;
    }
  }
  .icon {
    display: inline-block;
    vertical-align: middle;
    width: 12px;
    height: 8px;
    margin: 0 5px 0 20px;
  }
  .open {
    background: url(../img/open@2x.png) no-repeat center/cover;
  }
}

.layui-layout-admin .layui-layout-left,
.layadmin-pagetabs,
.layui-layout-admin .layui-body,
.layui-layout-admin .layui-footer {
  left: 230px;
}

.layadmin-tabsbody-item {
  min-height: 720px;
}

.layui-layout-admin .layui-body {
  position: fixed;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.sub-tree .open {
  background: url(../img/open@2x.png) no-repeat center/cover;
}

.sub-tree {
  color: #b3bdc4;
}

.sub-tree .left-menu .title {
  margin-left: 35px;
}

.sub-tree .left-menu .sub-title {
  margin-left: 50px;
}

.sub-tree .back-menu {
  display: flex;
  justify-content: center;
  align-self: center;
  width: 140px;
  height: 32px;
  margin: 20px 30px;
  color: #fff;
  border-radius: 4px;
  border: 1px solid white;
}

.sub-tree .back-menu .title {
  cursor: pointer;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
}

.sub-tree .icon {
  display: inline-block;
  vertical-align: middle;
  width: 12px;
  height: 8px;
  margin: 0 5px 0 20px;
}

.sub-tree .open {
  background: url(../img/open@2x.png) no-repeat center/cover;
}

.sub-tree .layui-this {
  background: rgba(18, 137, 255, 0.16);
}

.sub-tree .layui-this .sub-title {
  font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
  font-weight: bold;
  color: #1289ff;
}
.top-menu {
  .icon {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    // margin-left: 34px;
  }
  .rw {
    background: url(../img/rw@2x.png) no-repeat center/cover;
  }
}
.menu-list {
  color: #b3bdc4;
  .title {
    margin-left: 15px;
  }
  .left-menu {
    .sub-title {
      margin-left: 70px;
    }
  }
  .layui-this {
    background: rgba(18, 137, 255, 0.16);
    .sub-title {
      font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
      font-weight: bold;
      color: #1289ff;
    }
  }
}

.hight-100 {
  height: 100%;
}

.menu-icon {
  width: 0;
  height: 0;
}

.open-icon {
  margin: 0 5px 0 20px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid rgba(179, 189, 196, 1);
  border-radius: 10px;
}

.close-icon {
  margin: 0 10px 0 20px;
  border-bottom: 7px solid transparent;
  border-top: 7px solid transparent;
  border-left: 8px solid rgba(179, 189, 196, 1);
  border-radius: 10px;
}
