index.less 899 Bytes
Newer Older
jim's avatar
jim committed
1 2 3
.head {
  width: 100%;
  transition: background 0.3s, width 0.2s;
jim's avatar
jim committed
4
  height: 64px;
jim's avatar
jim committed
5 6 7
  padding: 0 12px 0 0;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  position: relative;
jim's avatar
jim committed
8
  &.light {
jim's avatar
jim committed
9 10 11
    background-color: #fff;
  }
  .main {
jim's avatar
jim committed
12
    display: flex;
jim's avatar
jim committed
13 14 15 16 17 18 19 20 21 22
    height: 64px;
    padding-left: 24px;
    &.wide {
      max-width: 1200px;
      margin: auto;
      padding-left: 4px;
    }
    .left {
      flex: 1;
      display: flex;
jim's avatar
jim committed
23 24 25
    }
  }
}
jim's avatar
jim committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

.logo {
  width: 160px;
  height: 64px;
  position: relative;
  line-height: 64px;
  transition: all 0.3s;
  overflow: hidden;
  img {
    display: inline-block;
    vertical-align: middle;
    height: 32px;
  }
  h1 {
    color: #fff;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    margin: 0 0 0 12px;
    font-weight: 400;
  }
}

jim's avatar
jim committed
49
.light {
jim's avatar
jim committed
50 51 52 53
  h1 {
    color: #002140;
  }
}