UserLayout.less 1.13 KB
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
2 3

.container {
4 5
  display: flex;
  flex-direction: column;
jim's avatar
jim committed
6 7
  height: 100vh;
  overflow: auto;
bzone's avatar
bzone committed
8
  background: @layout-body-background;
9 10
}

11 12 13 14
.lang {
  width: 100%;
  height: 40px;
  line-height: 44px;
Yu's avatar
Yu committed
15
  text-align: right;
16
  :global(.ant-dropdown-trigger) {
陈帅's avatar
陈帅 committed
17
    margin-right: 24px;
18 19 20
  }
}

21 22
.content {
  flex: 1;
Yu's avatar
Yu committed
23
  padding: 32px 0;
24 25 26 27 28 29 30 31 32 33 34
}

@media (min-width: @screen-md-min) {
  .container {
    background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
    background-repeat: no-repeat;
    background-position: center 110px;
    background-size: 100%;
  }

  .content {
35
    padding: 32px 0 24px 0;
36
  }
37 38 39 40 41 42 43 44 45
}

.top {
  text-align: center;
}

.header {
  height: 44px;
  line-height: 44px;
afc163's avatar
afc163 committed
46 47 48
  a {
    text-decoration: none;
  }
49 50 51 52
}

.logo {
  height: 44px;
ddcat1115's avatar
ddcat1115 committed
53
  margin-right: 16px;
Yu's avatar
Yu committed
54
  vertical-align: top;
55 56 57
}

.title {
afc163's avatar
afc163 committed
58
  position: relative;
afc163's avatar
afc163 committed
59
  top: 2px;
Yu's avatar
Yu committed
60 61 62 63
  color: @heading-color;
  font-weight: 600;
  font-size: 33px;
  font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
64 65 66 67 68
}

.desc {
  margin-top: 12px;
  margin-bottom: 40px;
Yu's avatar
Yu committed
69 70
  color: @text-color-secondary;
  font-size: @font-size-base;
71
}