index.less 973 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
@import "~antd/lib/style/themes/default.less";

.descriptionList {
  // offset the padding-bottom of last row
  :global {
    .ant-row {
      margin-bottom: -16px;
      overflow: hidden;
    }
  }

  .title {
nikogu's avatar
nikogu committed
13
    font-size: 14px;
14
    color: @heading-color;
ddcat1115's avatar
ddcat1115 committed
15
    font-weight: 500;
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
    margin-bottom: 16px;
  }

  .term {
    padding-bottom: 16px;
    margin-right: 8px;
    color: @heading-color;
    white-space: nowrap;
    display: table-cell;

    &:after {
      content: ":";
      margin: 0 8px 0 2px;
      position: relative;
      top: -.5px;
    }
  }

  .detail {
ddcat1115's avatar
ddcat1115 committed
35
    width: 100%;
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
    padding-bottom: 16px;
    color: @text-color;
    display: table-cell;
  }

  &.vertical {

    .term {
      padding-bottom: 8px;
      display: block;
    }

    .detail {
      display: block;
    }
  }
}
53 54 55 56 57 58 59 60 61 62

.descriptionListSmall {
  .title {
    margin-bottom: 12px;
  }
  .term {
    padding-bottom: 8px;
  }
}
.descriptionListLarge {
nikogu's avatar
nikogu committed
63 64
  .title {
    font-size: 16px;
65 66
  }
}