index.less 1.04 KB
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;
qixian.cs@outlook.com's avatar
qixian.cs@outlook.com committed
8 9 10 11 12 13 14 15
  :global {
    .ant-menu-submenu.ant-menu-submenu-horizontal {
      height: 100%;
      .ant-menu-submenu-title {
        height: 100%;
      }
    }
  }
jim's avatar
jim committed
16
  &.light {
jim's avatar
jim committed
17 18 19
    background-color: #fff;
  }
  .main {
jim's avatar
jim committed
20
    display: flex;
jim's avatar
jim committed
21 22 23 24 25 26 27 28 29 30
    height: 64px;
    padding-left: 24px;
    &.wide {
      max-width: 1200px;
      margin: auto;
      padding-left: 4px;
    }
    .left {
      flex: 1;
      display: flex;
jim's avatar
jim committed
31 32 33
    }
  }
}
jim's avatar
jim committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56

.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
57
.light {
jim's avatar
jim committed
58 59 60 61
  h1 {
    color: #002140;
  }
}