style.less 1.37 KB
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
2 3 4 5 6 7

.card {
  margin-bottom: 24px;
}

.heading {
8
  margin: 0 0 16px 0;
9 10 11 12
  font-size: 14px;
  line-height: 22px;
}

afc163's avatar
afc163 committed
13
.steps:global(.ant-steps) {
14 15 16 17 18 19
  max-width: 750px;
  margin: 16px auto;
}

.errorIcon {
  margin-right: 24px;
20 21
  color: @error-color;
  cursor: pointer;
22 23 24 25 26 27 28 29
  i {
    margin-right: 4px;
  }
}

.errorPopover {
  :global {
    .ant-popover-inner-content {
30
      min-width: 256px;
afc163's avatar
afc163 committed
31
      max-height: 290px;
32
      padding: 0;
33 34 35 36 37 38
      overflow: auto;
    }
  }
}

.errorListItem {
39
  padding: 8px 16px;
40 41 42
  list-style: none;
  border-bottom: 1px solid @border-color-split;
  cursor: pointer;
jim's avatar
jim committed
43
  transition: all 0.3s;
44 45 46 47 48 49 50 51 52
  &:hover {
    background: @primary-1;
  }
  &:last-child {
    border: 0;
  }
  .errorIcon {
    float: left;
    margin-top: 4px;
afc163's avatar
afc163 committed
53
    margin-right: 12px;
54
    padding-bottom: 22px;
55
    color: @error-color;
56 57
  }
  .errorField {
afc163's avatar
afc163 committed
58
    margin-top: 2px;
59 60
    color: @text-color-secondary;
    font-size: 12px;
61 62 63 64 65
  }
}

.editable {
  td {
afc163's avatar
afc163 committed
66
    padding-top: 13px !important;
67 68 69
    padding-bottom: 12.5px !important;
  }
}
afc163's avatar
afc163 committed
70 71

// custom footer for fixed footer toolbar
afc163's avatar
afc163 committed
72
.advancedForm + div {
afc163's avatar
afc163 committed
73 74
  padding-bottom: 64px;
}
afc163's avatar
afc163 committed
75

afc163's avatar
afc163 committed
76 77 78 79 80 81 82 83 84 85 86
.advancedForm {
  :global {
    .ant-form .ant-row:last-child .ant-form-item {
      margin-bottom: 24px;
    }
    .ant-table td {
      transition: none !important;
    }
  }
}

afc163's avatar
afc163 committed
87 88 89 90
.optional {
  color: @text-color-secondary;
  font-style: normal;
}