• liang's avatar
    init · dad95e78
    liang authored
    dad95e78
dict.scss 1.34 KB
.dict {
  .left-content {
    border: 1px solid #ebeef5;
    .left-title {
      position: relative;
      height: 40px;
      line-height: 40px;
      text-align: center;
      background-color: #f5f7fa;
      font-size: 16px;
      .left-add {
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
        line-height: normal;
        > i {
          padding: 0 8px;
          line-height: 40px;
          font-size: 24px;
          color: #409eff;
        }
      }
    }
    .left-search {
      font-size: 14px;
      text-align: center;
      padding: 10px 20px;
    }
    .dict-list {
      height: calc(100vh - #{"250px"});
      overflow-y: auto;
      overflow-x: hidden;
      &::-webkit-scrollbar-thumb {
        background-color: #fff;
      }
      &:hover::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.4);
      }
      .dict-item {
        font-size: 15px;
        padding: 10px 20px;
        padding-right: 40px;
        text-align: left;
        position: relative;
        .item-del {
          position: absolute;
          cursor: pointer;
          top: 12px;
          right: 8px;
          i {
            margin-left: 3px;
          }
        }
      }
    }
  }
  .active {
    color: #0a98ff;
  }

  .type-title {
    margin: 10px 5px;
    margin-bottom: 20px;
    font-size: 16px;
  }
}