common.scss 2.7 KB
.wrap {
  /* min-height: 949px; */

  main {
    display: block;
    margin: 0;
    //background-color: #f3f3f4;
    /*min-height: 949px;
    */
    position: relative;
    -webkit-transition: margin .1s linear;
    transition: margin .1s linear;
    -moz-transition: margin .1s linear;
    -ms-transition: margin .1s linear;
    -o-transition: margin .1s linear;
  }

  .sidebar {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 220px;
    height: 100%;
    -webkit-transition: width .1s linear;
    transition: width .1s linear;
    font-size: 13px !important;

    * {
      font-size: 13px !important;
    }

    color:#a7b1c2;

  }

  &.full-width {
    main {
      margin-left: 64px;
      /* -webkit-transition: margin .3s linear; 
      transition: margin .3s linear; */
    }

    .sidebar {
      width: 64px;
      /* -webkit-transition: width .3s linear; 
      transition: width .3s linear; */

    }

    .nav-footer {
      display: none;
    }
  }

}

@media (max-width: 768px) {
  main {
    margin: 0px;
  }
}

.main-wrap {
  padding: 20px;
}



.row {
  background: #fff;
  padding: 10px;
}

.el-popper[x-placement^="bottom"] {
  margin-top: 2px;
}

.el-input.is-disabled .el-input__inner {
  color: #666;
}

/* .el-table--scrollable-x .el-table__body-wrapper{解决被遮挡
  z-index: 100;
} */
.el-date-editor {
  vertical-align: middle;
}

.table-header-ctrl {
  margin: 0px;
  min-height: 70px;

  .el-input,
  .el-date-editor,
  .el-select {
    width: 100%;
  }

  .el-input__suffix {
    right: 15px;
  }

  input {
    border-radius: 0px;

  }

  .el-date-editor {
    border-radius: 0px;
    margin-top: 7px;
  }
}

td.ctrl-column {
  padding-left: 50px;

  .el-dropdown {
    margin-top: 5px;
  }
}

.el-button--small,
.el-table--small {
  font-size: 13px;
}

.el-button--small {
  padding: 8px 14px;
}

.el-table th>.cell {
  color: #666;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.text-center {
  text-align: center;
}

.table-page-wrap {
  float: right;
  margin: 20px 0px;
}

.el-message {
  //避免被el-dialog遮罩层遮住
  z-index: 3000 !important;
}

.el-tree .device-invalid {
  color: #999;
}

.el-tree-node:focus>.el-tree-node__content {
  background-color: inherit;
}

#editOrderModal #color .el-form-item__label {
  color: red !important;
}

.el-alert--success {
  background-color: #f0f9eb;
  color: #67c23a;
}

.el-alert--error {
  background-color: #fef0f0;
  color: #f56c6c;
}

// 监控页面图标
.icon_info_shop {
  width: 24px;
  height: 24px;
  background: url('../images/info_shop.png') no-repeat;
  background-size: 24px auto;
}

.icon_info_plate {
  background: url('../images/info_plate.png') no-repeat;
  background-size: 24px auto;
  width: 24px;
  height: 24px;
}