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

body {
  height: calc(100% - 100px);
  // background-color: #eaedf1;
  background-color: #fff;
  -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%;
}

*,
*: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 {
  height: calc(100% - 15px);
  background-color: #eaedf1;
}

.app-container {
  padding: 15px;
  margin: 99px 15px 15px 15px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border: 1px solid #ebeef5;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

//搜索栏
.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-flex;
    vertical-align: middle;
    margin-bottom: 5px;
  }
  .filter-item.el-input {
    width: 200px;
    margin-right: 10px;
  }
  .el-button .svg-icon {
    width: 1.8em;
  }
  .el-date-editor .el-range-separator {
    display: inline-table;
  }
}

// 工单列表中操作按钮
.orderList{
  .el-table{
    .el-button + .el-button {
      margin-left: 0;
      margin-bottom: 5px;
    }
  } 
}

.el-table,
.el-tree {
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
}

.el-table {
  .el-loading-mask {
    z-index: 8;
  }
  thead {
    th {
      color: #676a6c;
      background: #f5f7fa;
    }
  }
}

//vue-layer
.vl-notify-mask {
  z-index: 1900;
  background-color: #000 !important;
  opacity: 0.4 !important;
}
.vl-notify-content {
  /*滚动条样式*/
  &::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 6px;
  }
  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 5px;
    // box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background-color: #999;
  }
  &::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    // box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 0;
    background-color: #f5f5f5;
  }
}

//分页
.el-pagination {
  text-align: right;
}
.el-pager,
.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev {
  padding: 0 6px;
}

//录音图标
.rec_file {
  color: #24c6c8;
  cursor: pointer;
  width: 1.6em !important;
  height: 1.6em !important;
  z-index: 1;
}

//图片预览
div.pswp {
  z-index: 1600;
}

//头像剪切
div.vue-image-crop-upload {
  z-index: 1600;
}

// 附件上传
.uploadFiles .el-upload-list--picture{
  margin-right: -1%;
  li{
    width: 24%;
    margin-right: 1%;
    float: left;
  }
}

//附件上传的 上传的非图片
.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i {
  display: inline-block;
}

.red {
  color: red;
}

.text_left {
  text-align: left;
}

.text_right {
  text-align: right;
}

.text_center {
  text-align: center;
}
