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

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