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

.radar {
  .legend {
    margin-top: 16px;
    .legendItem {
      position: relative;
      text-align: center;
afc163's avatar
afc163 committed
9 10 11
      cursor: pointer;
      color: @text-color-secondary;
      line-height: 22px;
12 13
      h6 {
        color: @heading-color;
niko's avatar
niko committed
14
        padding-left: 16px;
15 16
        font-size: 24px;
        line-height: 32px;
afc163's avatar
afc163 committed
17
        margin-top: 4px;
18
      }
afc163's avatar
afc163 committed
19
      &:after {
20 21 22 23 24 25
        background-color: @border-color-split;
        position: absolute;
        top: 8px;
        right: 0;
        height: 40px;
        width: 1px;
afc163's avatar
afc163 committed
26
        content: '';
27 28
      }
    }
afc163's avatar
afc163 committed
29 30 31
    > :last-child .legendItem:after {
      display: none;
    }
32
    .dot {
afc163's avatar
afc163 committed
33
      border-radius: 6px;
34
      display: inline-block;
afc163's avatar
afc163 committed
35
      margin-right: 6px;
36 37
      position: relative;
      top: -1px;
afc163's avatar
afc163 committed
38 39
      height: 6px;
      width: 6px;
40 41 42
    }
  }
}