index.less 973 Bytes
Newer Older
jim's avatar
jim committed
1 2
@import '~antd/lib/style/themes/default.less';
@ease-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
偏右's avatar
偏右 committed
3 4 5 6 7
.logo {
  height: 64px;
  position: relative;
  line-height: 64px;
  padding-left: (@menu-collapsed-width - 32px) / 2;
jim's avatar
jim committed
8
  transition: all 0.3s;
偏右's avatar
偏右 committed
9 10 11 12 13 14 15 16
  background: #002140;
  overflow: hidden;
  img {
    display: inline-block;
    vertical-align: middle;
    height: 32px;
  }
  h1 {
jim's avatar
jim committed
17
    color: white;
偏右's avatar
偏右 committed
18 19 20 21 22 23 24 25
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
    margin: 0 0 0 12px;
    font-family: 'Myriad Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-weight: 600;
  }
}
26

偏右's avatar
偏右 committed
27 28
.sider {
  min-height: 100vh;
jim's avatar
jim committed
29
  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
偏右's avatar
偏右 committed
30 31
  position: relative;
  z-index: 10;
jim's avatar
jim committed
32 33 34 35 36 37 38 39 40
  &.ligth {
    background-color: white;
    .logo {
      background: white;
      h1 {
        color: #002140;
      }
    }
  }
偏右's avatar
偏右 committed
41
}
42 43 44 45 46 47

.icon {
  width: 14px;
  margin-right: 10px;
}

jiang's avatar
jiang committed
48 49 50 51 52
:global {
  .drawer .drawer-content {
    background: #001529;
  }
}