style.less 1.39 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
@import "~antd/lib/style/themes/default.less";

.card {
  margin-bottom: 24px;
}

.heading {
  font-size: 14px;
  line-height: 22px;
  margin: 0 0 16px 0;
}

.steps {
  max-width: 750px;
  margin: 16px auto;
}

.divider {
  border: 0;
  border-top: 1px solid @border-color-split;
  height: 1px;
  margin: 0 0 24px 0;
}

.errorIcon {
  cursor: pointer;
  color: @error-color;
  margin-right: 24px;
  i {
    margin-right: 4px;
  }
}

.errorPopover {
  :global {
    .ant-popover-inner-content {
      padding: 0;
afc163's avatar
afc163 committed
38
      max-height: 290px;
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
      overflow: auto;
      min-width: 240px;
    }
  }
}

.errorListItem {
  list-style: none;
  border-bottom: 1px solid @border-color-split;
  padding: 8px 24px;
  cursor: pointer;
  transition: all .3s;
  &:hover {
    background: @primary-1;
  }
  &:last-child {
    border: 0;
  }
  .errorIcon {
    color: @error-color;
    float: left;
    margin-top: 4px;
    margin-right: 8px;
    padding-bottom: 22px;
  }
  .errorField {
    font-size: 12px;
    color: @text-color-secondary;
    margin-top: 4px;
  }
}

// 避免表格编辑模式切换时抖动
afc163's avatar
afc163 committed
72 73 74 75
:global(.ant-table) td {
  transition: none !important;
}

76 77
.editable {
  td {
afc163's avatar
afc163 committed
78
    padding-top: 13px !important;
79 80 81
    padding-bottom: 12.5px !important;
  }
}
afc163's avatar
afc163 committed
82 83 84 85 86

// custom footer for fixed footer toolbar
.withFooterToolbar + div {
  padding-bottom: 64px;
}
afc163's avatar
afc163 committed
87 88 89 90 91

.optional {
  color: @text-color-secondary;
  font-style: normal;
}