UserLayout.less 1.25 KB
Newer Older
dengxiaofeng's avatar
dengxiaofeng committed
1
@import '~antd/es/style/themes/default.less';
dengxiaofeng's avatar
dengxiaofeng committed
2
.container {
dengxiaofeng's avatar
dengxiaofeng committed
3 4 5 6 7 8 9
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: auto;
  background: @layout-body-background;
}

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

dengxiaofeng's avatar
dengxiaofeng committed
20
.content {
dengxiaofeng's avatar
dengxiaofeng committed
21 22 23 24 25
  flex: 1;
  padding: 32px 0;
}

@media (min-width: @screen-md-min) {
dengxiaofeng's avatar
dengxiaofeng committed
26
  .container {
dengxiaofeng's avatar
dengxiaofeng committed
27 28 29 30 31 32
    background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
    background-repeat: no-repeat;
    background-position: center 110px;
    background-size: 100%;
  }

dengxiaofeng's avatar
dengxiaofeng committed
33
  .content {
dengxiaofeng's avatar
dengxiaofeng committed
34 35 36 37
    padding: 32px 0 24px;
  }
}

dengxiaofeng's avatar
dengxiaofeng committed
38
.top {
张烨's avatar
张烨 committed
39
  margin-top: 20vh;
dengxiaofeng's avatar
dengxiaofeng committed
40
  text-align: center;
Maofei94's avatar
Maofei94 committed
41
  animation: drop 1s;
dengxiaofeng's avatar
dengxiaofeng committed
42 43
}

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

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

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

dengxiaofeng's avatar
dengxiaofeng committed
67
.desc {
dengxiaofeng's avatar
dengxiaofeng committed
68 69 70 71
  margin-top: 12px;
  margin-bottom: 40px;
  color: @text-color-secondary;
  font-size: @font-size-base;
72 73 74 75 76 77 78 79 80
}

@keyframes drop{
  from {
    margin-top: 0;
  }
  to {
    margin-top: 20vh;
  }
dengxiaofeng's avatar
dengxiaofeng committed
81
}