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

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

  // 密码强度
  font.strong {
    color: #52c41a;
  }
  font.medium {
    color: yellow;
  }
  font.weak {
    color: red;
  }
}
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;
    }
  }
}