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

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