element.less 1.19 KB
// element 样式补丁
.el-card {
    &.is-always-shadow {
      box-shadow: 0 0 8px 0 rgba(232,237,250,.6), 0 2px 4px 0 rgba(232,237,250,.5);
    }
    &.is-hover-shadow {
      &:hover {
        box-shadow: 0 0 8px 0 rgba(232,237,250,.6), 0 2px 4px 0 rgba(232,237,250,.5);
      }
    }
  }
  
  .el-menu--horizontal {
    border-bottom: none !important;
  }
  // element 弹框 头部偏高
  .el-dialog__body{
    padding-top: 0!important;
  }
  
  .el-tabs__item:focus.is-active.is-focus:not(:active) {
    box-shadow: none !important;
  }
  // element table 不能对齐
  .el-table th.gutter{
    display: table-cell!important;
  }
  // input type=number 上下箭头
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }
  input[type="number"]{
    -moz-appearance: textfield;
  }
  // Radio 单选框升级之后的问题
  .el-radio{
    margin-right: 0!important;
  }
  // Divider 分割线 样式的修改
  .el-divider--horizontal{
    margin: 10px 0!important;
  }

  // form
  .el-form-item__content{
    margin-left: 0!important;
  }
  .el-icon-full-screen{
    cursor: pointer;
  }
  // .el-dialog__wrapper{
  //   overflow: hidden!important;
  // }