@import "../../../styles/mixin.scss";
.tag-wrap{
  line-height: 34px;
  height: 34px;
  background-color: #fff;
  border-bottom: 1px solid #d8dce5;
  padding: 0 10px;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.12), 0 0 3px 0 rgba(0,0,0,.04);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  &::-webkit-scrollbar{
    height: 0;
  }
  a{
    display: inline-block;
  }
  .tag{
    cursor: pointer;
  }
  .el-tag{
    border-radius: 0;
    margin: 0 2px;
    border: 1px solid #eee;
    color: #495060;
    height: 26px;
    line-height: 26px;
    background-color: #fff;
    transition: all .2s;
    &.current{
      background-color: $tagColor;
      color: #fff !important;
      border-color: $tagColor;
      padding: 0 12px;
      padding-left: 20px;
      position: relative;
      &:after{
        display: block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #fff;
        content: '';
        position: absolute;
        top: 8px;
        left: 8px;
      }
      .el-icon-close{
        color: #fff;
      }
    }
    .el-icon-close{
      font-size: 10px;
      transform: scale(.6);
      color: #495060;
      transition: all .2s;
      &:hover{
        background-color: #eee;
        color: #fff;
        transform: scale(1);
      }
    }
  }
  .tag-overflow{
    display: flex;
    justify-content: flex-start;
  }
}
