@import "common/AdminLTE.css";
@import "common/variables/mizone-variables";
@import url(https://at.alicdn.com/t/font_1710489_so4rzug7jnc.css);

/*icon font*/
[class^="ftl-icon"], [class*=" ftl-icon"]
{
  font-family:"iconfont" !important;
  font-size:16px;
  font-style:normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*element-ui*/
/*element-ui el-table */
.el-table{
  .cell, th div {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  th.gutter,colgroup.gutter{
    display: table-cell!important;
  }
  td,th{
    padding: 8px 0;
    bottom: 0;
  }
  thead{
    th{
      background: #f4f5fa;
    }
  }
  .el-table__footer-wrapper,
  .el-table__header-wrapper{
    thead{
      div{
        color: #757678;
      }
    }
  }
}
/*element-ui el-dialog */
.el-dialog{
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  overflow: auto;
  .el-dialog__header {
    padding: 20px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    background: url("../images/happyStar-dialogBg.png") no-repeat;
    background-size: 100% 100%;
  }
  .el-dialog__title{
    font-size: 20px;
    color: #fff;
  }
  .el-dialog__headerbtn{
    padding: 0;
    background: 0 0;
    border: none;
    outline: 0;
    cursor: pointer;
    font-size: 16px;
    top: 10px;
    .el-dialog__close {
      width: 26px;
      height: 26px;
      line-height: 24px;
      font-size: 14px;
      text-align: center;
      border: 1px solid #fff;
      border-radius: 50%;
      color: #fff;
      &:active {
        border-style: none !important;
      }
      &:hover {
        color: #fff;
      }
      &:focus {
        outline: none !important;
      }
    }
  }
}
/* element-ui el-page */
.el-pager{
  li{
    &.is-active, &:hover{
      color: $--color-primary;
      cursor: pointer;
    }
  }
}

/* AdminLte.css box样式修改 */
.box{
  border: none !important;
  &.border-top-primary{
    border-top: 3px solid $--color-primary !important;
  }
  &.border-top-success{
    border-top: 3px solid $--color-success !important;
  }
  &.border-top-danger{
    border-top: 3px solid $--color-danger !important;
  }
}
.bg-light-blue{
  width: 100%;
  display: flex;
  flex-flow: column;
  background: none !important;
  padding: 0 !important;
  .box-title{
    width: fit-content;
    font-size: 18px;
    display: block;
    color: #fff;
    height: 0;
    line-height: 40px !important;
    padding: 0 50px;
    border-width: 0 18px 30px 0;
    border-style: none solid solid;
    border-color: transparent transparent $--color-primary;
  }
  &.box-header{
    padding: 0 !important;
  }
  &:after{
    width: 100%;
    content: "";
    height: 10px !important;
    background: $--color-primary !important;
  }
}

/*oms style*/
/*oms login page*/
.login-box-bg {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url("../images/mizone-loginBg.jpg") no-repeat center;
  background-size: cover;
  min-width: 1200px;
  .login-box{
    width: 28vw;
    margin: 0 !important;
    position: absolute;
    top: 50%;
    right: 13%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    .login-box-content{
      color: rgba(0, 0, 0, 0.87);
      width: 100%;
      background-color: rgba(11, 161, 248, 0.1);
      border-radius: 5px;
      padding: 4% 16% 7% 16%;
      .login-box-logo{
        width: 100%;
        p{
          margin: 0;
          padding: 0;
          font-size: 70px;
          font-weight: bold;
          text-align: center;
          letter-spacing: 2px;
          color: #fcfdfe;
          padding-bottom: 14%;
          font-family: -webkit-pictograph;
        }
      }
      .login-button{
        height: 40px;
        line-height: 40px;
        margin: 0 auto;
        font-size: 17px;
        text-align: center;
        cursor: pointer;
        color: #fcfdfe;
        background: #387df4;
        margin-top: 45px;
        border-radius: 5px;
      }
      .login-box-form{
        .el-form{
          .el-form-item{
            margin-bottom: 30px !important;
            .el-input{
              width: 100%;
              max-width: inherit;
              color: #fcfdfe;
              .el-input__inner{
                width: 100%;
                border: none !important;
                outline: none !important;
                border-bottom: 1px solid #096398 !important;
                border-radius: inherit;
                background: transparent;
                color: #fcfdfe;
                padding-left: 50px;
              }
              .el-input__prefix{
                i{
                  font-size: 22px !important;
                  color: #0ba1f6 !important;
                }
              }
            }
          }
          input::-webkit-input-placeholder {
            color: #fcfdfe !important;
          }
          input:-webkit-autofill,
          input:-webkit-autofill:hover,
          input:-webkit-autofill:focus,
          input:-webkit-autofill:active {
            -webkit-transition-delay: 99999s;
            -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
          }
        }
      }
    }
  }
}
/*oms navBar*/
.navbar-box {
  min-height: 50px;
  border-radius: 0 !important;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #f2f2f4;
  box-shadow: 0 0 5px 1px #fff;
  &:focus {
    outline: none;
  }
  &.el-menu{
    &::after, &::before {
      content: normal;
    }
  }
  img{
    display: block;
    width: 100%;
    height: 100%;
  }
  .mine-box{
    width: 25px;
    height: 25px;
    margin-right: 3px;
  }
}

.icon-button-info i{
  cursor: pointer;
  color: #979797;
}
.icon-button-warning i{
  cursor: pointer;
  color: $--color-warning;
}
.icon-button-primary i{
  cursor: pointer;
  color: $--color-primary;
}
.icon-button-success i{
  cursor: pointer;
  color: $--color-success;
}
.icon-button-danger i{
  cursor: pointer;
  color: $--color-danger;
}

.level-bar{
  display: flex;
  align-items: center;
  height: 50px;
  line-height: 50px;
  cursor: pointer;
  .level-bar-toggle-button {
    height: 35px;
    font-size: 18px;
    line-height: 35px;
    margin-left: 10px;
    color: #fff;
    border-radius: 5px;
    background-color: $--color-primary;
    padding: 0 10px;
  }
  .el-breadcrumb {
    display: flex;
    align-items: baseline;
    font-size: 14px;
    margin-left: 10px;
    color: #606266 !important;
    .el-breadcrumb__item {
      &:first-child{
        .el-breadcrumb__inner span{
          &:hover{
            color: $--color-primary;
          }
        }
      }
    }
  }
}
/*oms sideBar*/
.side-bar-box{
  width: auto;
  background-image: url('../images/happyStar-sidebar.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  &.sidebar-container{
    &:before{
      width:100%;
      position: absolute;
      display: block;
      content: "";
      border-bottom: 5px solid rgba(10, 73, 136,.6);
      top: 70px;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
    }
    .el-menu{
      background-color: transparent;
      height: 100%;
      border: none;
      .el-menu--horizontal{
        border: none;
        margin-bottom: 5px;
      }
      .submenu-title-noDropdown{
        height: 38px;
        line-height: 38px;
        margin-bottom: 7px;
        color: #9ba4b4 !important;
        padding-left: 15px !important;
        &:focus, &:hover, &.is-active{
          background-color: $--color-primary !important;
          color: #fff !important;
          .side-bar-icon i, .el-icon-arrow-down:before{
            color: #fff !important;
          }
        }
      }
      .el-submenu{
        color: #9ba4b4 !important;
        &:focus, &:hover, &.is-active{
          .el-submenu__title{
            background-color: $--color-primary !important;
            color: #fff !important;
            .side-bar-icon i, .el-icon-arrow-down:before{
              color: #fff !important;
            }
          }
        }
        .el-submenu__title{
          position: relative;
          min-width: auto !important;
          height: 38px;
          line-height: 38px;
          margin-bottom: 7px;
          padding-left: 15px !important;
          background-color: initial !important;
          color: #9ba4b4 !important;
          .el-icon-arrow-down:before {
            color: #9ba4b4 !important;
          }
        }
        .el-menu-item{
          position: relative;
          min-width: auto !important;
          height: 38px;
          line-height: 38px;
          padding: 0 45px!important;
          margin-bottom: 7px;
          background-color: transparent !important;
          color: #9ba4b4 !important;
          &:focus, &:hover, &.is-active{
            background-color: transparent;
            color: #fff !important;
            i{
              color: #fff !important;
            }
          }
        }
      }
    }
  }
  .side-bar-icon {
    i{
      color: #9ba4b4 !important;
      padding-right: 6px;
      font-size: 20px;
    }
  }
  .side-bar-list{
    list-style: disc;
    display: list-item;
  }
  .side-bar-logo {
    width: fit-content;
    display: flex;
    align-items: center;
    line-height: 70px;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: bold;
    color: white;
    &:before{
      width: 50px;
      height: 32px;
      display: block;
      content: "";
      margin-right: 6px;
      background: url("../images/berry-logo.png") no-repeat;
      background-size: 100% 100%;
    }
  }
}
/*oms linkSteps*/
.steps-box{
  width: 100%;
  height: 80px;
  background: #fdfdfe;
  position: relative;
  &:after{
    content: "";
    position: absolute;
    top: 30%;
    width: 100%;
    height: 5px;
    background-color: #c8c6c7;
  }
  .steps-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 5%;
    z-index: 99;
    .step-item{
      flex: 1;
      text-align: center;
      .step-item-content{
        color: #c8c6c7;
        .step-item-title{
          margin-top: 5px;
        }
        .step-item-icon{
          display: inline-block;
          width: 45px;
          height: 45px;
          border-radius: 50%;
          background: #c8c6c7;
          i{
            color: #fdfdfe;
            font-size: 20px;
            line-height: 50px;
          }
        }
        &:hover, &.router-link-exact-active{
          color: $--color-primary;
          font-weight: bold;
          .step-item-icon{
            background: $--color-primary !important;
            font-weight: bold;
          }
        }
      }
    }
  }
}
/*oms tabs*/
.tabs-wrapper{
  /*element ui tabs*/
  .el-tabs__header{
    background: white;
    margin: 0;
  }
  .el-tabs__nav-scroll{
    border-top: 1px solid #b3cdfa;
    .el-tabs__nav{
      .el-tabs__item{
        &:hover{ color: $--color-primary; }
        &.is-active {
          color: $--color-primary;
          font-weight: bold;
          &:before{
            content: "";
            display: flex;
            border-top: 2px solid $--color-primary;
          }
        }
      }
    }
  }
}

