index.less 1.21 KB
Newer Older
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
1 2 3 4 5 6 7 8
@import '~@/themes/vars.less';

.root{
  height: 100%;
  background-color: #f0f2f5;
  font-size: @font-size-md;
  .header {
    height: 217px;
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
9
    width: 100%;
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
10
    background: url("../../../public/images/exam-header.png") center center no-repeat;
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
11
    background-size: cover;
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 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
    position: relative;
    .notice {
      position: absolute;
      left: 5%;
      right: 5%;
      bottom: -22px;
      line-height: 44px; /*让黄色div中的文字内容垂直居中*/
      border-radius: 4px;
      border: #176aff;
      background-color: @color-background;
      display: flex;
      margin: @space-xxxs;
      box-shadow: 0px 2px 12px 0px rgba(23, 106, 255, 0.16);
      img {
        margin-left: @space-sm;
        vertical-align: middle;
        line-height: 44px;
        height: 28px;
        width: 28px;
      }
      .title {
        margin-left: @space-sm;
        span {
          color: #ffc541;
        }
      }
    }
  }
  .menus{
    padding-top: @space-32;
    img{
      width: 48px;
      height: 48px;
      margin-bottom: @space-xxxs;
    }
    .row{
      display: flex;
      justify-content: space-around;
      text-align: center;
      padding-top: @space-md;
      .col{
        width: 50%;
      }
    }
  }
}