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

.main {
  width: 100%;
  height: 100%;
6
  background-color: @body-background;
陈帅's avatar
陈帅 committed
7
  display: flex;
jim's avatar
jim committed
8 9
  padding-top: 16px;
  padding-bottom: 16px;
10
  overflow: auto;
陈帅'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 25 26
    }
  }
  .right {
    flex: 1;
    padding-left: 40px;
    padding-right: 40px;
jim's avatar
jim committed
27 28
    padding-top: 8px;
    padding-bottom: 8px;
陈帅's avatar
陈帅 committed
29 30
    .title {
      font-size: 20px;
31
      color: @heading-color;
陈帅's avatar
陈帅 committed
32
      line-height: 28px;
33
      font-weight: 500;
jim's avatar
jim committed
34
      margin-bottom: 12px;
陈帅's avatar
陈帅 committed
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;
    }
  }
陈帅's avatar
陈帅 committed
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;
陈帅's avatar
陈帅 committed
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;
陈帅's avatar
陈帅 committed
61 62 63 64 65
    }
    .alipay {
      color: #2eabff;
      font-size: 48px;
      line-height: 48px;
66
      border-radius: @border-radius-base;
陈帅's avatar
陈帅 committed
67 68 69 70 71
    }
  }

  // 密码强度
  font.strong {
72
    color: @success-color;
陈帅's avatar
陈帅 committed
73 74
  }
  font.medium {
75
    color: @warning-color;
陈帅's avatar
陈帅 committed
76 77
  }
  font.weak {
78
    color: @error-color;
陈帅's avatar
陈帅 committed
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;
    }
  }
}