index.less 1.1 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
  :global {
    .ant-menu-submenu.ant-menu-submenu-horizontal {
      height: 100%;
11
      padding-top: 9px;
qixian.cs@outlook.com's avatar
qixian.cs@outlook.com committed
12 13 14 15 16
      .ant-menu-submenu-title {
        height: 100%;
      }
    }
  }
jim's avatar
jim committed
17
  &.light {
jim's avatar
jim committed
18 19 20
    background-color: #fff;
  }
  .main {
jim's avatar
jim committed
21
    display: flex;
jim's avatar
jim committed
22 23 24 25 26 27 28 29 30 31
    height: 64px;
    padding-left: 24px;
    &.wide {
      max-width: 1200px;
      margin: auto;
      padding-left: 4px;
    }
    .left {
      flex: 1;
      display: flex;
jim's avatar
jim committed
32
    }
33 34 35
    .right {
      width: 324px;
    }
jim's avatar
jim committed
36 37
  }
}
jim's avatar
jim committed
38 39

.logo {
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
40
  width: 165px;
jim's avatar
jim committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
  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
61
.light {
jim's avatar
jim committed
62 63 64 65
  h1 {
    color: #002140;
  }
}