Info.less 1.82 KB
Newer Older
陈帅's avatar
陈帅 committed
1 2 3
@import '~antd/lib/style/themes/default.less';

.main {
4
  display: flex;
陈帅's avatar
陈帅 committed
5 6
  width: 100%;
  height: 100%;
jim's avatar
jim committed
7 8
  padding-top: 16px;
  padding-bottom: 16px;
9
  overflow: auto;
10
  background-color: @body-background;
陈帅's avatar
陈帅 committed
11 12
  .leftmenu {
    width: 224px;
13
    border-right: @border-width-base @border-style-base @border-color-split;
陈帅's avatar
陈帅 committed
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;
      }
陈帅's avatar
陈帅 committed
21 22 23 24
    }
  }
  .right {
    flex: 1;
jim's avatar
jim committed
25
    padding-top: 8px;
26
    padding-right: 40px;
jim's avatar
jim committed
27
    padding-bottom: 8px;
28
    padding-left: 40px;
陈帅's avatar
陈帅 committed
29
    .title {
30
      margin-bottom: 12px;
31 32
      color: @heading-color;
      font-weight: 500;
33 34
      font-size: 20px;
      line-height: 28px;
陈帅's avatar
陈帅 committed
35 36
    }
  }
jim's avatar
jim committed
37 38 39 40
  :global {
    .ant-list-split .ant-list-item:last-child {
      border-bottom: 1px solid #e8e8e8;
    }
jim's avatar
jim committed
41 42 43 44
    .ant-list-item {
      padding-top: 14px;
      padding-bottom: 14px;
    }
jim's avatar
jim committed
45
  }
陈帅's avatar
陈帅 committed
46 47 48 49 50 51
}
:global {
  .ant-list-item-meta {
    // 账号绑定图标
    .taobao {
      display: block;
52
      color: #ff4000;
陈帅's avatar
陈帅 committed
53 54
      font-size: 48px;
      line-height: 48px;
55
      border-radius: @border-radius-base;
陈帅's avatar
陈帅 committed
56 57
    }
    .dingding {
58 59
      margin: 2px;
      padding: 6px;
陈帅's avatar
陈帅 committed
60 61 62
      color: #fff;
      font-size: 32px;
      line-height: 32px;
63
      background-color: #2eabff;
64
      border-radius: @border-radius-base;
陈帅's avatar
陈帅 committed
65 66 67 68 69
    }
    .alipay {
      color: #2eabff;
      font-size: 48px;
      line-height: 48px;
70
      border-radius: @border-radius-base;
陈帅's avatar
陈帅 committed
71 72 73 74 75
    }
  }

  // 密码强度
  font.strong {
76
    color: @success-color;
陈帅's avatar
陈帅 committed
77 78
  }
  font.medium {
79
    color: @warning-color;
陈帅's avatar
陈帅 committed
80 81
  }
  font.weak {
82
    color: @error-color;
陈帅's avatar
陈帅 committed
83 84
  }
}
85 86 87 88 89 90 91 92 93 94 95 96 97

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