@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%;
}

*,
*: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;
}

.spaceline {
  margin: 20px 0;
}

.list-search {
  width: 100%;
  .input-with-select {
    width: 450px;
    float: right;
  }
  .input-sel {
    width: 130px;
  }
  .input-with-select .el-input-group__prepend {
    background-color: #fff;
  }
}

.el-form.common-form {
  // .el-input.mini {
  //     width: 80px;
  // }
  // .el-input.small {
  //     width: 300px;
  // }
  // .el-input.middle {
  //     width: 500px;
  // }
  // .el-input {
  //     width: 450px;
  // }
  // .el-textarea {
  //     width: 450px;
  // }
  // .editor {
  //     width: 450px;
  // }
}

.smalltip {
  color: #999;
  margin-left: 10px;
  i {
    margin-right: 4px;
  }
}

.el-table {
  .el-input.mini {
    width: 100px;
  }
  .el-input.small {
    width: 200px;
  }
}

.qstip-title {
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
  margin-top: 8px;
}

.qstip-row {
  line-height: 26px;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: '';
}

.clearfix:after {
  clear: both;
}

.deleteDialogContent {
  .form {
    margin: 20px;
  }
  .btns {
    text-align: center;
  }
}

.el-dialog__body {
  padding-top: 10px;
}

.el-divider--horizontal {
  margin: 40px 0;
}

.el-divider__text {
  font-size: 16px;
  font-weight: bold;
  color: #303133;
}

.el-form-item {
  max-width: 900px;
}

.font_danger {
  color: #f56c6c;
}

.font_warning {
  color: #e6a23c;
}

.font_success {
  color: #67c23a;
}

.font_info {
  color: #909399;
}

.font_brand {
  color: #409eff;
}

.app-container .tip {
  padding: 8px 16px;
  background-color: #fdf6ec;
  border-radius: 4px;
  border-left: 5px solid #f9c77c;
  margin: 0 0 20px;
}

.app-container .tip p {
  font-size: 14px;
  color: #e6a23c;
  line-height: 1em;
}

.el-icon-time {
  margin-right: 4px;
}

.el-select.list-options {
  margin-right: 10px;
  width: 150px;
}
.el-button--warning {
    background-color: #ff8e50;
    border-color: #ff8e50;
}
.el-button--warning.is-active, .el-button--warning:active{
    background-color: #ff8e50;
    border-color: #ff8e50;
}
.el-button--warning:focus, .el-button--warning:hover{
	background-color:#ffa473;
	border-color:#ffa473;
}
