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

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