@import "common/AdminLTE.css";
@import "common/variables/rio-variables";
@import url(https://at.alicdn.com/t/font_1672175_ogzqtpowm4.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: #def2fd;
    }
  }
  .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/rio-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;
  &.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{
  border-radius: 5px 5px 0 0;
  background: url("../images/rio-dialogBg.png") no-repeat;
  background-size: cover;
}

/*fms style*/
/*fms login page*/
.login-box-bg {
  min-width: 1200px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url('../images/rio-loginBg.png') no-repeat;
  background-size: 100% 100%;
  .login-box{
    .login-box-content{
      color: rgba(0, 0, 0, 0.87);
      width: 100%;
      background: #FFF;
      border-radius: 20px;
      margin-top: 200px;
      .login-box-logo{
        width: 100%;
        border-radius: 20px 20px 0 0;
        background: #e2f0fd;
        padding: 15px 0;
        p{
          margin: 0;
          font-size: 55px;
          font-weight: bold;
          text-align: center;
          letter-spacing: 2px;
          padding: 5px 0 10px;
          background: linear-gradient(to right, #115bc6,#39b4e8);
          -webkit-background-clip: text;
          color: transparent;
        }
      }
      .login-box-form{
        padding: 40px 35px;
        .login-button{
          width: 80%;
          height: 40px;
          line-height: 40px;
          border-radius: 10px;
          margin: 30px auto 0;
          font-size: 17px;
          text-align: center;
          cursor: pointer;
          color: #fff;
          background: linear-gradient(60deg, #418ed8, #51c4ed);
        }
        .el-form{
          .el-input{
            width: 100%;
            max-width: inherit;
            .el-input__inner{
              width: 100%;
              border: none !important;
              outline: none !important;
              border-bottom: 1px solid #b0b2b1 !important;
              border-radius: inherit;
              padding-left: 40px;
            }
            .el-input__prefix{
              i{
                font-size: 22px !important;
                color: #b2b2b2 !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;
          }
        }
      }
    }
  }
}

/*fms navBar*/
.navbar-box {
  min-height: 50px;
  border-radius: 0 !important;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  &.el-menu {
    &::after, &::before{
      content: normal;
    }
  }
  &:focus {
    outline: none;
  }
  .flex-box{
    width: 100%;
    display: flex;
    display:-webkit-flex;
    align-items: center;
    color: #606266;
  }
  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;
}

/*fms levelBar*/
.level-bar{
  display: flex;
  align-items: center;
  height: 50px;
  line-height: 50px;
  cursor: pointer;
  .level-bar-toggle-button {
    width: 24px;
    font-size: 24px;
    margin-left: 10px;
    color: #656565;
  }
  .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, i{
            color: #57b152;
          }
        }
      }
    }
  }
}

/*fms sideBar*/
.side-bar-box{
  width: auto;
  background: url('../images/rio-sidebar.png') no-repeat;
  background-size: 100% 100%;
  &.sidebar-container{
    .el-menu{
      background-color: inherit;
      height: 100%;
      border: none;
      .el-menu--horizontal{
        border-bottom: 1px solid #74b0dc;
      }
      .submenu-title-noDropdown{
        height: 38px;
        line-height: 38px;
        margin-bottom: 7px;
        padding-left: 15px !important;
        color: #fff !important;
        &:focus, &:hover, &.is-active{
          background-color: #cbe5f4 !important;
          border-radius: 5px;
          color: #4290d4 !important;
          i{
            color: #4290d4 !important;
          }
          .el-icon-arrow-down:before {
            content: "\e790" !important;
            color: #4290d4 !important;
          }
        }
      }
      .el-submenu{
        color: #fff !important;
        &:focus, &:hover,&.is-active{
          .el-submenu__title{
            background-color: #cbe5f4 !important;
            border-radius: 5px;
            color: #4290d4 !important;
            i{
              color: #4290d4 !important;
            }
            .el-icon-arrow-down:before {
              content: "\e790" !important;
              color: #4290d4 !important;
            }
          }
        }
        .el-submenu__title{
          position: relative;
          min-width: auto !important;
          width: 90%;
          left: 50%;
          transform: translateX(-50%);
          height: 38px;
          line-height: 38px;
          margin-bottom: 7px;
          padding-left: 10px !important;
          color: #fff !important;
          .el-icon-arrow-down:before {
            content: "\e790" !important;
            color: #fff !important;
          }
        }
        .el-menu-item{
          position: relative;
          padding: 0 45px 0 22px !important;
          min-width: auto !important;
          width: 90%;
          left: 50%;
          transform: translateX(-50%);
          height: 38px;
          line-height: 38px;
          margin-bottom: 7px;
          color: #fff !important;
          &:focus, &:hover, &.is-active{
            background-color: #cbe5f4 !important;
            border-radius: 5px;
            color: #4290d4 !important;
            i{
              color: #4290d4 !important;
            }
          }
        }
      }
    }
  }
  .side-bar-logo {
    width: 90%;
    height: 50px;
    line-height: 50px;
    margin: 0 auto 20px;
    padding: 0 10px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  }
  .side-bar-icon{
    i{
      color: #fff;
      padding-right: 6px;
      font-size: 20px;
    }
  }
}

/*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;
          }
        }
      }
    }
  }
}


