style.less 1.47 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
@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;
}

.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
31
      max-height: 290px;
32
      overflow: auto;
afc163's avatar
afc163 committed
33
      min-width: 256px;
34 35 36 37 38 39 40
    }
  }
}

.errorListItem {
  list-style: none;
  border-bottom: 1px solid @border-color-split;
afc163's avatar
afc163 committed
41
  padding: 8px 16px;
42 43 44 45 46 47 48 49 50 51 52 53
  cursor: pointer;
  transition: all .3s;
  &:hover {
    background: @primary-1;
  }
  &:last-child {
    border: 0;
  }
  .errorIcon {
    color: @error-color;
    float: left;
    margin-top: 4px;
afc163's avatar
afc163 committed
54
    margin-right: 12px;
55 56 57 58 59
    padding-bottom: 22px;
  }
  .errorField {
    font-size: 12px;
    color: @text-color-secondary;
afc163's avatar
afc163 committed
60
    margin-top: 2px;
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;
}
91 92 93 94 95 96 97 98 99

.popup {
  width: ~"calc(100% - 16px)";
  :global {
    .ant-time-picker-panel-select {
      width: 33.33%;
    }
  }
}