UserLayout.less 1.14 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 15 16
.lang {
  text-align: right;
  width: 100%;
  height: 40px;
  line-height: 44px;
  :global(.ant-dropdown-trigger) {
陈帅's avatar
陈帅 committed
17
    margin-right: 24px;
18 19 20
  }
}

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

@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: 72px 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 53
}

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

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

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