Info.less 1.53 KB
Newer Older
1 2 3 4 5
@import '~antd/lib/style/themes/default.less';

.main {
  width: 100%;
  height: 100%;
6
  background-color: @body-background;
7
  display: flex;
jim's avatar
jim committed
8 9
  padding-top: 16px;
  padding-bottom: 16px;
10
  overflow: auto;
11 12
  .leftmenu {
    width: 224px;
13
    border-right: @border-width-base @border-style-base @border-color-split;
14 15 16 17 18 19 20 21 22 23
    :global {
      .ant-menu-inline {
        border: none;
      }
    }
  }
  .right {
    flex: 1;
    padding-left: 40px;
    padding-right: 40px;
jim's avatar
jim committed
24 25
    padding-top: 8px;
    padding-bottom: 8px;
26 27
    .title {
      font-size: 20px;
28
      color: @heading-color;
29
      line-height: 28px;
30
      font-weight: 500;
jim's avatar
jim committed
31
      margin-bottom: 12px;
32 33 34 35 36 37 38 39 40 41 42
    }
  }
}
:global {
  .ant-list-item-meta {
    // ่ดฆๅท็ป‘ๅฎšๅ›พๆ ‡
    .taobao {
      color: #ff4000;
      display: block;
      font-size: 48px;
      line-height: 48px;
43
      border-radius: @border-radius-base;
44 45 46 47 48 49 50 51
    }
    .dingding {
      background-color: #2eabff;
      color: #fff;
      font-size: 32px;
      line-height: 32px;
      padding: 6px;
      margin: 2px;
52
      border-radius: @border-radius-base;
53 54 55 56 57
    }
    .alipay {
      color: #2eabff;
      font-size: 48px;
      line-height: 48px;
58
      border-radius: @border-radius-base;
59 60 61 62 63
    }
  }

  // ๅฏ†็ ๅผบๅบฆ
  font.strong {
64
    color: @success-color;
65 66
  }
  font.medium {
67
    color: @warning-color;
68 69
  }
  font.weak {
70
    color: @error-color;
71 72
  }
}
73 74 75 76 77 78 79 80 81 82 83 84 85

@media screen and (max-width: @screen-md) {
  .main {
    flex-direction: column;
    .leftmenu {
      width: 100%;
      border: none;
    }
    .right {
      padding: 40px;
    }
  }
}