@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
  .sidebar-container{
    background-color: rgb(21,44,124);
  }
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus{
  outline: none;
 }

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.app-main{
  min-height: 100%
}

.el-card{
  margin: 5px;
}

.app-container {
  padding: 20px;
}

.navbar{
  background-color: #525f6b !important;
}
.submenu-title-noDropdown{
  background-color: black!important;
  color: black!important;
}
.el-menu-item.is-active{
  background: rgb(21,44,124)!important;
  color: #409ee1 !important;
}
el-form-item__content{
  background-color: #525f6b !important;
}
.el-menu-item:hover{
  background: rgb(21,44,124)!important;// 无二级菜单的悬浮颜色
  color: #fff!important;
  border-top: 1px solid white; // 二级菜单的边框
  border-bottom: 1px solid white;
}
.el-submenu__title:hover{
  background: rgb(21,44,124)!important; // 有二级菜单的悬浮颜色
  color: #fff!important;
  border-top: 1px solid white; // 有二级菜单的一级菜单边框
  border-bottom: 1px solid white;
}
.el-menu-item, .el-submenu__title{
  font-size:16px; // 二级菜单字体
  line-height: 42px;
  height: 42px;
  background: rgb(21,44,124)!important; // 无二级菜单的一级菜单颜色
  color: #f6f7f7 !important;
  padding: 0px;
}
.el-scrollbar{
  height: 100%;
}

.el-submenu__title{
  font-size:17px; // 一级菜单字体
  color: #f6f7f7 !important;
  background: rgb(21,44,124)!important; // 有二级菜单的一级菜单颜色
}
.el-card__body{
  padding: 0 10px 0 10px !important;
  margin: 5px !important;
}
.app-container{
  padding: 0px;
}
.el-pagination{
  padding: 0px;
}
el-card{
  padding: 5px;
  margin: 0px;
}
.el-table__row{
  height: 5px;
  padding: 0px;
}
.el-table--mini td, .el-table--mini th {
  padding: 0px 0;
}
//.el-table .el-button{
//  font-size: 17px;
//}
.el-tabs__header {
  padding: 0;
  position: relative;
  margin:  0px;
}
.el-table{
  margin: 3px 0px;
}
.el-table td.gutter,.el-table th.gutter{
  width: 15px;
  border-right-width: 0;
  border-bottom-width: 0;
  padding: 0;
  background: white;
}
.block{
  margin-bottom: 3px;
}
.el-button--baocun{
  background: #67C23A;
  border-color: #67C23A;
  color: white;
  &:hover{
    background: #67C23A;
    border-color: #67C23A;
    color: white;
  }
  &:focus{
    background: #67C23A;
    border-color: #67C23A;
    color: white;
  }
}
.el-button--baocun.is-disabled{
  background:	LightGreen;
  border-color:	LightGreen;
  color: white;
  &:hover{
    background:	LightGreen;
    border-color:	LightGreen;
    color: white;
  }
  &:focus{
    background:	LightGreen;
    border-color: LightGreen;
    color: white;
  }
}
//登录页login输入框上串所以屏蔽
.el-input__inner:focus {
  border: 1px solid #2A71CB!important;
  //height: 29px;
}
//.el-input--small .el-input__inner {
//  height: 29px;
//}
//.el-breadcrumb__separator {
//  color: #fff;
//}
.el-table td, .el-table th {
  padding: 0;
}
.el-table--striped .el-table__body tr.el-table__row--striped td {
  //斑马纹颜色
  background-color: rgb(235,235,235);
}
.el-card__header {
  //card白条宽度
  padding: 5px 5px;
}
.subTableHeader {
  th {
    background: #8ff4ea !important;
    color: black;
  }
  //tr.el-table__row td {
  //  background-color: #d8e5f6 !important;
  //}
  //tr.el-table__row.el-table__row--striped td {
  //  background: #e9f0f9 !important;
  //}
}

