Info.less 1.74 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
    :global {
      .ant-menu-inline {
        border: none;
      }
jim's avatar
jim committed
18 19 20
      .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
        font-weight: bold;
      }
21 22 23 24 25 26
    }
  }
  .right {
    flex: 1;
    padding-left: 40px;
    padding-right: 40px;
jim's avatar
jim committed
27 28
    padding-top: 8px;
    padding-bottom: 8px;
29 30
    .title {
      font-size: 20px;
31
      color: @heading-color;
32
      line-height: 28px;
33
      font-weight: 500;
jim's avatar
jim committed
34
      margin-bottom: 12px;
35 36
    }
  }
jim's avatar
jim committed
37 38 39 40 41
  :global {
    .ant-list-split .ant-list-item:last-child {
      border-bottom: 1px solid #e8e8e8;
    }
  }
42 43 44 45 46 47 48 49 50
}
:global {
  .ant-list-item-meta {
    // ่ดฆๅท็ป‘ๅฎšๅ›พๆ ‡
    .taobao {
      color: #ff4000;
      display: block;
      font-size: 48px;
      line-height: 48px;
51
      border-radius: @border-radius-base;
52 53 54 55 56 57 58 59
    }
    .dingding {
      background-color: #2eabff;
      color: #fff;
      font-size: 32px;
      line-height: 32px;
      padding: 6px;
      margin: 2px;
60
      border-radius: @border-radius-base;
61 62 63 64 65
    }
    .alipay {
      color: #2eabff;
      font-size: 48px;
      line-height: 48px;
66
      border-radius: @border-radius-base;
67 68 69 70 71
    }
  }

  // ๅฏ†็ ๅผบๅบฆ
  font.strong {
72
    color: @success-color;
73 74
  }
  font.medium {
75
    color: @warning-color;
76 77
  }
  font.weak {
78
    color: @error-color;
79 80
  }
}
81 82 83 84 85 86 87 88 89 90 91 92 93

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