@import '~normalize.css/normalize.css';
@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './topbar.scss';
@import "~fit2cloud-ui/src/styles/index.scss";
@import './vdrr/common-temp.scss';
@import '~umy-ui/lib/theme-chalk/index.css';// 引入样式
@import './deicon/iconfont.css';
// @import '../metersphere/common/css/index.css';


body {
  //height: $contentHeight;
  -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: $contentHeight;
}

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

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

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

div:focus {
  outline: none;
}

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

// main-container global css
.app-container {
  padding: 20px;
}

.de-dialog {
    width: 30% !important;

    .el-dialog__header{
        background-color: #f4f4f5;
        padding: 10px 20px !important;
    }
    .el-dialog__body{
        padding: 1px 20px !important;

    }
}

.de-filter-dialog {
    min-width: 500px !important;
    width: 50% !important;

    .el-dialog__header{
        background-color: #f4f4f5;
        padding: 10px 20px !important;
    }
    .el-dialog__body{
        padding: 1px 20px !important;

    }
}

.preview-dialog {
  padding: 0px!important;
  .el-dialog--center{
    padding: 0px!important;
  }

  .el-dialog__header{
    display:none!important;

  }
  .el-dialog__body{
    padding: 0px!important;
    height: 100vh!important;
  }
}

.de-search-header {
    .el-tabs__header{
        display: none !important;;
    }
}

.de-input{
    margin-bottom: 14px;
    margin-top: 10px;
    .el-input{
        .el-input__inner {
            line-height: 30px !important;
            height: 30px !important;
            border-right: none;

        }
    }
    .el-input__inner:focus{
        border-color: #E6E6E6 !important;
    }
    .el-input-group__append {
        background-color: #ffffff;
    }

}

.filter-card-class {
    width: 100%;
    .el-card__header {
        padding: 5px 0 !important;
        border-bottom: none !important;
    }

    .el-card__body {
        padding: 10px;
    }
}

.real-input {

    .el-input__inner {
        height: 25px !important;
        border: none !important;
    }
}

.de-filter-data-table {
    .el-table__body-wrapper >table>{
        tbody {
            .el-table__row {
                :hover {
                    cursor: pointer;
                }
                td {
                    border: none !important;
                }
            }

        }

    }
}
.de-filter-data-table::before {
    height: 0px !important;
}

.custom-component-class {
    width: 100%;
    div {
      width: 100% !important;
    }
}

%field-icon{
  font-size: 13px;
  margin: 0 3px 0 0;
}
.field-icon-text{
  @extend %field-icon;
  color: #688fd8;
}
.field-icon-time{
  @extend %field-icon;
  color: #faaa39;
}
.field-icon-value{
  @extend %field-icon;
  color: #37b4aa;
}
.ds-icon-scene{
  width: 13px;
  height: 13px;
  margin-right: 5px;
  color: #0a7be0;
}
.ds-icon-db{
  width: 14px;
  height: 14px;
  color: #3685f2;
  margin: 0 2px 0 0;
}
.ds-icon-sql{
  width: 14px;
  height: 14px;
  color: #faaa39;
  margin: 0 2px 0 0;
}
.ds-icon-excel{
  width: 14px;
  height: 14px;
  color: #13cd66;
  margin: 0 2px 0 0;
}
.ds-icon-custom{
  width: 14px;
  height: 14px;
  color: #23beef;
  margin: 0 2px 0 0;
}
.el-popper{
  position: fixed!important;
}