h3 {
  height: 20px !important;
  margin: 0px !important;
}
.el-table__footer {
  height: 37px;
}
.el-table__footer-wrapper tbody td, .el-table__header-wrapper tbody td {
  //background-color: rgb(126,172,237);
  background-color: #e9f0f9;
  font-weight:bold;
  color: black;
}
//生成
.el-button--shengcheng{
  background: #ff9759;
  border-color: #ff9759;
  color: white;
  &:hover{
    background: #ff9759;
    border-color: #ff9759;
    color: white;
  }
  &:focus{
    background: #ff9759;
    border-color: #ff9759;
    color: white;
  }
}
.el-button--baocun.is-disabled{
  background:	LightGreen;
  border-color:	LightGreen;
  color: white;
  &:hover{
    background:	LightGreen;
    border-color:	LightGreen;
    color: white;
  }
  &:focus{
    background:	LightGreen;
    border-color: LightGreen;
    color: white;
  }
}
.el-tabs--border-card>.el-tabs__content {
  padding: 8px 8px 8px 8px!important;
}
input[type=number] {
  -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
//.el-table__header-wrapper {
//  height: 25px!important;
//}
/* 设置表主体的高度 */
.el-table__body td,.el-table__body th{
  padding:1px!important;
  height: 28px!important;
}
/* 设置表头的高度 */
.el-table__header td,.el-table__header th{
  padding:0px!important;
}


// 20200211 刘路加 按钮样式 更新
//分配按钮样式 橘黄 悬停变淡
.el-button--distribution{
  background:rgb(253,246,236);
  border-color: #ff9759;
  color: #ff9759;
  &:hover{
    background: #ff9759;
    border-color: #ff9759;
    color: white;
  }
  &:focus{
    background: #ff9759;
    border-color: #ff9759;
    color: white;
  }
}
// 20200211 刘路加 按钮样式 更新
//打回 撤回 删除 移除 按钮  按钮样式 红色 悬停变淡
.el-button--repulse{
  background:rgb(253,246,236);
  border-color: #F56C6C;
  color: #F56C6C;
  &:hover{
    background: #F56C6C;
    border-color: #F56C6C;
    color: white;
  }
  &:focus{
    background: #F56C6C;
    border-color: #F56C6C;
    color: white;
  }
}
.el-table__body tr.current-row>td{
  background-color: #9bcaff !important;
  color: white;
}
//统一标准全局class   张丁予20200213
.machineTool { // 机床Select
  .el-input{
    width:180px;
  }
}
.el-button--mini, .el-button--small {
  font-size: 13px;
  border-radius: 3px;
}
.el-button--small, .el-button--small.is-round {
  padding: 8px 15px;
}
 span{
   font-size: 13px;
 }
 .menu-wrapper span {
   font-size: 16px !important;
 }
.el-table td, .el-table th.is-leaf,.el-table--border, .el-table--group{
  border-color: #DCDFE6!important;
}
.el-table--border::after, .el-table--group::after, .el-table::before{
  background-color: #DCDFE6!important;
}
// text 按钮禁用后背景颜色 20200309
//.el-button.is-disabled.is-plain, .el-button.is-disabled.is-plain:focus, .el-button.is-disabled.is-plain:hover {
//  background-color: rgba(255,255,255,0.0);
//  border-color: #EBEEF5;
//  color: #C0C4CC;
//}

.el-button--success {
  color: #fff;
  background-color: #526590 ;
  border-color: #526590 ;
}
.el-button--success.is-plain {
  color: #526590!important;
  background: #FAFAFA!important;
  border-color: #526590!important;
}
.el-button--success:hover{
  color: #FAFAFA!important;
  background-color: #526590!important;
  border-color: #526590!important;
}
.el-button--success:focus{
  color: #FAFAFA!important;
  background-color: #526590!important;
  border-color: #526590!important;
}
.el-button--success:disabled{
  color: #FAFAFA!important;
  background-color: #c8c9cc!important;
  border-color: #c8c9cc!important;
}
