.arco-tag {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 5px;
  height: 4px
}

::-webkit-scrollbar-track {
  background: #FFFFFF;
  border-radius: 0px
}

::-webkit-scrollbar-thumb {
  background: #CCCCCC;
  border-radius: 2px;
  transition: all .1s linear
}

/* 定义过渡效果 */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.fade-enter-to,
.fade-leave-from {
  opacity: 1;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  font-size: 16px;
  padding: 10px;
  background-color: var(--color-bg-1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", SegoeUI, "Noto Sans", NotoSans, Helvetica, Arial, sans-serif;
}

.fixed {
  position: fixed;
  left: 0;
  top: 0;
  width: 50px;
  background-color: #272E3B;
  height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 30px 10px;
  z-index: 9;

  .item {
    margin-bottom: 1em;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;

    &.active {
      background: var(--color-neutral-1);

      svg {
        color: var(--color-neutral-9);
      }
    }
  }
}

.page-title {
  padding: 20px 20px 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-neutral-9);
}

.flex {
  position: relative;
  padding-left: 370px;
  height: 100%;

  .aside {
    width: 300px;
    background: var(--color-neutral-1);
    height: 100vh;
    padding-bottom: 66px;
    overflow-y: auto;
    position: fixed;
    border-right: 1px solid #fff;
    left: 50px;
    top: 0;
    z-index: 9;

    ul {
      list-style: none;
      padding: 20px 20px 0;
      width: 100%;

      li {
        padding: 8px 10px;
        border-radius: 5px;
        cursor: pointer;
        margin-bottom: 6px;
        transition: all 0.2s linear;
        position: relative;
        color: var(--color-neutral-9);
        font-size: 15px;

        display: flex;
        align-items: center;

        img {
          width: 20px;
          height: auto;
          margin-right: 5px;
        }

        em {
          font-style: inherit;
          position: absolute;
          right: 10px;
          color: #666;
        }

        &:hover {
          background: var(--color-neutral-3);
        }

        &.selected {
          background: var(--color-neutral-3);
        }
      }
    }

    .btn {
      position: fixed;
      bottom: 20px;
    }
  }

  .container {
    height: 100%;
    position: relative;
    overflow-y: auto;
    padding-top: 50px;

    a {
      color: #0088cc;
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }
  }
}

.category-cell {
  display: inline-flex;
  align-items: center;

  img {
    margin-right: 4px;
    width: 20px;
    height: auto;
  }

  span {
    border-radius: 3px;
    padding: 2px 5px;
  }
}

.gotop {
  position: fixed;
  right: 0;
  bottom: 20px;
  z-index: 9999;
  cursor: pointer;
}

.head-search {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - 350px);
  height: 50px;
  background: var(--color-neutral-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 999;
}

.addPost {
  .arco-btn {
    margin-top: 10px;
  }

  hr {
    margin: 10px 0;
  }

  .item {
    margin-top: 10px;
    display: flex;
    align-items: center;

    label {
      width: 80px;
      white-space: nowrap;

      span {
        color: #e00;
      }
    }
  }
}

.modify-box {
  .item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  label {
    white-space: nowrap;
    margin-right: 10px;
    width: 80px;
  }
}

.item-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.arco-radio-button.arco-radio-checked {
  color: inherit;
}

.arco-scrollbar-track {
  display: none;
}