Newer
Older
Nanping_sponge_SJJC / src / assets / styles / media.scss
@liyingjing liyingjing on 25 Oct 2023 5 KB 数据检测
.avue-left,
.avue-header,
.avue-top,
.avue-logo,
.avue-layout .login-logo,
.avue-main {
  transition: all 0.3s;
}
// 表格类
.avue-crud {
  .el-table {
    font-size: 14px;
    font-family: AlibabaPuHuiTi;
    font-weight: 400;
    color: #0b225f;
    th {
      background: #f4f7fb;
      font-size: 14px;
      font-family: AlibabaPuHuiTi;
      font-weight: 400;
      color: #7c8db5 !important;
      line-height: 40px;
      padding: 0;
    }
  }
  // 表格类
  .el-table__fixed-body-wrapper {
    .el-button--text:nth-child(1) {
      color: #f4a20f !important;
    }
    .el-button--text:nth-child(2) {
      color: #f66069 !important;
    }
    .el-button--text {
      color: #2a78ff;
      font-size: 12px;
      font-family: AlibabaPuHuiTi;
      font-weight: 400;
    }
  }
}
.avue-top {
  .el-menu-item {
    i,
    span {
      color: #0b225f;
      font-family: AlibabaPuHuiTi;
      font-weight: 600;
    }
  }
  .el-submenu__title {
    span {
      color: #0b225f;
      font-family: AlibabaPuHuiTi;
      font-weight: 600;
    }
  }
}
.avue-logo2 {
  background: url('@/assets/images/home/header_home_l.png') no-repeat left
    center !important;
  background-size: 581px 70px !important;
}
.avue-logo {
  // margin-top: 8px;
  // background: $color;

  .avue-logo_title {
    font-size: 34px;
    font-family: pangMen;
    font-weight: 400;
    font-style: italic;
  }
}
.top-bar__item {
  i {
    // color: #0b225f;
    color: #87d2dc;
  }
}
#app {
  .avue-contail2 {
    // background-image: url("~@/../public/img/login/bg2.png") !important;
    // background-image: url("@/assets/images/home/bg.png") !important;
    // background-image: url('@/assets/images/zhoukou/bg_img.png') !important;
    background-size: 100% 100% !important;
    .avue-main {
      background: transparent !important;
    }
  }

  .avue-contail2::before {
    // backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.3);
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
  }

  .avue-contail2::after {
    content: '';
    // background-image: url('@/assets/images/zhoukou/title-word.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: block;
    left: 50%;
    top: 2%;
    transform: translate(-50%);
    position: absolute;
    z-index: 0;
    width: 497px;
    height: 62px;
  }
}
.avue-contail {
  width: 100%;
  height: 100%;
  background: #07133b;

  // background: #f0f2f5;
  // background-size: 100%;
  // background-repeat: no-repeat;
}
.avue-left {
  position: fixed;
  left: 0;
  // top: 110px;
  top: 80px;
  bottom: 30px;
  width: 240px;
  // height: 100%;
  z-index: 1025;
}

.avue-header2 {
  padding-left: 580px;
  background: url('@/assets/images/home/header_home_r.png') repeat-x left center !important;
  background-size: 100% 100% !important;
  .avue-logo_title {
    color: #ffffff !important;
  }
}
.avue--collapse {
  .avue-left,
  .avue-logo {
    width: 60px;
    text-align: center;
    color: #0b225f;
  }

  .avue-header {
    padding-left: 60px;
  }

  .avue-main {
    width: calc(100%);
    left: 0;
    .avue-main-right {
      // margin-left: 60px;
    }
    .main-right-margin-left60 {
      margin-left: 60px;
    }
  }
}

.avue-header {
  // background: url("/public/img/login/top-bg.png") no-repeat 100% 100%;
  // padding-left: 580px;
  width: 100%;
  // height: 94px;
  height: 70px;
  box-sizing: border-box;
}

.avue-main {
  position: absolute;
  left: 0;
  padding: 0;

  width: calc(100%);
  height: calc(100% - 70px);
  box-sizing: border-box;
  overflow: hidden;

  background: #f0f2f5;
  z-index: 1026;

  &--fullscreen {
    width: 100%;
    left: 0;
  }
}

.AllHeight {
  height: 100%;
}

.NoHeight {
  height: 0;
}

.avue-main-right {
  // transition: all 0.5s;
  height: 100%;
  // margin-left: 240px;
}
.main-right-margin-left240 {
  margin-left: 240px;
}
.avue-view {
  // padding: 0 10px !important;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  height: 100%;
}

.avue-footer {
  margin: 0 auto;
  padding: 0 22px;
  width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .logo {
    margin-left: -50px;
  }

  .copyright {
    color: #666;
    line-height: 1.5;
    font-size: 12px;
  }
}

.avue-shade {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1024;

  &--show {
    display: block;
  }
}

.avue-dialog .el-dialog {
  // left: 50% !important;
}

@media screen and (max-width: 992px) {
  $width: 240px;
  // ele的自适应
  .el-dialog,
  .el-message-box {
    width: 98% !important;
  }
  //登录页面
  .login-left {
    display: none !important;
  }
  .login-logo {
    padding-top: 30px !important;
    margin-left: -30px;
  }
  .login-weaper {
    margin: 0 auto;
    width: 96% !important;
  }
  .login-border {
    border-radius: 5px;
    padding: 40px;
    margin: 0 auto;
    float: none !important;
    width: 100% !important;
  }
  .login-main {
    width: 100% !important;
  }
  //主框架
  .avue-tags {
    display: none;
  }
  .avue-left,
  .avue-logo {
    width: 0;
  }
  .main-right-margin-left240 {
    margin-left: 0;
  }
  .avue-left,
  .avue-logo {
    left: 0;
  }
  .avue-main {
    left: 0;
    width: 100%;
  }
  .avue-header {
    margin-bottom: 15px;
    padding-left: 15px;
  }
  .top-bar__item {
    display: none;
  }
  .avue--collapse {
    .avue-left,
    .avue-logo {
      width: $width;
      left: 0;
    }

    .avue-main {
      left: $width;
      width: 100%;
    }

    .avue-header {
      padding: 0;
      margin-left: -$width;
      // transform: translate3d(230px, 0, 0);
    }

    .avue-shade {
      display: block;
    }
  }
}

.avue--detail {
  .el-button--mini.is-circle {
    display: none !important;
  }
}