@import "common/AdminLTE.css";
@import "common/variables/berry-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: 20px;
  overflow: auto;
  .el-dialog__header {
    padding: 20px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    background: url("../images/berry-dialogBg.jpg") 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 #114aab;
  }
  &.box-header{
    padding: 0 !important;
  }
  &:after{
    width: 100%;
    content: "";
    height: 10px !important;
    background: #114aab !important;
  }
}

/*oms style*/
/*oms login page*/
.login-box-bg {
  min-width: 1200px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url('../images/berry-loginBg.jpg') no-repeat;
  background-size: 100% 100%;
  .login-box{
    .login-box-content{
      color: rgba(0, 0, 0, 0.87);
      width: 100%;
      margin-top: 250px;
      .login-box-logo{
        width: 100%;
        position: relative;
        &:after, &:before {
          content: "";
          border-top: 1px solid #7D90B3;
          display: block;
          position: absolute;
          width: 100%;
          top: 50%;
        }
        &:before { left: -95%;  }
        &:after { right: -95%; }
        p{
          margin: 0;
          padding: 0;
          font-size: 55px;
          font-weight: bold;
          text-align: center;
          letter-spacing: 2px;
          background: linear-gradient(to right, #115bc6,#39b4e8);
          -webkit-background-clip: text;
          color: rgba(255,255,255,.6);
        }
      }
      .login-button{
        width: 80%;
        height: 40px;
        line-height: 40px;
        border-radius: 10px;
        margin: 50px auto 0;
        font-size: 17px;
        text-align: center;
        cursor: pointer;
        color: #fff;
        background: #114AAB;
      }
      .login-box-form{
        padding: 40px 20px;
        margin-top: 30px;
        .el-form{
          .el-form-item{
            margin-bottom: 30px;
            .el-input{
              width: 100%;
              max-width: inherit;
              color: #84A0CF;
              .el-input__inner{
                width: 100%;
                border: none !important;
                outline: none !important;
                border-bottom: 1px solid #898A8B !important;
                border-radius: inherit;
                background: transparent;
                color: #84A0CF;
                padding-left: 50px;
              }
              .el-input__prefix{
                i{
                  font-size: 22px !important;
                  color: #84A0CF !important;
                }
              }
            }
          }
          input::-webkit-input-placeholder {
            color: #84A0CF !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: #387df4;
    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: #387df4;
          }
        }
      }
    }
  }
}
/*oms sideBar*/
.side-bar-box{
  width: auto;
  background-image: url('../images/berry-sidebar.jpg');
  background-size: 100% 100%;
  &.sidebar-container{
    &:before{
      width: 95%;
      position: absolute;
      display: block;
      content: "";
      border-bottom: 2px solid rgba(255, 255, 255, 0.2);
      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;
        padding-left: 15px !important;
        color: #fff !important;
        &:focus, &:hover, &.is-active{
          background-color: rgba(251, 251, 251, 0.1) !important;
          color: rgb(191, 203, 217);
          &:before, &:after{
            content: "";
            display: inline;
            border: 2px solid #407eea;
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
          }
        }
      }
      .el-submenu{
        color: #fff !important;
        &:focus, &:hover, &.is-active{
          .el-submenu__title{
            background-color: rgba(251, 251, 251, 0.1) !important;
            &:before, &:after{
              content: "";
              display: inline;
              border: 2px solid #407eea;
              position: absolute;
              top: 0;
              left: 0;
              height: 100%;
            }
          }
        }
        .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: #fff !important;
          .el-icon-arrow-down:before {
            color: #fff !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: #fff !important;
          &:focus, &:hover, &.is-active{
            background-color: transparent;
            color: #be821d !important;
            i{
              color: #be821d !important;
            }
          }
        }
      }
    }
  }
  .side-bar-icon {
    i{
      color: #fff !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: #4c8af4;
          font-weight: bold;
          .step-item-icon{
            background: #4c8af4 !important;
            font-weight: bold;
          }
        }
      }
    }
  }
}
/*oms tabs*/
.tabs-wrapper{
  .el-tabs__nav{
    .el-tabs__item{
      &:hover{ color: #387df4; }
      &.is-active {
        color: #387df4;
        font-weight: bold;
        &:before{
          content: "";
          display: flex;
          border-top: 2px solid #387df4;
        }
      }
    }
  }
}

