index.less 1.07 KB
Newer Older
jim's avatar
jim committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
.sidebar {
  position: fixed;
  right: -336px;
  top: 150px;
  transition: 0.3s;
  display: flex;
  z-index: 9;
  &.show {
    right: 0;
  }
  .mini_bar {
    width: 50px;
    height: 45px;
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
    text-align: center;
    font-size: 24px;
    background: white;
jim's avatar
jim committed
19 20 21
    position: fixed;
    bottom: 50px;
    right: 50px;
jim's avatar
jim committed
22 23 24 25 26 27
    box-shadow: 0 0 6px 0 rgba(0, 21, 41, 0.35);
    img {
      width: 28px;
      height: 28px;
    }
  }
jim's avatar
jim committed
28 29 30 31 32 33 34 35 36 37 38
}

.content {
  width: 336px;
  :global {
    .ant-switch-checked {
      background-color: #87d068;
    }
    .ant-list-item {
      padding-top: 7px;
      padding-bottom: 7px;
jim's avatar
jim committed
39 40
    }
  }
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 61 62
}
.color_block {
  width: 38px;
  height: 22px;
  margin: 4px;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
  background: #002140;
  border-radius: 2px;
}
.color_block_title {
  display: inline-block;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 22px;
}
.bodyTitle {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
  line-height: 22px;
  margin-bottom: 10px;
jim's avatar
jim committed
63
}